]> git.wh0rd.org Git - elf2flt.git/commitdiff
The patch below adds two additional DWARF2 debug sections from the standard
authorDavid McCullough <davidm@snapgear.com>
Tue, 27 Nov 2007 22:53:00 +0000 (22:53 +0000)
committerDavid McCullough <davidm@snapgear.com>
Tue, 27 Nov 2007 22:53:00 +0000 (22:53 +0000)
binutils linker-script.
This is required to fix gdb DWARF errors on nios2.

Signed-off-by: Atle Nissestad <atle@nissestad.no>
elf2flt.ld

index fc68116dd483d6da1b8e26a105a195a010a7d858..a16a9c8b738defea6aa360ac9ed1df662a1da1b5 100644 (file)
@@ -177,4 +177,6 @@ SINGLE_LINK:        KEEP (*(SORT(.dtors.*)))
        .debug_line 0 : { *(.debug_line) }
        .debug_pubnames 0 : { *(.debug_pubnames) }
        .debug_aranges 0 : { *(.debug_aranges) }
+       .debug_frame    0 : { *(.debug_frame) }
+       .debug_str      0 : { *(.debug_str) }
 }