bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26083] cris/csky linker generate zero sized PLTRELSZ


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/26083] cris/csky linker generate zero sized PLTRELSZ
Date: Wed, 24 Jun 2020 13:17:52 +0000

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

--- Comment #6 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 <hjl@sourceware.org>:

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

commit 2c8e370829c7e4ed73d64a9d7be4991521620b3a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jun 24 06:14:18 2020 -0700

    csky: 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-csky.c (csky_elf_size_dynamic_sections): Call
            _bfd_elf_add_dynamic_tags.

    ld/

            PR ld/26083
            * testsuite/ld-csky/tls-ie-v1.d: Updated.
            * testsuite/ld-csky/tls-ie.d: 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]