From b2d319cb3eaf0c1a139ee1586fa43d5250d5a058 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 7 Sep 2001 18:21:33 +0000 Subject: 2001-09-07 Jeff Law * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of __fini with "mov.l" instead of "mov.w". --- newlib/ChangeLog | 5 +++++ 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 + + * 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 * 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 -- cgit v1.1