Add markers for binutils 2.35 branch
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 146045b0b87f38035f70f130f900fe9088233b3f..5c11a17b6964b81de56ed1343a0c35346aa909bc 100644 (file)
@@ -1,3 +1,313 @@
+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
+       being unable to open a plugin if creating a list of viable
+       plugins.
+
+2020-06-16  Alan Modra  <amodra@gmail.com>
+
+       * aout-tic30.c: Delete file.
+       * Makefile.am (BFD32_BACKENDS): Remove aout-tic30.lo.
+       (BFD32_BACKENDS_CFILES): Remove aout-tic30.c.
+       * config.bfd (c30-*-*aout*, tic30-*-*aout*): Remove entry.
+       (xc16x-*-elf): Sort properly.
+       * configure.ac: Remove tic30_aout_vec.
+       * targets.c: Likewise.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (XSHAL_ABI, XTHAL_ABI_UNDEFINED)
+       (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New macros.
+       (elf32xtensa_abi): New global variable.
+       (xtensa_abi_choice): New function.
+       (elf_xtensa_create_plt_entry): Use xtensa_abi_choice instead of
+       XSHAL_ABI to select PLT code.
+
+2020-06-15  Roland McGrath  <mcgrathr@google.com>
+
+       * elflink.c (bfd_elf_define_start_stop): Use start_stop_visibility
+       field of bfd_link_info.
+
+2020-06-15  Alan Modra  <amodra@gmail.com>
+
+       * config.bfd: Obsolete powerpcle-*-pe targets.
+
+2020-06-15  Alan Modra  <amodra@gmail.com>
+
+       PR 26103
+       * elflink.c (elf_link_add_archive_symbols): Exclude undefined
+       symbols that were defined in discarded sections.
+       * cofflink.c (coff_link_check_archive_element): Likewise.
+       (coff_link_add_symbols): Set indx to -3 for symbols defined in
+       discarded sections.
+       (_bfd_coff_write_global_sym): Don't emit such symbols.
+       libcoff-in.h (struct coff_link_hash_entry): Update indx comment.
+       libcoff.h: Regenerate.
+
+2020-06-11  Alan Modra  <amodra@gmail.com>
+
+       PR 26107
+       * pdp11.c (is_stab): Replace legacy "index" function with "strchr".
+
+2020-06-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfnn-ia64.c (elfNN_ia64_link_hash_table): Remove reltext.
+       (allocate_dynrel_entries): Set DF_TEXTREL instead of reltext.
+       (elfNN_ia64_size_dynamic_sections): Check DF_TEXTREL instead
+       of reltext.
+
+2020-06-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26094
+       * elflink.c (bfd_elf_define_start_stop): Handle common symbols.
+       Clear verinfo.verdef.
+
+2020-06-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18801
+       * elf-bfd.h (elf_link_hash_table): Add ifunc_resolvers.
+       (_bfd_elf_allocate_ifunc_dyn_relocs): Remove the
+       bfd_boolean * argument.  Set ifunc_resolvers if there are IFUNC
+       resolvers.
+       * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Updated.
+       Set ifunc_resolvers if there are FUNC resolvers.
+       * elf64-ppc.c (ppc_link_hash_table): Remove local_ifunc_resolver.
+       (build_global_entry_stubs_and_plt): Replace local_ifunc_resolver
+       with elf.ifunc_resolvers.
+       (write_plt_relocs_for_local_syms): Likewise.
+       (ppc64_elf_relocate_section): Likewise.
+       (ppc64_elf_finish_dynamic_sections): Likewise.
+       * elfnn-aarch64.c (elfNN_aarch64_allocate_ifunc_dynrelocs):
+       Updated.
+       * elfxx-x86.c (elf_x86_allocate_dynrelocs): Likewise.
+       (_bfd_x86_elf_size_dynamic_sections): Check elf.ifunc_resolvers
+       instead of readonly_dynrelocs_against_ifunc.
+       * elfxx-x86.h (elf_x86_link_hash_table): Remove
+       readonly_dynrelocs_against_ifunc.
+
 2020-06-09  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (struct ppc_link_hash_table): Delete
        (aout_link_add_symbols): e517df3dbf7 PR 19629 - Check for out of
        range string table offsets.
        531336e3a0b PR 20909 - Fix off-by-one error in check for an
-       illegal string offset. 
+       illegal string offset.
        (aout_link_includes_newfunc): Add comment.
        (pdp11_aout_link_input_section): ad756e3f9e6 - Return with an error
        on unexpected relocation type rather than ASSERT.
This page took 0.027433 seconds and 4 git commands to generate.