diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strcmp-sse42.S | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2018-07-18 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add + _CET_NOTRACK before indirect jump to jump table. + +2018-07-18 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump to jump table. diff --git a/sysdeps/x86_64/multiarch/strcmp-sse42.S b/sysdeps/x86_64/multiarch/strcmp-sse42.S index 5a0c6668a7..d3c07bd292 100644 --- a/sysdeps/x86_64/multiarch/strcmp-sse42.S +++ b/sysdeps/x86_64/multiarch/strcmp-sse42.S @@ -275,7 +275,7 @@ LABEL(bigger): movslq (%r10, %r9,4), %r9 pcmpeqb %xmm1, D(%xmm0) /* Any null chars? */ lea (%r10, %r9), %r10 - jmp *%r10 /* jump to corresponding case */ + _CET_NOTRACK jmp *%r10 /* jump to corresponding case */ /* * The following cases will be handled by ashr_0 |