Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/conf discard eh sections



details:   https://anonhg.NetBSD.org/src/rev/25cb0e0707d7
branches:  trunk
changeset: 790358:25cb0e0707d7
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 04 15:02:43 2013 +0000

description:
discard eh sections

diffstat:

 sys/arch/mips/conf/stand.ldscript |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a8ae9d72ae0b -r 25cb0e0707d7 sys/arch/mips/conf/stand.ldscript
--- a/sys/arch/mips/conf/stand.ldscript Fri Oct 04 15:02:14 2013 +0000
+++ b/sys/arch/mips/conf/stand.ldscript Fri Oct 04 15:02:43 2013 +0000
@@ -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 @@
   }
   _end = . ;
   PROVIDE (end = .);
+  /DISCARD/ : {
+    *(.eh_frame_hdr)
+    *(.eh_frame)
+    *(.rel.eh_frame)
+    *(.rela.eh_frame)
+  }
 }



Home | Main Index | Thread Index | Old Index