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, 28 Apr 2022 12:55:11 +0000

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

--- Comment #26 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_37-branch branch has been updated by Andreas Krebbel
<krebbel@sourceware.org>:

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

commit e20961e9f9d058fab00ce511b429570a901396e6
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Thu Apr 28 14:29:58 2022 +0200

    s390: Avoid dynamic TLS relocs in PIE

    No dynamic relocs are needed for TLS defined in an executable, the
    TP relative offset is known at link time.

    Fixes
    FAIL: Build pr22263-1

    bfd/
            PR ld/22263
            * elf64-s390.c (elf_s390_tls_transition): Use bfd_link_dll
            instead of bfd_link_pic for TLS.
            (elf_s390_check_relocs): Likewise.
            (allocate_dynrelocs): Likewise.
            (elf_s390_relocate_section): Likewise.

    (cherry picked from commit 26b1426577b5dcb32d149c64cca3e603b81948a9)

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