diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-07-18 06:38:10 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-07-18 06:38:23 -0700 |
commit | 811e9e52b2bd2fb59b981b174ad30489d2574081 (patch) | |
tree | 61121512f0f6bc0e4f092efa3d51aecdf94b9f5e /sysdeps/x86_64 | |
parent | 8817df42650af57e8d1c4bab4c73b78375d6cfaf (diff) | |
download | glibc-811e9e52b2bd2fb59b981b174ad30489d2574081.zip glibc-811e9e52b2bd2fb59b981b174ad30489d2574081.tar.gz glibc-811e9e52b2bd2fb59b981b174ad30489d2574081.tar.bz2 |
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.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/multiarch/memcpy-ssse3-back.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S b/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S index 7e37035..3cd1123 100644 --- a/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S +++ b/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S @@ -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 |