[PATCH v2] [Gold,MIPS] Detect 64-bit MIPS targets

Cary Coutant ccoutant@gmail.com
Mon Sep 12 18:53:00 GMT 2016

Is there anything more to be done with this proposed patch? I'll be
happy to commit a fix, but from this discussion, I'm not really sure
what the correct fix is.


On Tue, Aug 23, 2016 at 3:20 PM, Aurelien Jarno <aurelien@aurel32.net> wrote:
> On 2016-08-22 22:33, Aurelien Jarno wrote:
>> On 2016-08-22 16:53, Maciej W. Rozycki wrote:
>> I haven't tried that. Anyway I have just looked at the binary produced
>> by ld.gold and they use EM_MIPS even if targ_machine says
> It seems that the binary produced by ld.gold is using the value from
> the input objects, that's why it ends up with EM_MIPS. Still that is
> something to be fixed in configure.tgt.
>> It looks like I have to investigate more, also because the change to
>> gold/configure.tgt was not necessary with 2.16.1. I have still haven't
>> understood why.
> With 2.16.1, --enable-gold is just ignored when building on mips, so the
> build issue doesn't happen.
> Aurelien
> --
> Aurelien Jarno                          GPG: 4096R/1DDD8C9B
> aurelien@aurel32.net                 http://www.aurel32.net

More information about the Binutils mailing list