Add more stubs to RTEMS dummy crt0

Joel Sherrill joel.sherrill@oarcorp.com
Wed May 9 08:07:00 GMT 2012


This patch adds more stubs to the RTEMS crt0.c so
autoconf probes for gfortran and Go are happy
with RTEMS. The crt0 stub satisfies symbols which will
really only be available when an actual RTEMS image
is linked against.

OK to apply?

2012-05-07  Joel Sherrill <joel.sherrill@oarcorp.com>

     * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
     _getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
     and _getpid_r().

-- 
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: newlib-crt0.diff
Type: text/x-patch
Size: 1957 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20120509/85b5c550/attachment.bin>


More information about the Newlib mailing list