summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x86_64cpuid.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/x86_64cpuid.pl')
-rw-r--r--lib/libcrypto/x86_64cpuid.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcrypto/x86_64cpuid.pl b/lib/libcrypto/x86_64cpuid.pl
index 1b67d1110f9..dc56732a28b 100644
--- a/lib/libcrypto/x86_64cpuid.pl
+++ b/lib/libcrypto/x86_64cpuid.pl
@@ -18,6 +18,7 @@ print<<___;
.extern OPENSSL_cpuid_setup
.hidden OPENSSL_cpuid_setup
.section .init
+ endbr64
call OPENSSL_cpuid_setup
.extern OPENSSL_ia32cap_P
@@ -29,6 +30,7 @@ print<<___;
.type OPENSSL_ia32_cpuid,\@abi-omnipotent
.align 16
OPENSSL_ia32_cpuid:
+ endbr64
mov %rbx,%r8 # save %rbx
xor %eax,%eax