This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mips/rtems impure pointer attribute


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]