summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-01 21:14:56 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-01 21:14:56 +0000
commit7062ca8f6c37624593391d3e98cca1e62226ef08 (patch)
tree377300c90733d6362ac19a2e5fc8d4916715a214 /sysdeps/unix/sysv/linux/powerpc/powerpc64
parent3c55cffa1e1b55082db0b2e56a96a0ada30710eb (diff)
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use __GI__exit.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc64')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
index 534a1bd12d..1386b2fa22 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
@@ -1,5 +1,5 @@
/* Wrapper around clone system call. PowerPC64 version.
- Copyright (C) 1997,98,99,2000,02 Free Software Foundation, Inc.
+ Copyright (C) 1997,98,99,2000,02, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -87,7 +87,11 @@ ENTRY (BP_SYM (__clone))
mr r3,r31
bctrl
/* Call _exit with result from procedure. */
+#ifdef SHARED
+ b JUMPTARGET(__GI__exit)
+#else
b JUMPTARGET(_exit)
+#endif
L(parent):
/* Parent. Restore registers & return. */