Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-04-13 01:12:19 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-04-13 01:12:19 +0400
commit26116455c40b950000ef3033393c678733c560aa (patch)
tree96552649d90a06935f39c0cfd6127e4a97c74d7f /newlib/libc/sys/rtems
parent4deace13e4751f81db731dd18eb6aacd8963233e (diff)
2002-04-12 Eric Norum <eric.norum@usask.com>
* 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.
Diffstat (limited to 'newlib/libc/sys/rtems')
-rw-r--r--newlib/libc/sys/rtems/crt0.c4
1 files changed, 4 insertions, 0 deletions
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 */