This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] tilepro: Check bfd_link_executable for TLS check
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 19 Oct 2017 09:23:59 -0400
- Subject: [binutils-gdb] tilepro: Check bfd_link_executable for TLS check
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 1ba1f393faac96f6ad80499d7133df23d6187b8c ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 1ba1f393faac96f6ad80499d7133df23d6187b8c
tilepro: Check bfd_link_executable for TLS check
Copied from x86, check bfd_link_executable, instead of bfd_link_pic,
for TLS transition check. Not sure if it works correctly. All usages
of bfd_link_pic should be audited.
PR ld/22263
* elf32-tilepro.c (tilepro_elf_tls_transition): Replace
bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
bfd_link_executable for TLS check.
(tilepro_elf_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.
(tilepro_elf_relocate_section): Likewise.