summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/v850/crt0.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/v850/crt0.S b/libc/sysdeps/linux/v850/crt0.S
index b4da96035..e6c442776 100644
--- a/libc/sysdeps/linux/v850/crt0.S
+++ b/libc/sysdeps/linux/v850/crt0.S
@@ -45,11 +45,9 @@ C_ENTRY(start):
// Load GP
mov hilo(C_SYMBOL_NAME(_gp)), gp
- // call uclibc's startup routine
- jarl C_SYMBOL_NAME(__uClibc_main), lp
+ // tail-call uclibc's startup routine
+ jr C_SYMBOL_NAME(__uClibc_main)
- // should never get here....
- jr C_SYMBOL_NAME(abort)
/* Stick in a dummy reference to `main', so that if an application
is linking when the `main' function is in a static library (.a)