Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/70252 )
Change subject: tests: Ignore RWX segment warning ......................................................................
tests: Ignore RWX segment warning
Ignore RWX segment warning for binutils 2.39.
Change-Id: I593eea3bcac8e9e46883b73b25a31e20b4c27c51 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M tests/Makefile.common 1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/70252/1
diff --git a/tests/Makefile.common b/tests/Makefile.common index 595f870..964521c 100644 --- a/tests/Makefile.common +++ b/tests/Makefile.common @@ -65,6 +65,9 @@ TEST_LDFLAGS := -L$(cmockaobj)/src -lcmocka -Wl,-rpath=$(cmockaobj)/src TEST_LDFLAGS += -Wl,--gc-sections
+# binutils workaround: Disabling warnings about executable stacks and segments +TEST_LDFLAGS += --no-warn-rwx-segments + # Some memlayout symbols don't work with userspace relocation -- disable it. TEST_CFLAGS += -fno-pie -fno-pic TEST_LDFLAGS += -no-pie