|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86emul/test: suppress GNU ld 2.39 warning about RWX load segments
commit 4252432be883a72e154dc6302e434e8d4812fc95
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Tue Mar 14 10:42:51 2023 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Mar 14 10:42:51 2023 +0100
x86emul/test: suppress GNU ld 2.39 warning about RWX load segments
Commit 68f5aac012b9 ("build: suppress future GNU ld warning about RWX
load segments") didn't quite cover all the cases: I missed ones in the
building of the test code blobs. Clone the workaround to the helper
Makefile in question, kind of open-coding the hypervisor build system's
ld-option macro.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
tools/tests/x86_emulator/testcase.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/tests/x86_emulator/testcase.mk
b/tools/tests/x86_emulator/testcase.mk
index d4aa82e3f3..fc95e24589 100644
--- a/tools/tests/x86_emulator/testcase.mk
+++ b/tools/tests/x86_emulator/testcase.mk
@@ -6,6 +6,8 @@ $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
CFLAGS += -fno-builtin -g0 $($(TESTCASE)-cflags)
+LDFLAGS_DIRECT += $(shell { $(LD) -v --warn-rwx-segments; } >/dev/null 2>&1 &&
echo --no-warn-rwx-segments)
+
.PHONY: all
all: $(TESTCASE).bin
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |