diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2001-08-29 13:26:32 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2001-08-29 13:26:32 +0000 |
commit | 1ae900d62f5fbaf048bf3976ffb0f7f0e02e53bb (patch) | |
tree | 47c2d24664004adc1829024b776b345eb69d4ae9 /newlib/libc/sys/h8300hms/crt1.c | |
parent | 41d53c9845c5eb4c8b8d43e0f93d4f5f5114f6cf (diff) | |
download | cygnal-1ae900d62f5fbaf048bf3976ffb0f7f0e02e53bb.tar.gz cygnal-1ae900d62f5fbaf048bf3976ffb0f7f0e02e53bb.tar.bz2 cygnal-1ae900d62f5fbaf048bf3976ffb0f7f0e02e53bb.zip |
* configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
* libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
__ctors_end.
* libc/sys/h8300hms/syscalls.c: Include errno.h.
(_unlink): New stub function.
Diffstat (limited to 'newlib/libc/sys/h8300hms/crt1.c')
-rw-r--r-- | newlib/libc/sys/h8300hms/crt1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/h8300hms/crt1.c b/newlib/libc/sys/h8300hms/crt1.c index dd0be3145..bd4ccf2d8 100644 --- a/newlib/libc/sys/h8300hms/crt1.c +++ b/newlib/libc/sys/h8300hms/crt1.c @@ -1,5 +1,6 @@ void __main () { +#ifndef __ELF__ static int initialized; if (! initialized) { @@ -13,4 +14,5 @@ void __main () (*--p) (); } +#endif } |