about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ia64
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@chromium.org>2011-09-15 12:26:08 -0700
committerRoland McGrath <mcgrathr@chromium.org>2011-09-15 12:26:08 -0700
commitb402e91af4a1771cdc11bb7d88bbc631aeeddb82 (patch)
tree8169edde0d1096f9889aaff043051b87507526e0 /sysdeps/unix/sysv/linux/ia64
parent4d8e1f11950c7ceb6b5037c66ee104d031487d72 (diff)
downloadglibc-b402e91af4a1771cdc11bb7d88bbc631aeeddb82.tar.gz
glibc-b402e91af4a1771cdc11bb7d88bbc631aeeddb82.tar.xz
glibc-b402e91af4a1771cdc11bb7d88bbc631aeeddb82.zip
Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S8
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S b/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S
index e097c2288e..fa87f67ebc 100644
--- a/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S
+++ b/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S
@@ -30,19 +30,13 @@ longjmp_msg:
 
 #define __longjmp ____longjmp_chk
 
-#ifdef PIC
-#  define CALL_FAIL	__GI___fortify_fail
-#else
-#  define CALL_FAIL	__fortify_fail
-#endif
-
 #define CHECK_RSP(reg) \
 	cmp.ltu p0, p8 = reg, r12;				\
 (p8)	br.cond.dpnt .Lok;;					\
 	addl r28 = @ltoffx(longjmp_msg#), r1;;			\
 	ld8.mov r28 = [r28], longjmp_msg#;;			\
 	ld8 out0 = [r28];					\
-	br.call.sptk.many b0 = CALL_FAIL#;;			\
+	br.call.sptk.many b0 = HIDDEN_JUMPTARGET(__fortify_fail)#;; \
 .Lok:
 
 #include "__longjmp.S"