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: bugdal at aerifal dot cx
Subject: [Bug ld/23825] Linker creates COPY relocs for reference to TLS symbols
Date: Tue, 19 Nov 2019 13:42:32 +0000

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #7 from Rich Felker <bugdal at aerifal dot cx> ---
Please, just teach GCC not to do this! RISC-V has proper PC-relative addressing
and thus the GOT access for IE model is essentially free. There is no reason it
should be doing a hack with LE model that imposes a need for copy relocations,
doubles the size of shared-library TLS that gets referenced in the main
program, and (worst of all!) makes the size of TLS arrays/structures into ABI
due to the copy relocation.

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