Subject: asm2gas in m68k/fpsp
To: None <port-mac68k@netbsd.org>
From: Paul Forgey <paulf@aphrodite.com>
List: port-mac68k
Date: 10/19/1998 02:41:35
I'm attempting to cross a netbsd kernel from sparc-sun-solaris2.6 ->
m68k-apple-netbsd.  I'm using egcs-1.1b and bintuils 2.9.1.  I've hit the
following snags:

gcc -E won't accept stdin without - (just FYI - I was able to work around
that)

It appears the bintutils 2.9.1 won't assemble the output from asm2gas:
res_func.s: Assembler messages:
res_func.s:1524: Error: parse error -- statement `fcmpd
#:0x41dfffffffc00000,fp0' ignored
res_func.s:1527: Error: parse error -- statement `fcmpd
#:0xc1e0000000000000,fp0' ignored
res_func.s:1545: Error: parse error -- statement `fcmpd
#:0x41dfffffffe00000,fp0' ignored
res_func.s:1553: Error: parse error -- statement `fcmpd
#:0xc1e0000000100000,fp0' ignored
res_func.s:1569: Error: parse error -- statement `fcmps #:0x46fffe00,fp0'
ignored
res_func.s:1572: Error: parse error -- statement `fcmps #:0xc7000000,fp0'
ignored
res_func.s:1590: Error: parse error -- statement `fcmps #:0x46ffff00,fp0'
ignored
res_func.s:1598: Error: parse error -- statement `fcmps #:0xc7000080,fp0'
ignored
res_func.s:1614: Error: parse error -- statement `fcmps #:0x42fe0000,fp0'
ignored
res_func.s:1617: Error: parse error -- statement `fcmps #:0xc3000000,fp0'
ignored
res_func.s:1635: Error: parse error -- statement `fcmps #:0x42ff0000,fp0'
ignored
res_func.s:1643: Error: parse error -- statement `fcmps #:0xc3008000,fp0'
ignored
*** Error code 1

Stop.
*** Error code 1

Has somebody hacked on asm2gas, or the source files, to get past this?  I'm
totally blocked at this point.

Thanks!