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:21:50 +0000

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

--- Comment #9 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=1ba1f393faac96f6ad80499d7133df23d6187b8c

commit 1ba1f393faac96f6ad80499d7133df23d6187b8c
Author: H.J. Lu <address@hidden>
Date:   Thu Oct 19 05:20:44 2017 -0700

    tilepro: 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
        * elf32-tilepro.c (tilepro_elf_tls_transition): Replace
        bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
        bfd_link_executable for TLS check.
        (tilepro_elf_check_relocs): Likewise.
        (allocate_dynrelocs): Likewise.
        (tilepro_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]