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

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

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

commit 3d4fde6974a1237d79055ee734d99cc49c6fd3f9
Author: Cary Coutant <ccout...@gmail.com>
Date:   Mon Sep 7 09:44:11 2015 -0700

    Fix internal error caused by IFUNC patch.

    The previous commit to fix PR gold/18886 converted STT_IFUNC
    to STT_FUNC when resolving to a symbol defined in a shared library.
    This leads to an internal error if the shared library symbol is
    seen first, as we do not convert the symbol at all.

    We need to override the STT_IFUNC in add_from_dynobj() instead of
    in override_base().

    gold/
        PR gold/18930
        PR gold/18886
        * resolve.cc (Symbol::override_base): Don't convert IFUNC symbols here.
        * symtab.cc (Symbol_table::add_from_dynobj): Convert them here instead.

-- 
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