externally_visible and resoultion file
Jan Hubicka
hubicka@ucw.cz
Thu May 27 08:10:00 GMT 2010
> On Wed, May 26, 2010 at 5:53 PM, Bingfeng Mei <bmei@broadcom.com> wrote:
> > Hi, Richard,
> > With resolution file generated by GOLD (or I am going to hack gnu LD), Â is
> > externally_visible attribute still needed to annotate those symbols accessed
> > from non-LTO objects when compiling with -fwhole-program.
>
> Yes it is. We do not parse the complete resolution file but only the
> entries we'll end up reading .o files with LTO information for.
>
> > In theory, it shouldn't be needed since LTO has all information. But what
> > about current implementation. I checked relevant source files and can't
> > get immediate clue.
>
> The current implementation has no idea of the external references
> (though it's probably not too hard to implement).
Yep, this is also one of my TODO list items...
Honza
>
> Richard.
More information about the Gcc
mailing list