mips/rtems impure pointer attribute

Joel Sherrill joel.sherrill@oarcorp.com
Thu Nov 20 18:33:00 GMT 2008


Jeff Johnston wrote:
> Joel Sherrill wrote:
>   
>> Hi,
>>
>> Hopefully Ralf and I can manage to get the
>> rest of the RTEMS diff submitted quickly.
>>
>> This one is small but needed because mips/rtems
>> is always built with -G0.  The setting of this
>> attribute results in the impure_ptr always being
>> in .sdata and somewhat randomly we get application
>> link failures on the mips.
>>
>> I think this is the least invasive way to do this.
>> But alternatives always welcomed.
>>
>> 2008-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>
>>
>>    * libc/include/sys/config.h: Do not use .sdata
>>    for impure_ptr on mips-rtems.
>>
>>     
> Hi Joel,
>
> I recently checked in Ralf's patch which fixed this problem slightly 
> differently.  I like this way a little better so I will change it over.
>
>   
Did that version undef it later inside the RTEMS block?

That's actually what's in the RTEMS patch.  :)

Thanks.  I don't care how the problems die as long as they die.

--joel



More information about the Newlib mailing list