2021-02-05 20:59:39 +01:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Thu, 4 Feb 2021 11:06:47 -0700
|
|
|
|
Subject: build: be explicit about -mx86-used-note=no
|
|
|
|
|
|
|
|
binutils v2.36 switched the default for the assembler's -mx86-used-note,
|
|
|
|
which caused breakage building seavgabios as follows:
|
|
|
|
ld: section .note.gnu.property LMA [0000000000000000,0000000000000027]
|
|
|
|
overlaps section .text LMA [0000000000000000,0000000000006e87]
|
|
|
|
Fix by explicitly specifying -mx86-used-note=no to assembler in seabios'
|
|
|
|
Makefile (boo#1181775)
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
|
|
|
Makefile | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile
|
2021-12-17 11:07:39 +01:00
|
|
|
index 5ced69cd8be94d36c8aaa887ce73..e0c51a4e455e9796437b7f59dd17 100644
|
2021-02-05 20:59:39 +01:00
|
|
|
--- a/roms/seabios/Makefile
|
|
|
|
+++ b/roms/seabios/Makefile
|
|
|
|
@@ -73,6 +73,7 @@ COMMONCFLAGS += $(call cc-option,$(CC),-fstack-check=no,)
|
|
|
|
COMMONCFLAGS += $(call cc-option,$(CC),-Wno-address-of-packed-member,)
|
|
|
|
COMMONCFLAGS += $(call cc-option,$(CC),-fcf-protection=none,)
|
|
|
|
COMMA := ,
|
|
|
|
+COMMONCFLAGS += $(call cc-option,$(CC),-Wa$(COMMA)-mx86-used-note=no,)
|
|
|
|
|
|
|
|
CFLAGS32FLAT := $(COMMONCFLAGS) -DMODE16=0 -DMODESEGMENT=0
|
|
|
|
CFLAGSSEG := $(COMMONCFLAGS) -DMODESEGMENT=1 -fno-defer-pop \
|