aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-18 08:07:24 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-18 08:07:32 -0700
commite2d40a8822be27ddbd512599ea1955e52f90bf87 (patch)
tree007fd4b8b0de078f875de8b47fdad0d15021693c /sysdeps/x86_64
parent77a8ae0948e651a4c121a806c1eb8ab33a7d7e77 (diff)
downloadglibc-e2d40a8822be27ddbd512599ea1955e52f90bf87.tar
glibc-e2d40a8822be27ddbd512599ea1955e52f90bf87.tar.gz
glibc-e2d40a8822be27ddbd512599ea1955e52f90bf87.tar.bz2
glibc-e2d40a8822be27ddbd512599ea1955e52f90bf87.zip
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.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/multiarch/memcmp-sse4.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/memcmp-sse4.S b/sysdeps/x86_64/multiarch/memcmp-sse4.S
index 0d96d6b775..8e164f2cb6 100644
--- a/sysdeps/x86_64/multiarch/memcmp-sse4.S
+++ b/sysdeps/x86_64/multiarch/memcmp-sse4.S
@@ -31,7 +31,7 @@
lea TABLE(%rip), %r11; \
movslq (%r11, INDEX, SCALE), %rcx; \
add %r11, %rcx; \
- jmp *%rcx; \
+ _CET_NOTRACK jmp *%rcx; \
ud2
/* Warning!