arm-none-eabi: Disable RWX segment warning in binutils

This warning is designed to catch likely vulnerabilities in code run
under memory protection -- allowing execution from memory which is
writable. However, embedded arm systems frequently require placing code
in RAM, for performance or functionality reasons. Disable the warning
that recent versions of binutils has added.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2022-08-15 21:44:14 -07:00 committed by Chris Packham
parent d3acee9673
commit e632eb00b6

View File

@ -12,3 +12,4 @@ CT_COMP_LIBS_PICOLIBC=y
CT_MULTILIB=y
CT_CC_GCC_MULTILIB_LIST="rmprofile aprofile"
CT_TARGET_VENDOR="none"
CT_BINUTILS_EXTRA_CONFIG_ARRAY="--disable-warn-rwx-segments"