From 7db6a23f8bba8c89780692a3ddcb920ec5c50339 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Tue, 27 Nov 2007 22:53:00 +0000 Subject: [PATCH] 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 --- elf2flt.ld | 2 ++ 1 file changed, 2 insertions(+) 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) } } -- 2.39.5