components/openssl/common/patches/043-x86_wrong_platform.patch
branchs11u3-sru
changeset 7163 ee09edbd5876
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openssl/common/patches/043-x86_wrong_platform.patch	Wed Oct 26 13:19:33 2016 -0700
@@ -0,0 +1,15 @@
+#
+# This was developed in house to fix the wrong platform detection for Solaris.
+# Reported to the upstream.
+#
+--- openssl-1.0.2d/crypto/perlasm/x86gas.pl	Thu Jul  9 04:57:15 2015
++++ openssl-1.0.2d/crypto/perlasm/x86gas.pl.new	Thu Jul 30 15:17:14 2015
+@@ -196,8 +196,6 @@
+ 	    &::mov($dst,&::DWP("$indirect-$reflabel",$base));
+ 	    $non_lazy_ptr{"$nmdecor$sym"}=$indirect;
+ 	}
+-	elsif ($sym eq "OPENSSL_ia32cap_P" && $::elf>0)
+-	{   &::lea($dst,&::DWP("$sym-$reflabel",$base));   }
+ 	else
+ 	{   &::lea($dst,&::DWP("_GLOBAL_OFFSET_TABLE_+[.-$reflabel]",
+ 			    $base));