+2020-08-03 Alan Modra <amodra@gmail.com>
+
+ PR 26330
+ * elf.c (_bfd_elf_get_symtab_upper_bound): Sanity check symbol table
+ size against file size. Correct LONG_MAX limit check.
+ (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.
+ (_bfd_elf_get_reloc_upper_bound): Don't check file size if writing.
+ (_bfd_elf_get_dynamic_reloc_upper_bound): Likewise.
+ * elf64-x86-64-.c (elf_x86_64_get_synthetic_symtab): Use
+ bfd_malloc_and_get_section.
+
+2020-07-31 Alan Modra <amodra@gmail.com>
+
+ PR 26314
+ * elflink.c (bfd_elf_link_record_dynamic_symbol): Don't allow
+ IR symbols to become dynamic.
+ (elf_link_add_object_symbols): Don't exclude IR symbols when
+ deciding whether an as-needed shared library is needed.
+
+2020-07-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ PR ld/26312
+ * elfnn-aarch64.c (elfNN_aarch64_init_small_plt0_entry): Set sh_entsize
+ to 0.
+ (elfNN_aarch64_finish_dynamic_sections): Remove sh_entsize setting.
+
+2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * bfd.m4 (BFD_SYS_PROCFS_H): New macro.
+ (BFD_HAVE_SYS_PROCFS_TYPE): Require BFD_SYS_PROCFS_H.
+ Don't define _STRUCTURED_PROC.
+ (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
+ * elf.c [HAVE_SYS_PROCFS_H] (_STRUCTURED_PROC): Don't define.
+ * configure.ac: Use BFD_SYS_PROCFS_H to check for <sys/procfs.h>.
+ * configure, config.in: Regenerate.
+ * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
+ * Makefile.in, doc/Makefile.in: Regenerate.
+
+2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf-bfd.h (sym_cache): Moved before elf_link_hash_table.
+ (elf_link_hash_table): Add sym_cache.
+ * elf32-arm.c (elf32_arm_link_hash_table): Remove sym_cache.
+ (elf32_arm_check_relocs): Updated.
+ (elf32_arm_size_dynamic_sections): Likewise.
+ * elf32-bfin.c (bfin_link_hash_table): Removed.
+ (bfin_link_hash_newfunc): Updated.
+ (bfin_hash_table): Removed.
+ * elf32-csky.c (csky_elf_link_hash_table): Remove sym_cache.
+ (csky_elf_check_relocs): Updated.
+ * elf32-hppa.c (elf32_hppa_link_hash_table): Remove sym_cache.
+ (elf32_hppa_check_relocs): Updated.
+ * elf32-i386.c (elf_i386_tls_transition): Updated.
+ (elf_i386_convert_load_reloc): Likewise.
+ (elf_i386_check_relocs): Likewise.
+ * elf32-m32r.c (elf_m32r_link_hash_table): Removed.
+ (m32r_elf_hash_table): Updated.
+ (m32r_elf_link_hash_table_create): Likewise.
+ (m32r_elf_create_dynamic_sections): Likewise.
+ (m32r_elf_adjust_dynamic_symbol): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (m32r_elf_size_dynamic_sections): Likewise.
+ (m32r_elf_relocate_section): Likewise.
+ (m32r_elf_finish_dynamic_symbol): Likewise.
+ (m32r_elf_check_relocs): Likewise.
+ * elf32-m68hc1x.h (m68hc11_elf_link_hash_table): Remove
+ sym_cache.
+ * elf32-m68k.c (elf_m68k_link_hash_table): Likewise.
+ (elf_m68k_check_relocs): Updated.
+ * elf32-metag.c (elf_metag_link_hash_table): Remove sym_cache.
+ (elf_metag_check_relocs): Updated.
+ * elf32-microblaze.c (elf32_mb_link_hash_table): Remove sym_sec.
+ (microblaze_elf_check_relocs): Updated.
+ * elf32-nds32.c (nds32_elf_link_hash_table_create): Likewise.
+ (nds32_elf_create_dynamic_sections): Likewise.
+ (nds32_elf_adjust_dynamic_symbol): Likewise.
+ (nds32_elf_check_relocs): Likewise.
+ * elf32-nds32.h (elf_nds32_link_hash_table): Remove sdynbss,
+ srelbss and aym_cache.
+ * elf32-nios2.c (elf32_nios2_link_hash_table): Remove sym_cache.
+ (nios2_elf32_check_relocs): Updated.
+ * elf32-or1k.c (elf_or1k_link_hash_table): Remove sym_sec.
+ (or1k_elf_check_relocs): Updated.
+ * elf32-ppc.c (ppc_elf_check_relocs): Remove sym_cache.
+ (ppc_elf_check_relocs): Updated.
+ * elf32-s390.c (elf_s390_link_hash_table): Remove sym_cache.
+ (elf_s390_check_relocs): Updated.
+ (elf_s390_finish_dynamic_sections): Likewise.
+ * elf32-sh.c (elf_sh_link_hash_table): Remove sdynbss, srelbss
+ and aym_cache.
+ (sh_elf_create_dynamic_sections): Updated.
+ (sh_elf_adjust_dynamic_symbol): Likewise.
+ (sh_elf_size_dynamic_sections): Likewise.
+ (sh_elf_check_relocs): Likewise.
+ * elf32-tic6x.c (elf32_tic6x_link_hash_table): Remove sym_cache.
+ (elf32_tic6x_check_relocs): Updated.
+ * elf32-tilepro.c (tilepro_elf_link_hash_table): Removed.
+ (tilepro_elf_hash_table): Updated.
+ (tilepro_elf_link_hash_table_create): Likewise.
+ (tilepro_elf_check_relocs): Likewise.
+ (tilepro_elf_adjust_dynamic_symbol): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (tilepro_elf_size_dynamic_sections): Likewise.
+ (tilepro_elf_relocate_section): Likewise.
+ (tilepro_elf_finish_dynamic_symbol): Likewise.
+ (tilepro_finish_dyn): Likewise.
+ (tilepro_elf_finish_dynamic_sections): Likewise.
+ * elf64-ppc.c (ppc_link_hash_table): Remove sym_cache.
+ (ppc64_elf_before_check_relocs): Updated.
+ (ppc64_elf_check_relocs): Likewise.
+ * elf64-s390.c (elf_s390_link_hash_table): Remove sym_cache.
+ (elf_s390_check_relocs): Updated.
+ (elf_s390_relocate_section): Likewise.
+ (elf_s390_finish_dynamic_sections): Likewise.
+ * elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.
+ (elf_x86_64_check_relocs): Likewise.
+ * elfnn-aarch64.c (elf_aarch64_link_hash_table): Remove
+ sym_cache.
+ (elfNN_aarch64_check_relocs): Updated.
+ * elfnn-riscv.c (riscv_elf_link_hash_table): Remove sym_cache.
+ (riscv_elf_check_relocs): Updated.
+ * elfxx-mips.c (mips_elf_link_hash_table): Remove sym_cache.
+ (mips_elf_resolve_got_page_ref): Updated.
+ * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
+ * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove
+ sym_cache.
+ * elfxx-tilegx.c (tilegx_elf_link_hash_table): Likewise.
+ (tilegx_elf_check_relocs): Updated.
+ * elfxx-x86.h (elf_x86_link_hash_table): Remove sym_cache.
+
+2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * elflink.c (bfd_elf_final_link): Give local symbols a name if
+ so requested.
+ * elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): Only
+ return TRUE if making ET_REL output.
+
+2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * elf-bfd.h (elf_backend_data): Add
+ `elf_backend_elfsym_local_is_section' member.
+ * elfxx-target.h (elf_backend_elfsym_local_is_section): New
+ macro.
+ (elfNN_bed): Add `elf_backend_elfsym_local_is_section' member.
+ * elflink.c (bfd_elf_final_link): Use it to determine whether
+ set the `.symtab' section's `sh_info' value to the index of the
+ first non-local or non-section symbol.
+ * elf32-mips.c (mips_elf32_elfsym_local_is_section): New
+ function.
+ (elf_backend_elfsym_local_is_section): New macro.
+ * elfn32-mips.c (mips_elf_n32_elfsym_local_is_section): New
+ function.
+ (elf_backend_elfsym_local_is_section): New macro.
+
+2020-07-29 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (bfd_elf_final_link): Don't segfault on local dynsyms
+ defined in excluded sections.
+
+2020-07-28 Alan Modra <amodra@gmail.com>
+
+ * elf.c (assign_section_numbers): Comment. Don't segfault on
+ discarded sections when setting linked-to section for generic
+ ELF linker.
+ * elflink.c (bfd_elf_match_symbols_in_sections): Allow NULL info.
+
+2020-07-27 Alan Modra <amodra@gmail.com>
+
+ * xcofflink.c (xcoff_need_ldrel_p): Accept --just-symbols symbols and
+ similar as absolute.
+ (bfd_xcoff_import_symbol): Don't fuss over absolute symbol
+ redefinitions here.
+
+2020-07-24 Nick Clifton <nickc@redhat.com>
+
+ * config.bfd: Move xc16x target to the obsolete list.
+
+2020-07-22 Kevin Buettner <kevinb@redhat.com>
+
+ * binary.c (binary_get_section_contents): Seek using offset
+ from section's file position.
+
+2020-07-22 Kevin Buettner <kevinb@redhat.com>
+
+ * elf.c (_bfd_elf_make_section_from_phdr): Remove hack for GDB.
+
+2020-07-22 Max Filippov <jcmvbkbc@gmail.com>
+
+ PR 26246
+ * elf32-xtensa.c (removed_literal_compare): Use correct pointer
+ type for the first function argument. Rename pointers to reflect
+ that they have distinct types.
+
+2020-07-20 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_gc_keep): Use bfd_is_const_section.
+
+2020-07-19 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (struct ppc_link_hash_table): Add has_power10_relocs.
+ (select_alt_stub): New function.
+ (ppc_get_stub_entry): Use it here.
+ (ppc64_elf_check_relocs): Set had_power10_relocs rather than
+ power10_stubs.
+ (ppc64_elf_size_stubs): Clear power10_stubs here instead. Don't
+ merge notoc stubs with other varieties when power10_stubs is "auto".
+ Instead dup the stub hash table entry.
+ (plt_stub_size, ppc_build_one_stub, ppc_size_one_stub): Adjust
+ tests of power10_stubs.
+
+2020-07-15 Alan Modra <amodra@gmail.com>
+
+ PR 26239
+ * coffgen.c (_bfd_coff_close_and_cleanup): Free dwarf2 info.
+
+2020-07-15 Nick Clifton <nickc@redhat.com>
+
+ PR26240
+ * coffgen.c (coff_get_normalized_symtab): Fix off-by-one error in
+ check for aux entries that overflow the buufer.
+
+2020-07-15 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * elf64-mmix.c (mmix_elf_relax_section): Improve accounting for
+ R_MMIX_PUSHJ_STUBBABLE relocs against undefined symbols.
+
+2020-07-15 Markus Böck <markus.boeck02@gmail.com>
+ Alan Modra <amodra@gmail.com>
+
+ PR 26198
+ * coffgen.c (_bfd_coff_section_already_linked): Allow for plugin
+ objects both before and after normal object files.
+ * elflink.c (_bfd_elf_section_already_linked): Likewise.
+
+2020-07-10 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.h (struct ppc64_elf_params): Add power10_stubs.
+ * elf64-ppc.c (struct ppc_link_hash_table): Delete
+ power10_stubs.
+ (ppc64_elf_check_relocs): Adjust setting of power10_stubs.
+ (plt_stub_size, ppc_build_one_stub, ppc_size_one_stub): Adjust
+ uses of power10_stubs.
+
+2020-07-09 Alan Modra <amodra@gmail.com>
+
+ * coff-ppc.c: Delete.
+ * pe-ppc.c: Delete.
+ * pei-ppc.c: Delete.
+ * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Remove PE PPC.
+ * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Remove
+ PPCMAGIC code.
+ (coff_write_object_contents): Remove PPC_PE code.
+ * config.bfd: Move powerpcle-pe to removed targets.
+ * configure.ac: Remove powerpc PE entries.
+ * libcoff-in.h (ppc_allocate_toc_section): Delete.
+ (ppc_process_before_allocation): Delete.
+ * peXXigen.c: Remove POWERPC_LE_PE code and comments.
+ * targets.c: Remove powerpc PE vectors.
+ * po/SRC-POTFILES.in: Regenerate.
+ * libcoff.h: Regenerate.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+
+2020-07-09 Nick Clifton <nickc@redhat.com>
+
+ * po/fr.po: Updated French translation.
+
+2020-07-07 Alan Modra <amodra@gmail.com>
+
+ * xcofflink.c (xcoff_mark): Don't mark const sections.
+ (bfd_xcoff_record_link_assignment): Add FIXME.
+ (_bfd_xcoff_bfd_final_link): Don't segfault on assorted magic
+ sections being discarded by linker script.
+
+2020-07-07 Alan Modra <amodra@gmail.com>
+
+ * coff-rs6000.c (xcoff_write_archive_contents_old): Set default
+ time, uid, gid and mode for deterministic archive.
+ (xcoff_write_archive_contents_big): Likewise.
+
+2020-07-07 Alan Modra <amodra@gmail.com>
+
+ * coffcode.h (coff_classify_symbol): Handle C_HIDEXT and
+ C_AIX_WEAKEXT.
+
+2020-07-06 Nick Clifton <nickc@redhat.com>
+
+ * po/pt.po: Updated Portuguese translation.
+ * po/uk.po: Updated Ukranian translation.
+
+2020-07-04 Nick Clifton <nickc@redhat.com>
+
+ * version.m4: Set version to 2.35.50.
+ * configure: Regenerate.
+ * po/bbfd.pot: Regenerate.
+
+2020-07-04 Nick Clifton <nickc@redhat.com>
+
+ Binutils 2.35 branch created.
+
+2020-07-01 Alan Modra <amodra@gmail.com>
+
+ PR 26188
+ * coffgen.c (coff_find_nearest_line_with_names): Sanity check
+ raw syment index before dereferencing.
+
+2020-07-01 Alan Modra <amodra@gmail.com>
+
+ * elf32-i386.c (elf_backend_object_p): Undef for vxworks.
+
+2020-07-01 Alan Modra <amodra@gmail.com>
+
+ * config.bfd: Obsolete xc16x.
+
+2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * archures.c (bfd_mach_i386_nacl): Removed.
+ (bfd_mach_i386_i386_nacl): Likewise.
+ (bfd_mach_x86_64_nacl): Likewise.
+ (bfd_mach_x64_32_nacl): Likewise.
+ * config.bfd: Remove *-*-nacl* targets.
+ * configure.ac: Remove x86 NaCl target vectors.
+ * cpu-i386.c (bfd_arch_i386_onebyte_nop_fill): Removed.
+ (bfd_x64_32_nacl_arch): Likewise.
+ (bfd_x86_64_nacl_arch): Likewise.
+ (bfd_i386_nacl_arch): Likewise.
+ (bfd_x64_32_arch_intel_syntax): Updated.
+ * elf32-i386.c: Don't include "elf-nacl.h".
+ (elf_i386_nacl_plt): Removed.
+ (elf_i386_nacl_plt0_entry): Likewise.
+ (elf_i386_nacl_plt_entry): Likewise.
+ (elf_i386_nacl_pic_plt0_entry): Likewise.
+ (elf_i386_nacl_pic_plt_entry): Likewise.
+ (elf_i386_nacl_eh_frame_plt): Likewise.
+ (elf_i386_nacl_plt): Likewise.
+ (elf32_i386_nacl_elf_object_p): Likewise.
+ (elf_i386_get_synthetic_symtab): Updated.
+ (elf_i386_link_setup_gnu_properties): Likewise.
+ * elf64-x86-64.c: Don't include "elf-nacl.h".
+ (elf_x86_64_nacl_plt): Removed.
+ (elf64_x86_64_nacl_elf_object_p): Likewise.
+ (elf_x86_64_nacl_plt0_entry): Likewise.
+ (elf_x86_64_nacl_plt_entry): Likewise.
+ (elf_x86_64_nacl_eh_frame_plt): Likewise.
+ (elf_x86_64_nacl_plt): Likewise.
+ (elf32_x86_64_nacl_elf_object_p): Likewise.
+ (elf_x86_64_get_synthetic_symtab): Updated.
+ (elf_x86_64_link_setup_gnu_properties): Likewise.
+ * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
+ * targets.c: Remove x86 NaCl target vectors.
+ * bfd-in2.h: Regenerated.
+ * configure: Likewise.
+
+2020-06-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+
+2020-06-29 Alan Modra <amodra@gmail.com>
+
+ * peXXigen.c (_bfd_XXi_slurp_codeview_record): Properly check
+ return value of bfd_bread. Don't read more than requested length.
+ Sanity check length. Properly terminate file name.
+
+2020-06-29 Alan Modra <amodra@gmail.com>
+
+ * arc-got.h: Use C style comments.
+ * coff-z80.c: Likewise.
+ * elf32-csky.c: Likewise.
+ * peXXigen.c: Likewise.
+ * elf32-m32c.c (m32c_elf_relax_delete_bytes): Remove commented out
+ code.
+
+2020-06-26 Pat Bernardi <bernardi@adacore.com>
+
+ * elf32-m68k.c (m68k_elf_merge_obj_attributes): New function.
+ (elf32_m68k_merge_private_bfd_data): Merge GNU attributes.
+
+2020-06-26 Alan Modra <amodra@gmail.com>
+
+ * elfxx-riscv.c (struct priv_spec_t, priv_specs),
+ (riscv_get_priv_spec_class, riscv_get_priv_spec_class_from_numbers),
+ (riscv_get_priv_spec_name): Move to..
+ * cpu-riscv.c: ..here.
+ (riscv_get_priv_spec_class_from_numbers): Don't xmalloc temp buffer.
+ Use %u to print unsigned numbers.
+
+2020-06-24 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cpu-riscv.c (riscv_scan): Don't allow shorter matches using the
+ default architecture.
+
+2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26083
+ * elf32-csky.c (csky_elf_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+
+2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26083
+ * elf32-cris.c (elf_cris_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+
+2020-06-24 Alan Modra <amodra@gmail.com>
+
+ * vms-alpha.c (_bfd_vms_slurp_etir <ETIR__C_OPR_ASH>): Implement
+ shifts without undefined behaviour.
+
+2020-06-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf-bfd.h (elf_link_hash_table): Add dt_pltgot_required and
+ dt_jmprel_required.
+ (_bfd_elf_add_dynamic_tags): New.
+ * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+ * elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
+ * elf32-bfin.c (elf32_bfinfdpic_size_dynamic_sections): Likewise.
+ * elf32-cr16.c (_bfd_cr16_elf_size_dynamic_sections): Likewise.
+ * elf32-frv.c (elf32_frvfdpic_size_dynamic_sections): Likewise.
+ * elf32-lm32.c (lm32_elf_size_dynamic_sections): Likewise.
+ * elf32-m32r.c (m32r_elf_size_dynamic_sections): Likewise.
+ * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+ * elf32-microblaze.c (microblaze_elf_size_dynamic_sections):
+ Likewise.
+ * elf32-nds32.c (nds32_elf_size_dynamic_sections): Likewise.
+ * elf32-nios2.c (nios2_elf32_size_dynamic_sections): Likewise.
+ * elf32-or1k.c (or1k_elf_size_dynamic_sections): Likewise.
+ * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
+ * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Likewise.
+ * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
+ * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
+ * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
+ * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections):
+ Likewise.
+ * elfnn-riscv.c (riscv_elf_size_dynamic_sections): Likewise.
+ * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): Likewise.
+ * elf32-arm.c (elf32_arm_size_dynamic_sections): Call
+ _bfd_elf_maybe_vxworks_add_dynamic_tags.
+ * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
+ * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections):
+ Likewise.
+ * elfxx-x86.c (_bfd_x86_elf_link_hash_table_create): Likewise.
+ (_bfd_x86_elf_size_dynamic_sections): Likewise.
+ * elfxx-x86.h (elf_x86_link_hash_table): Remove dt_reloc,
+ dt_reloc_sz and dt_reloc_ent.
+ * elf-vxworks.c (_bfd_elf_maybe_vxworks_add_dynamic_tags): New.
+ * elf-vxworks.h (_bfd_elf_maybe_vxworks_add_dynamic_tags):
+ Likewise.
+ * elf32-hppa.c (elf32_hppa_link_hash_table_create): Set
+ etab.dt_pltgot_required.
+ (elf32_hppa_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+ * elf32-metag.c (elf_metag_link_hash_table_create): Set
+ etab.dt_pltgot_required.
+ (elf_metag_size_dynamic_sections): Call _bfd_elf_add_dynamic_tags.
+ * elf32-sh.c (sh_elf_link_hash_table_create): Set
+ root.dt_pltgot_required for FDPIC output.
+ (sh_elf_size_dynamic_sections): Call
+ _bfd_elf_maybe_vxworks_add_dynamic_tags.
+ * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Set
+ elf.dt_pltgot_required.
+ (elf_xtensa_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+ * elf64-hppa.c (elf64_hppa_hash_table_create): Set
+ root.dt_pltgot_required.
+ (elf64_hppa_size_dynamic_sections): Call
+ _bfd_elf_add_dynamic_tags.
+ * elfnn-ia64.c (elfNN_ia64_hash_table_create): Set
+ root.dt_pltgot_required.
+ (elfNN_ia64_size_dynamic_sections): Set root.dt_jmprel_required
+ for rel_pltoff_sec. Call _bfd_elf_add_dynamic_tags.
+ * elflink.c (_bfd_elf_add_dynamic_tags): New.
+
+2020-06-22 Saagar Jha <saagar@saagarjha.com>
+
+ * mach-o.c: Support the new load commands by reading a linkedit
+ data command for them.
+
+2020-06-22 Nelson Chu <nelson.chu@sifive.com>
+
+ * elfxx-riscv.c (struct priv_spec_t priv_specs[]): Move them from
+ opcodes/riscv-opc.c to bfd/elfxx-riscv.c, since we need it in linker.
+ (riscv_get_priv_spec_class): Likewise.
+ (riscv_get_priv_spec_name): Likewise.
+ (riscv_get_priv_spec_class_from_numbers): New function, convert
+ the version numbers into string, then call riscv_get_priv_spec_class
+ to get the priv spec class.
+ * elfxx-riscv.h (riscv_get_priv_spec_class): Move forward declaration
+ from include/opcode/riscv.h to bfd/elfxx-riscv.h.
+ (riscv_get_priv_spec_name): Likewise.
+ (riscv_get_priv_spec_class_from_numbers): New forward declaration.
+ (opcode/riscv.h): Include it in the header rather than elfxx-riscv.c.
+ * elfnn-riscv.c (riscv_merge_attributes): Get the priv spec classes
+ of input and output objects form their priv spec attributes by
+ riscv_get_priv_spec_class_from_numbers. Report warning rather than
+ errors when linking objects with differnet priv spec versions. We do
+ know v1.9.1 may have conflicts to other versions, so report the
+ warning, too. After that, update the output priv spec version to the
+ newest one so far.
+
+2020-06-22 Nelson Chu <nelson.chu@sifive.com>
+
+ * elfnn-riscv.c (riscv_merge_attributes): Once we meet one of the
+ priv attributes, we will check the conflicts for all of them (major,
+ minor and revision), and then set the priv_attrs_merged to TRUE to
+ indicate that we have handled all of the priv attributes. Remove
+ the unused boolean priv_may_conflict, in_priv_zero and out_priv_zero.
+
+2020-06-21 Alan Modra <amodra@gmail.com>
+
+ PR 26132
+ * configure.ac: Disable plugins by default for some targets.
+ * plugin.c: Comment typo fix.
+ * configure: Regenerate.
+
2020-06-19 Nick Clifton <nickc@redhat.com>
* plugin.c (try_load_plugin): Suppress the error message about