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: [PATCH v2] [Gold,MIPS] Detect 64-bit MIPS targets


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.

-cary


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
>> EM_MIPS_RS3_LE.
>
> 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


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