diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-11-11 16:28:20 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-11-11 16:28:20 -0800 |
commit | cbc7af0a4246fd5caad90ed3a6812a8f227e87c5 (patch) | |
tree | 5cfad696147cefcd2f8069ece1de04113c2f8d1d /dos | |
parent | e5a014f403aabb9400f309a0bef08288d6421107 (diff) | |
download | syslinux-cbc7af0a4246fd5caad90ed3a6812a8f227e87c5.tar.gz |
dos: drop unneeded .eh_frame section
gcc will produce an .eh_frame section, which we have no use for.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dos')
-rw-r--r-- | dos/Makefile | 2 | ||||
-rw-r--r-- | dos/com16.ld | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/dos/Makefile b/dos/Makefile index 56d2e076..2f1b7981 100644 --- a/dos/Makefile +++ b/dos/Makefile @@ -49,7 +49,7 @@ spotless: clean installer: -syslinux.elf: $(OBJS) libcom.a +syslinux.elf: $(OBJS) libcom.a com16.ld $(LD) $(LDFLAGS) -o $@ $^ libcom.a: $(LIBOBJS) diff --git a/dos/com16.ld b/dos/com16.ld index 08a1e95e..5f82b73a 100644 --- a/dos/com16.ld +++ b/dos/com16.ld @@ -123,5 +123,8 @@ SECTIONS .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } - /DISCARD/ : { *(.note.GNU-stack) } + /DISCARD/ : { + *(.note.GNU-stack) + *(.eh_frame) + } } |