bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_


From: amodra at gmail dot com
Subject: [Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations
Date: Fri, 14 Jun 2019 02:20:31 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
bfd_link_dll and !bfd_link_executable are equivalent when used to set
DF_STATIC_TLS in ppc64 and x86 check_relocs.  bfd_link_relocatable is excluded
earlier.

DF_STATIC_TLS is really only relevant for dlopen'd binaries, and so for glibc
systems the flag need only be set for shared libraries.  (I can't see that it
would be wrong to always set the flag on detecting thread pointer relative
accesses as used by initial exec or local exec tls models.)

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