summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCallum Farmer <gmbr3@opensuse.org>2023-04-28 14:52:08 +0100
committerCallum Farmer <gmbr3@opensuse.org>2023-05-04 13:59:02 +0100
commit486b1c20c139c04439a6518d5ac68c0d9bd8c730 (patch)
tree4feeb34d0e97a7dce01b1652ae0e954fb6750971
parent97499a0cf265bf2d515bfcab99349ce00ecf2662 (diff)
downloadgnu-efi-486b1c20c139c04439a6518d5ac68c0d9bd8c730.tar.gz
Enforce nocombreloc
It is needed to avoid ELF reloc (rela) issues and to find un-merged reloc sections Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
-rwxr-xr-xMake.defaults2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make.defaults b/Make.defaults
index 53360a8..a4ecac0 100755
--- a/Make.defaults
+++ b/Make.defaults
@@ -197,7 +197,7 @@ endif
ARFLAGS := rDv
ASFLAGS += $(ARCH3264)
LDFLAGS += -nostdlib --warn-common --no-undefined --fatal-warnings \
- --build-id=sha1
+ --build-id=sha1 -z nocombreloc
ifneq ($(ARCH),arm)
export LIBGCC=$(shell $(CC) $(CFLAGS) $(ARCH3264) -print-libgcc-file-name)