aboutsummaryrefslogtreecommitdiff
path: root/bfd/libxcoff.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-19 05:18:07 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-19 05:18:22 -0700
commit0fb7012e88683b8bd67a4fb8f782359fa0e11724 (patch)
tree2d0332be7cbf2dbb9dd14fc0c2a84234ae46478b /bfd/libxcoff.h
parentfa57faa0dad237b3f418f17e7ee2114c32da818a (diff)
downloadgdb-0fb7012e88683b8bd67a4fb8f782359fa0e11724.zip
gdb-0fb7012e88683b8bd67a4fb8f782359fa0e11724.tar.gz
gdb-0fb7012e88683b8bd67a4fb8f782359fa0e11724.tar.bz2
sparc: 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 * elfxx-sparc.c (sparc_elf_tls_transition): Replace bfd_link_pic with !bfd_link_executable, !bfd_link_pic with bfd_link_executable for TLS check. (_bfd_sparc_elf_check_relocs): Likewise. (allocate_dynrelocs): Likewise. (_bfd_sparc_elf_relocate_section): Likewise.
Diffstat (limited to 'bfd/libxcoff.h')
0 files changed, 0 insertions, 0 deletions