How feasible is it to port gold to mingw?

Ian Lance Taylor iant@google.com
Mon Dec 6 23:43:00 GMT 2010


NightStrike <nightstrike@gmail.com> writes:

> I would think that if it's written in C++ in a true object oriented
> form, that it would be easy to derive a new target from an existing
> template using some random appropriate design pattern.

No.  This assumes that linking ELF is fundamentally the same as linking
PE-COFF.  It is not.  The shared library model is completely different.
I suspect that a PE-COFF linker needs fewer passes; in particular I
suspect that it does not need a second pass over the input files
gathering relocation information.

Ian



More information about the Binutils mailing list