bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19842] LTO build fails to write call address for weak symbol r


From: hubicka at ucw dot cz
Subject: [Bug gold/19842] LTO build fails to write call address for weak symbol reference
Date: Tue, 22 Mar 2016 14:59:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19842

--- Comment #29 from hubicka at ucw dot cz ---
>   /* Skip weak definitions of symbols that are already defined.  */
>   if (newdef && olddef && newweak)
>     {
>       /* Don't skip new non-IR weak syms.  */
>       if (!(oldbfd != NULL
>             && (oldbfd->flags & BFD_PLUGIN) != 0
>             && (abfd->flags & BFD_PLUGIN) == 0))
>         {
>           newdef = FALSE;
>           *skip = TRUE; 
>         }
> 
> which prefers regular definition over definition in IR.

Sorry to jump into the party late, I am trying to catch up with the PR log.
This is one thing i noticed - it would make more sense to preffer IR definitons
that gets
optimized more agressively.

Honza

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]