x86cpuid.pl: hide symbols [backport from x86_64, from HEAD].

This commit is contained in:
Andy Polyakov 2012-08-29 14:24:18 +00:00
parent 0e05b51fe5
commit 3ebe87473c
3 changed files with 7 additions and 0 deletions

View File

@ -257,4 +257,6 @@ EOF
&file($filename);
}
sub ::hidden {}
1;

View File

@ -249,4 +249,6 @@ ___
sub ::dataseg
{ push(@out,".data\n"); }
*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
1;

View File

@ -353,4 +353,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
&initseg("OPENSSL_cpuid_setup");
&hidden("OPENSSL_cpuid_setup");
&hidden("OPENSSL_ia32cap_P");
&asm_finish();