+2014-04-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * (elfNN_aarch64_tls_relax): Fix instruction mask.
+
+2014-04-14 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (BA): Define
+ (ppc_elf_link_hash_table_create): Correct default_params.
+ (write_glink_stub): Pad small plt call stub with "ba 0" rather
+ than "nop" for ppc476_workaround.
+ (ppc_elf_finish_dynamic_sections): Likewise for branch table
+ and __glink_PLTresolve. Ensure plt call stub at end of page
+ doesn't allow fall-thru prefetch.
+
+2014-04-11 Nick Clifton <nickc@redhat.com>
+
+ PR ld/16821
+ * peXXigen.c (abs_finder): New function.
+ (_bfd_XXi_swap_sym_out): For absolute symbols with values larger
+ than 1^32 try to convert them into section relative values
+ instead.
+
+2014-04-11 Nick Clifton <nickc@redhat.com>
+
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+
+2014-04-10 Cesar Philippidis <cesar@codesourcery.com>
+
+ * elf32-nios2.c (nios2_elf32_build_stubs): Ignore dynobjs
+ when building function stubs.
+
+2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * elf32-avr.c: Add DIFF relocations for AVR.
+ (avr_final_link_relocate): Handle the DIFF relocs.
+ (bfd_elf_avr_diff_reloc): New.
+ (elf32_avr_is_diff_reloc): New.
+ (elf32_avr_adjust_diff_reloc_value): Reduce difference value.
+ (elf32_avr_relax_delete_bytes): Recompute difference after deleting
+ bytes.
+
+ * reloc.c: Add BFD_RELOC_AVR_DIFF8/16/32 relocations
+
+2014-04-09 Alan Modra <amodra@gmail.com>
+
+ * libcoff.h: Regenerate.
+
+2014-04-09 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (ppc_elf_relocate_section): Remove bctr from list
+ of safe ppc476 insns at end of page. Also remove non-branch insns.
+ Expand comments.
+
+2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
+
+ * peXXigen.c (pe_print_debugdata): New function: Displays the
+ contents of the debug directory and decodes codeview entries.
+ (_bfd_XXi_swap_debugdir_in, _bfd_XXi_swap_debugdir_out)
+ (_bfd_XXi_slurp_codeview_record, _bfd_XXi_write_codeview_record):
+ Add functions for reading and writing debugdir and codeview
+ records.
+ * libpei.h (_bfd_XXi_swap_debugdir_in, _bfd_XXi_swap_debugdir_out)
+ (_bfd_XXi_write_codeview_record): Add prototypes and macros.
+ * libcoff-in.h (pe_tdata): Add build-id data.
+ * libcoff.h: Regenerate.
+ * coffcode.h (coff_write_object_contents): Run build_id
+ after_write_object_contents hook.
+
+2014-04-05 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_add_default_symbol): Pass poldbfd when
+ merging non-default sym.
+
+2014-04-04 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_header_p): Reject 64 bit target when not
+ configured for.
+
+2014-04-04 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_convert_section_name_to_mach_o): Fix
+ thinko on names length.
+
+2014-04-04 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o-i386.c (bfd_mach_o_i386_swap_reloc_out): Use target index
+ of output_section.
+ * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Ditto.
+
+2014-04-04 Tristan Gingold <gingold@adacore.com>
+
+ * bfd.c (bfd_get_arch_size): Default is taken from arch.
+
+2014-04-03 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * peXXigen.c (pe_print_edata): Verify edt.name lies inside
+ section before dereferencing.
+ (pe_print_idata, pe_print_edata, pe_print_reloc)
+ (rsrc_print_section): Don't bother interpreting the contents
+ of sections which have no contents.
+
+2014-04-03 Maria Guseva <m.guseva@samsung.com>
+
+ PR ld/16803
+ * elf.c (_bfd_elf_set_section_contents): Use correct type to hold
+ file position.
+
+2014-04-03 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_mangle_symbols): Use index from
+ output_section.
+ (bfd_mach_o_build_seg_command): Add comment. Realign segment.
+ Fix style.
+ (bfd_mach_o_build_commands, bfd_mach_o_read_thread): Fix style.
+
+2014-04-03 Alan Modra <amodra@gmail.com>
+
+ * elf-bfd.h (struct elf_backend_data
+ <elf_backend_bfd_from_remote_memory>): Replace "size_t size"
+ with "bfd_size_type size".
+ (_bfd_elf32_bfd_from_remote_memory): Likewise.
+ (_bfd_elf64_bfd_from_remote_memory): Likewise.
+ * elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
+ * elfcode.h (bfd_from_remote_memory): Likewise.
+ * bfd-in.h (bfd_elf_bfd_from_remote_memory): Likewise.
+ * bfd-in2.h: Regenerate.
+
+2014-04-02 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.h (bfd_mach_o_twolevel_hints_command)
+ (bfd_mach_o_prebind_cksum_command): New types.
+ (bfd_mach_o_prebound_dylib_command): Rewrite.
+ (bfd_mach_o_load_command): Add prebind_cksum and twolevel_hints
+ fields.
+ * mach-o.c (bfd_mach_o_read_prebound_dylib): Read and decode the
+ command.
+ (bfd_mach_o_read_prebind_cksum): New function.
+ (bfd_mach_o_read_twolevel_hints): Ditto.
+ (bfd_mach_o_read_command): Handle prebind cksum and twolevel hints
+ commands.
+
+2014-04-02 Alan Modra <amodra@gmail.com>
+
+ * elfcode.h (bfd_from_remote_memory): Add "size" parameter.
+ Consolidate code handling possible section headers past end of
+ segment. Don't use p_align for page size guess, instead use
+ minpagesize. Take note of ld.so clearing section headers when
+ p_memsz > p_filesz. Handle file header specifying no section
+ headers. Handle zero p_align throughout. Default loadbase to
+ zero. Add comments. Rename contents_size to high_offset, and
+ make it a bfd_vma. Delete unnecessary bfd_set_error calls.
+ * bfd-in.h (bfd_elf_bfd_from_remote_memory): Update prototpe.
+ * elf-bfd.h (struct elf_backend_data <elf_backend_from_remote_memory>):
+ Likewise.
+ (_bfd_elf32_bfd_from_remote_memory): Likewise.
+ (_bfd_elf64_bfd_from_remote_memory): Likewise.
+ * elf.c (bfd_elf_bfd_from_remote_memory): Adjust.
+ * bfd-in2.h: Regnerate.
+
+2014-04-01 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Avoid to crash
+ when num == 0.
+
+2014-03-27 Yury Gribov <y.gribov@samsung.com>
+ Pavel Fedin <p.fedin@samsung.com>
+
+ * elf32-arm.c: Add support for limited pretty-printing of PLT
+ entries on eabi and nacl targets.
+ (elf32_arm_get_synthetic_symtab): Add new callback.
+ (elf32_arm_nacl_plt_sym_val): Likewise.
+ (elf32_arm_plt0_size): Add helper function.
+ (elf32_arm_plt_size): Likewise.
+
+2014-03-27 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_read_dylinker): Remove assert.
+ (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DYLD_ENVIRONMENT.
+
+2014-03-27 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.h (bfd_mach_o_get_base_address): New prototype.
+ * mach-o.c (bfd_mach_o_write_symtab)
+ (bfd_mach_o_write_contents)
+ (bfd_mach_o_set_section_flags_from_bfd)
+ (bfd_mach_o_build_seg_command): Fix indentation.
+ (bfd_mach_o_get_base_address): New function.
+
+2014-03-26 Nick Clifton <nickc@redhat.com>
+
+ * cofflink.c (_bfd_coff_generic_relocate_section): Skip
+ relocations in discarded sections.
+
+2014-03-26 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_convert_architecture): Add
+ BFD_MACH_O_CPU_TYPE_ARM64.
+
+2014-03-26 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_check_relocs): Account for possibly
+ needed plt entries when taking the address of functions for
+ abiversion == 0 (ie. unknown) as well as abiversion == 2.
+ Move opd setup and abiversion checks to..
+ (ppc64_elf_before_check_relocs): ..here. Renamed from
+ ppc64_elf_process_dot_syms. Set output abiversion from input and
+ input abiversion from output, if either is not set.
+ (ppc64_elf_merge_private_bfd_data): Don't merge flags here.
+ (elf_backend_check_directives): Update.
+
+2014-03-25 Will Newton <will.newton@linaro.org>
+
+ * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections):
+ Set value of DT_PLTRELSZ and DT_RELASZ based on the size
+ of input sections rather than output sections.
+
+2014-03-20 Will Newton <will.newton@linaro.org>
+
+ PR ld/16715
+ * elf32-arm.c (elf32_arm_check_relocs): Set
+ pointer_equality_needed for absolute references within
+ executable links.
+ (elf32_arm_finish_dynamic_symbol): Set st_value to zero
+ unless pointer_equality_needed is set.
+
+2014-03-19 Nick Clifton <nickc@redhat.com>
+
+ * peXXigen.c (rsrc_process_section): Add code to scan input
+ sections and record their lengths. Use these lengths to find the
+ start of each merged .rsrc section.
+
+2014-03-17 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_read_dylib): Handle lazy load dylib.
+ (bfd_mach_o_read_command): Ditto.
+
+2014-03-14 Meador Inge <meadori@codesourcery.com>
+
+ * configure.in: Add strnlen to AC_CHECK_DECLS.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * sysdep.h (strnlen): Add prototype.
+
+2014-03-14 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (ppc_elf_relocate_section): Correct overflow
+ handling for VLE_SDA21 relocs.
+
+2014-03-13 Tristan Gingold <gingold@adacore.com>
+
+ * peicode.h (pe_ILF_object_p): Adjust, as the version number
+ has been read.
+ (pe_bfd_object_p): Also read version number to detect ILF.
+ * pe-x86_64.c (COFF_WITH_PE_BIGOBJ): Define.
+ (x86_64pe_bigobj_vec): Define
+ * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_max_nscns field.
+ (bfd_coff_max_nscns): New macro.
+ (coff_compute_section_file_positions): Use unsigned int for
+ target_index. Compare with bfd_coff_max_nscns.
+ (bfd_coff_std_swap_table, ticoff0_swap_table, ticoff1_swap_table):
+ Set a value for _bfd_coff_max_nscns.
+ (header_bigobj_classid): New constant.
+ (coff_bigobj_swap_filehdr_in, coff_bigobj_swap_filehdr_out)
+ (coff_bigobj_swap_sym_in, coff_bigobj_swap_sym_out)
+ (coff_bigobj_swap_aux_in, coff_bigobj_swap_aux_out): New
+ functions.
+ (bigobj_swap_table): New table.
+ * libcoff.h: Regenerate.
+ * coff-sh.c (bfd_coff_small_swap_table): Likewise.
+ * coff-alpha.c (alpha_ecoff_backend_data): Add value for
+ _bfd_coff_max_nscns.
+ * coff-mips.c (mips_ecoff_backend_data): Likewise.
+ * coff-rs6000.c (bfd_xcoff_backend_data)
+ (bfd_pmac_xcoff_backend_data): Likewise.
+ * coff64-rs6000.c (bfd_xcoff_backend_data)
+ (bfd_xcoff_aix5_backend_data): Likewise.
+ * targets.c (x86_64pe_bigobj_vec): Declare.
+ * configure.in (x86_64pe_bigobj_vec): New vector.
+ * configure: Regenerate.
+ * config.bfd: Add bigobj object format for Windows targets.
+
+2014-03-12 Nick Clifton <nickc@redhat.com>
+
+ PR ld/16671
+ * elf32-arm.c (elf32_arm_add_symbol_hook): Check for ARM format
+ before testing for vxworks.
+
+2014-03-12 Alan Modra <amodra@gmail.com>
+
+ * Makefile.in: Regenerate.
+
+2014-03-12 Alan Modra <amodra@gmail.com>
+
+ PR 16690
+ * elf.c (copy_elf_program_header): Ignore first section lma if
+ non-alloc.
+
+2014-03-11 Alan Modra <amodra@gmail.com>
+
+ PR 16686
+ * coff-rs6000.c: Include stdint.h.
+ * coff64-rs6000.c: Likewise.
+
+2014-03-10 Tristan Gingold <gingold@adacore.com>
+
+ * ticoff.h: Removed.
+
2014-03-08 Alan Modra <amodra@gmail.com>
* elf32-ppc.c (ppc_elf_howto_raw): Correct overflow check for
2014-03-07 Pedro Alves <palves@redhat.com>
+ PR gdb/16696
* rs6000-core.c (rs6000coff_core_p): Cast pointers to bfd_vma
through ptr_to_uint instead of through long.