Hi all,
> but when using the CodeWarrior assembler then there's still one file
> broken:
> mwasmnlm -maxerrors 20 -o crypto/rc4/asm/r4-nw.o crypto/rc4/asm/r4-nw.asm
> ### mwasmnlm Assembler:
> # File: crypto\rc4\asm\r4-nw.asm
> # ---------------------------------
> # 112: lea esi,BYTE PTR [1+esi]
> # Error: ^^^^^^^^^^^^^^^^
> # Invalid operand size
> ### mwasmnlm Driver Error:
> # The tool did not produce any output while compiling the file
> # 'crypto\rc4\asm\r4-nw.asm'
> Errors caused tool to abort.
ok, I think I found the place were to fix this:
--- rc4-586.pl.orig Thu Apr 26 22:00:56 2007
+++ rc4-586.pl Mon Nov 26 21:56:37 2007
@@ -143,7 +143,7 @@
&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));
can someone with ASM insight please comment on the correctness of this patch?
thanks, Guenter.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]