Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0

@@ -3,11 +3,11 @@
 package x86gas;
 
 *out=\@::out;
 
 $::lbdecor=$::aout?"L":".L";            # local label decoration
-$nmdecor=($::aout or $::coff)?"_":"";   # external name decoration
+$nmdecor=($::aout or $::coff)?"_":"sunw_";      # external name decoration
 
 $initseg="";
 
 $align=16;
 $align=log($align)/log(2) if ($::aout);

@@ -248,6 +248,8 @@
 }
 
 sub ::dataseg
 {   push(@out,".data\n");   }
 
+*::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
+
 1;