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/libc/sys/rtems/crt0.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'newlib/libc') 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