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

This commit is contained in:
Andy Polyakov 2012-08-29 14:19:59 +00:00
parent 88d6b87fca
commit 6206682a35
3 changed files with 7 additions and 0 deletions

View File

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

View File

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

View File

@ -455,4 +455,7 @@ my $max = "ebp";
&initseg("OPENSSL_cpuid_setup");
&hidden("OPENSSL_cpuid_setup");
&hidden("OPENSSL_ia32cap_P");
&asm_finish();