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.
This commit is contained in:
parent
6a80a133be
commit
e65d559e71
|
@ -1,3 +1,10 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2003-03-17 Bob Cassels <bcassels@abinitio.com>
|
2003-03-17 Bob Cassels <bcassels@abinitio.com>
|
||||||
|
|
||||||
* libc/string/wcschr.c: (wcschr): Look for character first,
|
* libc/string/wcschr.c: (wcschr): Look for character first,
|
||||||
|
|
|
@ -503,6 +503,9 @@ case "${host}" in
|
||||||
h8300*-*-*)
|
h8300*-*-*)
|
||||||
syscall_dir=syscalls
|
syscall_dir=syscalls
|
||||||
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
|
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
|
||||||
|
# Simulator only extensions for H8300.
|
||||||
|
# Uncomment the next line to enable them.
|
||||||
|
# newlib_cflags="${newlib_cflags} -D__SIMULATOR__"
|
||||||
;;
|
;;
|
||||||
h8500-*-*)
|
h8500-*-*)
|
||||||
syscall_dir=syscalls
|
syscall_dir=syscalls
|
||||||
|
|
|
@ -16,8 +16,14 @@ _start:
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
mov.l #__fini,r0
|
mov.l #__fini,r0
|
||||||
jsr @_atexit
|
jsr @_atexit
|
||||||
|
#ifdef __SIMULATOR__
|
||||||
|
jsr @0xcc
|
||||||
|
#endif
|
||||||
jsr @__init
|
jsr @__init
|
||||||
#else
|
#else
|
||||||
|
#ifdef __SIMULATOR__
|
||||||
|
jsr @0xcc
|
||||||
|
#endif
|
||||||
jsr @___main
|
jsr @___main
|
||||||
#endif
|
#endif
|
||||||
jsr @_main
|
jsr @_main
|
||||||
|
@ -45,8 +51,14 @@ _start:
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
mov.l #__fini,r0
|
mov.l #__fini,r0
|
||||||
jsr @_atexit
|
jsr @_atexit
|
||||||
|
#ifdef __SIMULATOR__
|
||||||
|
jsr @0xcc
|
||||||
|
#endif
|
||||||
jsr @__init
|
jsr @__init
|
||||||
#else
|
#else
|
||||||
|
#ifdef __SIMULATOR__
|
||||||
|
jsr @0xcc
|
||||||
|
#endif
|
||||||
jsr @___main
|
jsr @___main
|
||||||
#endif
|
#endif
|
||||||
jsr @_main
|
jsr @_main
|
||||||
|
@ -74,8 +86,14 @@ _start:
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
mov.l #__fini,r0
|
mov.l #__fini,r0
|
||||||
jsr @_atexit
|
jsr @_atexit
|
||||||
|
#ifdef __SIMULATOR__
|
||||||
|
jsr @0xcc
|
||||||
|
#endif
|
||||||
jsr @__init
|
jsr @__init
|
||||||
#else
|
#else
|
||||||
|
#ifdef __SIMULATOR__
|
||||||
|
jsr @0xcc
|
||||||
|
#endif
|
||||||
jsr @___main
|
jsr @___main
|
||||||
#endif
|
#endif
|
||||||
jsr @_main
|
jsr @_main
|
||||||
|
|
Loading…
Reference in New Issue