diff options
author | Andy Polyakov <appro@openssl.org> | 2012-08-29 14:24:18 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-08-29 14:24:18 +0000 |
commit | 3ebe87473c5ee01a0ffaada400c5f01fbe8a17ff (patch) | |
tree | d2915f230fc0df7fe170993f24da2cd78ebaa814 /crypto/perlasm | |
parent | 0e05b51fe5eecb9cf6801636b3eca48d2cfef80f (diff) |
x86cpuid.pl: hide symbols [backport from x86_64, from HEAD].
Diffstat (limited to 'crypto/perlasm')
-rw-r--r-- | crypto/perlasm/x86asm.pl | 2 | ||||
-rw-r--r-- | crypto/perlasm/x86gas.pl | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/perlasm/x86asm.pl b/crypto/perlasm/x86asm.pl index eb543db2f6..3f190ae590 100644 --- a/crypto/perlasm/x86asm.pl +++ b/crypto/perlasm/x86asm.pl @@ -257,4 +257,6 @@ EOF &file($filename); } +sub ::hidden {} + 1; diff --git a/crypto/perlasm/x86gas.pl b/crypto/perlasm/x86gas.pl index 4b8786bf42..9df0a80a8c 100644 --- a/crypto/perlasm/x86gas.pl +++ b/crypto/perlasm/x86gas.pl @@ -249,4 +249,6 @@ ___ sub ::dataseg { push(@out,".data\n"); } +*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf); + 1; |