sparc: support %dN and %qN syntax for FP registers.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 5fcaaef074afa389babcd85496bcb2c770f9cfc5..2473d6ef3b1fcb2ca97886391712fa0dfdf903c4 100644 (file)
@@ -1,3 +1,291 @@
+2015-12-08  DJ Delorie  <dj@redhat.com>
+
+       * elf32-rl78.c (rl78_offset_for_reloc): Add more relocs.
+       (rl78_elf_relax_section): Add bc/bz/bnc/bnz/bh/bnh.  Fix reloc
+       choices.
+
+       * elf32-rx.c (rx_elf_object_p): Ignore empty and nobits sections.
+
+2015-12-07  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-rx.c (elf32_rx_relax_delete_bytes): Add extra parameter -
+       the start of the relocs for the section.  Delete code to load in
+       the relocs.
+       (elf32_rx_relax_section): Do not free the loaded relocs.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Don't error on local ifunc
+       plt call.  Wrap long lines.
+       (ppc_elf_relocate_section): Wrap long lines.
+       * elf64-ppc.c (ppc64_elf_check_relocs): Don't error on local ifunc
+       plt calls.  Move __tls_get_addr checks later.  Don't create plt
+       for addr14/addr24 relocs.
+       (ppc64_elf_gc_sweep_hook): Adjust to suit check_relocs changes.
+       (ppc64_elf_relocate_section): Correct local ifunc handling for
+       PLT64, PLT32 and PLT16 relocs.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       PR19323
+       * elfcode.h (elf_object_p): Check for ridiculous e_shnum and
+       e_phnum values.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * reloc.c (BFD_RELOC_PPC64_ENTRY): New.
+       * elf64-ppc.c (reloc_howto_type ppc64_elf_howto_raw): Add
+       entry for R_PPC64_ENTRY.
+       (LD_R2_0R12, ADD_R2_R2_R12, LIS_R2, ADDIS_R2_R12): Define.
+       (ppc64_elf_reloc_type_lookup): Handle R_PPC64_ENTRY.
+       (ppc64_elf_relocate_section): Edit code at R_PPC64_ENTTY.  Use
+       new insn defines.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2015-12-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * config.bfd: Mark sh5*-*-* and sh64*-*-* as obsolete.
+
+2015-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_convert_load): Skip if addend isn't 0.
+       (elf_i386_relocate_section): Skip R_386_GOT32X optimization if
+       addend isn't 0.
+
+2015-12-04  Tristan Gingold  <gingold@adacore.com>
+
+       * elf.c (rewrite_elf_program_header): Remove useless loop.
+
+2015-12-02  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/19315
+       * dwarf2.c (_bfd_elf_find_function): Return symbol matched.
+       (_bfd_dwarf2_find_nearest_line): Check symbol returned above
+       against dwarf range.
+       * elf-bfd.h (_bfd_elf_find_function): Update prototype.
+
+2015-12-02  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_tls_optimize): Don't segfault on NULL
+       symbol section or output section.
+       (ppc64_elf_edit_toc): Similarly for ld -R objects.
+       (ppc64_elf_size_stubs): Likewise.
+
+2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19319
+       * elf32-i386.c (elf_i386_convert_load): Check h->def_regular
+       instead of bfd_link_hash_new.
+       * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.  Skip
+       relocation overflow for bfd_link_hash_undefined and
+       bfd_link_hash_new if h->def_regular is set.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * aoutx.h (adjust_sizes_and_vmas): Remove unused text_size and
+       text_end parameters.  Update callers.
+       * aout-tic30.c: Update adjust_sizes_and_vmas callers.
+       * hp300hpux.c: Likewise.
+       * i386lynx.c: Likewise.
+       * libaout.h: Likewise.
+       * netbsd.h: Likewise.
+       * pdp11.c: Likewise.
+       * riscix.c: Likewise.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * aout-adobe.c: Invoke aout N_* macros with pointer to
+       struct internal_exec.
+       * aout-arm.c: Likewise.
+       * aout-cris.c: Likewise.
+       * aout-target.h: Likewise.
+       * aout-tic30.c: Likewise.
+       * aoutf1.h: Likewise.
+       * aoutx.h: Likewise.
+       * bout.c: Likewise.
+       * freebsd.h: Likewise.
+       * gen-aout.c: Likewise.
+       * hp300hpux.c: Likewise.
+       * i386aout.c: Likewise.
+       * i386linux.c: Likewise.
+       * i386lynx.c: Likewise.
+       * i386mach3.c: Likewise.
+       * i386os9k.c: Likewise.
+       * libaout.h: Likewise.
+       * m68klinux.c: Likewise.
+       * m88kmach3.c: Likewise.
+       * mipsbsd.c: Likewise.
+       * netbsd.h: Likewise.
+       * pc532-mach.c: Likewise.
+       * pdp11.c: Likewise.
+       * riscix.c: Likewise.
+       * sparclinux.c: Likewise.
+       * sparclynx.c: Likewise.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * coff-rs6000.c (_bfd_xcoff_put_symbol_name): Replace abfd param
+       with info param.  Test info->traditional_format rather than
+       BFD_TRADITIONAL_FORMAT flag.
+       * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Likewise.
+       * libxcoff.h (struct xcoff_backend_data_rec): Update
+       _xcoff_put_symbol_name prototype.
+       (bfd_xcoff_put_symbol_name): Add info param.
+       * xcofflink.c (xcoff_find_tc0): Update bfd_xcoff_put_symbol_name call.
+       (xcoff_write_global_symbol): Likewise.
+       (xcoff_link_input_bfd): Test info->traditional_format rather than
+       BFD_TRADITIONAL_FORMAT flag.
+       * cofflink.c (_bfd_coff_final_link): Likewise.
+       (_bfd_coff_link_input_bfd, _bfd_coff_write_global_sym): Likewise.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * po/SRC-POTFILES.in: Regenerate.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * elf32-arc.c (ARC_ELF_HOWTO): Delete.
+       (arc_elf_howto): New function.
+       (bfd_elf32_bfd_reloc_type_lookup): Use it in place of existing
+       init code.
+       (bfd_elf32_bfd_reloc_name_lookup): Use arc_elf_howto.
+       (arc_info_to_howto_rel, elf_arc_relocate_section): Likwise.
+       (elf_arc_check_relocs): Likewise.
+
+2015-12-01  Cupertino Miranda  <cupertino.miranda@synopsys.com>
+
+       * elf32-arc.c (arc_elf_howto_init): Init dst_mask.
+
+2015-11-20  Stefan Teleman  <stefan.teleman@oracle.com>
+
+       PR ld/19260
+       * cache.c (bfd_cache_max_open): Avoid using getrlimit on 32-bit
+       Solaris as the result is unreliable.
+
+2015-11-20  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o-x86-64.c (x86_64_howto_table): Change name here too.
+
+2015-11-20  Tristan Gingold  <gingold@adacore.com>
+
+       * targets.c (aarch64_mach_o_vec, arm_mach_o_vec): Declare.
+       (_bfd_target_vector): Add new vectors.
+       * reloc.c (BFD_RELOC_MACH_O_SUBTRACTOR32)
+       (BFD_RELOC_MACH_O_SUBTRACTOR64, BFD_RELOC_MACH_O_ARM64_ADDEND)
+       (BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21)
+       (BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12)
+       (BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT): New relocations.
+       (BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32)
+       (BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64): Remove.
+       * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Change
+       name of subtractor relocations.
+       * config.bfd: Handle aarch64-*-darwin*, arm-*-darwin*.
+       * Makefile.am (BFD32_BACKENDS): Add mach-o-arm.lo.
+       (BFD32_BACKENDS_CFILES): Add mach-o-arm.c.
+       (BFD64_BACKENDS): Add mach-o-aarch64.lo.
+       (BFD64_BACKENDS_CFILES): Add mach-o-aarch64.c.
+       * configure.ac: Handle aarch64_mach_o_vec and arm_mach_o_vec.
+       * mach-o-aarch64.c: New file.
+       * mach-o-arm.c: New file.
+       * Makefile.in: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * configure: Regenerate.
+       * libbfd.h: Regenerate.
+
+2015-11-20  David Bridgham  <dab@froghouse.org>
+
+       * pdp11.c (TARGET_PAGE_SIZE): Set to 256 to match definition in
+       ld/emulparams/pdp11.sh.
+
+2015-11-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       PR ld/19263
+       * elf32-s390.c (elf_s390_gc_sweep_hook): Add null ptr check.
+       * elf64-s390.c (elf_s390_check_relocs): Port the GOTOFF handling
+       over from the 32 bit code.
+       (elf_s390_relocate_section): Likewise.
+
+2015-11-18  Alan Modra  <amodra@gmail.com>
+
+       PR 19256
+       * archive.c (bfd_generic_openr_next_archived_file): Don't allow
+       backward file movement via "negative" sizes.
+       * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Likewise.
+
+2015-11-18  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o.h (bfd_mach_o_swap_in_non_scattered_reloc)
+       (bfd_mach_o_canonicalize_non_scattered_reloc)
+       (bfd_mach_o_pre_canonicalize_one_reloc): Declare.
+       (bfd_mach_o_backend_data): Rename field
+       _bfd_mach_o_swap_reloc_in to _bfd_mach_o_canonicalize_one_reloc.
+       * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): Now public.
+       (bfd_mach_o_canonicalize_non_scattered_reloc): Renames from
+       bfd_mach_o_canonicalize_one_reloc.
+       (bfd_mach_o_pre_canonicalize_one_reloc): New function.
+       (bfd_mach_o_canonicalize_relocs): Adjust.
+       (bfd_mach_o_canonicalize_relocs): Rename define from
+       bfd_mach_o_swap_reloc_in.
+       * mach-o-target.c (TARGET_NAME_BACKEND): Use
+       bfd_mach_o_canonicalize_one_reloc instead of
+       bfd_mach_o_swap_reloc_in.
+       * mach-o-i386.c (bfd_mach_o_i386_canonicalize_one_reloc): Renames
+       from bfd_mach_o_i386_swap_reloc_in and adjust.
+       (bfd_mach_o_canonicalize_one_reloc): Renames from
+       bfd_mach_o_i386_canonicalize_one_reloc.
+       * mach-o-x86_64.c (bfd_mach_o_x86_64_canonicalize_one_reloc): Renames
+       from bfd_mach_o_x86_64_swap_reloc_in and adjust.
+       (bfd_mach_o_canonicalize_one_reloc): Renames from
+       bfd_mach_o_x86_64_canonicalize_one_reloc.
+
+2015-11-18  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o.h (struct mach_o_data_struct): Add hdr_offset field.
+       (bfd_mach_o_fat_archive_p): Renames prototype.
+       (bfd_mach_o_fat_openr_next_archived_file): Renames.
+       (bfd_mach_o_header_p): Add argument.
+       * mach-o.c (bfd_mach_o_read_header): Add hdr_off argument and
+       use it.
+       (bfd_mach_o_read_section_32, bfd_mach_o_read_section_64)
+       (bfd_mach_o_read_section): Remove offset argument.
+       (bfd_mach_o_read_dylinker): Remove bfd_seek call.
+       (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib)
+       (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints)
+       (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab)
+       (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid)
+       (bfd_mach_o_read_linkedit, bfd_mach_o_read_str)
+       (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min)
+       (bfd_mach_o_read_encryption_info): Likewise.
+       (bfd_mach_o_read_encryption_info_64): New function.
+       (bfd_mach_o_read_main, bfd_mach_o_read_source_version)
+       (bfd_mach_o_read_segment): Remove call to bfd_seek.
+       (bfd_mach_o_read_command): Use hdr_offset in bfd_seek.
+       Handle BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT,
+       BFD_MACH_O_LC_ENCRYPTION_INFO_64, BFD_MACH_O_LC_VERSION_MIN_WATCHOS.
+       (bfd_mach_o_header_p): Add hdr_off argument.
+       (bfd_mach_o_gen_object_p, bfd_mach_o_gen_core_p): Adjust calls.
+       (bfd_mach_o_fat_archive_p): Renames.
+       (bfd_mach_o_fat_openr_next_archived_file): Renames.
+       (bfd_mach_o_close_and_cleanup): Remove useless code.
+       (bfd_mach_o_close_and_cleanup): Define.
+       * mach-o-x86-64.c (bfd_mach_o_x86_64_object_p)
+       (bfd_mach_o_x86_64_core_p): Adjust calls.
+       * mach-o-target.c: Move defines for archive from mach-o.c.
+       Remove check on TARGET_ARCHIVE.
+       * mach-o-i386.c (bfd_mach_o_i386_object_p)
+       (bfd_mach_o_i386_core_p): Adjust calls.
+
+2015-11-17  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * elf32-arm.c (elf32_arm_write_section): Force offset output as
+       long (%ld).
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * version.m4: Bump version to 2.26.51
+       * configure: Regenerate.
+
 2015-11-11  Alan Modra  <amodra@gmail.com>
             Peter Bergner <bergner@vnet.ibm.com>
 
This page took 0.026835 seconds and 4 git commands to generate.