PATCH: Make environ a weak alias to __environ

Khem Raj khem at mvista.com
Tue Jan 31 17:44:18 UTC 2006


Mike Frysinger wrote:
> On Tuesday 31 January 2006 03:58, Peter S. Mazinger wrote:
>   
>> On Mon, 30 Jan 2006, Khem Raj wrote:
>>     
>>> Hi Peter
>>>
>>> This patch make environ a weak alias to __environ. This was the original
>>> behavior which was modified when libc_hidden_proto/def
>>> were introduced for environ.
>>>
>>> Tested on arm-uclibc.
>>>       
>> if that is the case, then arm could have problems w/ strong_alias
>> generally and needs rather a global change in bits/uClibc_arch_features.h.
>>     
>
> you're thinking of something else ... Khem's change is ok
>
>   
If the patch is ok then can someone with write access apply it for me?
>> Mike, how did an arch behave, if .set is not supported? Was it a gas
>> failure?
>>     
>
> yes
> -mike
>   


-- 
Khem Raj <khem at mvista.com>
MontaVista Software, Inc.
www.mvista.com





More information about the uClibc mailing list