diff options
author | Andy Polyakov <appro@openssl.org> | 2010-03-29 09:55:19 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-03-29 09:55:19 +0000 |
commit | 97a6a01f0f775cef912c8b0bf9628080255f892e (patch) | |
tree | 1a12470f9b39405a70f905c4ef02c19dcddeeefd /crypto/sha/asm | |
parent | 2a460c1aa8e6c843946184cb7e4b5de8e99e0f0a (diff) |
ARMv4 assembler: fix compilation failure. Fix is actually unconfirmed, but
I can't think of any other cause for failure
Diffstat (limited to 'crypto/sha/asm')
-rw-r--r-- | crypto/sha/asm/sha1-armv4-large.pl | 1 | ||||
-rw-r--r-- | crypto/sha/asm/sha256-armv4.pl | 1 | ||||
-rw-r--r-- | crypto/sha/asm/sha512-armv4.pl | 1 |
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 f99606a32e..c85fdb261e 100644 --- a/crypto/sha/asm/sha1-armv4-large.pl +++ b/crypto/sha/asm/sha1-armv4-large.pl @@ -236,6 +236,7 @@ $code.=<<___; .LK_60_79: .word 0xca62c1d6 .size sha1_block_data_order,.-sha1_block_data_order .asciz "SHA1 block transform for ARMv4, CRYPTOGAMS by <appro\@openssl.org>" +.align 2 ___ $code =~ s/\bbx\s+lr\b/.word\t0xe12fff1e/gm; # make it possible to compile with -march=armv4 diff --git a/crypto/sha/asm/sha256-armv4.pl b/crypto/sha/asm/sha256-armv4.pl index 853ca31e48..48d846deec 100644 --- a/crypto/sha/asm/sha256-armv4.pl +++ b/crypto/sha/asm/sha256-armv4.pl @@ -172,6 +172,7 @@ $code.=<<___; bx lr @ interoperable with Thumb ISA:-) .size sha256_block_data_order,.-sha256_block_data_order .asciz "SHA256 block transform for ARMv4, CRYPTOGAMS by <appro\@openssl.org>" +.align 2 ___ $code =~ s/\`([^\`]*)\`/eval $1/gem; diff --git a/crypto/sha/asm/sha512-armv4.pl b/crypto/sha/asm/sha512-armv4.pl index f27e9cd319..4fbb94a914 100644 --- a/crypto/sha/asm/sha512-armv4.pl +++ b/crypto/sha/asm/sha512-armv4.pl @@ -390,6 +390,7 @@ $code.=<<___; bx lr @ interoperable with Thumb ISA:-) .size sha512_block_data_order,.-sha512_block_data_order .asciz "SHA512 block transform for ARMv4, CRYPTOGAMS by <appro\@openssl.org>" +.align 2 ___ $code =~ s/\`([^\`]*)\`/eval $1/gem; |