aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
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/ChangeLog
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/ChangeLog')
-rw-r--r--bfd/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b913d18..eb64f86 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,15 @@
2019-07-18 Alan Modra <amodra@gmail.com>
+ * 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.
+
+2019-07-18 Alan Modra <amodra@gmail.com>
+
* elf32-ppc.c (TLS_GDIE): Rename from TLS_TPRELGD throughout file.
Correct comment.
* elf64-ppc.c (TLS_GDIE): Likewise.