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:
H.J. Lu 2018-07-18 08:07:24 -07:00
parent 77a8ae0948
commit e2d40a8822
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* sysdeps/i386/i686/multiarch/memset-sse2-rep.S

View File

@ -31,7 +31,7 @@
lea TABLE(%rip), %r11; \
movslq (%r11, INDEX, SCALE), %rcx; \
add %r11, %rcx; \
jmp *%rcx; \
_CET_NOTRACK jmp *%rcx; \
ud2
/* Warning!