bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22269] Undefined weak symbols isn't resolved to 0 in static PIE


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22269] Undefined weak symbols isn't resolved to 0 in static PIE
Date: Sat, 14 Oct 2017 18:10:51 +0000

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

--- Comment #26 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=e01c16a83893b03433c8edf4ccae536d9b9f4831

commit e01c16a83893b03433c8edf4ccae536d9b9f4831
Author: H.J. Lu <address@hidden>
Date:   Sat Oct 14 11:09:29 2017 -0700

    cris: Check UNDEFWEAK_NO_DYNAMIC_RELOC

    Don't generate dynamic relocation against weak undefined symbol if it
    is resolved to zero.  FIXME: UNDEFWEAK_NO_DYNAMIC_RELOC may need to be
    checked in more places.

    bfd/

        PR ld/22269
        * elf32-cris.c (cris_elf_relocate_section): Don't generate
        dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
        (cris_elf_check_relocs): Don't allocate dynamic relocation
        if UNDEFWEAK_NO_DYNAMIC_RELOC is true.

    ld/

        PR ld/22269
        * testsuite/ld-cris/weakhiddso.d: Update and remove R_CRIS_NONE.

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