bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21988] [2.29 Regression] ld shows an assertion failure for missi


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/21988] [2.29 Regression] ld shows an assertion failure for missing symbols (powerpc64le-linux-gnu)
Date: Wed, 23 Aug 2017 03:27:00 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_29-branch branch has been updated by Alan Modra
<address@hidden>:

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

commit 3c08b8dcc22a1b7a7fcbce7a6d8f863ff1a3a83e
Author: Alan Modra <address@hidden>
Date:   Wed Aug 23 08:58:08 2017 +0930

    Make undefined symbols in allocate_dynrelocs dynamic

    ..if they have dynamic relocs.  An undefined symbol in a PIC object
    that finds no definition ought to become dynamic in order to support
    --allow-shlib-undefined, but there is nothing in the generic ELF
    linker code to do this if the reference isn't via the GOT or PLT.  (An
    initialized function pointer is an example.)  So it falls to backend
    code to ensure the symbol is made dynamic.

        PR 21988
        * elf64-ppc.c (ensure_undef_dynamic): Rename from
        ensure_undefweak_dynamic.  Handle undefined too.
        * elf32-ppc.c (ensure_undef_dynamic): Likewise.
        * elf32-hppa.c (ensure_undef_dynamic): Likewise.
        (allocate_dynrelocs): Discard undefined non-default visibility
        relocs first.  Make undefined syms dynamic.  Tidy goto.

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