mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 11:50:06 +00:00
x86-64: Use _CET_NOTRACK in memcpy-ssse3-back.S
* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump to jump table. (MEMCPY): Likewise.
This commit is contained in:
parent
8817df4265
commit
811e9e52b2
@ -1,3 +1,10 @@
|
||||
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
|
||||
(BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
|
||||
to jump table.
|
||||
(MEMCPY): Likewise.
|
||||
|
||||
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
|
||||
|
@ -39,7 +39,7 @@
|
||||
lea TABLE(%rip), %r11; \
|
||||
movslq (%r11, INDEX, SCALE), INDEX; \
|
||||
lea (%r11, INDEX), INDEX; \
|
||||
jmp *INDEX; \
|
||||
_CET_NOTRACK jmp *INDEX; \
|
||||
ud2
|
||||
|
||||
.section .text.ssse3,"ax",@progbits
|
||||
@ -125,7 +125,7 @@ L(144bytesormore):
|
||||
sub $0x80, %rdx
|
||||
movslq (%r11, %r9, 4), %r9
|
||||
add %r11, %r9
|
||||
jmp *%r9
|
||||
_CET_NOTRACK jmp *%r9
|
||||
ud2
|
||||
|
||||
.p2align 4
|
||||
@ -155,7 +155,7 @@ L(copy_backward):
|
||||
sub $0x80, %rdx
|
||||
movslq (%r11, %r9, 4), %r9
|
||||
add %r11, %r9
|
||||
jmp *%r9
|
||||
_CET_NOTRACK jmp *%r9
|
||||
ud2
|
||||
|
||||
.p2align 4
|
||||
|
Loading…
Reference in New Issue
Block a user