diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-06-24 22:13:35 +0400 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-06-24 22:13:35 +0400 |
commit | 6d7ea52a26bf161e0f1d32e61f87bf0731ee3cc5 (patch) | |
tree | 76b21af8e8ce727377c1f51ad6285875f16db40f /newlib/libc/sys/h8300hms/crt0.S | |
parent | c72bff5073ab7141182d634ba1d6b7aca98af2b2 (diff) |
* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
to atexit().
Diffstat (limited to 'newlib/libc/sys/h8300hms/crt0.S')
-rw-r--r-- | newlib/libc/sys/h8300hms/crt0.S | 4 |
1 files changed, 2 insertions, 2 deletions
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 |