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

(-)file_not_specified_in_diff (-6 / +6 lines)
Line  Link Here
0
-- a/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
0
++ b/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
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)
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
43
-- a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43
++ b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
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