summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S17
1 files changed, 5 insertions, 12 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
index 37b777799c..f232284747 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
@@ -1,5 +1,5 @@
/* Wrapper around clone system call.
- Copyright (C) 1997,98,99,2000,02,04,2006 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
@@ -14,8 +14,8 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA
- 02110-1301 USA. */
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
#include <sysdep.h>
#define _ERRNO_H 1
@@ -49,7 +49,6 @@ ENTRY (BP_SYM (__clone))
/* Set up stack frame for parent. */
stwu r1,-32(r1)
- cfi_adjust_cfa_offset (32)
#ifdef RESET_PID
stmw r28,16(r1)
#else
@@ -84,10 +83,6 @@ ENTRY (BP_SYM (__clone))
mr r6,r8
mr r7,r9
- /* End FDE now, because in the child the unwind info will be
- wrong. */
- cfi_endproc
-
/* Do the call. */
DO_CALL(SYS_ify(clone))
@@ -137,13 +132,11 @@ L(parent):
#endif
addi r1,r1,32
bnslr+
- b __syscall_error@local
+ b JUMPTARGET(__syscall_error)
L(badargs):
li r3,EINVAL
- b __syscall_error@local
-
- cfi_startproc
+ b JUMPTARGET(__syscall_error)
END (BP_SYM (__clone))
weak_alias (BP_SYM (__clone), BP_SYM (clone))