summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/clone.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-04 01:28:11 +0000
committerRoland McGrath <roland@gnu.org>2002-08-04 01:28:11 +0000
commitb38de2c8da34cf506651a5170a3d2d46292650ad (patch)
tree63d48f1ee665cbf6a044d7d630dfc286555f1689 /sysdeps/unix/sysv/linux/powerpc/clone.S
parentb28d7a3dfdff6b94839d628ff8acd3a28aa2ff7a (diff)
2002-08-03 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use HIDDEN_JUMPTARGET for _exit. * sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise. * sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/clone.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/clone.S b/sysdeps/unix/sysv/linux/powerpc/clone.S
index a43fe1b7b5..97849a5b26 100644
--- a/sysdeps/unix/sysv/linux/powerpc/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/clone.S
@@ -1,5 +1,5 @@
/* Wrapper around clone system call.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997,98,99,2000,02 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
@@ -44,7 +44,7 @@ ENTRY (BP_SYM (__clone))
/* Set up stack frame for parent. */
stwu r1,-32(r1)
stmw r29,16(r1)
-
+
/* Set up stack frame for child. */
clrrwi r4,r4,4
li r0,0
@@ -77,7 +77,7 @@ ENTRY (BP_SYM (__clone))
mr r3,r31
bctrl
/* Call _exit with result from procedure. */
- b JUMPTARGET(_exit)
+ b HIDDEN_JUMPTARGET(_exit)
L(parent):
/* Parent. Restore registers & return. */