PowerPC GOT_PCREL34 optimisation
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 9091df029420dce727c53fa5a31ae0af0dd76d97..0e21664e91d989628611008d8fd696f7cad61e38 100644 (file)
@@ -1,3 +1,12 @@
+2019-05-24  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_check_relocs): Set has_gotrel for
+       R_PPC64_GOT_PCREL34.
+       (xlate_pcrel_opt): New function.
+       (ppc64_elf_edit_toc): Handle R_PPC64_GOT_PCREL34.
+       (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
+       for R_PPC64_GOT_PCREL34.  Implement R_PPC64_PCREL_OPT optimisation.
+
 2019-05-24  Alan Modra  <amodra@gmail.com>
 
        * reloc.c (BFD_RELOC_PPC64_D34, BFD_RELOC_PPC64_D34_LO),
This page took 0.025636 seconds and 4 git commands to generate.