On Mon, 23 Dec 2002, Andy Polyakov wrote:
> > > > My solution was to add support for assembly modules.
>
> We probably have to postpone this patch to 0.9.7a. If you only could
> reply more swiftly so that the changes could be exposed in beta...
Sorry for the delay. I've been doing some paying jobs so I can
pay bills. :-)
[snip]
> > > Is it $(CPP) in
> > > question which adds them?
> >
> > Yes, $(CPP) adds the spaces.
>
> I can imagine / :/:/, but where do /\. /./ and /@ /@/ some from? Can you
> pinpoint the lines? I mean just give the offending lines' number...
Here are the erors from UnixWare 7.1.1
...
(cd asm; /usr/bin/perl md5-586.pl cpp >mx86unix.cpp)
cc -E -DELF asm/mx86unix.cpp > asm/mx86svr4.s
as -o asm/mx86svr4.o asm/mx86svr4.s && rm -f asm/mx86svr4.s
UX:as: ERROR: asm/mx86svr4.s:33:syntax error at name: md5_block_asm_host_order
UX:as: ERROR: asm/mx86svr4.s:33:invalid @ operator
UX:as: ERROR: asm/mx86svr4.s:707:syntax error at name: md5_block_asm_host_order
...
Here is the 2 chunks of code
...
.align 16
globl md5_block_asm_host_order
. type md5_block_asm_host_order , @ function
md5_block_asm_host_order:
pushl %esi
...
ret
L_md5_block_asm_host_order_end:
. size md5_block_asm_host_order , . L_md5_block_asm_host_order_end - md
5_block_asm_host_order
ident "desasm.pl"
#ident "acomp: (CCS) 3.2 09/28/99 (santamariasbl5.1.rs1ubl7)"
...
Now I remove the first space
.type md5_block_asm_host_order , @ function
and do "as -o asm/mx86svr4.o asm/mx86svr4.s", I see
tim@uw711 74% as -o asm/mx86svr4.o asm/mx86svr4.s
UX:as: ERROR: asm/mx86svr4.s:33:invalid @ operator
UX:as: ERROR: asm/mx86svr4.s:33:syntax error at @GOTOFF
UX:as: ERROR: asm/mx86svr4.s:707:syntax error at name: md5_block_asm_host_order
Make line 33
.type md5_block_asm_host_order , @function
and it doesn't complain until line 707
>
> A.
>
--
Tim Rice Multitalents (707) 887-1469
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]