This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How feasible is it to port gold to mingw?


On Mon, Dec 6, 2010 at 6:43 PM, Ian Lance Taylor <iant@google.com> wrote:
> 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
>

How does ld handle multiple formats?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]