x86: Move x86-specific linker options to elf_linker_x86_params
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index d0daa375fc1bff625e3b96647c158b3626798252..72156b972244c331314a27602453181f5f4c4259 100644 (file)
@@ -1,3 +1,77 @@
+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.
This page took 0.025497 seconds and 4 git commands to generate.