diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2002-04-19 18:53:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2002-04-19 18:53:40 +0000 |
commit | d413aadcafc1fc287fa01cb28dd04f495111e418 (patch) | |
tree | 50a281d45e4b566cbc883ead35ed36f717c68b66 /newlib/libc/sys/rtems/crt0.c | |
parent | 62cb3c073af8822bd0da1c696078ddd3c5c12793 (diff) | |
download | cygnal-d413aadcafc1fc287fa01cb28dd04f495111e418.tar.gz cygnal-d413aadcafc1fc287fa01cb28dd04f495111e418.tar.bz2 cygnal-d413aadcafc1fc287fa01cb28dd04f495111e418.zip |
2002-04-19 Joel Sherrill <joel@OARcorp.com>
* libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
while autoconf is trying to link main(){}.
Diffstat (limited to 'newlib/libc/sys/rtems/crt0.c')
-rw-r--r-- | newlib/libc/sys/rtems/crt0.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c index 9d42698bc..9895ee6c7 100644 --- a/newlib/libc/sys/rtems/crt0.c +++ b/newlib/libc/sys/rtems/crt0.c @@ -23,16 +23,13 @@ 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 */ -#if (__GNUC__ == 2) && (__GNUC_MINOR__ == 8) +/* gcc can implicitly generate references to these */ strcmp() {} strcpy() {} strlen() {} memcmp() {} memcpy() {} memset() {} -#endif /* The PowerPC expects certain symbols to be defined in the linker script. */ |