+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
+ kept relocations when deleting relocations.
+ * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
2015-11-09 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_relocate_section): Use read and write
* 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