From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Raeburn To: Ian Lance Taylor Cc: robertl@dgii.com, gas2@cygnus.com Subject: Re: emulation on i386-coff, i386-elf patches Date: Wed, 08 Jan 1997 12:07:00 -0000 Message-id: References: <9701081850.AA12331@tweedledumb.cygnus.com> X-SW-Source: 1997/msg00003.html Ian Lance Taylor writes: > 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. You can check OUTPUT_FLAVOR at run time. Accesses to flavour-specific structure members and such can also be conditionalized at compile time on OBJ_MAYBE_* macros like in the MIPS code. > 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. That's the first thing to check.... > 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. In Gnus, turning on MIME processing gets rid of them for me.