bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23825] Linker creates COPY relocs for reference to TLS symbols


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/23825] Linker creates COPY relocs for reference to TLS symbols
Date: Sun, 01 Sep 2019 04:25:59 +0000

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

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

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

commit 3e7bd7f24146f162565edf878840449f36a8d974
Author: Jim Wilson <address@hidden>
Date:   Sat Aug 31 21:22:36 2019 -0700

    RISC-V: Fix linker problems with tls copy relocs.

    The linker doesn't allocate memory space for sections that are only
SEC_ALLOC
    and SEC_THREAD_LOCAL.  See the IS_TBSS test in ld/ldlang.c.  So we need to
    pretend that .tdata.dyn sections have contents to get the right result.  It
    will be marked this way anyways if there is a .tdata section to merge with.

        bfd/
        PR 23825
        * elfnn-riscv.c (riscv_elf_create_dynamic_sections): Add SEC_LOAD,
        SEC_DATA, and SEC_HAS_CONTENTS to .tdata.dyn section.

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