OSDN Git Service

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 fc68116..a16a9c8 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) }
 }