Commit 97a6a01f authored by Andy Polyakov's avatar Andy Polyakov
Browse files

ARMv4 assembler: fix compilation failure. Fix is actually unconfirmed, but

I can't think of any other cause for failure
parent 2a460c1a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -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;