summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:14:26 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:14:26 +0000
commit1956924ceacc66c73e7f3ef7a365149d5a1748d4 (patch)
tree60423731459f0fa78f48da89984be90e8b429335 /libc/sysdeps/linux/mips
parent81c39339ef06b8942ee2bbf8a9c5e1e9bae15c0c (diff)
Make clone use internal _exit
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r--libc/sysdeps/linux/mips/clone.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/mips/clone.S b/libc/sysdeps/linux/mips/clone.S
index 21cb8ec61..9c12075b3 100644
--- a/libc/sysdeps/linux/mips/clone.S
+++ b/libc/sysdeps/linux/mips/clone.S
@@ -106,12 +106,7 @@ __thread_start:
/* Call _exit rather than doing it inline for breakpoint purposes. */
move a0,v0
-#ifdef __PIC__
- la t9,_exit
- jalr t9
-#else
- jal _exit
-#endif
+ jal _exit_internal
.end __thread_start
.weak clone;