Enable -fuse-linker-plugin by default when possible, take 2

Jan Hubicka hubicka@ucw.cz
Wed Dec 1 13:31:00 GMT 2010


> 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.

I implicitely added it to my TODO (at least adding the target hook and making
lto-symtab and streamer-out to do the translation), but if you will do so, you
are very, very welcome.  I am somewhat swamped in the LTO issues at the moment
:)

Honza
> 
>     cheers,
>       DaveK



More information about the Gcc-patches mailing list