From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: robertl@dgii.com Cc: gas2@cygnus.com Subject: Re: emulation on i386-coff, i386-elf patches Date: Wed, 08 Jan 1997 10:50:00 -0000 Message-id: <9701081850.AA12331@tweedledumb.cygnus.com> References: X-SW-Source: 1997/msg00002.html Date: Wed, 8 Jan 1997 12:00:26 -0600 (CST) From: Robert Lipe However, the COFF version has a problem that isn't obvious to me. Here is a disassembly of the same .s file generated with the native COFF=20 assembler and with this assembler in COFF mode. It looks to me like you need to hack md_apply_fix3 in tc-i386.c. In general, anything that does an #ifdef OBJ_ELF or #ifdef OBJ_COFF will have to be hacked. In fact, I'm not certain that the BFD_ASSEMBLER version of the i386 COFF assembler works correctly. You need to make sure that if you configure with --target i386-coff --enable-bfd-assembler the resulting code works. By the way, for some reason your patch came in scrambled, with lots of =20 strings scattered around. I can never remember how to get rid of those. Ian