mips/rtems impure pointer attribute

Joel Sherrill joel.sherrill@oarcorp.com
Wed Nov 19 21:33:00 GMT 2008


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.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h.diff
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20081119/b28de94c/attachment.bin>


More information about the Newlib mailing list