ARMv4 assembler: fix compilation failure. Fix is actually unconfirmed, but
authorAndy Polyakov <appro@openssl.org>
Mon, 29 Mar 2010 09:55:19 +0000 (09:55 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 29 Mar 2010 09:55:19 +0000 (09:55 +0000)
I can't think of any other cause for failure

crypto/aes/asm/aes-armv4.pl
crypto/bn/asm/armv4-mont.pl
crypto/sha/asm/sha1-armv4-large.pl
crypto/sha/asm/sha256-armv4.pl
crypto/sha/asm/sha512-armv4.pl

index 15742c1ec54b3a8ce01941f7672f94fbf3f99249..690244111a6ed9f51e7debeb6fb787bf0d761e9b 100644 (file)
@@ -1024,6 +1024,7 @@ _armv4_AES_decrypt:
        mov     pc,lr                   @ return
 .size  _armv4_AES_decrypt,.-_armv4_AES_decrypt
 .asciz "AES 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
index 05d5dc1a4822f26d38181f01793b9d9147c00f41..14e0d2d1dd5bcc07d00ae9912e212afced972315 100644 (file)
@@ -193,6 +193,7 @@ bn_mul_mont:
        bx      lr                      @ interoperable with Thumb ISA:-)
 .size  bn_mul_mont,.-bn_mul_mont
 .asciz "Montgomery multiplication 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
index f99606a32ea50e22197fdd4b7643519b1d29339d..c85fdb261ef03394802d414f6865d1bfd6f3f7df 100644 (file)
@@ -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
index 853ca31e48aa9ad188e6e4b8ab01bd5fba67749b..48d846deec36810fffc4dbacae782ddb487e9a7f 100644 (file)
@@ -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;
index f27e9cd31953a8f86bc6212a2addfdb289cedce0..4fbb94a914faf8129d5b177cc1c6405e71d1ee43 100644 (file)
@@ -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;