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/libc/sys/h8300hms/crt0.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/sys/h8300hms/crt0.S') 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 -- cgit v1.2.3