x86cpuid.pl: hide symbols [backport from x86_64, from HEAD].
This commit is contained in:
parent
0e05b51fe5
commit
3ebe87473c
@ -257,4 +257,6 @@ EOF
|
||||
&file($filename);
|
||||
}
|
||||
|
||||
sub ::hidden {}
|
||||
|
||||
1;
|
||||
|
@ -249,4 +249,6 @@ ___
|
||||
sub ::dataseg
|
||||
{ push(@out,".data\n"); }
|
||||
|
||||
*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
|
||||
|
||||
1;
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user