mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
x86_64: Undef SHADOW_STACK_POINTER_OFFSET last
Since SHADOW_STACK_POINTER_OFFSET is defined in jmp_buf-ssp.h, we must undef SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
This commit is contained in:
parent
faaee1f07e
commit
31e422ca96
@ -1,3 +1,8 @@
|
||||
2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
|
||||
SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
|
||||
|
||||
2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
||||
H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
|
@ -19,15 +19,14 @@
|
||||
#include <jmpbuf-offsets.h>
|
||||
#include <asm-syntax.h>
|
||||
#include <stap-probe.h>
|
||||
#include <sigaltstack-offsets.h>
|
||||
#include <jmp_buf-ssp.h>
|
||||
|
||||
/* Don't restore shadow stack register if shadow stack isn't enabled. */
|
||||
#if !SHSTK_ENABLED
|
||||
# undef SHADOW_STACK_POINTER_OFFSET
|
||||
#endif
|
||||
|
||||
#include <sigaltstack-offsets.h>
|
||||
#include <jmp_buf-ssp.h>
|
||||
|
||||
.section .rodata.str1.1,"aMS",@progbits,1
|
||||
.type longjmp_msg,@object
|
||||
longjmp_msg:
|
||||
|
Loading…
Reference in New Issue
Block a user