diff options
Diffstat (limited to '0039-build-x86-suppress-GNU-ld-2.39-warning-about-RWX-loa.patch')
-rw-r--r-- | 0039-build-x86-suppress-GNU-ld-2.39-warning-about-RWX-loa.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/0039-build-x86-suppress-GNU-ld-2.39-warning-about-RWX-loa.patch b/0039-build-x86-suppress-GNU-ld-2.39-warning-about-RWX-loa.patch deleted file mode 100644 index f6e62b7..0000000 --- a/0039-build-x86-suppress-GNU-ld-2.39-warning-about-RWX-loa.patch +++ /dev/null @@ -1,38 +0,0 @@ -From a075900cf768fe45f270b6f1d09c4e99281da142 Mon Sep 17 00:00:00 2001 -From: Jan Beulich <jbeulich@suse.com> -Date: Mon, 15 Aug 2022 15:43:56 +0200 -Subject: [PATCH 039/126] build/x86: 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: Apparently I missed -ones in the building of 32-bit helper objects because of only looking at -incremental builds (where those wouldn't normally be re-built). Clone -the workaround there to the specific Makefile in question. - -Reported-by: Andrew Cooper <andrew.cooper3@citrix.com> -Signed-off-by: Jan Beulich <jbeulich@suse.com> -Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> -master commit: 3eb1865ae305772b558757904d81951e31de43de -master date: 2022-08-11 17:45:12 +0200 ---- - xen/arch/x86/boot/build32.mk | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/xen/arch/x86/boot/build32.mk b/xen/arch/x86/boot/build32.mk -index e90680cd9f52..d2fae5cf9eee 100644 ---- a/xen/arch/x86/boot/build32.mk -+++ b/xen/arch/x86/boot/build32.mk -@@ -8,6 +8,9 @@ CFLAGS += -Werror -fno-builtin -g0 -msoft-float - CFLAGS += -I$(BASEDIR)/include - CFLAGS := $(filter-out -flto,$(CFLAGS)) - -+LDFLAGS_DIRECT-$(shell $(LD) -v --warn-rwx-segments >/dev/null 2>&1 && echo y) := --no-warn-rwx-segments -+LDFLAGS_DIRECT += $(LDFLAGS_DIRECT-y) -+ - # NB. awk invocation is a portable alternative to 'head -n -1' - %.S: %.bin - (od -v -t x $< | tr -s ' ' | awk 'NR > 1 {print s} {s=$$0}' | \ --- -2.37.4 - |