From: Elan Ruusamäe Date: Thu, 11 Jun 2015 19:34:51 +0000 (+0300) Subject: drop obsolete cpuid.patch X-Git-Tag: auto/th/openssl-1.0.2c-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopenssl.git;a=commitdiff_plain;h=d4e4f94866c8464ea791b9c574f7b9da5d886256 drop obsolete cpuid.patch --- diff --git a/cpuid.patch b/cpuid.patch deleted file mode 100644 index 4e37491..0000000 --- a/cpuid.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Andy Polyakov -Date: Mon, 4 Mar 2013 19:05:04 +0000 (+0100) -Subject: x86cpuid.pl: make it work with older CPUs. -Origin: upstream: http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=5702e965d759dde8a098d8108660721ba2b93a7d -Bug-Debian: http://bugs.debian.org/699692 -Bug: http://rt.openssl.org/Ticket/Display.html?id=3005&user=guest&pass=guest - -diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl -index 3b6c469..e8a7518 100644 ---- a/crypto/x86cpuid.pl -+++ b/crypto/x86cpuid.pl -@@ -69,6 +69,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } - &inc ("esi"); # number of cores - - &mov ("eax",1); -+ &xor ("ecx","ecx"); - &cpuid (); - &bt ("edx",28); - &jnc (&label("generic")); -@@ -102,6 +103,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } - - &set_label("nocacheinfo"); - &mov ("eax",1); -+ &xor ("ecx","ecx"); - &cpuid (); - &and ("edx",0xbfefffff); # force reserved bits #20, #30 to 0 - &cmp ("ebp",0);