bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19784] internal error in elf_x86_64_relocate_section with


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/19784] internal error in elf_x86_64_relocate_section with -Bsymbolic-functions
Date: Tue, 08 Mar 2016 17:44:13 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit d1ed1c7d69e6656de213b12594e702afec31a66d
Author: H.J. Lu <address@hidden>
Date:   Tue Mar 8 09:42:01 2016 -0800

    Handle local IFUNC symbols in shared object

    Increment PLT reference count for locally defined local IFUNC symbols
    in shared object since STT_GNU_IFUNC symbol must go through PLT even
    if it is locally defined and undefined symbol may turn out to be a
    STT_GNU_IFUNC symbol later.

    bfd/

        PR ld/19784
        * elf32-i386.c (elf_i386_check_relocs): Increment PLT reference
        count for locally defined local IFUNC symbols in shared object.
        * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.

    ld/

        PR ld/19784
        * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
        * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
        * testsuite/ld-i386/pr19636-2e.d: Here.  Remove notarget.
        * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
        * testsuite/ld-ifunc/pass.out: New file.
        * testsuite/ld-ifunc/pr19784a.c: Likewise.
        * testsuite/ld-ifunc/pr19784b.c: Likewise.
        * testsuite/ld-ifunc/pr19784c.c: Likewise.

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