This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enable -fuse-linker-plugin by default when possible, take 2
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Richard Guenther <rguenther at suse dot de>, "H.J. Lu" <hjl dot tools at gmail dot com>, gcc-patches at gcc dot gnu dot org, bonzini at gnu dot org, aoliva at redhat dot com
- Date: Wed, 01 Dec 2010 13:52:03 +0000
- Subject: Re: Enable -fuse-linker-plugin by default when possible, take 2
- References: <20101128215916.GA8909@kam.mff.cuni.cz> <AANLkTinnsPtf=roRUDTL5r_7y-vMp9xghg1KbpDjhs2X@mail.gmail.com> <20101129152307.GC8909@kam.mff.cuni.cz> <20101129170144.GD8909@kam.mff.cuni.cz> <alpine.LNX.2.00.1011301121220.23074@zhemvz.fhfr.qr> <20101130182334.GC15323@kam.mff.cuni.cz> <4CF54C1B.4050107@gmail.com> <20101201121730.GA32438@kam.mff.cuni.cz> <alpine.LNX.2.00.1012011318450.23074@zhemvz.fhfr.qr> <20101201131926.GB32438@kam.mff.cuni.cz>
On 01/12/2010 13:19, Jan Hubicka wrote:
> To make lto-symtab possible, I think we need new hook
> targetm.mangle_assembler_name that will take char * and return identifier
> (or string buffer) containing the actual symbol name.
>
> The default definition calling targetm.strip_name_encoding and prepending
> user_label_prefix (if any) should work well enough for ELF targets and for
> cygwin we will define custom hook.
>
> For stage3 we will use it only for lto-symtab and lto-streamer-out
> purposes. In the next release we should work towards getting real symbol
> table everywhere
This sounds like a good plan. Did anyone volunteer to get started on it
during the IRC discussion? Otherwise I could do it.
cheers,
DaveK