[uClinux-dev] [PATCH] Add gnu.linkonce section for sbss in elf2flt.ld

David McCullough David_Mccullough at securecomputing.com
Tue Nov 27 17:55:06 EST 2007


Jivin Atle Nissestad lays it down ...
> This patch is required to successfully link against libstdc++ on the Nios2 platform.

Applied,
thanks,

Davidm

> - Atle
> 
> Signed-off-by: Atle Nissestad <atle at nissestad.no>
> ---
>  elf2flt.ld |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/elf2flt.ld b/elf2flt.ld
> index cd4e652..b5d5a76 100644
> --- a/elf2flt.ld
> +++ b/elf2flt.ld
> @@ -69,6 +69,7 @@ R_RODAT		*(.gnu.linkonce.r*)
>  		*(.sdata) 
>  		*(.sdata.*)
>  		*(.sbss)			/* Don't move this! */
> +		*(.gnu.linkonce.sb*)
>  		_essrw = . ;
>  
>  		_ssrw_size = _essrw - _ssrw;
> -- 
> 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