summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-17 22:48:36 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-17 22:48:36 +0000
commit1f0996ef0d8fd7b75c7b63b21353e3127101bb6a (patch)
tree80792f9e15e9614f4bf3b0c4988f857cf97a7c23
parentc7d118290681c08df3016b119c11514a8f0eb317 (diff)
downloadglibc-1f0996ef0d8fd7b75c7b63b21353e3127101bb6a.tar.gz
glibc-1f0996ef0d8fd7b75c7b63b21353e3127101bb6a.tar.xz
glibc-1f0996ef0d8fd7b75c7b63b21353e3127101bb6a.zip
* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86_64/bsd-setjmp.S1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c96671d017..9de0e4cf0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-17  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
+
 2005-12-14  Thorsten Kukuk  <kukuk@suse.de>
 
 	* nscd/Makefile: Don't build nscd_nischeck.
diff --git a/sysdeps/x86_64/bsd-setjmp.S b/sysdeps/x86_64/bsd-setjmp.S
index fdf4833dc6..216c503ccb 100644
--- a/sysdeps/x86_64/bsd-setjmp.S
+++ b/sysdeps/x86_64/bsd-setjmp.S
@@ -33,6 +33,7 @@ ENTRY (BP_SYM (setjmp))
 	/* Set up arguments, we only need to set the 2nd arg.  */
 	movl $1, %esi
 #ifdef	PIC
+	jmp HIDDEN_JUMPTARGET (__sigsetjmp)
 #else
 	jmp BP_SYM (__sigsetjmp)
 #endif