diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-05-28 20:59:32 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-06-14 19:46:33 +0200 |
commit | cd72274be0151a5052b83d545e52647f96f51e6a (patch) | |
tree | d4fc9f222fb8c16c53dbfc0756115892a1b77479 /dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch | |
parent | profiles: arm64: mask test USE flag on dev-util/bcc (diff) | |
download | gentoo-cd72274be0151a5052b83d545e52647f96f51e6a.tar.gz gentoo-cd72274be0151a5052b83d545e52647f96f51e6a.tar.bz2 gentoo-cd72274be0151a5052b83d545e52647f96f51e6a.zip |
dev-libs/openssl-compat: Split out of dev-libs/openssl
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Bug: https://bugs.gentoo.org/687984
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch')
-rw-r--r-- | dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch b/dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch new file mode 100644 index 000000000000..9fa79b9a65fb --- /dev/null +++ b/dev-libs/openssl-compat/files/openssl-0.9.8m-binutils.patch @@ -0,0 +1,24 @@ +http://bugs.gentoo.org/289130 + +Ripped from Fedora + +--- openssl-1.0.0-beta4/crypto/sha/asm/sha1-x86_64.pl.binutils 2009-11-12 15:17:29.000000000 +0100 ++++ openssl-1.0.0-beta4/crypto/sha/asm/sha1-x86_64.pl 2009-11-12 17:24:18.000000000 +0100 +@@ -150,7 +150,7 @@ ___ + sub BODY_20_39 { + my ($i,$a,$b,$c,$d,$e,$f)=@_; + my $j=$i+1; +-my $K=($i<40)?0x6ed9eba1:0xca62c1d6; ++my $K=($i<40)?0x6ed9eba1:-0x359d3e2a; + $code.=<<___ if ($i<79); + lea $K($xi,$e),$f + mov `4*($j%16)`(%rsp),$xi +@@ -187,7 +187,7 @@ sub BODY_40_59 { + my ($i,$a,$b,$c,$d,$e,$f)=@_; + my $j=$i+1; + $code.=<<___; +- lea 0x8f1bbcdc($xi,$e),$f ++ lea -0x70e44324($xi,$e),$f + mov `4*($j%16)`(%rsp),$xi + mov $b,$t0 + mov $b,$t1 |