summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/arm/crt0.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arm/crt0.S b/libc/sysdeps/linux/arm/crt0.S
index dc0ec87d8..ad4865cc1 100644
--- a/libc/sysdeps/linux/arm/crt0.S
+++ b/libc/sysdeps/linux/arm/crt0.S
@@ -84,9 +84,8 @@ _start:
ldr r3, =_init
/* Push _fini onto the stack as the final argument to main() */
- stmfd sp!, {r0}
- ldr a1, =_fini
- stmfd sp!, {r0}
+ ldr r4, =_fini
+ stmfd sp!, {r4}
/* Ok, now run uClibc's main() -- shouldn't return */
bl __uClibc_start_main