aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-31 09:35:36 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-31 09:35:36 +0000
commit044758323be3617dfe94bb373423201ce52c83d0 (patch)
tree54ebcec174313a9cb77ad8297d2e98409f2a055c /sysdeps
parente88c122c4f7eb9d46436c0cb607e0f8e585c151b (diff)
downloadglibc-044758323be3617dfe94bb373423201ce52c83d0.tar
glibc-044758323be3617dfe94bb373423201ce52c83d0.tar.gz
glibc-044758323be3617dfe94bb373423201ce52c83d0.tar.bz2
glibc-044758323be3617dfe94bb373423201ce52c83d0.zip
Add __GI__setjmp alias.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/setjmp.S3
-rw-r--r--sysdeps/arm/bsd-_setjmp.S3
-rw-r--r--sysdeps/hppa/bsd-_setjmp.S5
-rw-r--r--sysdeps/m68k/bsd-_setjmp.c3
-rw-r--r--sysdeps/mips/bsd-_setjmp.S3
-rw-r--r--sysdeps/mips/mips64/bsd-_setjmp.S3
-rw-r--r--sysdeps/vax/bsd-_setjmp.S5
7 files changed, 17 insertions, 8 deletions
diff --git a/sysdeps/alpha/setjmp.S b/sysdeps/alpha/setjmp.S
index b3bc38c455..5752da7975 100644
--- a/sysdeps/alpha/setjmp.S
+++ b/sysdeps/alpha/setjmp.S
@@ -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)
diff --git a/sysdeps/arm/bsd-_setjmp.S b/sysdeps/arm/bsd-_setjmp.S
index 649e89e20e..ac039ca772 100644
--- a/sysdeps/arm/bsd-_setjmp.S
+++ b/sysdeps/arm/bsd-_setjmp.S
@@ -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)
diff --git a/sysdeps/hppa/bsd-_setjmp.S b/sysdeps/hppa/bsd-_setjmp.S
index 6aacd4888b..31aceb0703 100644
--- a/sysdeps/hppa/bsd-_setjmp.S
+++ b/sysdeps/hppa/bsd-_setjmp.S
@@ -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)
diff --git a/sysdeps/m68k/bsd-_setjmp.c b/sysdeps/m68k/bsd-_setjmp.c
index ee2964e3be..a6b404aebe 100644
--- a/sysdeps/m68k/bsd-_setjmp.c
+++ b/sysdeps/m68k/bsd-_setjmp.c
@@ -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)
diff --git a/sysdeps/mips/bsd-_setjmp.S b/sysdeps/mips/bsd-_setjmp.S
index 2a4e32111a..a175a9c820 100644
--- a/sysdeps/mips/bsd-_setjmp.S
+++ b/sysdeps/mips/bsd-_setjmp.S
@@ -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)
diff --git a/sysdeps/mips/mips64/bsd-_setjmp.S b/sysdeps/mips/mips64/bsd-_setjmp.S
index b92ac98505..489bcef528 100644
--- a/sysdeps/mips/mips64/bsd-_setjmp.S
+++ b/sysdeps/mips/mips64/bsd-_setjmp.S
@@ -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)
diff --git a/sysdeps/vax/bsd-_setjmp.S b/sysdeps/vax/bsd-_setjmp.S
index 58204d262c..68888d48ed 100644
--- a/sysdeps/vax/bsd-_setjmp.S
+++ b/sysdeps/vax/bsd-_setjmp.S
@@ -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
@@ -23,10 +23,11 @@
#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)