summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-27 18:27:03 +0200
committerAndy Polyakov <appro@openssl.org>2007-09-27 18:27:03 +0200
commit7722e53f12b3f2f4e182167da42dfb7edaf2eab0 (patch)
treee6d3078d6c4f732190039627d28b3a67cf494187 /crypto/sha
parentMove -march=armv4t to ./config. (diff)
downloadopenssl-7722e53f12b3f2f4e182167da42dfb7edaf2eab0.tar.xz
openssl-7722e53f12b3f2f4e182167da42dfb7edaf2eab0.zip
Yet another ARM update. It appears to be more appropriate to make
developers responsible for -march choice.
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/asm/sha1-armv4-large.pl1
-rw-r--r--crypto/sha/asm/sha256-armv4.pl1
-rw-r--r--crypto/sha/asm/sha512-armv4.pl1
3 files changed, 3 insertions, 0 deletions
diff --git a/crypto/sha/asm/sha1-armv4-large.pl b/crypto/sha/asm/sha1-armv4-large.pl
index 436eb36d70..d468be35da 100644
--- a/crypto/sha/asm/sha1-armv4-large.pl
+++ b/crypto/sha/asm/sha1-armv4-large.pl
@@ -226,5 +226,6 @@ $code.=<<___;
.asciz "SHA1 block transform for ARMv4, CRYPTOGAMS by <appro\@openssl.org>"
___
+$code =~ s/\bbx\s+lr\b/.word\t0xe12fff1e/gm; # make it possible to compile with -march=armv4
print $code;
close STDOUT; # enforce flush
diff --git a/crypto/sha/asm/sha256-armv4.pl b/crypto/sha/asm/sha256-armv4.pl
index 0c9d999de9..853ca31e48 100644
--- a/crypto/sha/asm/sha256-armv4.pl
+++ b/crypto/sha/asm/sha256-armv4.pl
@@ -175,5 +175,6 @@ $code.=<<___;
___
$code =~ s/\`([^\`]*)\`/eval $1/gem;
+$code =~ s/\bbx\s+lr\b/.word\t0xe12fff1e/gm; # make it possible to compile with -march=armv4
print $code;
close STDOUT; # enforce flush
diff --git a/crypto/sha/asm/sha512-armv4.pl b/crypto/sha/asm/sha512-armv4.pl
index 230e78d7ef..f27e9cd319 100644
--- a/crypto/sha/asm/sha512-armv4.pl
+++ b/crypto/sha/asm/sha512-armv4.pl
@@ -393,5 +393,6 @@ $code.=<<___;
___
$code =~ s/\`([^\`]*)\`/eval $1/gem;
+$code =~ s/\bbx\s+lr\b/.word\t0xe12fff1e/gm; # make it possible to compile with -march=armv4
print $code;
close STDOUT; # enforce flush