x86cpuid.pl: hide symbols [backport from x86_64].
This commit is contained in:
@@ -257,4 +257,6 @@ EOF
|
|||||||
&file($filename);
|
&file($filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub ::hidden {}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
@@ -251,4 +251,6 @@ ___
|
|||||||
sub ::dataseg
|
sub ::dataseg
|
||||||
{ push(@out,".data\n"); }
|
{ push(@out,".data\n"); }
|
||||||
|
|
||||||
|
*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
@@ -455,4 +455,7 @@ my $max = "ebp";
|
|||||||
|
|
||||||
&initseg("OPENSSL_cpuid_setup");
|
&initseg("OPENSSL_cpuid_setup");
|
||||||
|
|
||||||
|
&hidden("OPENSSL_cpuid_setup");
|
||||||
|
&hidden("OPENSSL_ia32cap_P");
|
||||||
|
|
||||||
&asm_finish();
|
&asm_finish();
|
||||||
|
Reference in New Issue
Block a user