This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] make default linker --hash-style configurable option


On 04.04.2011 20:17, Paul Pluzhnikov wrote:
> Greetings,
> 
> Several Linux distributions (e.g. Fedora) carry local patches that turn
> on --hash-style=gnu for all links.
> 
> Attached is a proposed patch (originally by Satoru Takabayashi) that makes
> default hash style a configure option.
> 
> Tested by doing native bootstrap and verifying that no --hash-style is
> passed to the linker, and also configuring with --with-linker-hash-style=gnu
> and verifying that --hash-style=gnu is then passed to the linker.

Linux distributions pass more than that by default to the linker, e.g.
--as-needed and --no-copy-dt-needed-entries.  Wouldn't it make more sense to add
something like --with-linker-default-options=... ?

  Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]