Bump to autoconf 2.69 and automake 1.15.1
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 1f6a85f7e07e29e5f339aeeb8b68fe44e5ae287d..3677a059380ba19d309fc7d3e3ad2718d1b0fd3e 100644 (file)
@@ -1,3 +1,255 @@
+2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
+       (INCLUDES): Rename to ...
+       (AM_CPPFLAGS): ... this.
+       * configure.ac: Remove AC_PREREQ.
+       * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add
+       info-in-builddir no-texinfo.tex.
+       (info_TEXINFOS): Rename bfd.texinfo to bfd.texi.
+       * doc/bfd.texinfo: Rename to ...
+       * doc/bfd.texi: ... this.
+       * Makefile.in: Re-generate.
+       * aclocal.m4: Re-generate.
+       * config.in: Re-generate.
+       * configure: Re-generate.
+       * doc/Makefile.in: Re-generate.
+
+2018-06-18  Mephi  <mephi42@gmail.com>
+
+       PR 23297
+       * mach-o-x86-64.c (x86_64_howto_table): Add entry for
+       BFD_RELOC_MACH_O_X86_64_RELOC_TLV.
+       (bfd_mach_o_x86_64_canonicalize_one_reloc): Handle the new reloc.
+       (bfd_mach_o_x86_64_swap_reloc_out): Likewise.
+       * reloc.c (BFD_RELOC_MACH_O_X86_64_TV): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2018-06-14  Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+       * elfxx-mips.c (print_mips_ases): Add GINV extension.
+
+2018-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/23267
+       * elf.c (_bfd_elf_get_symbol_version_string): Check if the first
+       symbol version is base version.
+
+2018-06-14  Alan Modra  <amodra@gmail.com>
+
+       * elf-bfd.h (struct elf_link_hash_table): Add "dynamic_relocs".
+       * elflink.c (_bfd_elf_init_2_index_sections): Comment fix.
+       (_bfd_elf_add_dynamic_entry): Set "dynamic_relocs".
+       (_bfd_elf_link_renumber_dynsyms): Exclude all section symbols when
+       "dynamic_relocs" is not set.
+       * elfxx-mips.c (count_section_dynsyms): Likewise.
+
+2018-06-14  Alan Modra  <amodra@gmail.com>
+
+       PR 23282
+       * bfdio.c (bfd_seek): Optimize away seeks to current position.
+
+2018-06-13  Scott Egerton  <scott.egerton@imgtec.com>
+           Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+       * elfxx-mips.c (print_mips_ases): Add CRC.
+
+2018-06-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23161
+       * elfxx-x86.c (elf_x86_hide_linker_defined): New function.
+       (_bfd_x86_elf_link_check_relocs): Use it to hide hidden
+       __bss_start, _end and _edata in shared libraries.
+
+2018-06-07  Alan Modra  <amodra@gmail.com>
+
+       * elf32-tic6x.c (elf32_tic6x_check_relocs): Reference
+       __c6xabi_DSBT_BASE explicitly for R_C6000_SBR_* relocs.
+
+2018-06-05  Alan Modra  <amodra@gmail.com>
+
+       * bfd.c (struct bfd): Update comment on "where" usage.
+       * bfdio.c (bfd_bwrite, bfd_stat): Use and update "iovec",
+       "iostream", and "where" from containing archive file.  Return
+       error on NULL iovec.
+       (bfd_bread): Similarly, and return error attempted out of
+       bounds archive element access.
+       (bfd_tell, bfd_flush): Use and update "iovec", "iostream", and
+       "where" from containing archive file.
+       (bfd_seek): Likewise.  Return error on NULL iovec.  Don't
+       attempt to optimize away seeks.  Don't paper over errors by
+       calling bfd_tell.
+       (bfd_get_mtime): Call bfd_stat rather than iovec->bstat.
+       (bfd_get_size): Likewise.
+       (bfd_mmap): Operate on and use iovec of containing archive
+       file.  Return error on NULL iovec.
+       * cache.c (bfd_cache_lookup_worker): Abort if working on
+       archive element bfd.
+       (cache_bread_1): Delete bfd parameter, add FILE* parameter.
+       Don't ignore zero byte reads.
+       (cache_bread): Look up FILE* in cache here.  Error on NULL
+       lookup.
+       (cache_bwrite): Rename "where" to "from".
+       (cache_bmmap): Don't handle archive elements.
+       * coffcode.h (coff_slurp_line_table): Exit early on zero
+       lineno count.
+       * bfd-in2.h: Regenerate.
+
+2018-06-05  Alan Modra  <amodra@gmail.com>
+
+       PR 23254
+       * plugin.c (bfd_plugin_open_input): Allow for possibility of
+       nested archives.  Open file again for plugin.
+       (try_claim): Don't save and restore file position.  Close file
+       if not claimed.
+       * sysdep.h (O_BINARY): Define.
+
+2018-06-04  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (xtensa_read_table_entries): Make global.
+       (compute_fill_extra_space): Drop declaration. Rename function to
+       xtensa_compute_fill_extra_space.
+       (compute_ebb_actions, remove_dead_literal): Update references to
+       compute_fill_extra_space.
+
+2018-06-04  Volodymyr Arbatov  <arbatov@cadence.com>
+
+       * elf32-xtensa.c (elf32xtensa_separate_props): New global
+       variable.
+       (xtensa_add_names): New function.
+       (xtensa_property_section_name): Add new parameter
+       separate_sections, use it to choose property section name.
+       (xtensa_get_separate_property_section): New function.
+       (xtensa_get_property_section): Invoke
+       xtensa_get_separate_property_section to get individual property
+       section if it exists, common property section otherwise.
+       (xtensa_make_property_section): Pass elf32xtensa_separate_props
+       to xtensa_property_section_name.
+
+2018-06-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/23146
+       * bfd-in.h: Include "diagnostics.h".
+       * bfd-in2.h: Regenerated.
+       * elf32-arm.c (elf32_arm_nabi_write_core_note): Use
+       DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and
+       DIAGNOSTIC_POP to silence GCC 8.1 warnings with
+       -Wstringop-truncation.
+       * elf32-ppc.c (ppc_elf_write_core_note): Likewse.
+       * elf32-s390.c (elf_s390_write_core_note): Likewse.
+       * elf64-ppc.c (ppc64_elf_write_core_note): Likewse.
+       * elf64-s390.c (elf_s390_write_core_note): Likewse.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse.
+
+2018-06-03  Jim Wilson  <jimw@sifive.com>
+
+       PR ld/23244
+       * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Check
+       for and handle an undefined weak with no PLT.
+
+       PR ld/22756
+       * elfnn-riscv.c (riscv_relax_delete_bytes): Add versioned_hidden check
+       to code that ignores duplicate symbols.
+
+2018-06-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.m4: Bump version to 2.30.52
+       * configure: Regenerated.
+
+2018-06-01  Alan Modra  <amodra@gmail.com>
+
+       * bfd.c (_bfd_error_handler): Arrange for this function to be
+       declared in bfd-in2.h.
+       * libbfd-in.h (_bfd_error_handler): Don't declare.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2018-05-30  Amaan Cheval <amaan.cheval@gmail.com>
+
+       * config.bfd (x86_64-*-*): Add pei-x86-64 target to x86_64-*-rtems*
+       This is needed to generate UEFI application image files from ELFs.
+
+2018-05-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_lazy_plt): Add plt_tlsdesc_entry,
+       plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset,
+       plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and
+       plt_tlsdesc_got2_insn_end for TLSDESC entry.
+       (elf_i386_lazy_ibt_plt): Likewise.
+       (elf_i386_nacl_plt): Likewise.
+       * elf64-x86-64.c (tlsdesc_plt_entry): Moved and renamed to ...
+       (elf_x86_64_tlsdesc_plt_entry): This.
+       (elf_x86_64_lazy_plt): Add plt_tlsdesc_entry,
+       plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset,
+       plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and
+       plt_tlsdesc_got2_insn_end for TLSDESC entry.
+       (elf_x86_64_lazy_bnd_plt): Likewise.
+       (elf_x86_64_lazy_ibt_plt): Likewise.
+       (elf_x32_lazy_ibt_plt): Likewise.
+       (elf_x86_64_nacl_plt): Likewise.
+       (elf_x86_64_finish_dynamic_sections): Use plt_tlsdesc_entry,
+       plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset,
+       plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and
+       plt_tlsdesc_got2_insn_end to update TLSDESC entry.
+       * elfxx-x86.h (elf_x86_lazy_plt_layout): Update comments.
+       Add plt_tlsdesc_entry, plt_tlsdesc_entry_size,
+       plt_tlsdesc_got1_offset, plt_tlsdesc_got2_offset,
+       plt_tlsdesc_got1_insn_end and plt_tlsdesc_got2_insn_end.
+       (elf_x86_non_lazy_plt_layout): Update comments.
+       (elf_x86_plt_layout): Likewise.
+
+2018-05-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23238
+       * elf-s390-common.c (elf_s390_add_symbol_hook): Removed.
+       * elf32-arc.c (elf_arc_add_symbol_hook): Likewise.
+       (elf_backend_add_symbol_hook): Likewise.
+       * elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise.
+       (elf_backend_add_symbol_hook): Likewise.
+       * elf32-s390.c (elf_backend_add_symbol_hook): Likewise.
+       * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
+       (elf_backend_add_symbol_hook): Likewise.
+       * elf64-s390.c (elf_backend_add_symbol_hook): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise.
+       * elfxx-aarch64.h (_bfd_aarch64_elf_add_symbol_hook): Likewise.
+       (elf_backend_add_symbol_hook): Likewise.
+       * elf32-arm.c (elf32_arm_add_symbol_hook): Remove STT_GNU_IFUNC
+       handling.
+       * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
+       * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
+       * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
+       * elflink.c (elf_link_add_object_symbols): Set
+       elf_gnu_symbol_ifunc for STT_GNU_IFUNC symbols.
+
+2018-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23194
+       * elf-bfd.h (_bfd_elf_link_hide_sym_by_version): New.
+       * elflink.c (_bfd_elf_link_hide_versioned_symbol): New function.
+       Extracted from _bfd_elf_link_assign_sym_version.
+       (_bfd_elf_link_hide_sym_by_version): New function.
+       (_bfd_elf_link_assign_sym_version): Use
+       _bfd_elf_link_hide_versioned_symbol.
+       * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Call
+       _bfd_elf_link_hide_sym_by_version instead of
+       bfd_hide_sym_by_version.  Don't check unversioned symbol.
+
+2018-05-25  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2018-05-25  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac (bfd_cv_hidden): Run test with -Werror in CFLAGS.
+       * configure: Regenerate.
+
+2018-05-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-ppc.c (ppc64_elf_write_core_note): Add ATTRIBUTE_NONSTRING
+       to data.
+
 2018-05-22  Alan Modra  <amodra@gmail.com>
 
        PR 23207
This page took 0.028004 seconds and 4 git commands to generate.