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/x86_64cpuid.pl
          +++ new/usr/src/lib/openssl/libsunw_crypto/pl/x86_64cpuid.pl
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  
  14   14  open OUT,"| \"$^X\" $xlate $flavour $output";
  15   15  *STDOUT=*OUT;
  16   16  
  17   17  ($arg1,$arg2,$arg3,$arg4)=$win64?("%rcx","%rdx","%r8", "%r9") : # Win64 order
  18   18                                   ("%rdi","%rsi","%rdx","%rcx"); # Unix order
  19   19  
  20   20  print<<___;
  21   21  .extern         OPENSSL_cpuid_setup
  22   22  .hidden         OPENSSL_cpuid_setup
       23 +.extern         illumos_locking_setup
       24 +.hidden         illumos_locking_setup
  23   25  .section        .init
       26 +        call    illumos_locking_setup
  24   27          call    OPENSSL_cpuid_setup
  25   28  
  26   29  .hidden OPENSSL_ia32cap_P
  27   30  .comm   OPENSSL_ia32cap_P,8,4
  28   31  
  29   32  .text
  30   33  
  31   34  .globl  OPENSSL_atomic_add
  32   35  .type   OPENSSL_atomic_add,\@abi-omnipotent
  33   36  .align  16
↓ open down ↓ 251 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX