2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>

* 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.
This commit is contained in:
Jeff Johnston 2005-12-06 21:58:45 +00:00
parent 466fc394b8
commit 77e70d34ce
2 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* 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.
2005-12-05 Christopher Faylor <cgf@timesys.com>
* libc/include/stdlib.h: Move cygwin declarations to cygwin-specific

View File

@ -21,10 +21,27 @@ void *realloc() { return 0; }
void free() { ; }
void abort() { ; }
int raise() { return -1; }
#if defined(__GNUC__)
/*
* stubs for libstdc++ rtems-threads support functions from gcc/gthr-rtems.h
*/
int rtems_gxx_once() { return -1; }
int rtems_gxx_key_create() { return -1; }
int rtems_gxx_key_delete() { return -1; }
void *rtems_gxx_getspecific() { return 0; }
int rtems_gxx_setspecific() { return -1; }
void rtems_gxx_mutex_init() { }
int rtems_gxx_mutex_lock() { return -1; }
int rtems_gxx_mutex_trylock() { return -1; }
int rtems_gxx_mutex_unlock() { return -1; }
int rtems_gxx_once() { return -1; }
void rtems_gxx_recursive_mutex_init() { }
int rtems_gxx_recursive_mutex_lock() { return -1; }
int rtems_gxx_recursive_mutex_trylock() { return -1; }
int rtems_gxx_recursive_mutex_unlock() { return -1; }
#endif
/* stubs for functions from reent.h */
int _close_r (struct _reent *r, int fd) { return -1; }