[PATCH v2] [Gold,MIPS] Detect 64-bit MIPS targets
Aurelien Jarno
aurelien@aurel32.net
Tue Aug 23 22:21:00 GMT 2016
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
More information about the Binutils
mailing list