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(){}.
This commit is contained in:
Joel Sherrill 2002-04-19 18:53:40 +00:00
parent 62cb3c073a
commit d413aadcaf
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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(){}.
2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.

View File

@ -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. */