mips/rtems impure pointer attribute
Jeff Johnston
jjohnstn@redhat.com
Thu Nov 20 05:08:00 GMT 2008
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.
-- Jeff J.
More information about the Newlib
mailing list