summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-08-29 14:19:59 +0000
committerAndy Polyakov <appro@openssl.org>2012-08-29 14:19:59 +0000
commit6206682a35760eb6ddb25172df2ae9f03d12e594 (patch)
tree9c9f7e6308220c7eb5565b3d2d9808c95bfae541 /crypto/perlasm
parent88d6b87fca0195456f29a9f179b91fb43cf35722 (diff)
x86cpuid.pl: hide symbols [backport from x86_64].
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/x86asm.pl2
-rw-r--r--crypto/perlasm/x86gas.pl2
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 5972d06290..e02ee84258 100644
--- a/crypto/perlasm/x86gas.pl
+++ b/crypto/perlasm/x86gas.pl
@@ -251,4 +251,6 @@ ___
sub ::dataseg
{ push(@out,".data\n"); }
+*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
+
1;