diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-12 21:12:19 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-12 21:12:19 +0000 |
commit | 26116455c40b950000ef3033393c678733c560aa (patch) | |
tree | 96552649d90a06935f39c0cfd6127e4a97c74d7f /newlib | |
parent | 4deace13e4751f81db731dd18eb6aacd8963233e (diff) | |
download | newlib-26116455c40b950000ef3033393c678733c560aa.zip newlib-26116455c40b950000ef3033393c678733c560aa.tar.gz newlib-26116455c40b950000ef3033393c678733c560aa.tar.bz2 |
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')
-rw-r--r-- | newlib/ChangeLog | 8 | ||||
-rw-r--r-- | newlib/libc/sys/rtems/crt0.c | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 02197ba..7d96109 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-09 Tom Rix <trix@redhat.com> * 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 e77b52e..9d42698 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 */ |