summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-12-02 22:32:03 +0100
committerAndy Polyakov <appro@openssl.org>2007-12-02 22:32:03 +0100
commit544b82e4931294dcb9ec42655be5613f031c116c (patch)
tree344565a1fe2caf632e4b246a96cc784ddfb8d2e7
parentStructure symbol decorations, optimize label handling... (diff)
downloadopenssl-544b82e4931294dcb9ec42655be5613f031c116c.tar.xz
openssl-544b82e4931294dcb9ec42655be5613f031c116c.zip
Some assembler are allergic to lea reg,BYTE PTR[...].
Submitted by: Guenter Knauf
-rw-r--r--crypto/rc4/asm/rc4-586.pl2
1 files changed, 1 insertions, 1 deletions
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));