summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/rtems/crt0.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow autoconf link-time tests to detect arc4random for RTEMS.Jeff Johnston2016-05-091-0/+5
|
* Add RTEMS support for GCC libatomicSebastian Huber2016-04-201-1/+8
| | | | Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/sys/rtems/crt0.c: Add <sys/lock.h> symbols required to link autoconf probesJoel Sherrill2016-04-151-1/+32
| | | | | | | The dummy crt0.c provided by the RTEMS target provides stubs of symbols which would normally be provided by RTEMS. This patch adds stubs for posix_memalign() as well as the synchronization methods prototyped in <sys/lock.h>.
* 2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com>Joel Sherrill2013-11-231-1/+1
| | | | | | | * libc/include/sys/time.h (gettimeofday): Add restrict keyword. (setitimer): Likewise. * libc/sys/rdos/gettod.c (gettimeofday): Likewise. * libc/sys/rtems/crt0.c (gettimeofday): Likewise.
* * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),Corinna Vinschen2012-05-091-1/+8
| | | | | _getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(), and _getpid_r().
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-201-95/+64
| | | | | | | | * libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro. Include <unistd.h>. Remove C++-style comments. Remove hppa, a29k. Add clock_gettime, gettimeofday, sched_yield.
* 2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-071-2/+2
| | | | | * libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their public decls.
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-161-49/+91
| | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*.
* 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2008-12-121-0/+7
| | | | | * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(), _execve(), _exit().
* 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-12-061-1/+18
| | | | | | | | * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create, rtems_gxx_key_delete, rtems_gxx_getspecific, rtems_gxx_setspecific, rtems_gxx_mutex_trylock, rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock, rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
* 2001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Jeff Johnston2004-10-251-0/+8
| | | | | * libc/include/machine/setjmp.h: Add AVR support. * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
* 2004-01-08 Joel Sherrill <joel@oarcorp.com>Jeff Johnston2004-01-081-7/+44
| | | | | | | | | | * libc/sys/rtems/sys/queue.h: New file. * libc/include/sys/signal.h: Reflect renumbering of signals to fit into 32-bit mask. * libc/include/sys/unistd.h: Add fdatasync() prototype. * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly required. In particular, add the reentrant variants of libc calls. * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
* 2003-01-16 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2003-01-161-0/+6
| | | | | | | | | | | * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h: Update to be in sync with what constants are defined in each file in the shared versions in libc/include. * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to autoconf can link programs. * libc/include/machine/types.h: Explicitly specify signed on intXX_t types to ensure they are signed.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-081-0/+6
| | | | | * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link dummy programs.
* 2002-04-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-191-4/+1
| | | | | * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions while autoconf is trying to link main(){}.
* 2002-04-12 Eric Norum <eric.norum@usask.com>Jeff Johnston2002-04-121-0/+4
| | | | | | | | * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy routine to allow autoconf to determine that building executables for rtems works. (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto. (rtems_gxx_mutex_once): Ditto.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-1/+27
| | | | | | | * libc/sys/rtems/crt0.c: Add stubs for functions implicitly referenced by code generated by gcc 2.8.1. (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to satisfy gcc.
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+48