On 2019-12-19 19:12 +0800, Xi Ruoyao wrote:
> On 2019-12-19 11:06 +0100, Jan Hubicka wrote:
> > -  /* See if we have linker information about symbol not being used or
> > -     if we need to make guess based on the declaration.
> > +  /* Limitation of gas requires us to output targets of symver aliases as
> > +     global symbols.  This is binutils PR 25295.  */
> > +  ipa_ref *ref;
> > +  FOR_EACH_ALIAS (this, ref)
> > +    if (ref->referring->symver)
> > +      return true;
> >  
> > -     Even if the linker clams the symbol is unused, never bring internal
> > -     symbols that are declared by user as used or externally visible.
> > -     This is needed for i.e. references from asm statements.   */
> > -  if (used_from_object_file_p ())
> > -    return true;
> 
> Are these two lines removed intentionally?

Oh I see, it was a duplicated branch.

Sorry for noise.
-- 
Xi Ruoyao <xry...@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

Reply via email to