diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-09-07 18:21:33 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-09-07 18:21:33 +0000 |
commit | b2d319cb3eaf0c1a139ee1586fa43d5250d5a058 (patch) | |
tree | 3098ebc882c4f769776f5f02867513dc1ddde7b3 | |
parent | e3f30e9c2445d6d30c1b7ab5292ef0b1951c296e (diff) | |
download | newlib-b2d319cb3eaf0c1a139ee1586fa43d5250d5a058.zip newlib-b2d319cb3eaf0c1a139ee1586fa43d5250d5a058.tar.gz newlib-b2d319cb3eaf0c1a139ee1586fa43d5250d5a058.tar.bz2 |
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".
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/sys/h8300hms/crt0.S | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1d8400c..3e8d67c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +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". + 2001-09-05 Corinna Vinschen <corinna@vinschen.de> * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h diff --git a/newlib/libc/sys/h8300hms/crt0.S b/newlib/libc/sys/h8300hms/crt0.S index b67c103..8d23bd4 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 |