Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 293637 | Differences between
and this patch

Collapse All | Expand All

(-)a/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (-2 / +2 lines)
Lines 33-42 longjmp_msg: Link Here
33
			cfi_register(%ebx,%ecx);			      \
33
			cfi_register(%ebx,%ecx);			      \
34
			LOAD_PIC_REG (bx);				      \
34
			LOAD_PIC_REG (bx);				      \
35
			leal	longjmp_msg@GOTOFF(%ebx), %eax;		      \
35
			leal	longjmp_msg@GOTOFF(%ebx), %eax;		      \
36
			call	__GI___fortify_fail@PLT
36
			call	HIDDEN_JUMPTARGET(__fortify_fail)@PLT
37
#else
37
#else
38
# define CALL_FAIL	movl	$longjmp_msg, %eax;			      \
38
# define CALL_FAIL	movl	$longjmp_msg, %eax;			      \
39
			call	__fortify_fail
39
			call	HIDDEN_JUMPTARGET(__fortify_fail)
40
#endif
40
#endif
41
41
42
42
(-)a/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (-7 / +1 lines)
Lines 30-48 longjmp_msg: Link Here
30
30
31
#define __longjmp ____longjmp_chk
31
#define __longjmp ____longjmp_chk
32
32
33
#ifdef PIC
34
#  define CALL_FAIL	__GI___fortify_fail
35
#else
36
#  define CALL_FAIL	__fortify_fail
37
#endif
38
39
#define CHECK_RSP(reg) \
33
#define CHECK_RSP(reg) \
40
	cmp.ltu p0, p8 = reg, r12;				\
34
	cmp.ltu p0, p8 = reg, r12;				\
41
(p8)	br.cond.dpnt .Lok;;					\
35
(p8)	br.cond.dpnt .Lok;;					\
42
	addl r28 = @ltoffx(longjmp_msg#), r1;;			\
36
	addl r28 = @ltoffx(longjmp_msg#), r1;;			\
43
	ld8.mov r28 = [r28], longjmp_msg#;;			\
37
	ld8.mov r28 = [r28], longjmp_msg#;;			\
44
	ld8 out0 = [r28];					\
38
	ld8 out0 = [r28];					\
45
	br.call.sptk.many b0 = CALL_FAIL#;;			\
39
	br.call.sptk.many b0 = HIDDEN_JUMPTARGET(__fortify_fail)#;;			\
46
.Lok:
40
.Lok:
47
41
48
#include "__longjmp.S"
42
#include "__longjmp.S"
(-)a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (-2 / +2 lines)
Lines 31-40 longjmp_msg: Link Here
31
31
32
#ifdef PIC
32
#ifdef PIC
33
# define CALL_FAIL	leaq	longjmp_msg(%rip), %rdi;		      \
33
# define CALL_FAIL	leaq	longjmp_msg(%rip), %rdi;		      \
34
			call	__GI___fortify_fail
34
			call	HIDDEN_JUMPTARGET(__fortify_fail)
35
#else
35
#else
36
# define CALL_FAIL	movq	$longjmp_msg, %rdi;			      \
36
# define CALL_FAIL	movq	$longjmp_msg, %rdi;			      \
37
			call	__fortify_fail
37
			call	HIDDEN_JUMPTARGET(__fortify_fail)
38
#endif
38
#endif
39
39
40
#define CHECK_RSP(reg) \
40
#define CHECK_RSP(reg) \

Return to bug 293637