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

--- Comment #4 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=c679ec98a1296d8da3b5920a9058ba14b47ca3a4

commit c679ec98a1296d8da3b5920a9058ba14b47ca3a4
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jun 24 04:00:19 2020 -0700

    cris: Don't generate unnecessary dynamic tags

    Dynamic tags, DT_JMPREL, PLTREL and PLTRELSZ, are needed only if there
    are relocation entries for PLT.  Don't generate them if there are no
    relocation entries for PLT.

    bfd/

            PR ld/26083
            * elf32-cris.c (elf_cris_size_dynamic_sections): Call
            _bfd_elf_add_dynamic_tags.

    ld/

            PR ld/26083
            * testsuite/ld-cris/libdso-15b.d: Updated.
            * testsuite/ld-cris/libdso-1c.d: Likewise.
            * testsuite/ld-cris/libdso-1d.d: Likewise.
            * testsuite/ld-cris/libdso-15c.d: New file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to