about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-31 09:46:42 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-31 09:46:42 +0000
commite9395a94c376e04d6d9d3be8a8f7f79c25d41992 (patch)
treecba5059d1e0d3df804504493f6ede160775e0acd /sysdeps
parent9b4289aaf75de4793fd01cd3f7d10e1adaad33d7 (diff)
downloadglibc-e9395a94c376e04d6d9d3be8a8f7f79c25d41992.tar.gz
glibc-e9395a94c376e04d6d9d3be8a8f7f79c25d41992.tar.xz
glibc-e9395a94c376e04d6d9d3be8a8f7f79c25d41992.zip
Update.
	* include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
	* sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
	* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
	__GI___longjmp alias.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/longjmp.c3
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/longjmp.c b/sysdeps/generic/longjmp.c
index fa2aca36c9..9b1bda1caa 100644
--- a/sysdeps/generic/longjmp.c
+++ b/sysdeps/generic/longjmp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 97, 98, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,95,97,98,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,6 +40,7 @@ __libc_siglongjmp (sigjmp_buf env, int val)
 }
 
 strong_alias (__libc_siglongjmp, __libc_longjmp)
+libc_hidden_def (__libc_longjmp)
 weak_alias (__libc_siglongjmp, _longjmp)
 weak_alias (__libc_siglongjmp, longjmp)
 weak_alias (__libc_siglongjmp, siglongjmp)
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S b/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
index 442a8a010b..df6f81703b 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@tamu.edu).
 
@@ -46,6 +46,7 @@ END(__libc_siglongjmp)
 
 strong_alias(__libc_siglongjmp, __longjmp)
 strong_alias(__libc_siglongjmp, __libc_longjmp)
+strong_alias(__libc_longjmp, __GI___libc_longjmp)
 weak_alias(__libc_siglongjmp, longjmp)
 weak_alias(__libc_siglongjmp, _longjmp)
 weak_alias(__libc_siglongjmp, siglongjmp)