summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-31 20:55:11 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-08-31 20:55:11 -0700
commit5d32a45d1a7801d15a69a353db2fa8f33806d298 (patch)
treeb4f436a5a51c27fece8b5f5b3c3816480d852ec9
parent92e6c96115d736c521d854e113c0797a38a2a3d4 (diff)
downloadsyslinux-4.00-pre5.tar.gz
core: drop any .eh_frame sectionssyslinux-4.00-pre5
We have no use of .eh_frames... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/syslinux.ld5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/syslinux.ld b/core/syslinux.ld
index 3032dd2d..50e73050 100644
--- a/core/syslinux.ld
+++ b/core/syslinux.ld
@@ -326,4 +326,9 @@ SECTIONS
/* COM32R and kernels are loaded after our own PM code */
. = ALIGN(65536);
free_high_memory = .;
+
+ /* Stuff we don't need... */
+ /DISCARD/ : {
+ *(.eh_frame)
+ }
}