2002-08-03 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sun, 4 Aug 2002 01:28:11 +0000 (01:28 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 4 Aug 2002 01:28:11 +0000 (01:28 +0000)
* 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.

sysdeps/unix/_exit.S
sysdeps/unix/sysv/linux/i386/clone.S
sysdeps/unix/sysv/linux/m68k/clone.S
sysdeps/unix/sysv/linux/powerpc/clone.S
sysdeps/unix/sysv/linux/x86_64/clone.S

index 4fdef35..115527e 100644 (file)
@@ -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)
index cf8120b..9865ebd 100644 (file)
@@ -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))
 
index 9ca789d..e19172a 100644 (file)
@@ -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)
 
index a43fe1b..97849a5 100644 (file)
@@ -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.  */
index a2c2c9a..5b35207 100644 (file)
@@ -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))