summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/sys/h8300hms/crt0.S6
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