components/openssl/common/patches/043-x86_wrong_platform.patch
branchs11u3-sru
changeset 7163 ee09edbd5876
equal deleted inserted replaced
7159:59b406bc4a3a 7163:ee09edbd5876
       
     1 #
       
     2 # This was developed in house to fix the wrong platform detection for Solaris.
       
     3 # Reported to the upstream.
       
     4 #
       
     5 --- openssl-1.0.2d/crypto/perlasm/x86gas.pl	Thu Jul  9 04:57:15 2015
       
     6 +++ openssl-1.0.2d/crypto/perlasm/x86gas.pl.new	Thu Jul 30 15:17:14 2015
       
     7 @@ -196,8 +196,6 @@
       
     8  	    &::mov($dst,&::DWP("$indirect-$reflabel",$base));
       
     9  	    $non_lazy_ptr{"$nmdecor$sym"}=$indirect;
       
    10  	}
       
    11 -	elsif ($sym eq "OPENSSL_ia32cap_P" && $::elf>0)
       
    12 -	{   &::lea($dst,&::DWP("$sym-$reflabel",$base));   }
       
    13  	else
       
    14  	{   &::lea($dst,&::DWP("_GLOBAL_OFFSET_TABLE_+[.-$reflabel]",
       
    15  			    $base));