aboutsummaryrefslogtreecommitdiff
path: root/bfd/binary.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-18 11:04:06 +0930
committerAlan Modra <amodra@gmail.com>2019-07-18 22:17:30 +0930
commit46e9995a207140408309dbea40c64f11843db777 (patch)
tree58d3cce8c9b382bb415186a6b4d813687134b4f8 /bfd/binary.c
parentb00a0a86c40c681cf4b22a3630f85188ac849721 (diff)
downloadgdb-46e9995a207140408309dbea40c64f11843db777.zip
gdb-46e9995a207140408309dbea40c64f11843db777.tar.gz
gdb-46e9995a207140408309dbea40c64f11843db777.tar.bz2
[PowerPC64] Don't store TLS_EXPLICIT in tls_mask
This saves a bit in tls_mask, and fixes a bug that could be triggered in the unlikely case that both @got (usual ELF style) and @toc (PowerOpen style) code was used to set up args for __tls_get_addr. * elf64-ppc.c (TLS_EXPLICIT): Define as 256. (ppc64_elf_check_relocs): Don't store TLS_EXPLICIT even if char is more than 8 bits. (ppc64_elf_tls_optimize): Likewise. Make tls_set, tls_clear, and tls_type vars unsigned int. (ppc64_elf_relocate_section): Use r_type rather than TLS_EXPLICIT to select r_type edit.
Diffstat (limited to 'bfd/binary.c')
0 files changed, 0 insertions, 0 deletions