Fix x86_64-rdos build fail
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 084dbe08fdee852d85534830d89f18d441160a57..a6aa1965cafb540618739f70267a21e2ae5e87e0 100644 (file)
@@ -1,5 +1,137 @@
+2019-04-08  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac (elfxx_x86): Define and use.
+       * configure: Regenerate.
+
+2019-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-linker-x86.h: New file.
+       * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
+       to get x86-specific linker options.
+       * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
+       (elf_x86_64_check_relocs): Likewise.
+       (elf_x86_64_relocate_section): Likewise.
+       (elf_x86_64_link_setup_gnu_properties): Likewise.
+       * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
+       (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
+       (_bfd_elf_linker_x86_set_options): New function.
+       * elfxx-x86.h: Include "elf-linker-x86.h".
+       (elf_x86_link_hash_table): Add params.
+
+2019-04-03  Alan Modra  <amodra@gmail.com>
+
+       * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
+       * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
+       * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
+       * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
+       * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
+       * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
+
+2019-04-02  Jim Wilson  <jimw@sifive.com>
+
+       PR 24389
+       * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
+       ELF header flags to after check for ELF object file.  Loop through
+       sections looking for code sections, if none, then skip ABI checks.
+
+2019-03-30  Andrew Waterman  <andrew@sifive.com>
+
+       * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
+       rd == X_RA case.
+
+2019-03-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
+       info->export_dynamic to the conditional.
+
+2019-03-28  Alan Modra  <amodra@gmail.com>
+
+       PR 24392
+       * configure.ac: Invoke AC_CHECK_SIZEOF(int).
+       * configure: Regenerate.
+       * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
+       workaround with SIZEOF_LONG vs. SIZEOF_INT check.
+       * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
+       * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
+       * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
+
+2019-03-21  Jim Wilson  <jimw@sifive.com>
+
+       PR 24365
+       * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
+       verify sym non-NULL before using.  Add identical check using h.
+
+2019-03-21  Sudakshina Das  <sudi.das@arm.com>
+
+       * elf-bfd.h (struct elf_backend_data): Add argument to
+       merge_gnu_properties.
+       * elf-properties.c (elf_merge_gnu_properties): Add argument to
+       itself and while calling bed->merge_gnu_properties.
+       (elf_merge_gnu_property_list): Update the calls for
+       elf_merge_gnu_properties.
+       * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
+       of --force-bti warning and add argument.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
+       warning.
+       * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
+       * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
+       declaration.
+
+2019-03-20  Sudakshina Das  <sudi.das@arm.com>
+
+       * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
+       * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
+       (elf_backend_fixup_gnu_properties): Define for AArch64.
+
+2019-03-18  Alan Modra  <amodra@gmail.com>
+
+       PR 24355
+       * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
+       for local iplt syms with ent->plt.offset == -1.  Remove ineffective
+       attempt at writing glink stubs only once.
+
+2019-03-16  Alan Modra  <amodra@gmail.com>
+
+       PR 24337
+       * elf.c (_bfd_elf_rela_local_sym): Revert last change.
+       (_bfd_elf_rel_local_sym): Likewise.
+       * elflink.c (elf_link_input_bfd): Use bfd_und_section for
+       section of symbols with unrecognized shndx.
+
 2019-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 
+       PR ld/24267
+       * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
+       section.
+       * cofflink.c (coff_link_add_symbols): Check for symbols defined
+       in discarded section.
+
+2019-03-15  Alan Modra  <amodra@gmail.com>
+
+       PR 24339
+       * elflink.c (elf_link_add_object_symbols): Bail out on a local
+       symbol after globals if elf_bad_symtab is not set.
+
+2019-03-15  Alan Modra  <amodra@gmail.com>
+
+       PR 24337
+       * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
+       (_bfd_elf_rel_local_sym): Likewise.
+
+2019-03-15  Alan Modra  <amodra@gmail.com>
+
+       PR 24336
+       * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
+       object files with sh_size not a multiple of sh_entsize.
+
+2019-03-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/24338
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
+       input with bad relocation.
+
+22019-03-15  H.J. Lu  <hongjiu.lu@intel.com>
+
        * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
 
 2019-03-14  Nick Clifton  <nickc@redhat.com>
This page took 0.024804 seconds and 4 git commands to generate.