x86_64cpuid.pl: allow shared build to work without -Bsymbolic.
[openssl.git] / crypto / x86_64cpuid.pl
index ba95f0b2298d4f3959d7e5c7e9f8abbe6a43bb3f..40d42135bbc8747891b0794b9ccfe07a47c66652 100644 (file)
@@ -14,9 +14,13 @@ open STDOUT,"| $^X ${dir}perlasm/x86_64-xlate.pl $flavour $output";
 
 print<<___;
 .extern                OPENSSL_cpuid_setup
+.hidden                OPENSSL_cpuid_setup
 .section       .init
        call    OPENSSL_cpuid_setup
 
+.hidden        OPENSSL_ia32cap_P
+.comm  OPENSSL_ia32cap_P,8
+
 .text
 
 .globl OPENSSL_atomic_add