bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22263] -fpie -pie generates dynamic relocations in text section


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22263] -fpie -pie generates dynamic relocations in text section
Date: Thu, 19 Oct 2017 12:24:27 +0000

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

--- Comment #10 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=280958942b74f3164708700f195188c4d3446f58

commit 280958942b74f3164708700f195188c4d3446f58
Author: H.J. Lu <address@hidden>
Date:   Thu Oct 19 05:22:23 2017 -0700

    tilegx: Check bfd_link_executable for TLS check

    Copied from x86, check bfd_link_executable, instead of bfd_link_pic,
    for TLS transition check.  Not sure if it works correctly.  All usages
    of bfd_link_pic should be audited.

        PR ld/22263
        * elfxx-tilegx.c (tilegx_elf_tls_transition): Replace
        bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
        bfd_link_executable for TLS check.
        (tilegx_elf_check_relocs): Likewise.
        (allocate_dynrelocs): Likewise.
        (tilegx_elf_relocate_section): 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]