mirror of git://sourceware.org/git/glibc.git
x86-64: Use _CET_NOTRACK in memcmp-sse4.S
* sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump to jump table.
This commit is contained in:
parent
77a8ae0948
commit
e2d40a8822
|
@ -1,3 +1,8 @@
|
||||||
|
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
|
||||||
|
Add _CET_NOTRACK before indirect jump to jump table.
|
||||||
|
|
||||||
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/i386/i686/multiarch/memset-sse2-rep.S
|
* sysdeps/i386/i686/multiarch/memset-sse2-rep.S
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
lea TABLE(%rip), %r11; \
|
lea TABLE(%rip), %r11; \
|
||||||
movslq (%r11, INDEX, SCALE), %rcx; \
|
movslq (%r11, INDEX, SCALE), %rcx; \
|
||||||
add %r11, %rcx; \
|
add %r11, %rcx; \
|
||||||
jmp *%rcx; \
|
_CET_NOTRACK jmp *%rcx; \
|
||||||
ud2
|
ud2
|
||||||
|
|
||||||
/* Warning!
|
/* Warning!
|
||||||
|
|
Loading…
Reference in New Issue