From: Andy Polyakov Date: Sun, 2 Dec 2007 21:32:03 +0000 (+0000) Subject: Some assembler are allergic to lea reg,BYTE PTR[...]. X-Git-Tag: OpenSSL_0_9_8k^2~612 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=544b82e4931294dcb9ec42655be5613f031c116c;p=oweals%2Fopenssl.git Some assembler are allergic to lea reg,BYTE PTR[...]. Submitted by: Guenter Knauf --- diff --git a/crypto/rc4/asm/rc4-586.pl b/crypto/rc4/asm/rc4-586.pl index ef148b228c..38a44a70ef 100644 --- a/crypto/rc4/asm/rc4-586.pl +++ b/crypto/rc4/asm/rc4-586.pl @@ -143,7 +143,7 @@ sub RC4_loop { &movz ($ty,&BP(0,$dat,$ty)); &add (&LB($xx),1); &xor (&LB($ty),&BP(0,$inp)); - &lea ($inp,&BP(1,$inp)); + &lea ($inp,&DWP(1,$inp)); &movz ($tx,&BP(0,$dat,$xx)); &cmp ($inp,&wparam(1)); &mov (&BP(-1,$out,$inp),&LB($ty));