[uClinux-dev] [PATCH] elf2flt.ld: Add additional DWARF debug sections

David McCullough David_Mccullough at securecomputing.com
Tue Nov 27 17:56:23 EST 2007


Jivin Atle Nissestad lays it down ...
> 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.

Applied,

Thanks
Davidm

> 
> Signed-off-by: Atle Nissestad <atle at nissestad.no>
> ---
>  elf2flt.ld |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/elf2flt.ld b/elf2flt.ld
> index b5d5a76..2636b14 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) }
>  }
> -- 
> 1.5.3.2
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
David McCullough,  david_mccullough at securecomputing.com,   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com


More information about the uClinux-dev mailing list