]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/ChangeLog
Place .shstrtab section after .symtab and .strtab, thus restoring monotonically incre...
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
index 94c1fcb8c2767712d7e143e901a92a2cca53c787..ea810cdb6688f6273bd43a5ccfafa33a932e44b3 100644 (file)
@@ -1,3 +1,42 @@
+2016-08-19  Nick Clifton  <nickc@redhat.com>
+
+       * elf.c (assign_section_numbers): Assign number for the .shstrtab
+       section after the symbol table and string table sections.
+
+2016-08-19  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (struct ppc_link_hash_entry): Add weakref.
+       (ppc64_elf_copy_indirect_symbol): Set weakref.  Don't merge
+       dyn_relocs for weakdefs.
+       (alias_readonly_dynrelocs): New function.
+       (ppc64_elf_adjust_dynamic_symbol): Use alias_readonly_dynrelocs.
+       (ppc64_elf_relocate_section): Simplify condition under which
+       dyn_relocs are emitted.
+
+2016-08-19  Alan Modra  <amodra@gmail.com>
+
+       PR 20472
+       * elf64-ppc.c (ppc64_elf_before_check_relocs): Tweak abiversion test.
+       (readonly_dynrelocs): Comment fix.
+       (global_entry_stub): New function.
+       (ppc64_elf_adjust_dynamic_symbol): Tweak abiversion test.  Match
+       ELFv2 code deciding on dynamic relocs vs. global entry stubs to
+       that in size_global_entry_stubs, handling ifunc too.  Delete dead
+       weak sym code.
+       (allocate_dynrelocs): Ensure dyn_relocs field is cleared when no
+       dyn_relocs are needed.  Correct handling of ifunc dyn_relocs.
+       Tidy ELIMINATE_COPY_RELOCS code, only setting dynindx for
+       undefweak syms.  Expand and correct comments.
+       (size_global_entry_stubs): Ensure symbol is defined.
+       (ppc64_elf_relocate_section): Match condition under which
+       dyn_relocs are emitted to that in allocate_dynrelocs.
+
+2016-08-12  Alan Modra  <amodra@gmail.com>
+
+       * elf-bfd.h (struct elf_link_hash_table): Add local_dynsymcount.
+       * elflink.c (_bfd_elf_link_renumber_dynsyms): Set local_dynsymcount.
+       (bfd_elf_final_link): Set .dynsym sh_info from local_dynsymcount.
+
 2016-08-11  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't exit with