summaryrefslogtreecommitdiff
path: root/main/openssl/crypto/perlasm
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/crypto/perlasm')
-rw-r--r--main/openssl/crypto/perlasm/x86asm.pl2
-rw-r--r--main/openssl/crypto/perlasm/x86gas.pl2
2 files changed, 4 insertions, 0 deletions
diff --git a/main/openssl/crypto/perlasm/x86asm.pl b/main/openssl/crypto/perlasm/x86asm.pl
index eb543db2..3f190ae5 100644
--- a/main/openssl/crypto/perlasm/x86asm.pl
+++ b/main/openssl/crypto/perlasm/x86asm.pl
@@ -257,4 +257,6 @@ EOF
&file($filename);
}
+sub ::hidden {}
+
1;
diff --git a/main/openssl/crypto/perlasm/x86gas.pl b/main/openssl/crypto/perlasm/x86gas.pl
index 682a3a31..735c1ad2 100644
--- a/main/openssl/crypto/perlasm/x86gas.pl
+++ b/main/openssl/crypto/perlasm/x86gas.pl
@@ -250,4 +250,6 @@ ___
sub ::dataseg
{ push(@out,".data\n"); }
+*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
+
1;