This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] make default linker --hash-style configurable option
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Richard Guenther <richard dot guenther at gmail dot com>, Paul Pluzhnikov <ppluzhnikov at google dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, Paolo Bonzini <bonzini at gnu dot org>, Matthias Klose <doko at ubuntu dot com>, gcc-patches at sourceware dot org, satorux at google dot com, aoliva at redhat dot com, dj at redhat dot com, neroden at gcc dot gnu dot org, Ralf dot Wildenhues at gmx dot de
- Date: Tue, 10 May 2011 16:05:19 +0200
- Subject: Re: [patch] make default linker --hash-style configurable option
- References: <Pine.LNX.4.64.1105021459150.18768@digraph.polyomino.org.uk> <BANLkTikLpE85SiAzMD783fbmBJB2qnPSeA@mail.gmail.com> <BANLkTik+TaJDqfJyO8_pJ4KsypVcS6MNJg@mail.gmail.com> <4DC81276.8040201@gnu.org> <Pine.LNX.4.64.1105091642500.21102@digraph.polyomino.org.uk> <BANLkTikBW+fj_vP+f=Y1qnUy_=MeCbLG9w@mail.gmail.com> <Pine.LNX.4.64.1105091651150.21102@digraph.polyomino.org.uk> <BANLkTi=kgtAuAAYQkUDMuF+3si_VLHheUw@mail.gmail.com> <BANLkTima9JKAZOWmgq=dK0SCitoeO0FJLA@mail.gmail.com> <mcrliyemz5n.fsf@coign.corp.google.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, May 10, 2011 at 07:02:44AM -0700, Ian Lance Taylor wrote:
> > Otherwise if people link with ld they suddenly get different hash-style.
> > That looks wrong to me.
>
> That turns out not to be the case. Both gold and GNU ld accept the same
> set of --hash-style options.
And we keep telling people they shouldn't be invoking ld directly, they
usually don't pass correct arguments.
Jakub