diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-09-07 22:21:33 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-09-07 22:21:33 +0400 |
commit | b2d319cb3eaf0c1a139ee1586fa43d5250d5a058 (patch) | |
tree | 3098ebc882c4f769776f5f02867513dc1ddde7b3 /newlib/libc | |
parent | e3f30e9c2445d6d30c1b7ab5292ef0b1951c296e (diff) |
2001-09-07 Jeff Law <law@redhat.com>
* libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
__fini with "mov.l" instead of "mov.w".
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/sys/h8300hms/crt0.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/sys/h8300hms/crt0.S b/newlib/libc/sys/h8300hms/crt0.S index b67c103e5..8d23bd486 100644 --- a/newlib/libc/sys/h8300hms/crt0.S +++ b/newlib/libc/sys/h8300hms/crt0.S @@ -14,7 +14,7 @@ _start: cmp r1,r0 blo .loop #ifdef __ELF__ - mov.w #__fini,r0 + mov.l #__fini,r0 jsr @_atexit jsr @__init #else @@ -43,7 +43,7 @@ _start: cmp.l er1,er0 blo .loop #ifdef __ELF__ - mov.w #__fini,r0 + mov.l #__fini,r0 jsr @_atexit jsr @__init #else @@ -72,7 +72,7 @@ _start: cmp.l er1,er0 blo .loop #ifdef __ELF__ - mov.w #__fini,r0 + mov.l #__fini,r0 jsr @_atexit jsr @__init #else |