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

--- Comment #23 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 <h...@sourceware.org>:

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

commit 31a53da5418528b9ba94bb80a97f0084f40e0c64
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Sat Oct 14 11:04:32 2017 -0700

    nios2: 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.

        PR ld/22269
        * elf32-nios2.c (nios2_elf32_relocate_section): Don't generate
        dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
        (allocate_dynrelocs): Discard dynamic relocations if
        UNDEFWEAK_NO_DYNAMIC_RELOC is true.

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