mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
build: suppress GNU ld warning about RWX load segments
We cannot really avoid such and we're also not really at risk because of them, as we control page table permissions ourselves rather than relying on a loader of some sort. Present GNU ld master started warning about such, and hence 2.39 is anticipated to have this warning. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
69589c374a
commit
68f5aac012
1 file changed
+2
@@ -397,6 +397,8 @@ endif
|
||||
|
||||
AFLAGS += -D__ASSEMBLY__
|
||||
|
||||
LDFLAGS-$(call ld-option,--warn-rwx-segments) += --no-warn-rwx-segments
|
||||
|
||||
CFLAGS += $(CFLAGS-y)
|
||||
# allow extra CFLAGS externally via EXTRA_CFLAGS_XEN_CORE
|
||||
CFLAGS += $(EXTRA_CFLAGS_XEN_CORE)
|
||||
|
||||