small RTEMS patch

Joel Sherrill
Tue Oct 13 12:46:00 GMT 2009


I have been using the CVS head for gcc testing
with only a couple of changes. 

I still think that calling the Linux Errno Extensions
isn't right since we have BSD code that uses these.
But this is the constant we have to define whatever
it is called.

The machine/param.h change improves upon one committed
a while back.  We are using a single machine/param.h
implementation across all RTEMS targets.  So we need
a target architecture specific conditional to tune it
a little.  Most targets can get by with int (2 or 4)
as alignment but the SPARC needs it to be double (8)
or we get faults.

2009-10-12  Joel Sherrill <>

    * libc/include/sys/config.h: Turn on errno extensions.
    * libc/sys/rtems/machine/param.h: Use double as alignment
    on SPARC only.  Other targets are OK with int.

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: n.diff
URL: <>

More information about the Newlib mailing list