]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 09:36:52 +0000 (09:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 09:36:52 +0000 (09:36 +0000)
2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* include/setjmp.h: Add libc_hidden_proto for _setjmp.
* sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
* sysdeps/arm/bsd-_setjmp.S: Likewise.
* sysdeps/generic/bsd-_setjmp.c: Likewise.
* sysdeps/hppa/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
* sysdeps/sh/bsd-_setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/vax/bsd-_setjmp.S: Likewise.
* sysdeps/x86_64/bsd-_setjmp.S: Likewise.

23 files changed:
ChangeLog
include/setjmp.h
nptl/sysdeps/pthread/pt-initfini.c
sysdeps/alpha/setjmp.S
sysdeps/arm/bsd-_setjmp.S
sysdeps/generic/bsd-_setjmp.c
sysdeps/hppa/bsd-_setjmp.S
sysdeps/i386/bsd-_setjmp.S
sysdeps/m68k/bsd-_setjmp.c
sysdeps/mips/bsd-_setjmp.S
sysdeps/mips/mips64/bsd-_setjmp.S
sysdeps/powerpc/powerpc32/bsd-_setjmp.S
sysdeps/powerpc/powerpc64/setjmp.S
sysdeps/s390/s390-32/bsd-_setjmp.S
sysdeps/s390/s390-32/elf/setjmp.S
sysdeps/s390/s390-64/bsd-_setjmp.S
sysdeps/s390/s390-64/elf/setjmp.S
sysdeps/sh/bsd-_setjmp.S
sysdeps/sparc/sparc32/setjmp.S
sysdeps/unix/sysv/linux/ia64/setjmp.S
sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S
sysdeps/vax/bsd-_setjmp.S
sysdeps/x86_64/bsd-_setjmp.S

index b6f7abd5c32ada77058ce097332a552feb1ca7f9..afe8a3c3e60c8070d06d305810e0e760c2198898 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2002-12-31  Ulrich Drepper  <drepper@redhat.com>
+
+       * include/setjmp.h: Add libc_hidden_proto for _setjmp.
+       * sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
+       * sysdeps/arm/bsd-_setjmp.S: Likewise.
+       * sysdeps/generic/bsd-_setjmp.c: Likewise.
+       * sysdeps/hppa/bsd-_setjmp.S: Likewise.
+       * sysdeps/i386/bsd-_setjmp.S: Likewise.
+       * sysdeps/m68k/bsd-_setjmp.c: Likewise.
+       * sysdeps/mips/bsd-_setjmp.S: Likewise.
+       * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
+       * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
+       * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
+       * sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
+       * sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
+       * sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
+       * sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
+       * sysdeps/sh/bsd-_setjmp.S: Likewise.
+       * sysdeps/sparc/sparc32/setjmp.S: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
+       * sysdeps/vax/bsd-_setjmp.S: Likewise.
+       * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
+
 2002-12-30  Ulrich Drepper  <drepper@redhat.com>
 
        * malloc/thread-m.h (thread_atfork): Define using __register_atfork.
index 412ab79da2cf651887314af8782ff6c9de3645bd..0ac6d76dbcd24ab6239ebd993d50bd267b2afdcc 100644 (file)
@@ -20,4 +20,6 @@ extern void __libc_siglongjmp (sigjmp_buf env, int val)
 extern void __libc_longjmp (sigjmp_buf env, int val)
      __attribute__ ((noreturn));
 
+libc_hidden_proto (_setjmp)
+
 #endif
index 7aa734d0207115a632b819d1b87b9ddab6d5f6de..e9169e652aa1a7e195f52fb9ca44fe0b499e9ae5 100644 (file)
@@ -65,10 +65,10 @@ asm ("\n/*@_init_PROLOG_BEGINS*/");
 static void
 call_initialize_minimal (void)
 {
-  extern void __pthread_initialize_minimal (void)
+  extern void __pthread_initialize_minimal_internal (void)
     __attribute ((visibility ("hidden")));
 
-  __pthread_initialize_minimal ();
+  __pthread_initialize_minimal_internal ();
 }
 
 SECTION (".init");
index b3bc38c45547bfcd615a9e73f1a0a9118f86af34..5752da797515d298ab7a7a5c78a911f618a5734c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1996, 1997, 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
@@ -77,6 +77,7 @@ ENTRY(_setjmp)
        mov     0, a1
        br      $sigsetjmp_local
 END(_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
 
 ENTRY(setjmp)
        ldgp    gp, 0(pv)
index 649e89e20eb2d7cff916868fccd625251175a497..ac039ca772a268186160c526fac52612475d7360 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  ARM version.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 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
@@ -27,3 +27,4 @@ ENTRY (_setjmp)
        mov     r1, #0
        b       PLTJMP(C_SYMBOL_NAME(__sigsetjmp))
 END (_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
index de6e2847ec92f1ef5d49501e79af89cd5ccd8c16..884a4da9b61ed98bacd7d16c5c5fb100a05b6b21 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  Stub version.
-   Copyright (C) 1994, 1997, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997, 1999, 2000, 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
@@ -32,3 +32,4 @@ _setjmp (jmp_buf env)
 {
   return __sigsetjmp (env, 0);
 }
+libc_hidden_def (_setjmp)
index 6aacd4888be2d2ebe8366b0d01402a8be744b7a7..31aceb0703497140f7951a8676b6f52ea778e1bd 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  HPPA version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 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
@@ -17,6 +17,8 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#include <sysdep.h>
+
 /* This just does a tail-call to `__sigsetjmp (ARG, 1)'.
    We cannot do it in C because it must be a tail-call, so frame-unwinding
    in setjmp doesn't clobber the state restored by longjmp.  */
@@ -34,3 +36,4 @@ _setjmp:
        ldi     0, %r25
 
        .procend
+strong_alias (_setjmp, __GI__setjmp)
index 14f09b83d5495196457b31472b35625604afff31..364525b168e6e263bf9c49a571f656c95080ac3d 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  i386 version.
-   Copyright (C) 1994,1995,1996,1997,2000,2001 Free Software Foundation, Inc.
+   Copyright (C) 1994-1997,2000,2001,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
@@ -53,3 +53,4 @@ ENTRY (BP_SYM (_setjmp))
        movl %eax, JB_SIZE(%edx) /* No signal mask set.  */
        ret
 END (BP_SYM (_setjmp))
+strong_alias (_setjmp, __GI__setjmp)
index ee2964e3bece0fd4ca42283f2e9989f7374a4e99..a6b404aebe925cd0116cac73e0f3295f29f97835 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  m68k version.
-   Copyright (C) 1994, 1997, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997, 2001, 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
@@ -19,3 +19,4 @@
 
 #define BSD__SETJMP
 #include <sysdeps/m68k/setjmp.c>
+libc_hidden_def (_setjmp)
index 2a4e32111ac22e5f309a478f98a4ff3e4cde25a9..a175a9c8203b15f4eb269ac8da6f3bc393371a83 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  MIPS version.
-   Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2000, 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
@@ -40,3 +40,4 @@ ENTRY (_setjmp)
        j       C_SYMBOL_NAME (__sigsetjmp)
 #endif
        .end    _setjmp
+strong_alias (_setjmp, __GI__setjmp)
index b92ac98505ef5246c030c6e417777f4ed8df9eb9..489bcef5283a3a1e536e1a02f12fb989bf7187a3 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  MIPS64 version.
-   Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2000, 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
@@ -34,3 +34,4 @@ ENTRY (_setjmp)
        nop
        jr t9
        dli a1, 0               /* Pass a second argument of zero.  */
+strong_alias (_setjmp, __GI__setjmp)
index ddd78d36288b2e2ade309f17d9c0b68dc092a5db..d5ba978635fcfd74b58545d6daaca0f7fb24dfe3 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  PowerPC version.
-   Copyright (C) 1994, 1997, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997, 1999, 2000, 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
@@ -28,3 +28,4 @@ ENTRY (BP_SYM (_setjmp))
        li r4,0                 /* Set second argument to 0.  */
        b JUMPTARGET(BP_SYM (__sigsetjmp))
 END (BP_SYM (_setjmp))
+strong_alias (_setjmp, __GI__setjmp)
index e13f7b4e2b574552c535d053ecd7e78f3339c905..e48c23217239f4c1f66e9f4ce43bf3094c1a420f 100644 (file)
@@ -77,6 +77,7 @@ ENTRY (BP_SYM (_setjmp))
        li r4,0                 /* Set second argument to 0.  */
        b       ___sigsetjmp
 END (BP_SYM (_setjmp))
+strong_alias (_setjmp, __GI__setjmp)
 
 ENTRY (BP_SYM (__setjmp))
        li r4,1                 /* Set second argument to 1.  */
index a291678fdf37cb03dbc64f8278dd87ef344a3be7..2f703e0c1be8e2d26a671893d869e051e8d71c9a 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `setjmp' entry point to `sigsetjmp (..., 1)'.  s390 version.
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
    This file is part of the GNU C Library.
 
@@ -44,3 +44,4 @@ ENTRY(_setjmp)
 .L1:    .long  __sigsetjmp
 #endif
 END (_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
index c21bad2e8f6dfdc5c997bc81c451b4c962e83276..6cc02bd36126498e4a326a9855dfa0eb3599469d 100644 (file)
@@ -1,5 +1,5 @@
 /* setjmp for s390, ELF version.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
    This file is part of the GNU C Library.
 
@@ -34,6 +34,7 @@ END (setjmp)
        /* Binary compatibility entry point.  */
 ENTRY(_setjmp)
        .weak  C_SYMBOL_NAME (_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
 ENTRY(__setjmp)
        lhi    %r3,0                /* second argument of zero */
 
index 8ed7e034cc8cbf2c8a71aedb3d5ade1ee9f3e7ce..095443ac0da13d140d2d4bf7cb0a0fe47d8a9a6b 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `setjmp' entry point to `sigsetjmp (..., 1)'.  64 bit S/390 version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
    This file is part of the GNU C Library.
 
@@ -32,4 +32,4 @@ ENTRY(_setjmp)
        jg     __sigsetjmp          /* Branch to __sigsetjmp.  */
 #endif
 END (_setjmp)
-
+strong_alias (_setjmp, __GI__setjmp)
index 695a0e1f4ff2e15836fc07b3ad056e151f9767fe..94f6bba043ec12fec8571ed8166c91534d1eb8d9 100644 (file)
@@ -1,5 +1,5 @@
 /* setjmp for 64 bit S/390, ELF version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
    This file is part of the GNU C Library.
 
@@ -34,6 +34,7 @@ END (setjmp)
        /* Binary compatibility entry point.  */
 ENTRY(_setjmp)
         .weak  C_SYMBOL_NAME (_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
 ENTRY(__setjmp)
         slgr   %r3,%r3              /* Second argument of zero.  */
 
@@ -50,4 +51,3 @@ ENTRY(__sigsetjmp)
        jg     __sigjmp_save
 #endif
 END (__sigsetjmp)
-
index 5f139ba7fc3daf952b64b8fba705914c15af4c41..cf86b0f101801d8f538f4c50eb52e88ce4aca966 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  SH version.
-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 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
@@ -49,3 +49,4 @@ ENTRY (_setjmp)
        .long   C_SYMBOL_NAME(__sigsetjmp)
 #endif
 END (_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
index 2901777b8ca279491df83b70cd2b6ef3c88cab4a..5d61c1827606cf213796ac8b68a8dadbd3aa8130 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 94, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 93, 94, 96, 97, 98, 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
@@ -27,6 +27,7 @@ ENTRY(_setjmp)
        b       1f
         set    0, %o1
 END(_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
 
 ENTRY(setjmp)
        set     1, %o1
index 2f89aae1ed71235d2b7b01e35c1c7922ea83b1e0..a9417673cad0ff310f3c3eaceb5ff66716e001e1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -80,6 +80,7 @@ LEAF(_setjmp)
        mov in1=0
        br.cond.sptk.many __sigsetjmp
 END(_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
 
        /* __sigsetjmp(__jmp_buf buf, int savemask) */
 
index b067baaca8ae501ec30eec9bde7c567b91168871..ad3d9192554a73a433fa2bc9739b25a539c28c59 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@tamu.edu).
 
@@ -34,6 +34,7 @@ ENTRY(_setjmp)
        ba      __sigsetjmp_local
         set    0, %o1
 END(_setjmp)
+strong_alias (_setjmp, __GI__setjmp)
 
 /* int setjmp(jmp_buf) */
 
index 58204d262c9749400d5e7a658259a58e22b2615c..68888d48ed75698345289a3643d65bfdec122afc 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  Vax version.
-   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997, 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
 
 #include <sysdep.h>
 
-ENTRY (setjmp)
+ENTRY (_setjmp)
        popl r0                 /* Pop return PC.  */
        popl r1                 /* Pop jmp_buf argument.  */
        pushl $0                /* Push second argument of zero.  */
        pushl r1                /* Push back first argument.  */
        pushl r0                /* Push back return PC.  */
        jmp C_SYMBOL_NAME (__sigsetjmp)
+strong_alias (_setjmp, __GI__setjmp)
index 5f29adc7b8718f924e019d3524675d0f0b0af0c8..f858db553597b8d55ec771dcff40d9c392c5914b 100644 (file)
@@ -1,5 +1,5 @@
 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  x86-64 version.
-   Copyright (C) 1994,1995,1996,1997,2000,2001 Free Software Foundation, Inc.
+   Copyright (C) 1994-1997,2000,2001,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
@@ -37,3 +37,4 @@ ENTRY (BP_SYM (_setjmp))
        jmp BP_SYM (__sigsetjmp)
 #endif
 END (BP_SYM (_setjmp))
+strong_alias (_setjmp, __GI__setjmp)