summaryrefslogtreecommitdiffstats
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-05-18 18:24:19 +0200
committerAndy Polyakov <appro@openssl.org>2011-05-18 18:24:19 +0200
commitddc20d4da9d770afeace2b4111d5d39d00e6c6b4 (patch)
tree0c9b2158c6546766269dd23bd8215d81111dfebd /crypto/x86_64cpuid.pl
parente_padlock.c: make it compile on MacOS X. (diff)
downloadopenssl-ddc20d4da9d770afeace2b4111d5d39d00e6c6b4.tar.xz
openssl-ddc20d4da9d770afeace2b4111d5d39d00e6c6b4.zip
x86_64cpuid.pl: allow shared build to work without -Bsymbolic.
PR: 2466
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl
index ba95f0b229..40d42135bb 100644
--- a/crypto/x86_64cpuid.pl
+++ b/crypto/x86_64cpuid.pl
@@ -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