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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/openssl/libsunw_crypto/pl/x86asm.pl
          +++ new/usr/src/lib/openssl/libsunw_crypto/pl/x86asm.pl
↓ open down ↓ 129 lines elided ↑ open up ↑
 130  130      else
 131  131      {   &::generic("rdrand",@_);        }
 132  132  }
 133  133  
 134  134  # label management
 135  135  $lbdecor="L";           # local label decoration, set by package
 136  136  $label="000";
 137  137  
 138  138  sub ::islabel           # see is argument is a known label
 139  139  { my $i;
      140 +    if ($_[0] eq "_GLOBAL_OFFSET_TABLE_") { return $_[0]; }
 140  141      foreach $i (values %label) { return $i if ($i eq $_[0]); }
 141  142    $label{$_[0]};        # can be undef
 142  143  }
 143  144  
 144  145  sub ::label             # instantiate a function-scope label
 145  146  {   if (!defined($label{$_[0]}))
 146  147      {   $label{$_[0]}="${lbdecor}${label}${_[0]}"; $label++;   }
 147  148    $label{$_[0]};
 148  149  }
 149  150  
↓ open down ↓ 99 lines elided ↑ open up ↑
 249  250  EOF
 250  251          exit(1);
 251  252      }
 252  253  
 253  254      $pic=0;
 254  255      for (@ARGV) { $pic=1 if (/\-[fK]PIC/i); }
 255  256  
 256  257      $filename =~ s/\.pl$//;
 257  258      &file($filename);
 258  259  }
      260 +
      261 +sub ::hidden {}
 259  262  
 260  263  1;
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX