This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: How feasible is it to port gold to mingw?
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