From: David McCullough Date: Tue, 27 Nov 2007 22:53:00 +0000 (+0000) Subject: The patch below adds two additional DWARF2 debug sections from the standard X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7db6a23f8bba8c89780692a3ddcb920ec5c50339;p=elf2flt.git The patch below adds two additional DWARF2 debug sections from the standard binutils linker-script. This is required to fix gdb DWARF errors on nios2. Signed-off-by: Atle Nissestad --- diff --git a/elf2flt.ld b/elf2flt.ld index fc68116..a16a9c8 100644 --- a/elf2flt.ld +++ b/elf2flt.ld @@ -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) } }