+2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am (ALL_MACHINES): Add cpu-iamcu.lo.
+ (ALL_MACHINES_CFILES): Likewise.
+ * archures.c (bfd_mach_iamcu): New.
+ (bfd_mach_i386_iamcu): Likewise.
+ (bfd_mach_i386_iamcu_intel_syntax): Likewise.
+ (bfd_iamcu_arch): Likewise.
+ (bfd_archures_list): Add &bfd_iamcu_arch.
+ * config.bfd (targ_selvecs): Add iamcu_elf32_vec to
+ i386_elf32_vec.
+ (targ_archs): Add bfd_iamcu_arch if needed.
+ * configure.ac: Support iamcu_elf32_vec.
+ * cpu-iamcu.c: New file.
+ * elf32-i386.c (elf32_iamcu_elf_object_p): New function.
+ Add support for iamcu_elf32_vec and elf32_iamcu_bed.
+ * targets.c (iamcu_elf32_vec): New.
+ (_bfd_target_vector): Add iamcu_elf32_vec.
+ * Makefile.in: Regenerated.
+ * bfd-in2.h: Likewise.
+ * configure: Likewise.
+
+2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfcode.h (elf_object_p): Replace EM_486 with EM_IAMCU.
+
+2015-05-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_convert_mov_to_lea): Replace input_bfd
+ and output_bfd with abfd.
+ * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
+
+2015-05-06 Toni Spets <toni.spets@iki.fi>
+
+ PR ld/18372
+ * peXXigen.c (rsrc_process_section): Skip discarded resource
+ sections.
+
+2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config.bfd: Support i[3-7]86-*-elf*.
+
+2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_backend_post_process_headers): Undef for
+ Solaris 2.
+
+2015-04-30 Nick Clifton <nickc@redhat.com>
+
+ PR 18317
+ * elf32-mep.c (MEPREL): Use bfd_elf_generic_reloc instead of
+ mep_reloc.
+ (mep_reloc): Delete unused function.
+
+2015-04-29 Nick Clifton <nickc@redhat.com>
+
+ PR 17099
+ * coff-i386.c (coff_i386_rtype_to_howto): Allow absolute PCRLONG
+ relocs.
+
+2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * elf-s390-common.c (elf_s390_merge_obj_attributes): New function.
+ * elf32-s390.c (elf32_s390_merge_private_bfd_data): Call
+ elf_s390_merge_obj_attributes.
+ * elf64-s390.c (elf64_s390_merge_private_bfd_data): New function.
+
+2015-04-24 Jiong Wang <jiong.wang@arm.com>
+
+ PR ld/18270
+ * elfnn-aarch64.c (elfNN_aarch64_size_dynamic): Count local symbol for
+ GOT_NORMAL for both sgot/srelgot section.
+ (elfNN_aarch64_final_link_relocate): Relocate against GOT entry address
+ and generate necessary runtime relocation for GOT entry.
+
+2015-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/18209
+ * archive.c (_bfd_get_elt_at_filepos): Copy is_linker_input.
+
+2015-04-24 Jiong Wang <jiong.wang@arm.com>
+
+ * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reject
+ PC-relative relocation for external symbol.
+
+2015-04-24 Nick Clifton <nickc@redhat.com>
+
+ PR 18313
+ * compress.c (decompress_contents): Zero initialse the z_stream
+ structure.
+
+2015-04-24 Nick Clifton <nickc@redhat.com>
+
+ * elf.c (_bfd_elf_is_local_label_name): Extend test for assembler
+ local labels to include local labels with a numeric suffix and
+ fake symbols.
+
+2015-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/18316
+ * section.c (SEC_MEP_VLIW): New.
+ * bfd-in2.h: Regenerated.
+
+2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/18277
+ * compress.c (bfd_compress_section_contents): Remove the
+ write_compress argument.
+ (bfd_init_section_compress_status): Updated.
+ (bfd_compress_section): Likewise.
+ * elf.c (_bfd_elf_set_reloc_sh_name): New.
+ (_bfd_elf_init_reloc_shdr): Add delay_st_name_p. Set sh_name
+ to (unsigned int) -1 if delay_st_name_p is TRUE. Use
+ _bfd_elf_set_reloc_sh_name.
+ (elf_fake_sections): Don't rename DWARF debug section for
+ linker output if it will be compressed. Instead, set
+ delay_st_name_p to TRUE and pass it to _bfd_elf_init_reloc_shdr.
+ (assign_section_numbers): Call _bfd_elf_strtab_addref only if
+ sh_name != (unsigned int) -1. Don't finalize nor assign
+ shstrtab section here. Delay setting output section names to
+ _bfd_elf_write_object_contents.
+ (_bfd_elf_compute_section_file_positions): Update comments on
+ sh_offset for shstrtab section.
+ (assign_file_positions_for_non_load_sections): Set sh_offset to
+ -1 for shstrtab section.
+ (assign_file_positions_except_relocs): Likewise.
+ (_bfd_elf_assign_file_positions_for_non_load): Set up sh_name
+ when compressing DWARF debug sections. Place shstrtab section
+ after DWARF debug sections have been compressed.
+ (_bfd_elf_write_object_contents): Setting sh_name for output
+ sections.
+
+2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/18209
+ * bfd.c (bfd): Add is_linker_input.
+ * elf.c (convert_debug_to_zdebug): New.
+ (convert_zdebug_to_debug): Likewise.
+ (_bfd_elf_make_section_from_shdr): Don't convert .debug_* to
+ .zdebug_* here. Use convert_zdebug_to_debug. Set SEC_ELF_RENAME.
+ (_bfd_elf_init_reloc_shdr): Pass a pointer to section name
+ instead of a pointer to section.
+ (elf_fake_sections): Rename the section name if SEC_ELF_RENAME
+ is set.
+ * section.c (SEC_ELF_RENAME): New.
+ * bfd-in2.h: Regenerated.
+
+2015-04-23 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (TOC_BASE_ALIGN): Define.
+ (ppc64_elf_next_toc_section): Align multi-got toc base.
+ (ppc64_elf_set_toc): Likewise initial toc base and .TOC. symbol.
+
+2015-04-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/18289
+ * elf32-i386.c (elf_i386_link_hash_entry): Add gotoff_ref.
+ (elf_i386_link_hash_newfunc): Initialize gotoff_ref to 0.
+ (elf_i386_create_dynamic_sections): Always allow copy relocs for
+ building executables.
+ (elf_i386_copy_indirect_symbol): Also copy gotoff_ref.
+ (elf_i386_check_relocs): Set gotoff_ref for R_386_GOTOFF.
+ (elf_i386_adjust_dynamic_symbol): Also allocate copy relocs for
+ PIE and R_386_GOTOFF.
+ (elf_i386_relocate_section): Allow R_386_GOTOFF in executable.
+
+2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf.c (assign_section_numbers): Always set up sh_name.
+
+2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf.c (assign_file_positions_for_non_load_sections): Iterate
+ sections by pointer.
+ (_bfd_elf_assign_file_positions_for_non_load): Likewise.
+
+2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * bfd-in.h (compressed_debug_section_type): New.
+ * compress.c (bfd_compress_section_contents): Add an argument
+ for linker write compression and always generate .zdebug_*
+ section when linking.
+ (bfd_init_section_compress_status): Pass FALSE to
+ bfd_compress_section_contents.
+ (bfd_compress_section): New function.
+ * elf.c (elf_fake_sections): For linking, set SEC_ELF_COMPRESS
+ on DWARF debug sections if COMPRESS_DEBUG is set and rename
+ section if COMPRESS_DEBUG_GABI_ZLIB isn't set.
+ (assign_file_positions_for_non_load_sections): Set sh_offset
+ to -1 if SEC_ELF_COMPRESS is set.
+ (assign_file_positions_except_relocs): Likwise.
+ (_bfd_elf_assign_file_positions_for_relocs): Renamed to ...
+ (_bfd_elf_assign_file_positions_for_non_load): This. Change
+ return time to bfd_boolean. Compress the section if
+ SEC_ELF_COMPRESS is set.
+ (_bfd_elf_write_object_contents): Updated.
+ (_bfd_elf_set_section_contents): Write section contents to
+ the buffer if SEC_ELF_COMPRESS is set.
+ * merge.c: Include "elf-bfd.h".
+ (sec_merge_emit): Add arguments for contents and offset. Write
+ to contents with offset if contents isn't NULL.
+ (_bfd_write_merged_section): Write section contents to the
+ buffer if SEC_ELF_COMPRESS is set. Pass contents and
+ output_offset to sec_merge_emit.
+ * elflink.c (bfd_elf_final_link): Allocate the buffer for
+ output section contents if SEC_ELF_COMPRESS is set.
+ * section.c (SEC_ELF_COMPRESS): New.
+ * bfd-in2.h: Regenerated.
+
+2015-04-15 Alan Modra <amodra@gmail.com>
+
+ * elf32-rl78.c (rl78_elf_relocate_section): Typo fix.
+
+2015-04-14 Nick Clifton <nickc@redhat.com>
+
+ * elf32-rl78.c (RL78_OP_REL): New macro.
+ (rl78_elf_howto_table): Use it for complex relocs.
+ (get_symbol_value): Handle the cases when the info or status
+ arguments are NULL.
+ (get_romstart): Cache the status returned by get_symbol_value.
+ (get_ramstart): Likewise.
+ (RL78_STACK_PUSH): Generate an error message if the stack
+ overflows.
+ (RL78_STACK_POP): Likewise for underflows.
+ (rl78_compute_complex_reloc): New function. Contains the basic
+ processing code for all RL78 complex relocs.
+ (rl78_special_reloc): New function. Provides special reloc
+ handling for complex relocs.
+ (rl78_elf_relocate_section): Use rl78_compute_complex_reloc.
+ (rl78_offset_for_reloc): Likewise.
+
+2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/pr17709
+ * elflink.c (_bfd_elf_adjust_dynamic_copy): Check
+ info->extern_protected_data when warning copy relocs against
+ protected symbols.
+ (_bfd_elf_symbol_refs_local_p): Check info->extern_protected_data
+ when checking protected non-function symbols.
+
+2015-04-13 John Baldwin <jhb@FreeBSD.org>
+
+ * elf.c (elfcore_grok_note): Recognize NT_X86_XSTATE on
+ FreeBSD.
+ (elfcore_write_xstatereg): Use correct note name on FreeBSD.
+
+2015-04-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/18250
+ * elflink.c (elf_link_is_defined_archive_symbol): Return FALSE
+ if the object has been claimed by plugin.
+