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

--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Yes, TLS in PIE is broken on Linux/Sparc, which is different from
> 8500 GCC testsuite regressions on Solaris/Sparc.

Note that I also have 8500 GCC testsuite regressions on SPARC/Linux so I think
that we have 2 different breakages in the SPARC BFD back-end.

> Please open a new TLS in PIE bug against Linux/Sparc.

Do you have access to a SPARC/Linux machine?  If no, then I think I'm going to
directly post patches to the list.  We first need to revert the PR 22263 patch
for the SPARC back-end until we have a comprehensive understanding of which
calls to bfd_link_pic need to be turned into !bfd_link_executable.  AFAICS the
only one that was explicitly marked:

  /* FIXME: The test here, in check_relocs and in relocate_section
     dealing with TLS optimization, ought to be !bfd_link_executable (info). 
*/
  if (bfd_link_pic (info))

was not changed, and some that were changed shouldn't have been changed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to