diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-06-24 18:13:35 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-06-24 18:13:35 +0000 |
commit | 6d7ea52a26bf161e0f1d32e61f87bf0731ee3cc5 (patch) | |
tree | 76b21af8e8ce727377c1f51ad6285875f16db40f | |
parent | c72bff5073ab7141182d634ba1d6b7aca98af2b2 (diff) | |
download | cygnal-6d7ea52a26bf161e0f1d32e61f87bf0731ee3cc5.tar.gz cygnal-6d7ea52a26bf161e0f1d32e61f87bf0731ee3cc5.tar.bz2 cygnal-6d7ea52a26bf161e0f1d32e61f87bf0731ee3cc5.zip |
* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
to atexit().
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/sys/h8300hms/crt0.S | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index d1b0e3859..f268a9973 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-06-24 Richard Sandiford <rsandifo@redhat.com> + + * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call + to atexit(). + 2003-06-20 Jeff Johnston <jjohnstn@redhat.com> * configure.host (iq2000): Add tabs. diff --git a/newlib/libc/sys/h8300hms/crt0.S b/newlib/libc/sys/h8300hms/crt0.S index aa6bed592..8ad6ddc59 100644 --- a/newlib/libc/sys/h8300hms/crt0.S +++ b/newlib/libc/sys/h8300hms/crt0.S @@ -50,7 +50,7 @@ _start: cmp.l er1,er0 blo .Loop #ifdef __ELF__ - mov.l #__fini,r0 + mov.l #__fini,er0 jsr @_atexit #ifdef __SIMULATOR__ jsr @0xcc @@ -84,7 +84,7 @@ _start: cmp.l er1,er0 blo .Loop #ifdef __ELF__ - mov.l #__fini,r0 + mov.l #__fini,er0 jsr @_atexit #ifdef __SIMULATOR__ jsr @0xcc |