This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Can we emulate i386-pc-pe-coff with i386coff?
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: Can we emulate i386-pc-pe-coff with i386coff?
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Thu, 15 Jun 2000 12:47:56 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
On Wed, 14 Jun 2000, H . J . Lu wrote:
> I don't think we can emulate i386-pc-pe-coff with i386coff. I don't
> even know we can emulate i386-pc-pe-coff at all. The problem is
> config/tc-i386.c has #ifdef TE_PE inside. We need to modify it to
> check TE_PE at the runtime or do something else. Anyway, this patch
> disable the i386coff emulation for i386-pc-pe-coff.
Agreed. I dislike all those #ifdefs. What's really needed is an overhaul
of the generic reloc handling code so that all the back-end fudges can be
removed. A major undertaking.
--
Linuxcare. Support for the Revolution.