PowerPC64 __tls_get_addr_desc
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index f6cde41fdaf246024c877f3d7614baa42c8c91c2..1bd9b5f979a1a91f3bc8c9ead32d361baf38a8e2 100644 (file)
@@ -1,3 +1,67 @@
+2020-01-22  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.h (struct ppc64_elf_params): Add no_tls_get_addr_regsave.
+       * elf64-ppc.c (struct ppc_link_hash_table): Add tga_desc and
+       tga_desc_fd.
+       (is_tls_get_addr): Match tga_desc and tga_desc_df too.
+       (STDU_R1_0R1, ADDI_R1_R1): Define.
+       (tls_get_addr_prologue, tls_get_addr_epilogue): New functions.
+       (ppc64_elf_tls_setup): Set up tga_desc and tga_desc_fd.  Indirect
+       tga_desc_fd to opt_fd, and tga_desc to opt.  Set
+       no_tls_get_addr_regsave.
+       (branch_reloc_hash_match): Add hash3 and hash4.
+       (ppc64_elf_tls_optimize): Handle tga_desc_fd and tga_desc too.
+       (ppc64_elf_size_dynamic_sections): Likewise.
+       (ppc64_elf_relocate_section): Likewise.
+       (plt_stub_size, build_plt_stub): Likewise.  Size regsave
+       __tls_get_addr stub.
+       (build_tls_get_addr_stub): Build regsave __tls_get_addr stub and
+       eh_frame.
+       (ppc_size_one_stub): Handle tga_desc_fd and tga_desc too.  Size
+       eh_frame for regsave __tls_get_addr.
+
+2020-01-22  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs): Correct condition under
+       which __tls_get_addr calls will be eliminated.
+
+2020-01-20  Nick Clifton  <nickc@redhat.com>
+
+       * po/pt.po: Updates Portuguese translation.
+       * po/ru.po: Updated Russian translation.
+       * po/uk.po: Updated Ukranian translation.
+
+2020-01-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25416
+       * elf64-x86-64.c (elf_x86_64_check_tls_transition): Support
+       "rex leal x@tlsdesc(%rip), %reg" and "call *x@tlsdesc(%eax)" in
+       X32 mode.
+       (elf_x86_64_relocate_section): In x32 mode, for GDesc -> LE
+       transition, relax "rex leal x@tlsdesc(%rip), %reg" to
+       "rex movl $x@tpoff, %reg", for GDesc -> IE transition, relax
+       "rex leal x@tlsdesc(%rip), %reg" to
+       "rex movl x@gottpoff(%rip), %eax".  For both transitions, relax
+       "call *(%eax)" to "nopl (%rax)".
+
+2020-01-20  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (LD_R11_0R3, CMPDI_R11_0, STD_R11_0R1, LD_R11_0R1),
+       (MTLR_R11): Don't define.
+       (LD_R0_0R3, CMPDI_R0_0): Define.
+       (build_tls_get_addr_stub): Don't use r11 in stub.
+
+2020-01-20  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc_elf_hash_entry): New function, use throughout file.
+       (defined_sym_val, is_tls_get_addr): Likewise.
+
+2020-01-18  Nick Clifton  <nickc@redhat.com>
+
+       * version.m4 (BFD_VERSION): Set to 2.34.50.
+       * configure: Regenerate.
+       * po/bfd.pot: Regenerate.
+
 2020-01-18  Nick Clifton  <nickc@redhat.com>
 
        Binutils 2.34 branch created.
This page took 0.024112 seconds and 4 git commands to generate.