Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 1 Apr 2004 21:14:56 +0000 (21:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 1 Apr 2004 21:14:56 +0000 (21:14 +0000)
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.

ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S

index 46e39d1..f37f8ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
+       __GI__exit.
+
        * sysdeps/powerpc/fpu/bits/mathinline.h: Addn __signbitf and
        __signbit inlines.
 
index 534a1bd..1386b2f 100644 (file)
@@ -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.  */