[PATCH] gold: Fix parameterization of do_adjust_elf_header

David Miller davem@davemloft.net
Fri Apr 20 22:32:00 GMT 2012


From: Ian Lance Taylor <iant@google.com>
Date: Fri, 20 Apr 2012 15:16:26 -0700

> David Miller <davem@davemloft.net> writes:
> 
>> 	* target.cc (Sized_target::do_adjust_elf_header): Use big_endian
>> 	instead of false.
> 
> Hmmmm, how did that happen?

It was copied from FreeBSD/x86 specific code into a generic location,
and the code only triggers on such systems, so that's probably a part
of it.

BTW, why doesn't GOLD upgrade the OSABI to GNU when IFUNC etc. are
seen like the BFD linker does?

> This is OK.

Committed, thanks Ian.



More information about the Binutils mailing list