+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>
+
+ * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_REL16DX_HA.
+ (ppc_elf_reloc_type_lookup): Handle R_PPC_REL16DX_HA.
+ (ppc_elf_addr16_ha_reloc): Likewise.
+ (ppc_elf_check_relocs): Likewise.
+ (ppc_elf_relocate_section): Likewise.
+ (is_insn_dq_form): Handle lxv and stxv instructions.
+ * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_REL16DX_HA.
+ (ppc64_elf_reloc_type_lookup): Handle R_PPC64_REL16DX_HA.
+ (ppc64_elf_ha_reloc): Likewise.
+ (ppc64_elf_check_relocs): Likewise.
+ (ppc64_elf_relocate_section): Likewise.
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Likewise.
+ * reloc.c (BFD_RELOC_PPC_REL16DX_HA): New.
+
+2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_relocate_section): Handle VTINHERIT
+ and VTENTRY relocations when deleting relocations.
+ * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_relocate_section): Properly move
* config.bfd (targ_selvecs, targ64_selvecs): Add iamcu_elf32_vec,
i386_pei_vec and x86_64_pei_vec for Solaris2/x86.
-2015-10-02 Renlin Li <renlin.li@arm.com>
-
- * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Add
- TLSIE_MOVW_GOTTPREL_G1.
- (aarch64_tls_transition_without_check): Add
- TLSIE_MOVW_GOTTPREL_G1 to TLSLE_MOVW_TPREL_G2
- transition for local symbol.
- (elfNN_aarch64_tls_relax): Add a argument to pass tp offset.
- Add TLSIE_MOVW_GOTTPREL_G1 relaxation.
- (elfNN_aarch64_relocate_section): Call elfNN_aarch64_tls_relax
- with new argument.
-
2015-10-02 Renlin Li <renlin.li@arm.com>
* elfnn-aarch64.c (aarch64_tls_transition_without_check): Add