Module Name: src
Committed By: christos
Date: Fri Oct 4 15:02:43 UTC 2013
Modified Files:
src/sys/arch/mips/conf: stand.ldscript
Log Message:
discard eh sections
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/conf/stand.ldscript
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/conf/stand.ldscript
diff -u src/sys/arch/mips/conf/stand.ldscript:1.4 src/sys/arch/mips/conf/stand.ldscript:1.5
--- src/sys/arch/mips/conf/stand.ldscript:1.4 Tue May 4 11:00:39 2010
+++ src/sys/arch/mips/conf/stand.ldscript Fri Oct 4 11:02:43 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: stand.ldscript,v 1.4 2010/05/04 15:00:39 tsutsui Exp $ */
+/* $NetBSD: stand.ldscript,v 1.5 2013/10/04 15:02:43 christos Exp $ */
/* ldscript for NetBSD/mips stand-alone programs */
OUTPUT_ARCH(mips)
@@ -38,4 +38,10 @@ SECTIONS
}
_end = . ;
PROVIDE (end = .);
+ /DISCARD/ : {
+ *(.eh_frame_hdr)
+ *(.eh_frame)
+ *(.rel.eh_frame)
+ *(.rela.eh_frame)
+ }
}