From 26116455c40b950000ef3033393c678733c560aa Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 12 Apr 2002 21:12:19 +0000 Subject: 2002-04-12 Eric Norum * 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. --- newlib/ChangeLog | 8 ++++++++ newlib/libc/sys/rtems/crt0.c | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 02197ba3b..7d96109ae 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,11 @@ +2002-04-12 Eric Norum + + * 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. + 2002-04-09 Tom Rix * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo. diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c index e77b52eaf..9d42698bc 100644 --- a/newlib/libc/sys/rtems/crt0.c +++ b/newlib/libc/sys/rtems/crt0.c @@ -18,6 +18,10 @@ void *realloc() { return 0; } void free() { ; } void abort() { ; } int raise() { return -1; } +void rtems_gxx_mutex_init() { } +int rtems_gxx_mutex_lock() { return -1; } +int rtems_gxx_mutex_unlock() { return -1; } +int rtems_gxx_once() { return -1; } /* gcc 2.8.1 implicitly can generate references to these for at * least sparc-elf */ -- cgit v1.2.3