From 9193c60b5554e4a8a68ba22b6e467365820b10d5 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 7 Oct 1996 05:36:57 +0000 Subject: [PATCH] Sun Oct 6 22:35:36 1996 Jason Merrill * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. --- ld/ChangeLog | 4 ++++ ld/scripttempl/elfmips.sc | 4 ++++ ld/scripttempl/elfppc.sc | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index d64a26cdf0f..8687d9a3d0d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Sun Oct 6 22:35:36 1996 Jason Merrill + + * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. + Fri Oct 4 18:49:31 1996 Ian Lance Taylor * scripttempl/m68kcoff.sc: Only set the address of .text if diff --git a/ld/scripttempl/elfmips.sc b/ld/scripttempl/elfmips.sc index 9c6eaaccf47..2948e1beae4 100644 --- a/ld/scripttempl/elfmips.sc +++ b/ld/scripttempl/elfmips.sc @@ -163,6 +163,10 @@ SECTIONS section so we begin .debug at 0. It's not clear yet what needs to happen for the others. */ .debug 0 : { *(.debug) } + .debug_info 0 : { *(.debug_info) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } .debug_srcinfo 0 : { *(.debug_srcinfo) } .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } diff --git a/ld/scripttempl/elfppc.sc b/ld/scripttempl/elfppc.sc index 556c9af8c6b..a1ba319222a 100644 --- a/ld/scripttempl/elfppc.sc +++ b/ld/scripttempl/elfppc.sc @@ -177,6 +177,10 @@ SECTIONS section so we begin .debug at 0. It's not clear yet what needs to happen for the others. */ .debug 0 : { *(.debug) } + .debug_info 0 : { *(.debug_info) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } .debug_srcinfo 0 : { *(.debug_srcinfo) } .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } -- 2.30.2