summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc
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/powerpc
parent81c39339ef06b8942ee2bbf8a9c5e1e9bae15c0c (diff)
Make clone use internal _exit
Diffstat (limited to 'libc/sysdeps/linux/powerpc')
-rw-r--r--libc/sysdeps/linux/powerpc/clone.S6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/powerpc/clone.S b/libc/sysdeps/linux/powerpc/clone.S
index f7c6bd18e..9e8a1ca53 100644
--- a/libc/sysdeps/linux/powerpc/clone.S
+++ b/libc/sysdeps/linux/powerpc/clone.S
@@ -78,11 +78,7 @@ __clone:
mr r3,r31
bctrl
/* Call _exit with result from procedure. */
-#ifdef __PIC__
- b _exit@plt
-#else
- b _exit
-#endif
+ b _exit_internal
.Lparent:
/* Parent. Restore registers & return. */