diff options
Diffstat (limited to 'src/lib/libcrypto/x86_64cpuid.pl')
-rw-r--r-- | src/lib/libcrypto/x86_64cpuid.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x86_64cpuid.pl b/src/lib/libcrypto/x86_64cpuid.pl index c96821a3c8..b771a8539d 100644 --- a/src/lib/libcrypto/x86_64cpuid.pl +++ b/src/lib/libcrypto/x86_64cpuid.pl | |||
@@ -12,9 +12,10 @@ open STDOUT,"| $^X ${dir}perlasm/x86_64-xlate.pl $flavour $output"; | |||
12 | if ($win64) { $arg1="%rcx"; $arg2="%rdx"; } | 12 | if ($win64) { $arg1="%rcx"; $arg2="%rdx"; } |
13 | else { $arg1="%rdi"; $arg2="%rsi"; } | 13 | else { $arg1="%rdi"; $arg2="%rsi"; } |
14 | print<<___; | 14 | print<<___; |
15 | #include <machine/asm.h> | ||
15 | .extern OPENSSL_cpuid_setup | 16 | .extern OPENSSL_cpuid_setup |
16 | .section .init | 17 | .section .init |
17 | call OPENSSL_cpuid_setup | 18 | call PIC_PLT(OPENSSL_cpuid_setup) |
18 | 19 | ||
19 | .text | 20 | .text |
20 | 21 | ||