diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-03-18 20:38:04 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-03-18 20:38:04 +0000 |
commit | e65d559e712d408af563eb1b87423801a9e297ec (patch) | |
tree | 8c7e609966a6080fda84e9f86323ecc51e9f8378 /newlib/libc | |
parent | 6a80a133be504d45b099f51330a5a5f65191db8d (diff) | |
download | cygnal-e65d559e712d408af563eb1b87423801a9e297ec.tar.gz cygnal-e65d559e712d408af563eb1b87423801a9e297ec.tar.bz2 cygnal-e65d559e712d408af563eb1b87423801a9e297ec.zip |
2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
support.
* configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
flag to support simulator only extensions.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/sys/h8300hms/crt0.S | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/newlib/libc/sys/h8300hms/crt0.S b/newlib/libc/sys/h8300hms/crt0.S index 2845f4324..a2137ad3a 100644 --- a/newlib/libc/sys/h8300hms/crt0.S +++ b/newlib/libc/sys/h8300hms/crt0.S @@ -16,8 +16,14 @@ _start: #ifdef __ELF__ mov.l #__fini,r0 jsr @_atexit +#ifdef __SIMULATOR__ + jsr @0xcc +#endif jsr @__init #else +#ifdef __SIMULATOR__ + jsr @0xcc +#endif jsr @___main #endif jsr @_main @@ -45,8 +51,14 @@ _start: #ifdef __ELF__ mov.l #__fini,r0 jsr @_atexit +#ifdef __SIMULATOR__ + jsr @0xcc +#endif jsr @__init #else +#ifdef __SIMULATOR__ + jsr @0xcc +#endif jsr @___main #endif jsr @_main @@ -74,8 +86,14 @@ _start: #ifdef __ELF__ mov.l #__fini,r0 jsr @_atexit +#ifdef __SIMULATOR__ + jsr @0xcc +#endif jsr @__init #else +#ifdef __SIMULATOR__ + jsr @0xcc +#endif jsr @___main #endif jsr @_main |