+2020-11-03 Alan Modra <amodra@gmail.com>
+
+ * elf.c (bfd_section_from_shdr): Free sections_being_created.
+ Use bfd_zmalloc.
+
+2020-11-02 Alan Modra <amodra@gmail.com>
+
+ PR 15146
+ PR 26314
+ PR 26530
+ PR 26806
+ * elflink.c (elf_link_add_object_symbols): Don't set def/ref flags
+ for plugin syms. Do allow plugin syms to mark as-needed libs.
+
+2020-10-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/26703
+ * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Generate
+ GNU_PROPERTY_X86_ISA_1_BASELINE for -z x86-64-baseline.
+
+2020-10-29 Nick Clifton <nickc@redhat.com>
+
+ PR 26809
+ * elf.c (_bfd_elf_slurp_secondary_reloc_section): Use the correct
+ sized reloc reading function.
+ (_bfd_elf_write_secondary_reloc_section): Use the correct sized
+ reloc writing function.
+
+2020-10-28 Nick Clifton <nickc@redhat.com>
+
+ PR 26774
+ * srec.c (srec_write_symbols): Do not emit symbols in sections
+ that have been removed from the output.
+
+2020-10-27 Nick Clifton <nickc@redhat.com>
+
+ * elf64-hppa.c (elf_hppa_final_link_relocate): Check that the
+ symbol's section is being output before adding its offset to the
+ addend when processing R_PARISC_SECREL32.
+
+2020-10-25 Alan Modra <amodra@gmail.com>
+
+ * vms-misc.c (_bfd_vms_save_counted_string): Count length byte
+ towards maxlen.
+
+2020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
+
+ * po/es.po: Fix printf format.
+
+2020-10-16 Nelson Chu <nelson.chu@sifive.com>
+
+ * elfnn-riscv.c (riscv_elf_link_hash_table): Add last_iplt_index.
+ (riscv_elf_size_dynamic_sections): Initialize the last_iplt_index.
+ (riscv_elf_relocate_section): Use riscv_elf_append_rela.
+ (riscv_elf_finish_dynamic_symbol): If the use_elf_append_rela is
+ false, then we should add the dynamic relocs from the last of
+ the .rela.iplt, and don't use the riscv_elf_append_rela to add.
+
+2020-10-16 Nelson Chu <nelson.chu@sifive.com>
+
+ * elfnn-riscv.c: Include "objalloc.h" since we need objalloc_alloc.
+ (riscv_elf_link_hash_table): Add loc_hash_table and loc_hash_memory
+ for local STT_GNU_IFUNC symbols.
+ (riscv_elf_got_plt_val): Removed.
+ (riscv_elf_local_htab_hash, riscv_elf_local_htab_eq): New functions.
+ Use to compare local hash entries.
+ (riscv_elf_get_local_sym_hash): New function. Find a hash entry for
+ local symbol, and create a new one if needed.
+ (riscv_elf_link_hash_table_free): New function. Destroy an riscv
+ elf linker hash table.
+ (riscv_elf_link_hash_table_create): Create hash table for local ifunc.
+ (riscv_elf_check_relocs): Create a fake global symbol to track the
+ local ifunc symbol. Add support to check and handle the relocations
+ reference to ifunc symbols.
+ (allocate_dynrelocs): Let allocate_ifunc_dynrelocs and
+ allocate_local_ifunc_dynrelocs to handle the ifunc symbols if they
+ are defined and referenced in a non-shared object.
+ (allocate_ifunc_dynrelocs): New function. Allocate space in .plt,
+ .got and associated reloc sections for ifunc dynamic relocs.
+ (allocate_local_ifunc_dynrelocs): Likewise, but for local ifunc
+ dynamic relocs.
+ (riscv_elf_relocate_section): Add support to handle the relocation
+ referenced to ifunc symbols.
+ (riscv_elf_size_dynamic_sections): Updated.
+ (riscv_elf_adjust_dynamic_symbol): Updated.
+ (riscv_elf_finish_dynamic_symbol): Finish up the ifunc handling,
+ including fill the PLT and GOT entries for ifunc symbols.
+ (riscv_elf_finish_local_dynamic_symbol): New function. Called by
+ riscv_elf_finish_dynamic_symbol to handle the local ifunc symbols.
+ (_bfd_riscv_relax_section): Don't do the relaxation for ifunc.
+ * elfxx-riscv.c: Add R_RISCV_IRELATIVE.
+ * configure.ac: Link elf-ifunc.lo to use the generic ifunc support.
+ * configure: Regenerated.
+
+2020-10-16 Alan Modra <amodra@gmail.com>
+
+ * elf32-arc.c (replace_func): Correct return type.
+ (get_replace_function): Use a replace_func function pointer rather
+ than void*. Update associated ARC_RELOC_HOWTO define.
+
+2020-10-16 Alan Modra <amodra@gmail.com>
+
+ * elf32-cr16.c: Formatting.
+ (cr16_elf_final_link_relocate): Sign extend rather than clumsy
+ "add or subtract" of offset value. Simplify range checks. Move
+ common code out of "if" branches. Don't refetch insn fields
+ needlessly.
+
+2020-10-16 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_relocate_section): Tighten sanity check
+ on R_PPC64_GOT_LO_DS and R_PPC64_GOT_HA instructions.
+
+2020-10-09 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (write_plt_relocs_for_local_syms): Don't do local
+ entry offset optimisation.
+
+2020-10-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/26703
+ * elf-linker-x86.h (elf_linker_x86_params): Add isa_level.
+ * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Merge
+ GNU_PROPERTY_X86_ISA_1_V[234].
+ (_bfd_x86_elf_link_setup_gnu_properties): Generate
+ GNU_PROPERTY_X86_ISA_1_V[234] for -z x86-64-v[234].
+
+2020-10-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26711
+ * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Merge -z ibt
+ and -z shstk only with GNU_PROPERTY_X86_FEATURE_1_AND.
+
+2020-10-06 Brandon Bergren <bdragon@FreeBSD.org>
+
+ * config.bfd: Add powerpc64le-*-freebsd*.
+ * configure.ac: Add powerpc_elf64_fbsd_le_vec.
+ * elf64-ppc.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Define for
+ freebsd.
+ * targets.c (powerpc_elf64_fbsd_le_vec): Declare.
+ (_bfd_target_vector): Add it.
+ * configure: Regenerate.
+
+2020-10-05 Kamil Rytarowski <n54@gmx.com>
+
+ * config.bfd (aarch64-*-netbsd*, aarch64_be-*-netbsd*): Add target.
+
+2020-10-05 Nick Clifton <nickc@redhat.com>
+
+ PR 26253
+ * elf.c (_bfd_elf_setup_sections): Do not complain about an
+ sh_link value of zero when the SLF_LINK_ORDER flag is set.
+ (assign_section_numbers): Likewise.
+
+2020-10-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 26681
+ * elflink.c (bfd_elf_gc_sections): Do not arbitrarily keep note
+ sections which are linked to another section.
+
+2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ * cpu-arm.c: Add cortex-a78 and cortex-a78ae.
+
+2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ * cpu-arm.c: (processors) Add Cortex-X1.
+
+2020-09-28 Alan Modra <amodra@gmail.com>
+
+ PR 26656
+ * elf64-ppc.c (ppc_build_one_stub, ppc_size_one_stub): Check for
+ NULL stub_entry->h before calling is_tls_get_addr.
+
+2020-09-26 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Depend on has_plt_localentry0.
+ (LD_R0_0R11, ADD_R11_R0_R11): Define.
+ (ppc64_elf_tls_setup): Disable params->plt_localentry0 when power10
+ code detected.
+ (ppc64_elf_size_stubs): Update __glink_PLTresolve eh_frame.
+ (ppc64_elf_build_stubs): Move r2 save to start of __glink_PLTresolve,
+ and only emit for has_plt_localentry0. Don't use r2 in the stub.
+
+2020-09-24 Alan Modra <amodra@gmail.com>
+
+ PR 26656
+ * elf64-ppc.c (plt_stub_size): Add "odd" param. Use it with
+ size_power10_offset rather than calculating from start of stub.
+ Add size for notoc tls_get_addr_opt stub.
+ (plt_stub_pad): Add "odd" param, pass to plt_stub_size.
+ (build_tls_get_addr_head, build_tls_get_addr_tail): New functions.
+ (build_tls_get_addr_stub): Delete.
+ (ppc_build_one_stub): Use a temp for htab->params->stub_bfd.
+ Emit notoc tls_get_addr_opt stub. Move eh_frame code to
+ suit. Adjust code to use bfd_tls_get_addr_head/tail in place
+ of build_tls_get_addr_stub.
+ (ppc_size_one_stub): Size notoc tls_get_addr_opt stub.
+ Adjust plt_stub_size and plt_stub_pad calls. Correct "odd"
+ when padding stub. Size eh_frame for notoc stub too.
+ Correct lr_restore value.
+ (ppc64_elf_relocate_section): Don't skip over first insn of
+ notoc tls_get_addr_opt stub.
+
2020-09-24 Alan Modra <amodra@gmail.com>
PR 26655