> On Wed, May 26, 2010 at 5:53 PM, Bingfeng Mei <b...@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.

Reply via email to