bfd: fix build with --enable-targets=all in 32-bit hosts
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 0b68dc0a991586f4094b9c39824730f2bf303c53..aa0a38db3aabd1c1beb07d724037f79211ad7e63 100644 (file)
@@ -1,3 +1,178 @@
+2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
+       * configure.ac: Set target_size=64 for bpf_elf64_le_vec and
+       bpf_elf64_be_vec.
+       * configure: Regenerate.
+
+2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * configure: Regenerated.
+       * Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
+       (ALL_MACHINES_CFILES): Add cpu-bpf.c.
+       (BFD64_BACKENDS): Add elf64-bpf.lo.
+       (BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
+       * Makefile.in (SOURCE_HFILES): Regenerate.
+       * config.bfd (targ_cpu): Handle bpf-*-* targets.
+       * cpu-bpf.c: New file.
+       * elf64-bpf.c: Likewise.
+       * targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
+       bpf_elf64_le_vec.
+       * archures.c: Define architecture bfd_arch_bpf and machine
+       bfd_arch_bpf.
+       * reloc.c: Define BFD relocations used by the BPF target.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Likewise.
+
+2019-05-22  Alan Modra  <amodra@gmail.com>
+
+       * elf32-arm.c (arm_allocate_glue_section_space): Clear section
+       contents.
+
+2019-05-22  Alan Modra  <amodra@gmail.com>
+
+       * vms-alpha.c (_bfd_vms_write_etir): Don't attempt further
+       processing on "size error in section".
+
+2019-05-22  Alan Modra  <amodra@gmail.com>
+
+       * som.c (som_bfd_free_cached_info): Call
+       _bfd_generic_close_and_cleanup.
+
+2019-05-21  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs): Generate error
+       for TLS_TPREL_HI16(/LO16) relocations in shared library.
+
+2019-05-21  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
+       checks.  Search the RELA table for n64 relocations.
+
+2019-05-21  Matthew Fortune  <matthew.fortune@mips.com>
+           Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * elfxx-mips.c (LA25_BC): New macro.
+       (mips_elf_link_hash_table)<compact_branches>: New field.
+       (STUB_JALRC): New macro.
+       (mipsr6_o32_exec_plt0_entry_compact): New array.
+       (mipsr6_n32_exec_plt0_entry_compact): Likewise.
+       (mipsr6_n64_exec_plt0_entry_compact): Likewise.
+       (mipsr6_exec_plt_entry_compact): Likewise.
+       (mips_elf_create_la25_stub): Use BC instead of J for stubs
+       when compact_branches is true.
+       (_bfd_mips_elf_finish_dynamic_symbol): Choose the compact
+       PLT for MIPSR6 with compact_branches.  Do not reorder the
+       compact branches PLT.  Switch the lazy stub for MIPSR6
+       with compact_branches to use JALRC.
+       (mips_finish_exec_plt): Choose the compact PLT0 for MIPSR6
+       when compact_branches is true.
+       (_bfd_mips_elf_compact_branches): New function.
+       * elfxx-mips.h (_bfd_mips_elf_compact_branches): New prototype.
+
+2019-05-21  Tamar Christina  <tamar.christina@arm.com>
+
+       PR ld/24373
+       * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
+       Fix print formatter.
+
+2019-05-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       PR 24460
+       * elf32-arm.c (get_value_helper): Remove.
+       (elf32_arm_final_link_relocate): Fix branch future relocations.
+
+2019-05-21  Tamar Christina  <tamar.christina@arm.com>
+
+       PR ld/24373
+       * bfd-in.h (enum erratum_84319_opts): New
+       (bfd_elf64_aarch64_set_options, bfd_elf32_aarch64_set_options): Change
+       int to enum erratum_84319_opts.
+       * bfd-in2.h: Regenerate.
+       * elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Change
+       fix_erratum_843419 to use new enum, remove fix_erratum_843419_adr.
+       (_bfd_aarch64_add_stub_entry_after): Conditionally create erratum stub.
+       (aarch64_size_one_stub): Conditionally size erratum 843419 stubs.
+       (_bfd_aarch64_resize_stubs): Amend comment.
+       (elfNN_aarch64_size_stubs): Don't generate stubs when no workaround
+       requested.
+       (bfd_elfNN_aarch64_set_options): Use new fix_erratum_843419 enum.
+       (_bfd_aarch64_erratum_843419_branch_to_stub): Implement selection of
+       erratum workaround.
+       (clear_erratum_843419_entry): Update erratum conditional.
+
+2019-05-21  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>
+
+       PR ld/24571
+       * bfd/elf32-avr.c (elf32_avr_relax_section): Adjust range check
+       when computing distance_short_enough.
+
+2019-05-21  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>
+
+       PR ld/24564
+       * bfd/elf32-avr.c (avr_relative_distance_considering_wrap_around):
+       Wrap around even if distance equals avr_pc_wrap_around.
+
+2019-05-20  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2019-05-16  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add case for Tag_MVE_arch.
+
+2019-05-16  Alan Modra  <amodra@gmail.com>
+
+       * elf32-arm.c (elf32_arm_write_section): Revert last change.
+
+2019-05-15  Alan Modra  <amodra@gmail.com>
+
+       * elf32-arm.c (elf32_arm_write_section): Don't leave
+       error case of STM32L4XX_ERRATUM_BRANCH_TO_VENEER with
+       unitialised section contents.
+
+2019-05-14  Jamey Hicks  <jamey.hicks@gmail.com>
+
+       PR 19921
+       * verilog.c: (VerilogDataWidth): New variable.
+       (verilog_write_record): Emit bytes in VerilogDataWidth bundles.
+
+2019-05-08  Nick Clifton  <nickc@redhat.com>
+
+       PR 24523
+       * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
+       rather than FALSE if encountering a non-ELF file.
+
+2019-05-06  Alan Modra  <amodra@gmail.com>
+
+       * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
+
+2019-05-06  Alan Modra  <amodra@gmail.com>
+
+       * reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
+       (BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
+       Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2019-05-04  Alan Modra  <amodra@gmail.com>
+
+       PR 24511
+       * syms.c (coff_section_type): Only allow '.', '$' and numeric
+       following the standard section names.
+       (bfd_decode_symclass): Prioritize section flag tests in
+       decode_section_type before name tests in coff_section_type.
+       * plugin.c (bfd_plugin_canonicalize_symtab): Init fake_section
+       and fake_common_section using BFD_FAKE_SECTION.  Use "fake" as
+       their names and choose standard .text section flags for
+       fake_section.
+
+2019-05-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 24493
+       * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
+       .gnu.debugaltlink sections as debugging sections.
+
 2019-04-30  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
This page took 0.024854 seconds and 4 git commands to generate.