diff options
author | deraadt <> | 2023-04-25 04:42:26 +0000 |
---|---|---|
committer | deraadt <> | 2023-04-25 04:42:26 +0000 |
commit | e2118101444d3cf3cab87297b363cecd5357ae89 (patch) | |
tree | b4ae043f669d9d718f1fecb4ca705a0cf2d2ddc7 /src/lib/libcrypto/x86_64cpuid.pl | |
parent | c6490b97c04798e5cd36a489e3ba5ffc4a66550b (diff) | |
download | openbsd-e2118101444d3cf3cab87297b363cecd5357ae89.tar.gz openbsd-e2118101444d3cf3cab87297b363cecd5357ae89.tar.bz2 openbsd-e2118101444d3cf3cab87297b363cecd5357ae89.zip |
Add endbr64 where needed by inspection. Passes regresson tests.
ok jsing, and kind of tb an earlier version
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x86_64cpuid.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/x86_64cpuid.pl b/src/lib/libcrypto/x86_64cpuid.pl index 1b67d1110f..dc56732a28 100644 --- a/src/lib/libcrypto/x86_64cpuid.pl +++ b/src/lib/libcrypto/x86_64cpuid.pl | |||
@@ -18,6 +18,7 @@ print<<___; | |||
18 | .extern OPENSSL_cpuid_setup | 18 | .extern OPENSSL_cpuid_setup |
19 | .hidden OPENSSL_cpuid_setup | 19 | .hidden OPENSSL_cpuid_setup |
20 | .section .init | 20 | .section .init |
21 | endbr64 | ||
21 | call OPENSSL_cpuid_setup | 22 | call OPENSSL_cpuid_setup |
22 | 23 | ||
23 | .extern OPENSSL_ia32cap_P | 24 | .extern OPENSSL_ia32cap_P |
@@ -29,6 +30,7 @@ print<<___; | |||
29 | .type OPENSSL_ia32_cpuid,\@abi-omnipotent | 30 | .type OPENSSL_ia32_cpuid,\@abi-omnipotent |
30 | .align 16 | 31 | .align 16 |
31 | OPENSSL_ia32_cpuid: | 32 | OPENSSL_ia32_cpuid: |
33 | endbr64 | ||
32 | mov %rbx,%r8 # save %rbx | 34 | mov %rbx,%r8 # save %rbx |
33 | 35 | ||
34 | xor %eax,%eax | 36 | xor %eax,%eax |