Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/stand/boot discard debug sections that are not...



details:   https://anonhg.NetBSD.org/src/rev/eaec1fc31060
branches:  trunk
changeset: 786954:eaec1fc31060
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 24 15:59:57 2013 +0000

description:
discard debug sections that are not representable in the a.out object format.

diffstat:

 sys/arch/x68k/stand/boot/boot.ldscript |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d2874acbd3b1 -r eaec1fc31060 sys/arch/x68k/stand/boot/boot.ldscript
--- a/sys/arch/x68k/stand/boot/boot.ldscript    Fri May 24 15:35:36 2013 +0000
+++ b/sys/arch/x68k/stand/boot/boot.ldscript    Fri May 24 15:59:57 2013 +0000
@@ -47,5 +47,20 @@
    end = ALIGN(4) ;
    _end = ALIGN(4) ;
   }
-  /DISCARD/ : { *(.ident) *(.stab) *(.stabstr) *(.comment) }
+  /DISCARD/ : {
+      *(.ident)
+      *(.stab)
+      *(.stabstr)
+      *(.comment)
+      *(.debug_abbrev)
+      *(.debug_info)
+      *(.debug_line)
+      *(.debug_loc)
+      *(.debug_pubnames)
+      *(.debug_pubtypes)
+      *(.debug_aranges)
+      *(.debug_ranges)
+      *(.debug_str)
+      *(.debug_frame)
+  }
 }



Home | Main Index | Thread Index | Old Index