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 Wed, Jul 19, 2017 at 08:39:34AM +0200, Romain Geissler wrote:
> 2017-07-19 7:29 GMT+02:00 Alan Modra <amodra@gmail.com>:
> >
> > Changing to "gnu" or "both" by default will be bad for non-GNU
> > systems. I think you need to make the default conditional on target.
>
> Hi,
>
> When you mean non GNU filesystem what do you mean exactly ? Checking
I mean non-GNU targets.
> for the target libc and enabling the change only for the GNU libc (ie
> checking defined(__GLIBC__)) ?
Well, you can't really do that, since a target libc might not be
available to test. Instead, the target triplet should be tested. My
guess is that *-*-gnu*, *-*-linux*, and *-*-nacl* is a good starting
point.
--
Alan Modra
Australia Development Lab, IBM