summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-27 16:27:03 +0000
committerAndy Polyakov <appro@openssl.org>2007-09-27 16:27:03 +0000
commit7722e53f12b3f2f4e182167da42dfb7edaf2eab0 (patch)
treee6d3078d6c4f732190039627d28b3a67cf494187 /crypto
parent2c3ee16272231986e1ff50db9c0ed68343a51fb2 (diff)
Yet another ARM update. It appears to be more appropriate to make
developers responsible for -march choice.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes/asm/aes-armv4.pl1
-rw-r--r--crypto/bn/asm/armv4-mont.pl1
-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
5 files changed, 5 insertions, 0 deletions
diff --git a/crypto/aes/asm/aes-armv4.pl b/crypto/aes/asm/aes-armv4.pl
index 69867e7410..15742c1ec5 100644
--- a/crypto/aes/asm/aes-armv4.pl
+++ b/crypto/aes/asm/aes-armv4.pl
@@ -1026,4 +1026,5 @@ _armv4_AES_decrypt:
.asciz "AES 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;
diff --git a/crypto/bn/asm/armv4-mont.pl b/crypto/bn/asm/armv4-mont.pl
index 47fbd387e4..05d5dc1a48 100644
--- a/crypto/bn/asm/armv4-mont.pl
+++ b/crypto/bn/asm/armv4-mont.pl
@@ -195,5 +195,6 @@ bn_mul_mont:
.asciz "Montgomery multiplication 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;
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