projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa62bc4
)
crypto/x86_64cpuid.pl: add CFI annotations.
author
Andy Polyakov
<appro@openssl.org>
Sat, 25 Feb 2017 21:17:21 +0000
(22:17 +0100)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 26 Feb 2017 20:26:27 +0000
(21:26 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/x86_64cpuid.pl
patch
|
blob
|
history
diff --git
a/crypto/x86_64cpuid.pl
b/crypto/x86_64cpuid.pl
index 3082253aea947082d12b456e9399d20ea3c253aa..e08e1c4a1103469d32054d06a4c72dff201f5511 100644
(file)
--- a/
crypto/x86_64cpuid.pl
+++ b/
crypto/x86_64cpuid.pl
@@
-63,7
+63,9
@@
OPENSSL_rdtsc:
.type OPENSSL_ia32_cpuid,\@function,1
.align 16
OPENSSL_ia32_cpuid:
+.cfi_startproc
mov %rbx,%r8 # save %rbx
+.cfi_register %rbx,%r8
xor %eax,%eax
mov %eax,8(%rdi) # clear 3rd word
@@
-194,8
+196,10
@@
OPENSSL_ia32_cpuid:
shl \$32,%r9
mov %r10d,%eax
mov %r8,%rbx # restore %rbx
+.cfi_restore %rbx
or %r9,%rax
ret
+.cfi_endproc
.size OPENSSL_ia32_cpuid,.-OPENSSL_ia32_cpuid
.globl OPENSSL_cleanse