summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-02 17:44:02 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-08-02 17:44:02 -0700
commit56a28dc52b689592c5126e2da7b8ac773b0e4611 (patch)
tree9d677074ece1405aeb6547d380c3bc5b0bb7e358
parentaaa318f80c573b88ce67e80e568166e2a0f741e3 (diff)
downloadsyslinux-56a28dc52b689592c5126e2da7b8ac773b0e4611.tar.gz
Add --hash-style=gnu to the relevant LDFLAGS
GNU hash style is the only one that matters to us. No need to bloat up the code with additional formats. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--com32/MCONFIG2
-rw-r--r--com32/lib/MCONFIG2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/MCONFIG b/com32/MCONFIG
index 0fa78028..b4344e69 100644
--- a/com32/MCONFIG
+++ b/com32/MCONFIG
@@ -49,7 +49,7 @@ SFLAGS = $(GCCOPT) -W -Wall -march=i386 \
-I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
COM32LD = $(com32)/lib/com32.ld
-LDFLAGS = -m elf_i386 --emit-relocs -T $(COM32LD)
+LDFLAGS = -m elf_i386 --hash-style=gnu --emit-relocs -T $(COM32LD)
LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc)
LNXCFLAGS = -I$(com32)/libutil/include -W -Wall -O -g -D_GNU_SOURCE
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index d5395294..8e400776 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -32,7 +32,7 @@ OPTFLAGS = -Os -march=i386 -ffast-math -fomit-frame-pointer
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
CFLAGS = $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
-LDFLAGS = -m elf32_i386
+LDFLAGS = -m elf32_i386 --hash-style=gnu
.SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss