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: Mon, 27 Nov 2017 11:54:27 +0000

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

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Szabolcs Nagy <address@hidden>:

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

commit 6dda7875a8021787f11bd95a69d81a079e408a57
Author: Szabolcs Nagy <address@hidden>
Date:   Wed Nov 15 17:40:04 2017 +0000

    [PR ld/22263] aarch64: 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
        * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Use
        bfd_link_executable instead of bfd_link_pic for TLS.
        (elfNN_aarch64_allocate_dynrelocs): Likewise.
        (aarch64_can_relax_tls): 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]