+2020-03-05 Max Filippov <jcmvbkbc@gmail.com>
+
+ * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic
+ relocation sections for any removed reference to a dynamic symbol.
+
+2020-03-05 Nick Clifton <nickc@redhat.com>
+
+ * elf-bfd.h (struct elf_backend_data): Add new fields:
+ init_secondary_reloc_section, slurp_secondary_reloc_section,
+ write_secondary_reloc_section.
+ (_bfd_elf_init_secondary_reloc_section): Prototype.
+ (_bfd_elf_slurp_secondary_reloc_section): Prototype.
+ (_bfd_elf_write_secondary_reloc_section): Prototype.
+ * elf.c ( bfd_section_from_shdr): Invoke the new
+ init_secondary_reloc_section backend function, if defined, when a
+ second reloc section is encountered.
+ (swap_out_syms): Invoke the new symbol_section_index function, if
+ defined, when computing the section index of an OS/PROC specific
+ symbol.
+ (_bfd_elf_init_secondary_reloc_section): New function.
+ (_bfd_elf_slurp_secondary_reloc_section): New function.
+ (_bfd_elf_write_secondary_reloc_section): New function.
+ (_bfd_elf_copy_special_section_fields): New function.
+ * elfcode.h (elf_write_relocs): Invoke the new
+ write_secondary_relocs function, if defined, in order to emit
+ secondary relocs.
+ (elf_slurp_reloc_table): Invoke the new slurp_secondary_relocs
+ function, if defined, in order to read in secondary relocs.
+ * elfxx-target.h (elf_backend_copy_special_section_fields):
+ Provide a non-NULL default definition.
+ (elf_backend_init_secondary_reloc_section): Likewise.
+ (elf_backend_slurp_secondary_reloc_section): Likewise.
+ (elf_backend_write_secondary_reloc_section): Likewise.
+ (struct elf_backend_data elfNN_bed): Add initialisers for the new
+ fields.
+ * configure.ac (score_elf32_[bl]e_vec): Add elf64.lo
+ * configure: Regenerate.
+
+2020-03-05 Alan Modra <amodra@gmail.com>
+
+ * archive64.c (_bfd_archive_64_bit_slurp_armap): Check parsed_size
+ against file size before allocating memory. Use bfd_alloc rather
+ than bfd_zalloc for carsym/strings memory.
+
+2020-03-04 Alan Modra <amodra@gmail.com>
+
+ * elf.c (elf_fake_sections): Ensure sh_addralign is such that
+ sh_addr mod sh_addalign is zero.
+
+2020-03-04 Alan Modra <amodra@gmail.com>
+
+ * format.c (bfd_check_format_matches): Call cleanup on error exit.
+
+2020-03-03 Alan Modra <amodra@gmail.com>
+
+ * format.c (struct bfd_preserve): Add cleanup field.
+ (bfd_preserve_save): Add cleanup param and save.
+ (bfd_preserve_restore): Return cleanup.
+ (bfd_preserve_finish): Call the cleanup for the discarded match.
+ (bfd_check_format_matches): Pass cleanup to bfd_preserve_save,
+ and clear when preserving a match. Restore cleanup too when
+ restoring that match.
+
+2020-03-02 Alan Modra <amodra@gmail.com>
+
+ * cisco-core.c (cisco_core_file_p): Return bfd_cleanup.
+ * hpux-core.c (hpux_core_core_file_p): Update prototype.
+ * sco5-core.c (sco5_core_file_p): Return bfd_cleanup.
+ (core_sco5_vec): Correct initialisers.
+
+2020-03-02 Alan Modra <amodra@gmail.com>
+
+ * aix386-core.c (aix386_core_file_p): Return bfd_cleanup.
+ * aix5ppc-core.c (xcoff64_core_p): Likewise.
+ * cisco-core.c (cisco_core_file_validate): Likewise.
+ * hppabsd-core.c (hppabsd_core_core_file_p): Likewise.
+ * hpux-core.c (hpux_core_core_file_p): Likewise.
+ * irix-core.c (irix_core_core_file_p): Likewise.
+ * lynx-core.c (lynx_core_file_p): Likewise.
+ * netbsd-core.c (netbsd_core_file_p): Likewise.
+ * osf-core.c (osf_core_core_file_p): Likewise.
+ * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
+ * sco5-core.c (sco5_core_file_p): Likewise.
+
2020-03-02 H.J. Lu <hongjiu.lu@intel.com>
* trad-core.c (trad_unix_core_file_p): Return bfd_cleanup.