My i386-pc-pe-coff pacth to gas/ [Re: Can we emulate i386-pc-pe-coff with i386coff?]

H . J . Lu
Sun Jun 18 09:41:00 GMT 2000

On Thu, Jun 15, 2000 at 12:47:56PM +1000, Alan Modra wrote:
> 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.

I haven't heard any comments on my patch. Is that ok with everyone?

H.J. Lu (

More information about the Binutils mailing list