Add __GI__setjmp alias.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 09:35:36 +0000 (09:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 09:35:36 +0000 (09:35 +0000)
sysdeps/alpha/setjmp.S
sysdeps/arm/bsd-_setjmp.S
sysdeps/hppa/bsd-_setjmp.S
sysdeps/m68k/bsd-_setjmp.c
sysdeps/mips/bsd-_setjmp.S
sysdeps/mips/mips64/bsd-_setjmp.S
sysdeps/vax/bsd-_setjmp.S

index b3bc38c..5752da7 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 649e89e..ac039ca 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 6aacd48..31aceb0 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 ee2964e..a6b404a 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 2a4e321..a175a9c 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 b92ac98..489bcef 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 58204d2..68888d4 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)