mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
i386: Use _CET_NOTRACK in i686/memcmp.S
* sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before indirect jump to jump table.
This commit is contained in:
parent
03aaf49b68
commit
7e119cd582
@ -1,3 +1,8 @@
|
||||
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
|
||||
indirect jump to jump table.
|
||||
|
||||
2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/multiarch/memcpy-ssse3.S
|
||||
|
@ -80,7 +80,7 @@ L(not_1):
|
||||
LOAD_JUMP_TABLE_ENTRY (L(table_32bytes), %ecx)
|
||||
addl %ecx, %edx
|
||||
addl %ecx, %esi
|
||||
jmp *%ebx
|
||||
_CET_NOTRACK jmp *%ebx
|
||||
|
||||
ALIGN (4)
|
||||
L(28bytes):
|
||||
@ -326,7 +326,7 @@ L(32bytesormore):
|
||||
LOAD_JUMP_TABLE_ENTRY (L(table_32bytes), %ecx)
|
||||
addl %ecx, %edx
|
||||
addl %ecx, %esi
|
||||
jmp *%ebx
|
||||
_CET_NOTRACK jmp *%ebx
|
||||
|
||||
L(load_ecx_28):
|
||||
addl $0x4, %edx
|
||||
|
Loading…
Reference in New Issue
Block a user