https://sourceware.org/bugzilla/show_bug.cgi?id=24673
--- Comment #3 from Jim Wilson <wilson at gcc dot gnu.org> ---
Via IRC, elfnn-riscv.c circa line 563 has
case R_RISCV_TLS_GOT_HI20:
if (bfd_link_pic (info))
info->flags |= DF_STATIC_TLS;
where this should be bfd_link_dll instead of bfd_link_pic.
The mips port uses bfd_link_pic. The ppc64 port uses bfd_link_dll. The x86_64
port uses !bfd_link_executable. Maybe this is ABI dependent, or maybe lots of
ports are getting it wrong. Anyways, I will have to look at this later.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils