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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2778747c56d0837ec7defb80e756a7e6ca81b8ce

commit 2778747c56d0837ec7defb80e756a7e6ca81b8ce
Author: Alan Modra <amo...@gmail.com>
Date:   Fri Dec 15 14:59:58 2017 +1030

    [GOLD] PR22602, handle __tls_get_addr forwarders properly

    We never need to resolve_forwards() a symbol found by hash table lookup
    such as target->tls_get_addr_opt() but we do potentially need to do so
    for random symbols seen on relocs.  So these calls were in the wrong
    order, resulting in missing stubs and an assertion failure.

        PR 22602
        * powerpc.cc (Target_powerpc::Branch_info::mark_pltcall): Resolve
        forwards before replacing __tls_get_addr.
        (Target_powerpc::Branch_info::make_stub): Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to