about summary refs log tree commit diff
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
parentb28d7a3dfdff6b94839d628ff8acd3a28aa2ff7a (diff)
downloadglibc-b38de2c8da34cf506651a5170a3d2d46292650ad.tar.gz
glibc-b38de2c8da34cf506651a5170a3d2d46292650ad.tar.xz
glibc-b38de2c8da34cf506651a5170a3d2d46292650ad.zip
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.
-rw-r--r--sysdeps/unix/_exit.S3
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone.S4
-rw-r--r--sysdeps/unix/sysv/linux/m68k/clone.S4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/clone.S6
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/clone.S4
5 files changed, 11 insertions, 10 deletions
diff --git a/sysdeps/unix/_exit.S b/sysdeps/unix/_exit.S
index 4fdef35a6e..115527efab 100644
--- a/sysdeps/unix/_exit.S
+++ b/sysdeps/unix/_exit.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,97,99,2002 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
@@ -21,4 +21,5 @@
 PSEUDO (_exit, exit, 1)
 	/* Shouldn't get here.  */
 PSEUDO_END(_exit)
+libc_hidden_def (_exit)
 weak_alias (_exit, _Exit)
diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S
index cf8120ba8f..9865ebd948 100644
--- a/sysdeps/unix/sysv/linux/i386/clone.S
+++ b/sysdeps/unix/sysv/linux/i386/clone.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997,98,99,2000,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@tamu.edu)
 
@@ -88,7 +88,7 @@ L(here):
 	addl	$_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ebx
 #endif
 	pushl	%eax
-	call	JUMPTARGET (_exit)
+	call	HIDDEN_JUMPTARGET (_exit)
 
 PSEUDO_END (BP_SYM (__clone))
 
diff --git a/sysdeps/unix/sysv/linux/m68k/clone.S b/sysdeps/unix/sysv/linux/m68k/clone.S
index 9ca789d4a4..e19172a8f7 100644
--- a/sysdeps/unix/sysv/linux/m68k/clone.S
+++ b/sysdeps/unix/sysv/linux/m68k/clone.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996,97,98,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
 
@@ -58,7 +58,7 @@ thread_start:
 	subl	%fp, %fp	/* terminate the stack frame */
 	jsr	(%a0)
 	movel	%d0, -(%sp)
-	jbsr	JUMPTARGET (_exit)
+	jbsr	HIDDEN_JUMPTARGET (_exit)
 
 PSEUDO_END (__clone)
 
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.  */
diff --git a/sysdeps/unix/sysv/linux/x86_64/clone.S b/sysdeps/unix/sysv/linux/x86_64/clone.S
index a2c2c9a3f0..5b3520754d 100644
--- a/sysdeps/unix/sysv/linux/x86_64/clone.S
+++ b/sysdeps/unix/sysv/linux/x86_64/clone.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001,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
@@ -79,7 +79,7 @@ thread_start:
 	call	*%rax
 	/* Call exit with return value from function call. */
 	movq	%rax, %rdi
-	call	JUMPTARGET (_exit)
+	call	HIDDEN_JUMPTARGET (_exit)
 
 PSEUDO_END (BP_SYM (__clone))