This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add configure flag to enable gnu hash style by default.
On 13.07.2017 13:06, Michael Matz wrote:
> Hi,
>
> On Wed, 12 Jul 2017, Romain Geissler wrote:
>
>> This small patch adds a new --with-default-hash-style={sysv|gnu|both}
>> configure option and switches the default hash-style to "gnu" rather
>> than "sysv" for the ELF linker. glibc has support for GNU hash style for
>> a long time.
>
> While that is true I don't think binutils should emit ELF files that
> aren't compliant with the ELF ABI by default. So if anything the default
> should be 'both'.
The last Debian release shipped with a binutils with hash-style set to gnu, and
the two previous ones with a binutils with hash-style set to both. Until now I
didn't get any complaints about the current gnu setting.
Matthias