diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-07-18 06:32:54 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-07-18 06:33:06 -0700 |
commit | 921595d151ee1661cc5476bb019483e12b7b47f6 (patch) | |
tree | b3b827e71677cffaf837a4db4cd0762d5f80c5fa | |
parent | 4ef60d95979b222daa69c2948c279d0912731e76 (diff) | |
download | glibc-921595d151ee1661cc5476bb019483e12b7b47f6.tar glibc-921595d151ee1661cc5476bb019483e12b7b47f6.tar.gz glibc-921595d151ee1661cc5476bb019483e12b7b47f6.tar.bz2 glibc-921595d151ee1661cc5476bb019483e12b7b47f6.zip |
x86-64: Use _CET_NOTRACK in strcpy-sse2-unaligned.S
* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
(BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
to jump table.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 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. + +2018-07-18 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before indirect jump to jump table. diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S index 56b748eb2c..72bf7e8586 100644 --- a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S +++ b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S @@ -33,7 +33,7 @@ lea TABLE(%rip), %r11; \ movslq (%r11, INDEX, SCALE), %rcx; \ lea (%r11, %rcx), %rcx; \ - jmp *%rcx + _CET_NOTRACK jmp *%rcx # ifndef USE_AS_STRCAT |