This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH v2] [Gold,MIPS] Detect 64-bit MIPS targets
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "Maciej W. Rozycki" <macro at imgtec dot com>, Binutils <binutils at sourceware dot org>
- Date: Mon, 12 Sep 2016 11:53:16 -0700
- Subject: Re: [PATCH v2] [Gold,MIPS] Detect 64-bit MIPS targets
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <firstname.lastname@example.org> <alpine.DEB.email@example.com> <firstname.lastname@example.org> <email@example.com>
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 <firstname.lastname@example.org> 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 Jarno GPG: 4096R/1DDD8C9B
> email@example.com http://www.aurel32.net