diff options
author | Andy Polyakov <appro@openssl.org> | 2017-02-25 22:17:21 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-02-26 21:26:27 +0100 |
commit | 5e32cfb2b6aec4d8d80083dabbd25bf89a482f21 (patch) | |
tree | 03a580a988d8cb39898ef5c627d7f61fd7c39467 /crypto/x86_64cpuid.pl | |
parent | fa62bc4661960a593a77d2c3f260173c3aa7333d (diff) | |
download | openssl-new-5e32cfb2b6aec4d8d80083dabbd25bf89a482f21.tar.gz |
crypto/x86_64cpuid.pl: add CFI annotations.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r-- | crypto/x86_64cpuid.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl index 3082253aea..e08e1c4a11 100644 --- 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 |