diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-19 05:20:44 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-19 05:21:01 -0700 |
commit | 1ba1f393faac96f6ad80499d7133df23d6187b8c (patch) | |
tree | b028ce5446d3a99809f51020c4a7b2cc66882ac0 /gdb/target.c | |
parent | 0fb7012e88683b8bd67a4fb8f782359fa0e11724 (diff) | |
download | binutils-1ba1f393faac96f6ad80499d7133df23d6187b8c.zip binutils-1ba1f393faac96f6ad80499d7133df23d6187b8c.tar.gz binutils-1ba1f393faac96f6ad80499d7133df23d6187b8c.tar.bz2 |
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.
Diffstat (limited to 'gdb/target.c')
0 files changed, 0 insertions, 0 deletions