binutils ChangeLog rotation
authorAlan Modra <amodra@gmail.com>
Fri, 1 Jan 2016 10:42:53 +0000 (21:12 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Jan 2016 12:29:17 +0000 (22:59 +1030)
44 files changed:
bfd/ChangeLog [deleted file]
bfd/ChangeLog-2015 [new file with mode: 0644]
bfd/doc/ChangeLog [deleted file]
bfd/doc/ChangeLog-0415 [new file with mode: 0644]
binutils/ChangeLog [deleted file]
binutils/ChangeLog-2015 [new file with mode: 0644]
binutils/testsuite/ChangeLog [deleted file]
binutils/testsuite/ChangeLog-1215 [new file with mode: 0644]
elfcpp/ChangeLog [deleted file]
elfcpp/ChangeLog-0815 [new file with mode: 0644]
gas/ChangeLog [deleted file]
gas/ChangeLog-2015 [new file with mode: 0644]
gas/testsuite/ChangeLog [deleted file]
gas/testsuite/ChangeLog-2015 [new file with mode: 0644]
gold/ChangeLog [deleted file]
gold/ChangeLog-0815 [new file with mode: 0644]
gprof/ChangeLog [deleted file]
gprof/ChangeLog-2015 [new file with mode: 0644]
include/ChangeLog [deleted file]
include/ChangeLog-0415 [new file with mode: 0644]
include/aout/ChangeLog [deleted file]
include/aout/ChangeLog-9115 [new file with mode: 0644]
include/cgen/ChangeLog [deleted file]
include/cgen/ChangeLog-0915 [new file with mode: 0644]
include/coff/ChangeLog [deleted file]
include/coff/ChangeLog-0415 [new file with mode: 0644]
include/elf/ChangeLog [deleted file]
include/elf/ChangeLog-0415 [new file with mode: 0644]
include/mach-o/ChangeLog [deleted file]
include/mach-o/ChangeLog-1115 [new file with mode: 0644]
include/nlm/ChangeLog [deleted file]
include/nlm/ChangeLog-9315 [new file with mode: 0644]
include/opcode/ChangeLog [deleted file]
include/opcode/ChangeLog-0415 [new file with mode: 0644]
include/som/ChangeLog [deleted file]
include/som/ChangeLog-1015 [new file with mode: 0644]
include/vms/ChangeLog [deleted file]
include/vms/ChangeLog-1015 [new file with mode: 0644]
ld/ChangeLog [deleted file]
ld/ChangeLog-2015 [new file with mode: 0644]
ld/testsuite/ChangeLog [deleted file]
ld/testsuite/ChangeLog-2015 [new file with mode: 0644]
opcodes/ChangeLog [deleted file]
opcodes/ChangeLog-2015 [new file with mode: 0644]

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
deleted file mode 100644 (file)
index e57cd70..0000000
+++ /dev/null
@@ -1,4247 +0,0 @@
-2015-12-27  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * elf32-nios2.c (nios2_elf_assign_gp): Correct computation of _gp
-       address.
-       (nios2_elf32_relocate_section): Tidy code for R_NIOS2_GPREL error
-       messages.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * elf32-arm.c (using_thumb_only): Check that profile is 'M' and update
-       logic around Tag_CPU_arch values to return TRUE for ARMv8-M
-       architectures.
-       (tag_cpu_arch_combine): Define v8m_baseline and v8m_mainline and update
-       v4t_plus_v6_m and comb to deal with ARMv8-M Tag_CPU_arch merging logic.
-       (elf32_arm_merge_eabi_attributes): Add Tag_CPU_name values for
-       ARMv8-M.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       (tag_cpu_arch_combine): Adjust comment in v4t_plus_v6_m with regards
-       to merging with ARMv8-M Baseline.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       (tag_cpu_arch_combine): Adjust v4t_plus_v6_m and comb array to account
-       for new TAG_CPU_ARCH_V4T_PLUS_V6_M value.  Deal with NULL values in
-       comb array.
-
-2015-12-22 Yury Usishchev <y.usishchev@samsung.com>
-
-       * elf-bfd.h: Add callback to count additional relocations.
-       * elf32-arm.c (_arm_elf_section_data): Add new counter.
-       (insert_cantunwind_after): Increment relocations counter.
-       (elf32_arm_fix_exidx_coverage): Remove exidx entries and add
-       terminating CANTUNWIND entry only in final builds.
-       (elf32_arm_add_relocation): New function.
-       (elf32_arm_write_section): Add relocations in relocatable builds.
-       (elf32_arm_count_additional_relocs): New function.
-       (elf_backend_count_additional_relocs): New define.
-       * elflink.c (bfd_elf_final_link): Use callback and adjust size of
-       .rel section.
-       * elfxx-target.h (elf_backend_count_additional_relocs): New define.
-
-2015-12-22  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * archures.c: Add bfd_mach_rx_v2.
-       * bfd-in2.h: Regenerate.
-       * cpu-rx.c (arch_info_struct): Add v2 information.
-       * elf32-rx.c (elf32_rx_machine): Add v2 support.
-
-2015-12-22 Mickael Guene <mickael.guene@st.com>
-
-       * bfd-in2.h: Regenerate.
-       * section.c: Add SEC_ELF_NOREAD.
-       * elf32-arm.c (elf32_arm_post_process_headers): Only set
-       PF_X attribute if a segment only contains section with
-       SHF_ARM_NOREAD flag.
-       (elf32_arm_fake_sections): Add SEC_ELF_NOREAD conversion.
-       (elf32_arm_section_flags): New function to convert SHF_ARM_NOREAD
-       to bfd flag.
-       (elf32_arm_lookup_section_flags): New function to allow
-       INPUT_SECTION_FLAGS directive with SHF_ARM_NOREAD flag.
-       (elf32_arm_special_sections): Add special sections array
-       to catch section prefix by '.text.noread' pattern.
-
-2015-12-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * coff-x86_64.c (coff_amd64_reloc): Fix formatting.
-
-2015-12-18  Nick Clifton  <nickc@redhat.com>
-
-       * coff-i386.c (coff_i386_reloc): Fix formatting.
-
-2015-12-16  Mickael Guene <mickael.guene@st.com>
-
-       * bfd-in2.h: Regenerate.
-       * reloc.c: Add new relocations.
-       * libbfd.h (bfd_reloc_code_real_names): Add new relocations
-       display names.
-       * elf32-arm.c (elf32_arm_howto_table_1): Add HOWTO for new
-       relocations.
-       (elf32_arm_reloc_map): Add bfd/arm mapping for new relocations.
-       (elf32_arm_final_link_relocate): Implement new relocations
-       resolution.
-
-2015-12-15  Jan Beulich  <jbeulich@suse.com>
-
-       * coffgen.c (coff_write_alien_symbol): New parameter "iaux".
-       (coff_write_symbols): Pass NULL for new argument.
-       * cofflink.c (_bfd_coff_final_link): New local variables
-       "iaux".
-       Extend scope of local variables "indx" and "hash". Pass address
-       of "iaux" to coff_write_alien_symbol(). Handle ".file" and the
-       file name ending up in the string table separately. Avoid
-       setting "rewrite" on more than one path.
-       * libcoff-in.h (coff_write_alien_symbol): New parameter of type
-       "union internal_auxent *".
-       * libcoff.h: Re-generate.
-
-2015-12-15  Nick Clifton  <nickc@redhat.com>
-
-       PR 19339
-       * elf-vxworks.h: Update copyright notice.
-       * elf-vxworks.c: Update copyright notice.
-       * elf-nacl.h: Update copyright notice.
-       * elf-nacl.c: Update copyright notice.
-
-2015-12-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19317
-       * linker.c (_bfd_generic_link_add_one_symbol): Don't complain
-       plugin needed to handle slim lto object for relocatable link.
-
-2015-12-09  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Correct
-       %hiadj/%lo computations for _GLOBAL_OFFSET_TABLE_ in initial
-       PLT entries.  Assert alignment requirements.
-
-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>
-
-       * 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
-       pointers to reloc array, rather than memmove when deleting a
-       reloc.  Don't use RELOC_AGAINST_DISCARDED_SECTION.  Adjust
-       reloc counts at end of loop.
-       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
-
-2015-11-10  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_relocate_section): Use read and write
-       pointers to reloc array, rather than memmove when deleting a
-       reloc.  Don't use RELOC_AGAINST_DISCARDED_SECTION.  Adjust
-       reloc counts at end of loop.
-       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
-
-2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * elf64-ppc.c (ppc64_elf_size_stubs, ppc64_elf_build_stubs): Fix left
-       shift of negative value.
-       * libbfd.c (safe_read_leb128): Likewise.
-       * dwarf2.c (place_sections): Likewise.
-       * bfd-in.h (align_power): Likewise.
-       * bfd-in2.h (align_power): Likewise.
-
-2015-10-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: Updated (simplified) Chinese translation.
-
-2015-10-29  Catherine Moore  <clm@codesourcery.com>
-
-       * elfxx-mips.c (mips_elf_check_mips16_stubs): Set a stub's output
-       section to bfd_abs_section_ptr if the stub is discarded.
-
-2015-10-29  Ed Schouten  <ed@nuxi.nl>
-
-       * config.bfd (targ_defvec): Add support for CloudABI on aarch64.
-       For this target we have to make sure we use ELFOSABI_CLOUDABI
-       instead of ELFOSABI_NONE.
-       * configure.ac (tb): Likewise.
-       * elfnn-aarch64.c: Likewise.
-       * targets.c (_bfd_target_vector): Likewise.
-       * configure: Regenerate.
-
-2015-10-29  Pedro Alves  <palves@redhat.com>
-
-       * libhppa.h (bfd_hppa_insn2fmt): Add cast.
-
-2015-10-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_relocate_section): Fix a typo in
-       comment.
-
-2015-10-28  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-arm.c (create_instruction_branch_absolute): Replace
-       pointer parameters with a simple integer parameter.
-       (stm32l4xx_create_replacing_stub_ldmia): Update calls to
-       create_instruction_branch_absolute.
-       (stm32l4xx_create_replacing_stub_ldmdb): Likewise.
-       (stm32l4xx_create_replacing_stub_vldm): Likewise.
-       (elf32_arm_write_section): Use pointer type for veneer addresses.
-
-2015-10-28  Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * reloc.c (BFD_RELOC_ARC_32_PCREL): New entry.
-       * elf32-arc.c (arc_elf_howto_ini): Update formula.
-       (get_middle_endian_relocation): New function.
-       (PDATA): Define.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Likewise.
-
-2015-10-28  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19162
-       * elflink.c (_bfd_elf_gc_mark_reloc): Move code iterating over
-       linker input bfds..
-       * section.c (bfd_get_next_section_by_name): ..to here.  Add ibfd param.
-       (bfd_get_linker_section): Adjust bfd_get_next_section_by_name call.
-       * tekhex.c (first_phase): Likewise.
-       * elflink.c (bfd_elf_gc_sections): Likewise.
-       * bfd-in2.h: Regenerate.
-
-2015-10-27  Laurent Alfonsi <laurent.alfonsi@st.com>
-           Christophe Monat <christophe.monat@st.com>
-
-       * bfd-in2.h: Regenerate.
-       * bfd-in.h (bfd_arm_stm32l4xx_fix): New enum. Specify how
-       STM32L4XX instruction scanning should be done.
-       (bfd_elf32_arm_set_stm32l4xx_fix)
-       (bfd_elf32_arm_stm32l4xx_erratum_scan)
-       (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Add prototypes.
-       (bfd_elf32_arm_set_target_relocs): Add stm32l4xx fix type argument
-       to prototype.
-       * elf32-arm.c (STM32L4XX_ERRATUM_VENEER_SECTION_NAME)
-       (STM32L4XX_ERRATUM_VENEER_ENTRY_NAME): Define macros.
-       (elf32_stm32l4xx_erratum_type): New enum.
-       (elf32_stm32l4xx_erratum_list): New struct. List of veneers or
-       jumps to veneers.
-       (_arm_elf_section_data): Add stm32l4xx_erratumcount,
-       stm32l4xx_erratumlist.
-       (elf32_arm_link_hash_table): Add stm32l4xx_erratum_glue_size,
-       stm32l4xx_fix and num_stm32l4xx_fixes fields.
-       (ctz): New function.
-       (popcount): New function.
-       (elf32_arm_link_hash_table_create): Initialize stm32l4xx_fix.
-       (put_thumb2_insn): New function.
-       (STM32L4XX_ERRATUM_LDM_VENEER_SIZE): Define. Size of a veneer for
-       LDM instructions.
-       (STM32L4XX_ERRATUM_VLDM_VENEER_SIZE): Define. Size of a veneer for
-       VLDM instructions.
-       (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
-       glue section.
-       (record_stm32l4xx_erratum_veneer) : New function. Create a single
-       veneer, and its associated symbols.
-       (bfd_elf32_arm_add_glue_sections_to_bfd): Add STM32L4XX erratum glue.
-       (bfd_elf32_arm_set_stm32l4xx_fix): New function. Set the type of
-       erratum workaround required.
-       (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): New function. Find
-       out where veneers and branches to veneers have been placed in
-       virtual memory after layout.
-       (is_thumb2_ldmia): New function.
-       (is_thumb2_ldmdb): Likewise.
-       (is_thumb2_vldm ): Likewise.
-       (stm32l4xx_need_create_replacing_stub): New function. Decide if a
-       veneer must be emitted.
-       (bfd_elf32_arm_stm32l4xx_erratum_scan): Scan the sections of an
-       input BFD for potential erratum-triggering insns. Record results.
-       (bfd_elf32_arm_set_target_relocs): Set stm32l4xx_fix field in
-       global hash table.
-       (elf32_arm_size_dynamic_sections): Collect glue information.
-       (create_instruction_branch_absolute): New function.
-       (create_instruction_ldmia): Likewise.
-       (create_instruction_ldmdb): Likewise.
-       (create_instruction_mov): Likewise.
-       (create_instruction_sub): Likewise.
-       (create_instruction_vldmia): Likewise.
-       (create_instruction_vldmdb): Likewise.
-       (create_instruction_udf_w): Likewise.
-       (create_instruction_udf): Likewise.
-       (push_thumb2_insn32): Likewise.
-       (push_thumb2_insn16): Likewise.
-       (stm32l4xx_fill_stub_udf): Likewise.
-       (stm32l4xx_create_replacing_stub_ldmia): New function. Expands the
-       replacing stub for ldmia instructions.
-       (stm32l4xx_create_replacing_stub_ldmdb): Likewise for ldmdb.
-       (stm32l4xx_create_replacing_stub_vldm): Likewise for vldm.
-       (stm32l4xx_create_replacing_stub): New function. Dispatches the
-       stub emission to the appropriate functions.
-       (elf32_arm_write_section): Output veneers, and branches to veneers.
-
-2015-10-27  Sangamesh Mallayya  <nickc@redhat.com>sangamesh.swamy@in.ibm.com>
-
-       * configure.ac (powerpc64-*-aix[5-9].*): Match powerpc64 running
-       aix for core file support.
-       * configure: Regenerate.
-       * rs6000-core.c: Check for __ld_info64 if compiling 64-bit gdb.
-       Added BFD64 check if we are using old core file format for 32-bit gdb.
-       Set sizeof CORE_COMMONSZ appropriately in case of either new or
-       old core file format.
-       (read_hdr): Added BFD64 check for 64-bit support.
-       (rs6000coff_core_p): Likewise.
-       (rs6000coff_core_file_matches_executable_p): Likewise.
-       (rs6000coff_core_file_failing_command): Likewise.
-       (rs6000coff_core_file_failing_signal): Likewise.
-       Add support for debugging core files generated by binaries in
-       Large Memory model.
-       (rs6000coff_core_p): If Large Memory Model is used, then the .data
-       segment should start from BDATAORG which has been defined in the
-       system header files.
-
-2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19175
-       * elf32-i386.c (elf_i386_convert_load): Check bfd_link_hash_new
-       instead of calling bfd_link_get_defined_symbol.
-       * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.  Skip
-       relocation overflow for bfd_link_hash_new.
-       * linker.c (bfd_link_get_defined_symbol): Removed.
-       * bfd-in2.h: Regenerated.
-
-2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19171
-       * elf32-i386.c (elf_i386_convert_load): Call
-       bfd_link_get_defined_symbol to check if a symbol is defined.
-       * elf64-x86-64.c (elf_x86_64_convert_load): Call
-       bfd_link_get_defined_symbol to get defined symbol section and
-       value.
-       * linker.c (bfd_link_get_defined_symbol): New function.
-       * bfd-in2.h: Regenerated.
-
-2015-10-23  Alan Modra  <amodra@gmail.com>
-
-       PR ld/11133
-       PR ld/19161
-       PR ld/19167
-       * elflink.c (_bfd_elf_gc_mark_hook): Delete code handling __start_*
-       and __stop_* symbol refs.
-       (_bfd_elf_gc_mark_rsec): Add start_stop parameter.  Handle __start_*
-       and __stop_* symbol refs here..
-       (_bfd_elf_gc_mark_reloc): ..and here.
-       * elf-bfd.h (_bfd_elf_gc_mark_hook): Update prototype.
-       * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update
-       _bfd_elf_gc_mark_rsec call.
-
-2015-10-23  Alan Modra  <amodra@gmail.com>
-
-       PR ld/11133
-       PR ld/19161
-       * elflink.c (elf_gc_sweep): Revert last patch.
-       (_bfd_elf_gc_mark_hook): Don't set SEC_KEEP here.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19161
-       * elflink.c (elf_gc_sweep): Always keep sections marked with
-       SEC_KEEP.
-
-2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * mmo.c (struct mmo_data_struct): New members
-       symbol_consistency_override_calculated and ignore_symbol_consistency.
-       (mmo_section_has_contents, mmo_ignore_symbol_consistency): New
-       functions.
-       (mmo_create_symbol): Check with mmo_ignore_symbol_consistency if to
-       report an error for unexpected value of Main.
-       (mmo_write_symbols_and_terminator): Similar.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_convert_load): Use call_nop_byte and
-       check call_nop_as_suffix for 1-byte NOP padding to pad call.
-       * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c: Include opcode/i386.h.
-       (x86_64_elf_howto_table): Add R_X86_64_GOTPCRELX and
-       R_X86_64_REX_GOTPCRELX.
-       (R_X86_64_standard): Replace R_X86_64_PLT32_BND with
-       R_X86_64_REX_GOTPCRELX.
-       (x86_64_reloc_map): Add BFD_RELOC_X86_64_GOTPCRELX and
-       BFD_RELOC_X86_64_REX_GOTPCRELX.
-       (need_convert_mov_to_lea): Renamed to ...
-       (need_convert_load): This.
-       (elf_x86_64_check_relocs): Handle R_X86_64_GOTPCRELX and
-       R_X86_64_REX_GOTPCRELX.  Replace need_convert_mov_to_lea with
-       need_convert_load.
-       (elf_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPCRELX and
-       R_X86_64_REX_GOTPCRELX.
-       (elf_x86_64_size_dynamic_sections): Likewise.
-       (elf_x86_64_relocate_section): Likewise.
-       (elf_x86_64_convert_mov_to_lea): Renamed to ...
-       (elf_x86_64_convert_load): This.  Replace need_convert_mov_to_lea
-       with need_convert_load.  Support R_X86_64_GOTPCRELX and
-       R_X86_64_REX_GOTPCRELX transformations.
-       * reloc.c (BFD_RELOC_X86_64_GOTPCRELX): New.
-       (BFD_RELOC_X86_64_REX_GOTPCRELX): Likewise.
-       * bfd-in2.h: Regenerated.
-       * libbfd.h: Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c: Include opcode/i386.h.
-       (elf_howto_table): Add R_386_GOT32X.
-       (R_386_ext2): Replace R_386_IRELATIVE with R_386_GOT32X.
-       (elf_i386_reloc_type_lookup): Handle BFD_RELOC_386_GOT32X.
-       (need_convert_mov_to_lea): Renamed to ...
-       (need_convert_load): This.
-       (elf_i386_check_relocs): Handle R_386_GOT32X.  Replace
-       need_convert_mov_to_lea with need_convert_load.
-       (elf_i386_gc_sweep_hook): Handle R_386_GOT32X.
-       (elf_i386_size_dynamic_sections): Likewise.
-       (elf_i386_relocate_section): Likewise.
-       (elf_i386_convert_mov_to_lea): Renamed to ...
-       (elf_i386_convert_load): This.  Replace need_convert_mov_to_lea
-       with need_convert_load.  Support R_386_GOT32X transformations.
-       * reloc.c (BFD_RELOC_386_GOT32X): New.
-       * bfd-in2.h: Regenerated.
-       * libbfd.h: Likewise.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * elf32-s390.c (elf_s390_check_relocs): Set the non_got_ref marker
-       only when linking an executable.
-       (elf_s390_relocate_section): Redirect PC-relative relocs to a IPLT
-       slot.
-       * elf64-s390.c (elf_s390_check_relocs): Set the non_got_ref marker
-       only when linking an executable.
-       (elf_s390_relocate_section): Redirect PC-relative relocs to a IPLT
-       slot.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Set the PLT
-       reference counters for local IFUNC calls.
-       * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * elf32-s390.c (elf_s390_check_relocs): Fallthrough to the PLT
-       slot allocating code for GOTOFF relocs on ifunc symbols.
-       (elf_s390_gc_sweep_hook): Decrement plt refcount for GOTOFF relocs
-       on ifunc symbols.
-       (elf_s390_relocate_section): Redirect a GOTOFF reloc to an iplt
-       slot.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       PR ld/18841
-       * elf32-s390.c (elf_s390_reloc_type_class): Return
-       reloc_class_ifunc for ifunc symbols.
-       * elf64-s390.c (elf_s390_reloc_type_class): Likewise.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * elf32-s390.c (elf_s390_finish_dynamic_symbol): Call
-       elf_s390_finish_ifunc_symbol only for actually defined symbols.
-       * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * elf-s390-common.c (s390_elf_allocate_ifunc_dyn_relocs): Remove
-       `head' parameter.
-       * elf32-s390.c (allocate_dynrelocs): Don't use last parameter.
-       * elf64-s390.c (allocate_dynrelocs): Don't use last parameter.
-
-2015-10-20  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * mmo.c (mmo_write_symbols_and_terminator): Correct printed value
-       of Main in error message.
-
-2015-10-18  Doug Evans  <xdje42@gmail.com>
-
-       * targets.c (bfd_flavour_name): "MMO" is spelled "mmo".
-
-2015-10-17  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_size_stubs): Correct __glink_PLTresolve
-       eh_frame FDE for ELFv1.
-
-2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_convert_mov_to_lea): Check if symbol
-       is defined.
-       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
-
-2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_convert_mov_to_lea): Don't check
-       def_regular.
-       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
-
-2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elflink.c (_bfd_elf_merge_symbol): Fix typos in comments
-
-2015-10-15  Alan Modra  <amodra@gmail.com>
-
-       * elf32-v850.c (v850_elf_copy_private_bfd_data): Remove assertion
-       that input and output .note.renesas sections are same size.
-       Instead, only copy input to output if they are.
-
-2015-10-15  Riku Voipio  <riku.voipio@iki.fi>
-
-       PR ld/19123
-       * elfcore.h (elf_core_file_p): Use the file_ptr type to hold the
-       offset for bfd_seek.
-       * elfcode.h (elf_object_p): Likewise.
-
-2015-10-14  Rich Felker  <dalias@libc.org>
-
-       PR ld/19091
-       * elf32-sh.c (sh_elf_size_dynamic_sections): Always emit
-       DT_PLTGOT for FDPIC output.
-
-2015-10-13  Alan Modra  <amodra@gmail.com>
-
-       * elf.c (_bfd_elf_map_sections_to_segments): Don't set
-       PT_GNU_RELRO p_flags.
-       (assign_file_positions_for_non_load_sections): Set PT_GNU_RELRO
-       flags to PF_R here.
-
-2015-10-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19073
-       * elflink.c (_bfd_elf_add_default_symbol): Skip the unversioned
-       definition after the default version.
-
-2015-10-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       PR ld/19083
-       * elf32-s390.c (elf_s390_gc_sweep_hook): Do not reduce got
-       refcount for relocs not really requiring a got slot.
-       * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
-
-2015-10-11  John David Anglin  <danglin@gcc.gnu.org>
-
-       * elf-hppa.h (elf_hppa_action_discarded): Ignore relocations in
-       .data.rel.ro.local.
-
-2015-10-07  Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * archures.c: Remove support for older ARC. Added support for new
-       ARC cpus (ARC600, ARC601, ARC700, ARCV2).
-       * bfd-in2.h: Likewise.
-       * config.bfd: Likewise.
-       * cpu-arc.c: Likewise.
-       * elf32-arc.c: Totally changed file with a refactored
-       inplementation of the ARC port.
-       * libbfd.h: Added ARC specific relocation types.
-       * reloc.c: Likewise.
-
-2015-10-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfd.c (bfd_update_compression_header): Clear the ch_reserved
-       field in 64-bit output.
-       (bfd_convert_section_contents): Likewise.
-
-2015-10-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18914
-       * elflink.c (elf_link_add_object_symbols): Don't re-export a
-       symbol if it isn't undefined.
-
-2015-10-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * 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 (aarch64_tls_transition_without_check):  Add
-       relax transitions for TLSDESC_ADD, TLSDESC_LDR, TLSDESC_OFF_G0_NC,
-       TLSDESC_OFF_G1.
-       (aarch64_tls_transition_without_check): Add relaxation support.
-       (aarch64_reloc_got_type): Add support.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_tls_relax): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Check overflow for
-       BFD_RELOC_AARCH64_TLSDESC_OFF_G1.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c(IS_AARCH64_TLS_RELAX_RELOC):
-       Add relaxation support for TLSGD_MOVW_G0_NC and TLSGD_MOVW_G1.
-       (aarch64_tls_transition_without_check): Likewise
-       (elfNN_aarch64_tls_relax): Likwise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Create GOT section
-       for TLSLE_MOVW_TPREL_G(1, 1_NC, 2) relocation.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c: Make AARCH64_TLSIE_MOVW_GOTTPREL_G1 and
-       AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC defined in alphabetical order.
-       * libbfd.h: Regenerate.
-       * bfd-in2.h: Likewise.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Make
-       TLSIE_MOVW_GOTTPREL_G1 check overflow.
-       (aarch64_reloc_got_type): Add support for TLSIE_MOVW_GOTTPREL_G1
-       and TLSIE_MOVW_GOTTPREL_G0_NC.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
-       BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC support.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC): New entry.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC.
-       * libbfd.h: Regenerate.
-       * bfd-in2.h: Likewise
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
-       BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G1): New entry.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
-       BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC support.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC): New.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry
-       MOVW_GOTOFF_G0_NC.
-       * libbfd.h: Regnerate.
-       * bfd-in2.h: Regenerate.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Add support
-       for BFD_RELOC_AARCH64_MOVW_GOTOFF_G1.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise
-       (elfNN_aarch64_final_link_relocate): Likewise
-
-2015-010-02  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G1): New.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       MOVW_GOTOFF_G1.
-       * libbfd.h: Regenerate.
-       * bfd-in2.h: Regenerate.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
-       BFD_RELOC_AARCH64_LD_64_GOTOFF_LO15 support.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise
-       (elfNN_aarch64_final_link_relocate): Calculate offset within GOT.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Change if to
-       switch statement.
-
-2015-10-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19031
-       * elf64-x86-64.c (elf_x86_64_check_relocs): Set
-       pointer_equality_needed for R_X86_64_PC32 reloc in non-code
-       sections.
-
-2015-10-01  Renlin Li  <renlin.li@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_output_plt_map): Remove.
-       (elfNN_aarch64_output_arch_local_syms): Emit AARCH64_MAP_INSN once.
-
-2015-10-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-
-       * config.bfd (targ_selvecs): Remove sh_elf32_vec and
-       sh_elf32_le_vec from sh*-*-linux cases.
-
-2015-10-01  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19013
-       * elflink.c (_bfd_elf_merge_sections): Revert last change.
-
-2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19031
-       * elf32-i386.c (elf_i386_check_relocs): Set
-       pointer_equality_needed for R_386_PC32 reloc in non-code
-       sections.
-
-2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19013
-       * elflink.c (_bfd_elf_merge_sections): Only merge input bfds
-       that have the compatible ELF machine code with the output bfd.
-
-2015-09-30  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19013
-       * elflink.c (_bfd_elf_merge_sections): Only merge input bfds that
-       will be handled by elf_link_input_bfd.  Rename abfd param to obfd.
-
-2015-09-30  Rich Felker  <dalias@libc.org>
-
-       * config.bfd (targ_selvecs): Add fdpic and misc targets
-       for sh*-*-linux*.
-
-2015-09-29  Andrew Stubbs  <ams@codesourcery.com>
-           H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/19020
-       * bfd.c (bfd_convert_section_contents): Add ptr_size parameter.
-       * bfd-in2.h: Regenerated.
-
-2015-08-11  Peter Zotov  <whitequark@whitequark.org>
-
-       PR ld/18759
-       * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
-       (R_OR1K_16_PCREL): Likewise.
-       (R_OR1K_8_PCREL): Likewise.
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       * bout.c (b_out_slurp_reloc_table): Cast constant to unsigned in
-       order to avoid problems with left shifting negative values.
-       (abs32code): Likewise.
-       * mach-o.c (FILE_ALIGN): Likewise.
-       * coff-rs6000.c (xcoff_debug_sections): Delete unused static
-       array.
-       * elf32-visium.c (visium_reloc_map): Likewise.
-       * elf32-arm.c (elf32_arm_final_link_relocate): Remove useless
-       calls to abs function.
-       * elf32-frv.c (_frvfdpic_relax_tls_entries): Likewise.
-       * elf32-score.c (score_elf_final_link_relocate): Likewise.
-       * elf32-score7.c (score_elf_final_link_relocate): Likewise.
-       * elf32-i860.c (i860_howto_pc26_reloc): Use multiplication instead
-       of shifting to create a negative mask.
-       * elf32-msp430.c (elf_backend_special_sections): Define.
-       * elfxx-mips.c (got_ofst_reloc_p): Delete unused function.
-       (got_hi16_reloc_p): Delete unused function.
-       * ppcboot.c (ppcboot_bfd_print_private_bfd_data): Fix test of
-       partition name.
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/15835
-       * elf-bfd.h (struct elf_section_list): New structure.
-       (struct elf_obj_tdata): Replace symtab_shndx_hdr with
-       symtab_shndx_list.  Delete symtab_shndx_section.
-       (elf_symtab_shndx): Replace macro with elf_symtab_shndx_list.
-       * elf.c (bfd_elf_get_syms): If symtab index sections are present,
-       scan them for the section that matches the provided symbol table.
-       (bfd_section_from_shdr): Record all SHT_SYMTAB_SHNDX sections.
-       (assign_section_numbers): Use the first symtab index table in the
-       list.
-       (_bfd_elf_compute_section_file_positions): Replace use of
-       symtab_shndx_hdr with use of symtab_shndx_list.
-       (find_section_in_list): New function.
-       (assign_file_postions_except_relocs): Use new function.
-       (_bfd_elf_copy_private_symbol_data): Likewise.
-       (swap_out_syms): Handle multiple symbol table index sections.
-       * elf32-m32c.c (m32c_elf_relax_section): Replace use of
-       symtab_shndx_hdr with use of symtab_shndx_list.
-       * elf32-rl78.c (rl78_elf_relax_section): Likewise.
-       * elf32-rx.c (rx_relax_section): Likewise.
-       * elf32-v850.c (v850_elf_relax_delete_bytes): Likewise.
-       * elflink.c (bfd_elf_final_link): Likewise.
-
-2015-09-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfd.c (bfd_update_compression_header): Use bfd_put_32 on
-       ch_type.
-       (bfd_check_compression_header): Use bfd_get_32 on ch_type.
-       (bfd_convert_section_contents): Use bfd_get_32 and bfd_put_32
-       on ch_type.
-
-2015-09-20  Rich Felker  <dalias@libc.org>
-
-       * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
-       .interp when info->nointerp.
-       (bfd_elf_size_dynamic_sections): Adjust assert.
-       * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't size .interp
-       when info->nointerp.
-       * elf32-bfin.c (elf32_bfinfdpic_size_dynamic_sections): Likewise.
-       * elf32-cr16.c (_bfd_cr16_elf_size_dynamic_sections): Likewise.
-       * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
-       * elf32-frv.c (elf32_frvfdpic_size_dynamic_sections): Likewise.
-       * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
-       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
-       * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
-       * elf32-lm32.c (lm32_elf_size_dynamic_sections): Likewise.
-       * elf32-m32r.c (m32r_elf_size_dynamic_sections): Likewise.
-       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
-       * elf32-metag.c (elf_metag_size_dynamic_sections): Likewise.
-       * elf32-nds32.c (nds32_elf_size_dynamic_sections): Likewise.
-       * elf32-nios2.c (nios2_elf32_size_dynamic_sections): Likewise.
-       * elf32-or1k.c (or1k_elf_size_dynamic_sections): Likewise.
-       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
-       * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
-       * elf32-score.c (s3_bfd_score_elf_size_dynamic_sections): Likewise.
-       * elf32-score7.c (s7_bfd_score_elf_size_dynamic_sections): Likewise.
-       * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
-       * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Likewise.
-       * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Likewise.
-       * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
-       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise.
-       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
-       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
-       * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Likewise.
-       * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
-       * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
-       * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
-       * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Likewise.
-       * elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
-       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
-       * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): Likewise.
-
-2015-09-18  Doug Evans  <xdje42@gmail.com>
-
-       * targets.c (enum bfd_flavour): Add comment.
-       (bfd_flavour_name): New function.
-       * bfd-in2.h: Regenerate.
-
-2015-09-18  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.h (struct ppc64_elf_params <tls_get_addr_opt>): Rename
-       from no_tls_get_addr_opt.
-       * elf64-ppc.c: Update for rename and inversion of tls_get_addr_opt.
-       (ppc64_elf_tls_setup): Set tls_get_addr_opt to 0 only when at
-       default of -1.
-
-2015-09-17  Alan Modra  <amodra@gmail.com>
-
-       PR 18867
-       * elflink.c (elf_link_adjust_relocs): Correct start of insertion
-       sort main loop.
-
-2015-09-16  Alan Modra  <amodra@gmail.com>
-
-       PR 18867
-       * elflink.c (elf_link_adjust_relocs): Modify insertion sort to
-       insert a run.  Return status in case of malloc failure.
-       Adjust callers.
-
-2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * elf32-xtensa.c (elf_xtensa_be_plt_entry)
-       (elf_xtensa_le_plt_entry): Emit 'entry' instruction only for
-       windowed ABI.
-       (elf_xtensa_create_plt_entry): Generate 'l32r' offsets and fix
-       up instructions according to ABI.
-
-2015-09-14  Rich Felker  <dalias@libc.org>
-
-       * elf32-sh.c (sh_elf_relocate_section): Set EF_SH_PIC flag
-       instead of clearing it on cross-section relocations.
-       (sh_elf_merge_private_data): Clear EF_SH_PIC flag by default.
-
-2015-09-12  Helge Deller  <deller@gmx.de>
-
-       PR ld/18514
-       * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Set .plt entry
-       size to 0.
-
-2015-09-09  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Sort alphabetically.
-
-2015-09-09  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_tls_transition_without_check): Support three
-       TLS local dynamic traditional relocations types.
-       (elfNN_aarch64_tls_relax): Support TLS local dynamic traditional to
-       local executable relaxation.
-
-2015-09-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Remove
-       convert_mov_to_lea.
-
-2015-09-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (R_386_irelative): Renamed to ...
-       (R_386_ext2): This.
-       (R_386_vt_offset): Updated.
-       (elf_i386_rtype_to_howto): Likewise.
-       (elf_i386_relocate_section): Likewise.
-
-2015-09-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18900
-       * elf32-i386.c (elf_i386_link_hash_entry): Add
-       func_pointer_refcount.
-       (elf_i386_link_hash_newfunc): Clear func_pointer_refcount.
-       (elf_i386_get_local_sym_hash): Likewise.
-       (elf_i386_copy_indirect_symbol): Also copy
-       func_pointer_refcount.
-       (elf_i386_check_relocs): Increment func_pointer_refcount.
-       (elf_i386_gc_sweep_hook): Decrement func_pointer_refcount.
-       (elf_i386_allocate_dynrelocs): Don't create the PLT entry if
-       there are only function pointer relocations which can be
-       resolved at run-time.  Keep dynanamic relocations for run-time
-       function pointer initialization.
-       (elf_i386_relocate_section): Copy dynamic function pointer
-       relocations.
-       * elf64-x86-64.c (elf_x86_64_link_hash_entry): Add
-       func_pointer_refcount.
-       (elf_x86_64_link_hash_newfunc): Clear func_pointer_refcount.
-       (elf_x86_64_get_local_sym_hash): Likewise.
-       (elf_x86_64_copy_indirect_symbol): Also copy
-       func_pointer_refcount.
-       (elf_x86_64_check_relocs): Increment func_pointer_refcount.
-       (elf_x86_64_gc_sweep_hook): Decrement func_pointer_refcount.
-       (elf_x86_64_allocate_dynrelocs): Don't create the PLT entry if
-       there are only function pointer relocations which can be
-       resolved at run-time.  Keep dynanamic relocations for run-time
-       function pointer initialization.
-       (elf_x86_64_relocate_section): Copy dynamic function pointer
-       relocations.
-
-2015-09-01  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_maybe_function_sym): Adjust symbol value
-       if .opd section has been edited.
-
-2015-09-01  Alan Modra  <amodra@gmail.com>
-
-       PR 18878
-       * elf64-ppc.c (ARRAY_SIZE): Define.  Use throughout.
-       (enum ppc_stub_type): Add ppc_stub_save_res.
-       (struct map_stub): Add "next" and "needs_save_res".
-       (struct ppc_link_hash_entry): Add "save_res" flag.
-       (struct ppc_link_hash_table): Add "group".
-       (sfpr_define): Add stub_sec param.  Define symbol in stub_sec if
-       stub_sec is non-null.  Set "save_res".
-       (save_res_funcs): Make file scope, rename from funcs.  Adjust uses.
-       (ppc64_elf_adjust_dynamic_symbol): Prohibit plt call to save_res syms.
-       (ppc_build_one_stub): Handle ppc_stub_save_res.
-       (ppc_size_one_stub): Set stub type to ppc_size_one_stub on finding
-       stub for linker defined save_res sym.
-       (group_sections): Init new fields of struct map_stub.
-       (ppc64_elf_size_stubs): Reserve space for save/restore func copy.
-       (ppc64_elf_build_stubs): Copy save/restore funcs to groups.  Emit
-       alias syms too.
-       (ppc64_elf_relocate_section): Set destination for ppc_stub_save_res.
-
-2015-08-31  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (get_r2off): Return -1 on error.
-       (ppc_build_one_stub): Adjust for get_r2off change.  Don't emit
-       addi r2,r2,0 on r2off stubs when the low 16-bit delta is zero.
-       (ppc_size_one_stub): Corresponding size changes for r2off stubs.
-       Add condition in test for -R objects.
-
-2015-08-31  Alan Modra  <amodra@gmail.com>
-
-       * section.c (section_id): Make file scope.
-       (bfd_get_next_section_id): New function.
-       * elf64-ppc.c (struct map_stub): Remove toc_off field.  Move decl.
-       (struct ppc_stub_hash_entry): Delete stub_sec and id_sec.  Add
-       group.  Update all uses.
-       (struct ppc_link_hash_table): Delete top_id, top_index, and
-       input_list.  Add sec_info_arr_size.  Rename stub_group to
-       sec_info, and make group info indirect.  Update stub_group refs
-       throughout file.
-       (ppc_add_stub): Don't look for stub_sec on link_sec stub_group
-       entry.
-       (ppc_build_one_stub): Delete FIXME.
-       (ppc64_elf_setup_section_lists): Size htab->sec_info for all
-       sections, not just input sections.  Don't create htab->input_list.
-       (ppc64_elf_next_input_section): Update to use sec_info union as
-       list pointer.
-       (PREV_SEC): Delete.
-       (group_sections): Pass "info" param rather than "htab".  Iterate
-       over output sections rather than input_list.  Use sec_info union
-       as list pointers.  Alloc atruct map_stub, and return fail status.
-       * bfd-in2.h: Regenerate.
-
-2015-08-31  Alan Modra  <amodra@gmail.com>
-
-       * elflink.c (elf_sort_symbol): Use correctly sized type for
-       calculating signed section->id difference.
-       (elf_link_add_object_symbols): Likewise.
-       * pef.c (bfd_pef_scan_start_address): Warning fix.
-       * vms-alpha.c (vms_new_section_hook): Likewise.
-
-2015-08-31  Alan Modra  <amodra@gmail.com>
-
-       * elf32-nds32.c (nds32_convert_32_to_16_alu1): Warning fix.
-       (find_relocs_at_address_addr): Make "reloc_type" an enum.
-       (nds32_elf_relax_delete_blanks): Warning fix.
-       (nds32_elf_relax_loadstore): Correct loop bound.
-
-2015-08-31  Alan Modra  <amodra@gmail.com>
-
-       * section.c (struct bfd_section): Make "id" and "index" unsigned.
-       * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust local var to suit.
-       * elf.c (elf_map_symbols): Likewise.
-       * elf64-ppc.c (sym_exists_at): Make "id" param unsigned.
-       (struct ppc_link_hash_table): Make "top_id" and "top_index" unsigned.
-       (ppc64_elf_setup_section_lists): Ditto for local vars.
-       * elf32-arm.c: Similarly to elf64-ppc.c.
-       * elf32-avr.c: Likewise.
-       * elf32-hppa.c: Likewise.
-       * elf32-m68hc1x.c: Likewise.
-       * elf32-metag.c: Likewise.
-       * elf32-nios2.c: Likewise.
-       * elfnn-aarch64.c: Likewise.
-       * simple.c (struct saved_offsets): Make "section_count" unsigned.
-       * bfd-in2.h: Regenerate.
-
-2015-08-27  Alan Modra  <amodra@gmail.com>
-
-       PR 18867
-       * elf64-alpha.c (elf64_alpha_sort_relocs_p): New function.
-       (elf_backend_sort_relocs_p): Define.
-
-2015-08-26  Alan Modra  <amodra@gmail.com>
-
-       PR 18867
-       * elflink.c (cmp_ext32l_r_offset, cmp_ext32b_r_offset): Delete.
-       (cmp_ext64l_r_offset, cmp_ext64b_r_offset): Delete.
-       (ext32l_r_offset, ext32b_r_offset, ext64l_r_offset, ext64b_r_offset):
-       New functions.
-       (elf_link_adjust_relocs): Use an insertion sort to sort relocs.
-
-2015-08-26  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       PR ld/18401
-       * elfxx-mips.c (bfd_mips_isa_ext_mach): New function: Converts an
-       ISA value to a bfd machine number.
-       (bfd_mips_isa_ext): Update the ISA level and revision if
-       necessary.  Use mips_mach_extends_p to decide if the ISA extension
-       needs to be set.
-       (_bfd_mips_elf_merge_private_bfd_data): Allow the ISA extension to
-       be inferred from the ABI setting.  Set the ISA level from the
-       maximum of the incoming and outgoing ISA levels.
-
-2015-08-25  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18854
-       * elf.c (bfd_section_from_shdr): Replace assertions with warnings
-       about multiple symbol tables.
-
-2015-08-25  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): Use LP64 instead of
-       ILP64.
-       * bfd-in2.h: Regenerate.
-
-2015-08-22  Alan Modra  <amodra@gmail.com>
-
-       * elf.c (_bfd_elf_slurp_version_tables): Always init vd_nodename.
-       Don't copy fields not set by _bfd_elf_swap_verdef_in.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize new relocation
-       types, including BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC.
-       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): New entries.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       PR ld/18276
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize new relocation
-       types, including BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC,
-       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2): New entries.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
-       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
-       (aarch64_reloc_got_type): Likewise.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
-
-2015-08-19  Alan Modra  <amodra@gmail.com>
-
-       * elf-s390-common.c: Simplify expressions using
-       bfd_linke_executable, bfd_link_pie and bfd_link_pic.
-       * elf32-arm.c: Likewise.
-       * elf32-bfin.c: Likewise.
-       * elf32-frv.c: Likewise.
-       * elf32-m68k.c: Likewise.
-       * elf32-nios2.c: Likewise.
-       * elf32-ppc.c: Likewise.
-       * elf32-s390.c: Likewise.
-       * elf32-sh.c: Likewise.
-       * elf64-alpha.c: Likewise.
-       * elf64-ppc.c: Likewise.
-       * elf64-s390.c: Likewise.
-       * elflink.c: Likewise.
-
-2015-08-18  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Delete useless check.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-
-2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18841
-       * elf-bfd.h (elf_link_hash_table): Add dynsym.
-       * elf32-i386.c (elf_i386_reloc_type_class): Return
-       reloc_class_ifunc for relocation against STT_GNU_IFUNC symbol.
-       * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
-       * elflink.c (_bfd_elf_link_create_dynamic_sections): Set dynsym.
-       (bfd_elf_size_dynsym_hash_dynstr): Use dynsym.
-       (elf_final_link_info): Remove dynsym_sec.
-       (elf_link_output_extsym): Replace dynsym_sec with dynsym.
-       (bfd_elf_final_link): Remove reference to dynsym_sec.  Replace
-       dynsym_sec with dynsym.
-
-2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * aoutx.h: Replace shared, executable, relocatable and pie
-       fields with bfd_link_executable, bfd_link_dll,
-       bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
-       * bout.c: Likewise.
-       * coff-alpha.c: Likewise.
-       * coff-arm.c: Likewise.
-       * coff-i386.c: Likewise.
-       * coff-i960.c: Likewise.
-       * coff-m68k.c: Likewise.
-       * coff-mcore.c: Likewise.
-       * coff-mips.c: Likewise.
-       * coff-ppc.c: Likewise.
-       * coff-rs6000.c: Likewise.
-       * coff-sh.c: Likewise.
-       * coff-tic80.c: Likewise.
-       * coff-x86_64.c: Likewise.
-       * coff64-rs6000.c: Likewise.
-       * coffgen.c: Likewise.
-       * cofflink.c: Likewise.
-       * ecoff.c: Likewise.
-       * ecofflink.c: Likewise.
-       * elf-bfd.h: Likewise.
-       * elf-eh-frame.c: Likewise.
-       * elf-ifunc.c: Likewise.
-       * elf-m10200.c: Likewise.
-       * elf-m10300.c: Likewise.
-       * elf-s390-common.c: Likewise.
-       * elf-vxworks.c: Likewise.
-       * elf.c: Likewise.
-       * elf32-arm.c: Likewise.
-       * elf32-avr.c: Likewise.
-       * elf32-bfin.c: Likewise.
-       * elf32-cr16.c: Likewise.
-       * elf32-cr16c.c: Likewise.
-       * elf32-cris.c: Likewise.
-       * elf32-crx.c: Likewise.
-       * elf32-d10v.c: Likewise.
-       * elf32-dlx.c: Likewise.
-       * elf32-epiphany.c: Likewise.
-       * elf32-fr30.c: Likewise.
-       * elf32-frv.c: Likewise.
-       * elf32-ft32.c: Likewise.
-       * elf32-h8300.c: Likewise.
-       * elf32-hppa.c: Likewise.
-       * elf32-i370.c: Likewise.
-       * elf32-i386.c: Likewise.
-       * elf32-i860.c: Likewise.
-       * elf32-ip2k.c: Likewise.
-       * elf32-iq2000.c: Likewise.
-       * elf32-lm32.c: Likewise.
-       * elf32-m32c.c: Likewise.
-       * elf32-m32r.c: Likewise.
-       * elf32-m68hc11.c: Likewise.
-       * elf32-m68hc1x.c: Likewise.
-       * elf32-m68k.c: Likewise.
-       * elf32-mcore.c: Likewise.
-       * elf32-mep.c: Likewise.
-       * elf32-metag.c: Likewise.
-       * elf32-microblaze.c: Likewise.
-       * elf32-moxie.c: Likewise.
-       * elf32-msp430.c: Likewise.
-       * elf32-mt.c: Likewise.
-       * elf32-nds32.c: Likewise.
-       * elf32-nios2.c: Likewise.
-       * elf32-or1k.c: Likewise.
-       * elf32-ppc.c: Likewise.
-       * elf32-rl78.c: Likewise.
-       * elf32-rx.c: Likewise.
-       * elf32-s390.c: Likewise.
-       * elf32-score.c: Likewise.
-       * elf32-score7.c: Likewise.
-       * elf32-sh-symbian.c: Likewise.
-       * elf32-sh.c: Likewise.
-       * elf32-sh64.c: Likewise.
-       * elf32-spu.c: Likewise.
-       * elf32-tic6x.c: Likewise.
-       * elf32-tilepro.c: Likewise.
-       * elf32-v850.c: Likewise.
-       * elf32-vax.c: Likewise.
-       * elf32-visium.c: Likewise.
-       * elf32-xc16x.c: Likewise.
-       * elf32-xstormy16.c: Likewise.
-       * elf32-xtensa.c: Likewise.
-       * elf64-alpha.c: Likewise.
-       * elf64-hppa.c: Likewise.
-       * elf64-ia64-vms.c: Likewise.
-       * elf64-mmix.c: Likewise.
-       * elf64-ppc.c: Likewise.
-       * elf64-s390.c: Likewise.
-       * elf64-sh64.c: Likewise.
-       * elf64-x86-64.c: Likewise.
-       * elflink.c: Likewise.
-       * elfnn-aarch64.c: Likewise.
-       * elfnn-ia64.c: Likewise.
-       * elfxx-mips.c: Likewise.
-       * elfxx-sparc.c: Likewise.
-       * elfxx-tilegx.c: Likewise.
-       * i386linux.c: Likewise.
-       * linker.c: Likewise.
-       * m68klinux.c: Likewise.
-       * pdp11.c: Likewise.
-       * pe-mips.c: Likewise.
-       * peXXigen.c: Likewise.
-       * reloc.c: Likewise.
-       * reloc16.c: Likewise.
-       * sparclinux.c: Likewise.
-       * sunos.c: Likewise.
-       * vms-alpha.c: Likewise.
-       * xcofflink.c: Likewise.
-
-2015-08-18  Alan Modra  <amodra@gmail.com>
-
-       PR 18667
-       * Makefile.am: Use $(SED) in place of sed throughout.
-       * Makefile.in: Regenerate.
-
-2015-08-18  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't redefine .TOC.
-       if already defined, and set linker_def.
-       (ppc64_elf_set_toc): Use .TOC. value if defined other than by
-       the backend.
-
-2015-08-14  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18759
-       * elf32-or1k.c: Revert 2015-08-11 change.
-
-2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18801
-       * elf32-i386.c (elf_i386_size_dynamic_sections): Issue an error
-       for read-only segment with dynamic IFUNC relocations.
-       * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
-
-2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
-
-       * elfxx-mips.c (STUB_MOVE): Change to use 'or' only.
-       (mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry,
-       mips_n64_exec_plt0_entry, micromips_insn32_o32_exec_plt0_entry):
-       Update to use 'or' instead of 'addu/daddu'.
-       (_bfd_mips_elf_finish_dynamic_symbol): Update usage of STUB_MOVE.
-       (move_insns_32): Reorder table.
-
-2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_relocate_section): Properly skip IFUNC
-       relocations in debug sections.
-       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Improve warning
-       message for R_AARCH64_LD64_GOTPAGE_LO15/R_AARCH64_LD32_GOTPAGE_LO14.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): New.
-       (aarch64_can_relax_tls): Use the new IS_AARCH64_TLS_RELAX_RELOC.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_type_of_stub): New parameter "sym_sec".
-       Loose the check for symbol from ABS section.
-       (elfNN_aarch64_size_stubs): Pass sym_sec.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       PR ld/18668
-       * elfnn-aarch64.c (aarch64_type_of_stub): Update destination for
-       calls go through plt stub.
-       (elfNN_aarch64_final_link_relocate): Adjust code logic for CALL26,
-       JUMP26 relocation to support inserting veneer for call to plt stub.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
-       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
-       (aarch64_reloc_got_type): Likewise.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
-       BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
-       (aarch64_reloc_got_type): Likewise.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
-       BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
-       (aarch64_reloc_got_type): Likewise.
-       (elfNN_aarch64_final_link_relocate): Likewise.
-       (elfNN_aarch64_relocate_section): Likewise.
-       (elfNN_aarch64_gc_sweep_hook): Likewise.
-       (elfNN_aarch64_check_relocs): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
-
-2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18808
-       * elf32-i386.c (elf_i386_relocate_section): Skip IFUNC
-       relocations in debug sections.
-       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
-
-2015-08-11  Peter Zotov  <whitequark@whitequark.org>
-
-       PR ld/18759
-       * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
-       (R_OR1K_16_PCREL): Likewise.
-       (R_OR1K_8_PCREL): Likewise.
-
-2015-08-11  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18747
-       * coff-sh.c (_bfd_sh_align_load_span): Fix typo when setting
-       opcode count.
-
-       PR binutils/18758
-       * elf.c (_bfd_elf_setup_sections): Add checks for corrupt section
-       group information.
-       * peicode.h (pe_ILF_make_a_section): Ensure alignment of the
-       used_by_bfd pointer.
-       (pe_ILF_build_a_bfd): Ensure alignment of vars.data pointer.
-
-2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (_bfd_elf_copy_private_bfd_data): Fix a typo.
-
-2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf-bfd.h (elf_symbol_version): New enum.
-       (elf_link_hash_entry): Replace hidden with versioned.
-       * elflink.c (_bfd_elf_merge_symbol): Don't look for symbol
-       version if the symbol is unversioned.  Initialize versioned.
-       (_bfd_elf_add_default_symbol): Don't look for symbol version
-       if the symbol is unversioned or hidden.  Initialize versioned.
-       (elf_collect_hash_codes): Don't look for symbol version if the
-       symbol is unversioned.
-       (elf_collect_gnu_hash_codes): Likewise.
-       (bfd_elf_gc_mark_dynamic_ref_symbol): Likewise.
-       (_bfd_elf_link_hash_copy_indirect): Check versioned instead of
-       hidden.
-       (elf_link_output_extsym): Likewise.
-
-2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18785
-       * elf.c (_bfd_elf_copy_private_bfd_data): When copying the
-       sh_link and sh_info fields in stripped section headers, we also
-       check if the sh_type, sh_flags, sh_addralign and sh_entsize
-       fields of the output section match the output.  Since
-       --only-keep-debug turns all non-debug sections into SHT_NOBITS
-       sections, the output SHT_NOBITS type matches any input type.
-
-2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18720
-       * elflink.c (_bfd_elf_merge_symbol): Add a parameter to indicate
-       if the new symbol matches the existing one.  The new hidden
-       versioned symbol matches the existing symbol if they have the
-       same symbol version. Update the existing symbol only if they
-       match.
-       (_bfd_elf_add_default_symbol): Update call to
-       _bfd_elf_merge_symbol.
-       (_bfd_elf_link_assign_sym_version): Don't set the hidden field
-       here.
-       (elf_link_add_object_symbols): Override a definition only if the
-       new symbol matches the existing one.
-       (_bfd_elf_link_hash_copy_indirect): Don't copy any references to
-       the hidden versioned symbol.
-       (elf_link_output_extsym): Bind a symbol locally when linking
-       executable if it is locally defined, hidden versioned, not
-       referenced by shared library and not exported.  Turn on
-       VERSYM_HIDDEN only if the hidden versioned symbol is defined
-       locally.
-
-2015-08-05  Nick Clifton  <nickc@redhat.com>
-
-       * elf.c (_bfd_elf_copy_private_bfd_data): Copy the sh_link and
-       sh_info fields of sections whose type has been changed to
-       SHT_NOBITS.
-
-2015-08-04  Yuriy M. Kaminskiy"  <yumkam@gmail.com>
-           Tyler Hicks  <tyhicks@canonical.com>
-
-       PR binutils/18750
-       * ihex.c (ihex_scan): Fixes incorrect escape sequence in error message
-       and stack overflow when char is signed and \200-\376 was in place of hex
-       digit; also fixes \377 was handled as EOF instead of "incorrect character".
-       (ihex_read_section): Changed for consistency.
-       (ihex_bad_byte): Prevent (now impossible to trigger) stack
-       overflow and incorrect escape sequence handling.
-       * srec.c (srec_bad_byte): Likewise.
-
-2015-08-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * elf32-cris.c (cris_elf_relocate_section)
-       (elf_cris_finish_dynamic_symbol, cris_elf_check_relocs)
-       (elf_cris_discard_excess_dso_dynamics): Use SYMBOLIC_BIND, not
-       just link_info->symbolic, to check if a symbol should be bound
-       symbolically.
-
-2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18735
-       * elflink.c (_bfd_elf_add_default_symbol): Add the default
-       symbol if not performing a relocatable link.
-       (elf_link_add_object_symbols): Adjust the default symbol if
-       not performing a relocatable link.
-
-2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elflink.c (elf_link_add_object_symbols): Remove
-       !info->relocatable check for info->executable.  Add
-       !info->relocatable check for !info->executable.
-       (elf_link_output_extsym): Remove
-       !info->relocatable check for info->executable.
-
-2015-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * mmo.c (mmo_write_symbols_and_terminator): Skip symbol-type
-       assignment loop for bfd plugin objects.
-
-2015-07-28  Alan Modra  <amodra@gmail.com>
-
-       * elf.c (_bfd_elf_map_sections_to_segments): Do not make a new
-       segment for loaded sections after nonloaded sections if the
-       sections are on the same page.
-
-2015-07-28  Iain Buclaw  <ibuclaw@gdcproject.org>
-
-       * configure.in: Add asprintf and vasprintf to AC_CHECK_DECLS.
-       * config.in, configure: Regenerate.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-27  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-msp430.c (uses_large_model): New function.
-       (msp430_elf_eh_frame_address_size): New function.
-       (elf_backend_eh_frame_address_size): Define.
-
-2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
-
-       PR ld/18705
-       * elfnn-aarch64.c (elf_backend_extern_protected_data): Define.
-
-2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
-
-       PR ld/18705
-       * elf32-arm.c (elf_backend_extern_protected_data): Define.
-
-2015-07-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18718
-       * elflink.c (elf_link_output_extsym): Check symbol version
-       section check only if not linking executable, the symbol is
-       referenced by shared library or not locally defined.
-
-2015-07-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * elf32-arm.c (elf32_arm_final_link_relocate): Use SYMBOLIC_BIND to
-       check if a symbol should be bound symbolically.
-       * elf32-hppa.c (elf32_hppa_check_relocs,
-       elf32_hppa_adjust_dynamic_symbol, elf32_hppa_relocate_section,
-       elf32_hppa_finish_dynamic_symbol): Likewise.
-       * elf32-m68k.c (elf_m68k_check_relocs,
-       elf_m68k_relocate_section): Likewise.
-       * elf32-nios2.c (nios2_elf32_relocate_section,
-       nios2_elf32_check_relocs, allocate_dynrelocs): Likewise.
-       * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol,
-       elf32_tic6x_relocate_section): Likewise.
-
-2015-07-24  Alan Modra  <amodra@gmail.com>
-
-       * elf.c (_bfd_elf_assign_file_positions_for_non_load): Use .rela
-       prefix for reloc section corresponding to rela section associated
-       with renamed debug section.
-
-2015-07-24  Alan Modra  <amodra@gmail.com>
-
-       * section.c (bfd_get_section_by_name_if): Iterate over entire hash
-       chain.
-
-2015-07-23  Joseph Myers  <joseph@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections)
-       <DT_MIPS_RLD_MAP_REL>: Add target address to host address
-       difference, not to host pointer.
-
-2015-07-22  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (opd_entry_value): Remove assertion.  Instead,
-       return -1 if symbol referenced is not defined.  Tidy.
-
-2015-07-20  Alan Modra  <amodra@gmail.com>
-
-       * po/SRC-POTFILES.in: Regenerate.
-
-2015-07-17  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Sort alphabetically.
-       (IS_AARCH64_TLSDESC_RELOC): Sort alphabetically.
-
-2015-07-16  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
-       BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
-       (aarch64_reloc_got_type): Ditto.
-       (elfNN_aarch64_final_link_relocate): Ditto.
-       (elfNN_aarch64_relocate_section): Ditto.
-       (elfNN_aarch64_gc_sweep_hook): Ditto.
-       (elfNN_aarch64_check_relocs): Ditto.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
-       (_bfd_aarch64_elf_resolve_relocation): Ditto.
-
-2015-07-16  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PREL21): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
-
-2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18656
-       * bfd.c (bfd_convert_section_size): New function.
-       (bfd_convert_section_contents): Likewise.
-       * bfd-in2.h: Regenerated.
-
-2015-07-09  Catherine Moore  <clm@codesourcery.com>
-
-       * elflink.c (bfd_elf_size_dynamic_sections): Call to
-       _bfd_elf_maybe_strip_eh_frame_hdr should be before
-       bed->elf_backend_size_dynamic_sections.
-
-2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
-
-       * elf32-avr.c: Add 32 bit PC relative relocation for AVR target.
-
-2015-07-05  Richard Sandiford  <richard.sandiford@arm.com>
-
-       * elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value
-       plus addend rather than the original st_value when looking up
-       entries in opd->adjust.
-
-2015-07-03   Kai Tietz  <ktietz@redhat.com>
-            Nick Clifton  <nickc@redhat.com>
-
-       PR ld/11539
-       * coffcode.h (coff_bfd_gc_sections): Define default
-       to bfd_coff_gc_sections function.
-       (coff_gc_mark_hook_fn): New type.
-       * coffgen.c (init_reloc_cookie): Copy and adjust coff
-       related code about gc-sections from elflink.c to here.
-       (fini_reloc_cookie): Likewise.
-       (init_reloc_cookie_rels): Likewise.
-       (fini_reloc_cookie_rels): Likewise.
-       (init_reloc_cookie_for_section): Likewise.
-       (fini_reloc_cookie_for_section): Likewise.
-       (_bfd_coff_gc_mark_hook): Likewise.
-       (_bfd_coff_gc_mark_rsec): Likewise.
-       (_bfd_coff_gc_mark_reloc): Likewise.
-       (_bfd_coff_gc_mark): Likewise.
-       (_bfd_coff_gc_mark_extra_sections): Likewise.
-       (coff_gc_sweep_symbol_info): Likewise.
-       (coff_gc_sweep_symbol): Likewise.
-       (gc_sweep_hook_fn): Likewise.
-       (coff_gc_sweep): Likewise.
-       (bfd_coff_gc_sections): Likewise.
-       (_bfd_coff_gc_keep): Likewise.
-       * libcoff-in.h (coff_reloc_cookie): New struct.
-       (bfd_coff_gc_sections): New prototype.
-       * libcoff.h: Regenerate.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * bfd-in2.h: Regenerated.
-       * elf32-nios2.c (elf_nios2_howto_table_rel): Rename to...
-       (elf_nios2_r1_howto_table_rel): This.
-       (elf_nios2_r2_howto_table_rel): New.
-       (BFD_IS_R2): New.
-       (lookup_howto): Add ABFD parameter.  Adjust to look up in either
-       the R1 or R2 relocation table, as determined by ABFD.
-       (nios2_reloc_map): Add R2 relocations.
-       (nios2_elf32_bfd_reloc_type_lookup): Do lookup using lookup_howto.
-       Pass it the ABFD parameter.
-       (nios2_elf32_bfd_reloc_name_lookup): Use ABFD to decide whether to
-       return an R1 or R2 relocation.
-       (nios2_elf32_info_to_howto): Do lookup using lookup_howto.
-       Pass it the ABFD parameter.
-       (nios2_elf32_do_call26_relocate): Check for alignment on a 4-byte
-       boundary.
-       (nios2_elf32_relocate_section): Adjust call to lookup_howto.
-       * libbfd.h: Regenerated.
-       * reloc.c (BFD_RELOC_NIOS2_R2_S12): New.
-       (BFD_RELOC_NIOS2_R2_I10_1_PCREL): New.
-       (BFD_RELOC_NIOS2_R2_T1I7_1_PCREL): New.
-       (BFD_RELOC_NIOS2_R2_T1I7_2): New.
-       (BFD_RELOC_NIOS2_R2_T2I4): New.
-       (BFD_RELOC_NIOS2_R2_T2I4_1): New.
-       (BFD_RELOC_NIOS2_R2_T2I4_2): New.
-       (BFD_RELOC_NIOS2_R2_X1I7_2): New.
-       (BFD_RELOC_NIOS2_R2_X2L5): New.
-       (BFD_RELOC_NIOS2_R2_F1I5_2): New.
-       (BFD_RELOC_NIOS2_R2_L5I4X1): New.
-       (BFD_RELOC_NIOS2_R2_T1X1I6): New.
-       (BFD_RELOC_NIOS2_R2_T1X1I6_2): New.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * archures.c (bfd_mach_nios2r1, bfd_mach_nios2r2): New.
-       * bfd-in2.h: Regenerated.
-       * cpu-nios2.c (nios2_compatible): New.
-       (N): Use nios2_compatible instead of bfd_default_compatible.
-       (NIOS2R1_NEXT, NIOS2R2_NEXT): Define.
-       (arch_info_struct): New.
-       (bfd_nios2_arch): Chain to NIOS2R1_NEXT.
-       * elf32-nios2.c (is_nios2_elf): New.
-       (nios2_elf32_merge_private_bfd_data): New.
-       (nios2_elf32_object_p): New.
-       (bfd_elf32_bfd_merge_private_bfd_data): Define.
-       (elf_backend_object_p): Define.
-
-2015-07-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Refactor.
-
-2015-06-30  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18570
-       * elf-attrs.c (obj_attr_size): Use an unsigned int type for the tag.
-       (write_obj_attribute): Likewise.
-       (elf_new_obj_attr): Likewise.
-       (bfd_elf_get_obj_attr_int): Likewise.
-       (bfd_elf_add_obj_attr_int): Likewise.
-       (bfd_elf_add_obj_attr_string): Likewise.
-       (bfd_elf_add_obj_attr_int_string): Likewise.
-       (gnu_obj_attrs_arg_type): Likewise.
-       (_bfd_elf_obj_attrs_arg_type): Likewise.
-       (_bfd_elf_parse_attributes): Likewise.
-       (_bfd_elf_merge_unknown_attribute_list): Likewise.
-       * elf-bfd.h (struct obj_attribute_list): Likewise.
-       Update prototypes.
-
-2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfd-in.h (compressed_debug_section_type): Remove
-       COMPRESS_DEBUG_ZLIB.
-       * bfd-in2.h : Regenerated.
-
-2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Use executable
-       instead of !shared to indicate an application vs shared library.
-       (_bfd_mips_elf_size_dynamic_sections): Likewise.
-       (_bfd_mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP_REL.
-       (_bfd_mips_elf_get_target_dtag): Likewise.
-
-2015-06-25  DJ Delorie  <dj@redhat.com>
-
-       * elf32-msp430.c (msp430_final_link_relocate): Fix comments.  Fix
-       REL loads to match RELA stores.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (_bfd_elf_compute_section_file_positions): Don't
-       initialize sh_size for .shstrtab here.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/18451
-       * elf-bfd.h (elf_sym_strtab): New.
-       (elf_link_hash_table): Add strtabcount, strtabsize and
-       strtab.
-       (_bfd_elf_stringtab_init): Removed.
-       * elf.c (_bfd_elf_stringtab_init): Removed.
-       (_bfd_elf_compute_section_file_positions): Replace
-       bfd_strtab_hash/_bfd_elf_stringtab_init/_bfd_stringtab_free/
-       _bfd_stringtab_size with
-       elf_strtab_hash/_bfd_elf_strtab_init/_bfd_elf_strtab_free/
-       _bfd_elf_strtab_size.  Use _bfd_elf_strtab_add,
-       _bfd_elf_strtab_finalize and _bfd_elf_strtab_offset to get
-       st_name.
-       (swap_out_syms): Likewise.
-       * elflink.c (elf_final_link_info): Replace bfd_strtab_hash
-       with elf_strtab_hash.  Remove symbuf, symbuf_count,
-       symbuf_size and shndxbuf_size.
-       (elf_link_flush_output_syms): Removed.
-       (elf_link_output_sym): Renamed to ...
-       (elf_link_output_symstrtab): This.  Replace _bfd_stringtab_add
-       with _bfd_elf_strtab_add.  Don't flush symbols to the file nor
-       swap out symbols.
-       (elf_link_swap_symbols_out): New.
-       (elf_link_output_extsym): Replace elf_link_output_sym with
-       elf_link_output_symstrtab.
-       (elf_link_input_bfd): Likewise.
-       (elf_final_link_free): Replace _bfd_stringtab_free with
-       _bfd_elf_strtab_free.  Remove symbuf.
-       (bfd_elf_final_link): Replace _bfd_elf_stringtab_init with
-       _bfd_elf_strtab_init.  Don't set symbuf, symbuf_count,
-       symbuf_size nor shndxbuf_size.  Initialize strtabsize and
-       strtab.  Initialize symshndxbuf to -1 when number of sections
-       >= 64K.  Replace elf_link_output_sym/elf_link_output_sym with
-       elf_link_output_symstrtab/elf_link_output_symstrtab. Don't
-       call elf_link_flush_output_syms.  Call _bfd_elf_strtab_finalize
-       and elf_link_swap_symbols_out.  Replace _bfd_stringtab_size
-       and _bfd_stringtab_emit with _bfd_elf_strtab_size and
-       _bfd_elf_strtab_emit.
-
-2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
-       GCC warning.
-
-2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_allocate_dynrelocs): Always allocate
-       space for the first .plt entry.
-       (elf_i386_size_dynamic_sections): Always add DT_PLTGOT for .plt
-       section.  Add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL only if
-       there are PLT relocations.
-       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Always
-       allocate space for the first .plt entry.
-       (elf_x86_64_size_dynamic_sections): Always add DT_PLTGOT for
-       .plt section.  Add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL only if
-       there are PLT relocations.
-
-2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18591
-       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Don't convert
-       R_X86_64_GOTPCREL to R_X86_64_PC32 if it will cause relocation
-       overflow.
-
-2015-06-23  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_readonly_dynrelocs): New function.
-       (elfNN_aarch64_size_dynamic_sections): Traverse hash table to check
-       relocations against read-only sections.
-
-2015-06-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 18481
-       * elf32-arm.c (R_ARM_TLS_LE32): Set the special function to NULL.
-
-2015-06-15  Jon Turney  <jon.turney@dronecode.org.uk>
-
-       * bfd.c: Change struct bfd_build_id to use bfd_size_type.
-       * bfd-in2.h : Regenerate.
-
-2015-06-16  Alan Modra  <amodra@gmail.com>
-
-       * elf32-ppc.c (ppc_elf_relocate_section): Correct binary search of
-       dynamic relocs.
-
-2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
-
-       * elf-bfd.h : Remove struct elf_build_id.
-       * bfd.c : Add struct bfd_build_id.
-       * bfd-in2.h: Regenerate.
-       * elf.c (elfobj_grok_gnu_build_id): Update to use bfd_build_id.
-       * libpei.h: Add protoype and macros for
-       bfd_XXi_slurp_codeview_record.
-       * peXXigen.c (_bfd_XXi_slurp_codeview_record): Make public
-       * peicode.h (pe_bfd_read_buildid): Add.
-       (pe_bfd_object_p): Use pe_bfd_read_buildid().
-
-2015-06-15  Renlin Li  <renlin.li@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
-
-2015-06-15  Alan Modra  <amodra@gmail.com>
-
-       * cofflink.c (_bfd_coff_generic_relocate_section): Revert
-       2014-03-26 change.  Call _bfd_clear_contents for relocs against
-       local and global symbols defined in discarded input sections.
-
-2015-06-05  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-msp430.c (rl78_sym_diff_handler): New function.
-       (msp430_howto_table): Use the new function for the SYM_DIFF reloc.
-       (msp430x_howto_table): Likewise.
-
-2015-06-05  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc_elf_relocate_section): Move dynamic text
-       relocs with insns moved by --ppc476-workaround.  Correct
-       output of REL16 relocs.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Support
-       BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
-       (elfNN_aarch64_final_link_relocate): Ditto.
-       (elfNN_aarch64_gc_swap_hook): Ditto.
-       (elfNN_aarch64_check_relocs): Ditto.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Set overflow type to
-       complain_overflow_unsigned for BFD_RELOC_AARCH64_TLSLE_ADD_LO12.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Don't use
-       PGOFF for BFD_RELOC_AARCH64_TLSLE_ADD_LO12.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_reloc_got_type): Support
-       BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
-       (elfNN_aarch64_final_link_relocate): Ditto.
-       (elfNN_aarch64_gc_swap_hook): Ditto.
-       (elfNN_aarch64_check_relocs): Ditto.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * reloc.c (BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15): New entry.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
-       BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
-
-2015-05-28  Catherine Moore  <clm@codesourcery.com>
-           Bernd Schmidt <bernds@codesourcery.com>
-           Paul Brook <paul@codesourcery.com>
-
-       * bfd-in2.h: Regenerated.
-       * elf-bfd.h (DWARF2_EH_HDR, COMPACT_EH_HDR): Define.
-       (COMPACT_EH_CANT_UNWIND_OPCODE): Define.
-       (dwarf_eh_frame_hdr_info): Move dwarf-specific fields from
-       eh_frame_hdr_info.
-       (compact_eh_frame_hdr_info): Declare.
-       (eh_frame_hdr_info):  Redeclare with union for dwarf-specific
-       fields and compact-eh fields.
-       (elf_backend_data): Add cant_unwind_opcode and compact_eh_encoding.
-       (bfd_elf_section_data): Add eh_frame_entry_field.
-       (elf_section_eh_frame_entry): Define.
-       (bfd_elf_parse_eh_frame_entries): Declare.
-       (_bfd_elf_parse_eh_frame_entry): Declare.
-       (_bfd_elf_end_eh_frame_parsing): Declare.
-       (_bfd_elf_write_section_eh_frame_entry): Declare.
-       (_bfd_elf_eh_frame_entry_present): Declare.
-       (_bfd_elf_section_for_symbol): Declare.
-       * elf-eh-frame.c (bfd_elf_discard_eh_frame_entry): New function.
-       (bfd_elf_record_eh_frame_entry): New function.
-       (_bfd_elf_parse_eh_frame_entry): New function.
-       (_bfd_elf_parse_eh_frame): Update hdr_info field references.
-       (cmp_eh_frame_hdr): New function.
-       (add_eh_frame_hdr_terminator): New function.
-       (_bfd_elf_end_eh_frame_parsing): New function.
-       (find_merged_cie): Update hdr_info field references.
-       (_bfd_elf_discard_section_eh_frame): Likewise.
-       (_bfd_elf_discard_section_eh_frame_hdr): Add Compact EH support.
-       (_bfd_elf_eh_frame_entry_present): New function.
-       (_bfd_elf_maybe_strip_eh_frame_hdr): Add Compact EH support.
-       (_bfd_elf_write_section_eh_frame_entry): New function.
-       (_bfd_elf_write_section_eh_frame): Update hdr_info field references.
-       (_bfd_elf_fixup_eh_frame_hdr): New function.
-       (write_compact_eh_frame_hdr): New function.
-       (write_dwarf_eh_frame_hdr): New function.
-       (_bfd_elf_write_section_eh_frame_hdr): Add Compact EH support.
-       * elflink.c (_bfd_elf_section_for_symbol): New function.
-       (elf_section_ignore_discarded_relocs): Add Compact EH support.
-       (elf_link_input_bfd): Likewise.
-       (bfd_elf_final_link): Likewise.
-       (_bfd_elf_gc_mark): Likewise.
-       (bfd_elf_parse_eh_frame_entries): New function.
-       (bfd_elf_gc_sections): Add Compact EH support.
-       (bfd_elf_discard_info): Likewise.
-       * elfxx-mips.c: Include dwarf2.h.
-       (_bfd_mips_elf_compact_eh_encoding): New function.
-       (_bfd_mips_elf_cant_unwind_opcode): New function.
-       * elfxx-mips.h (_bfd_mips_elf_compact_eh_encoding): Declare.
-       (_bfd_mips_elf_cant_unwind_opcode): Declare.
-       (elf_backend_compact_eh_encoding): Define.
-       (elf_backend_cant_unwind_opcode): Define.
-       * elfxx-target.h (elf_backend_compact_eh_encoding): Provide default.
-       (elf_backend_cant_unwind_opcode): Provide default.
-       (elf_backend_data elfNN_bed): Add elf_backend_compact_eh_encoding and
-       elf_backend_cant_unwind_opcode.
-       * section.c (SEC_INFO_TYPE_EH_FRAME_ENTRY): Add definition.
-
-2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18458
-       * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
-       for now binding only if pointer equality isn't needed.
-       (elf_i386_allocate_dynrelocs): Use .plt.got section for now
-       binding only if pointer equality isn't needed.
-       * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
-       section for now binding only if pointer equality isn't needed.
-       (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
-       binding only if pointer equality isn't needed.
-
-2015-05-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18437
-       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip extra relocations
-       in .rel.plt/.rela.plt.
-       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
-
-2015-05-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (aarch64_tls_transition_without_check): Sort
-       relocation case labels alphabetically.
-       (elfNN_aarch64_final_link_relocate): Ditto.
-       (elfNN_aarch64_tls_relax): Ditto.
-       (elfNN_aarch64_relocate_section): Ditto.
-       (elfNN_aarch64_gc_sweep_hook): Ditto.
-       (elfNN_aarch64_check_relocs): Ditto.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
-       (_bfd_aarch64_elf_resolve_relocation): Ditto.
-
-2015-05-18  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite
-       comments.
-
-2015-05-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
-       for now binding.
-       (elf_i386_allocate_dynrelocs): Use .plt.got section for now
-       binding.
-       * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
-       section for now binding.
-       (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
-       binding.
-
-2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfd.c (bfd_update_compression_header): Also write the zlib
-       header if the SHF_COMPRESSED bit cleared..
-       (bfd_check_compression_header): Return the uncompressed size.
-       * compress.c (decompress_contents): Don't skip the zlib header.
-       (bfd_compress_section_contents): Properly handle ELFCOMPRESS_ZLIB,
-       which doesn't have the zlib header.
-       (bfd_init_section_decompress_status): Likewise.
-       (bfd_get_full_section_contents): Updated.
-       (bfd_is_section_compressed): Likewise.
-       (bfd_is_section_compressed_with_header): Return the uncompressed
-       size.
-       * elf.c (_bfd_elf_make_section_from_shdr): Updated.
-       * bfd-in2.h: Regenerated.
-
-2015-05-14  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Remove overflow
-       check restrictions.
-
-2015-05-14  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Treat PLT reference
-       as GOT reference when plt.refcount is not positive.
-
-2015-05-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate space
-       for the first .plt entry only if needed.
-       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
-
-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.
-
-2015-04-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_relocate_section): Replace SYMBOLIC_BIND
-       with SYMBOL_REFERENCES_LOCAL when checking R_386_GOTOFF against
-       protected data symbol when building shared library.
-       * elf64-x86-64.c (elf_x86_64_relocate_section): Check
-       R_X86_64_GOTOFF64 against undefined symbol and replace
-       SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL when checking
-       R_X86_64_GOTOFF64 against protected data symbol when building
-       shared library.
-
-2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr17709
-       * elf32-i386.c (elf_i386_relocate_section): Also check R_386_GOTOFF
-       against protected data symbol when building shared library.
-       * elf64-x86-64.c (elf_x86_64_relocate_section): Also check
-       R_X86_64_GOTOFF64 against protected data symbol when building
-       shared library.
-
-2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr15228
-       PR ld/pr17709
-       * elf-bfd.h (elf_backend_data): Add extern_protected_data.
-       * elf32-i386.c (elf_backend_extern_protected_data): New.
-       Defined to 1.
-       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
-       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
-       copy relocs against protected symbols if extern_protected_data
-       is true.
-       (_bfd_elf_symbol_refs_local_p): Don't return true on protected
-       non-function symbols if extern_protected_data is true.
-       * elfxx-target.h (elf_backend_extern_protected_data): New.
-       Default to 0.
-       (elfNN_bed): Initialize extern_protected_data with
-       elf_backend_extern_protected_data.
-
-2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.c (bfd_compress_section_contents): Replace bfd_malloc
-       and free with bfd_alloc and bfd_release on compressed buffer.
-       Release buffer if compressed section isn't smaller.
-
-2015-04-10  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18222
-       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't report an error
-       on adding a protected visibility variable to .dynbss.
-
-2015-04-10  Alan Modra  <amodra@gmail.com>
-
-       Revert 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
-       PR ld/pr15228
-       PR ld/pr17709
-       * elf-bfd.h (elf_backend_data): Delete extern_protected_data.
-       * elf32-i386.c (elf_backend_extern_protected_data): Delete.
-       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
-       * elflink.c (_bfd_elf_adjust_dynamic_copy): Remove
-       extern_protected_data test.
-       (_bfd_elf_symbol_refs_local_p): Likewise.
-       * elfxx-target.h (elf_backend_extern_protected_data): Delete.
-       (elfNN_bed): Delete elf_backend_extern_protected_data init.
-
-2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.c (bfd_compress_section_contents): Update comments.
-       (bfd_init_section_decompress_status): Likewise.
-       (bfd_init_section_compress_status): Likewise.
-
-2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfxx-target.h (TARGET_BIG_SYM): Add BFD_COMPRESS_GABI to
-       object_flags.
-       (TARGET_LITTLE_SYM): Likewise.
-
-2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * elf32-xtensa.c (splay-tree.h): include header.
-       (text_action_struct): drop next pointer.
-       (text_action_list_struct): drop head pointer, add count and
-       tree fields.
-       (find_fill_action): instead of linear search in text_action_list
-       search in the tree.
-       (text_action_compare, action_first, action_next): new functions.
-       (text_action_add, text_action_add_literal): instead of linear
-       search and insertion insert new node into the tree.
-       (removed_by_actions): pass additional parameter: action_list,
-       use it to traverse the tree.
-       (offset_with_removed_text): pass additional action_list parameter
-       to removed_by_actions.
-       (map_action_fn_context): new typedef.
-       (map_action_fn_context_struct): new structure.
-       (map_action_fn): new function.
-       (map_removal_by_action): use splay_tree_foreach to build map.
-       (find_insn_action): replace linear search in text_action_list
-       with series of splay_tree_lookups.
-       (print_action, print_action_list_fn): new functions.
-       (print_action_list): use splay_tree_foreach.
-       (init_xtensa_relax_info): drop action_list.head initialization.
-       Initialize the tree.
-       (compute_text_actions): use non-zero action_list_count instead of
-       non-NULL action list.
-       (xlate_map_context): new typedef.
-       (xlate_map_context_struct): new structure.
-       (xlate_map_fn): new function.
-       (build_xlate_map): use splay_tree_foreach to build map.
-       (action_remove_bytes_fn): new function.
-       (relax_section): use zero action_list_count instead of NULL
-       action list. Use splay_tree_foreach to count final section size.
-       Drop unused variable 'removed'.
-
-2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * elf32-xtensa.c (removed_literal_map_entry): new typedef.
-       (removed_literal_map_entry_struct): new structure.
-       (removed_literal_list_struct): add new fields: n_map and map.
-       (map_removed_literal, removed_literal_compare): new functions.
-       (find_removed_literal): build index array for literals ordered
-       by VMA, use binary search to find removed literal.
-
-2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * elf32-xtensa.c (removal_by_action_entry_struct,
-       removal_by_action_map_struct): new structures.
-       (removal_by_action_entry, removal_by_action_map): new typedefs.
-       (text_action_list_struct): add new field: map.
-       (map_removal_by_action, removed_by_actions_map,
-       offset_with_removed_text_map): new functions.
-       (relax_section): replace offset_with_removed_text with
-       offset_with_removed_text_map.
-       (translate_reloc, relax_property_section, relax_section_symbols):
-       replace removed_by_actions with removed_by_actions_map.
-
-2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * elf32-xtensa.c (reloc_range_list, reloc_range_list_entry,
-       reloc_range): new typedef.
-       (reloc_range_list_struct, reloc_range_list_entry_struct,
-       reloc_range_struct): new structures.
-       (reloc_range_compare, build_reloc_ranges,
-       reloc_range_list_append, reloc_range_list_remove,
-       reloc_range_list_update_range, free_reloc_range_list): new
-       functions.
-       (compute_text_actions): precompute relocation opcodes before the
-       loop. Add relevant_relocs variable, initialize it before the
-       loop, pass it to the check_section_ebb_pcrels_fit.
-       (check_section_ebb_pcrels_fit): add new parameter:
-       relevant_relocs. Update address range in the relevant_relocs if
-       it's non-NULL and iterate only over relevant relocations.
-
-2015-04-09  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-rx.c (describe_flags): Report the settings of the string
-       insn using bits.
-       (rx_elf_merge_private_bfd_data): Handle merging of the string insn
-       using bits.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.c (bfd_compress_section_contents): Work around a GCC
-       uninitialized warning bug fixed in GCC 4.7.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * archive.c (_bfd_get_elt_at_filepos): Also copy BFD_COMPRESS_GABI
-       bit.
-       * bfd.c (bfd::flags): Increase size to 18 bits.
-       (BFD_COMPRESS_GABI): New.
-       (BFD_FLAGS_SAVED): Add BFD_COMPRESS_GABI.
-       (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
-       (bfd_update_compression_header): New fuction.
-       (bfd_check_compression_header): Likewise.
-       (bfd_get_compression_header_size): Likewise.
-       (bfd_is_section_compressed_with_header): Likewise.
-       * compress.c (MAX_COMPRESSION_HEADER_SIZE): New.
-       (bfd_compress_section_contents): Return the uncompressed size if
-       the full section contents is compressed successfully.  Support
-       converting from/to .zdebug* sections.
-       (bfd_get_full_section_contents): Call
-       bfd_get_compression_header_size to get compression header size.
-       (bfd_is_section_compressed): Renamed to ...
-       (bfd_is_section_compressed_with_header): This.  Add a pointer
-       argument to return compression header size.
-       (bfd_is_section_compressed): Use it.
-       (bfd_init_section_decompress_status): Call
-       bfd_get_compression_header_size to get compression header size.
-       Return FALSE if uncompressed section size is 0.
-       * elf.c (_bfd_elf_make_section_from_shdr): Support converting
-       from/to .zdebug* sections.
-       * bfd-in2.h: Regenerated.
-
-2015-04-07  Alan Modra  <amodra@gmail.com>
-
-       * elf.c (_bfd_elf_get_reloc_section): Allow for .got.plt being
-       mapped to output .got section.
-
-2015-04-07  Alan Modra  <amodra@gmail.com>
-
-       * elf32-ppc.c (struct ppc_elf_link_hash_entry): Add has_addr16_ha
-       and has_addr16_lo.  Make has_sda_refs a bitfield.
-       (ppc_elf_check_relocs): Set new flags.
-       (ppc_elf_link_hash_table_create): Update default_params.
-       (ppc_elf_adjust_dynamic_symbol): Clear protected_def in cases
-       where we won't be making .dynbss entries or editing code.  Set
-       params->pic_fixup when we'll edit code for protected var access.
-       (allocate_dynrelocs): Allocate got entry for edited code and
-       discard dyn_relocs.
-       (struct ppc_elf_relax_info): Add picfixup_size.
-       (ppc_elf_relax_section): Rename struct one_fixup to struct
-       one_branch_fixup.  Rename fixups to branch_fixups.  Size space for
-       pic fixups.
-       (ppc_elf_relocate_section): Edit non-PIC accessing protected
-       visibility variables to PIC.  Don't emit dyn_relocs for code
-       we've edited.
-       * elf32-ppc.h (struct ppc_elf_params): Add pic_fixup.
-
-2015-04-07  Nick Clifton  <nickc@redhat.com>
-
-       * elf.c (_bfd_elf_is_local_label_name): Treat assembler generated
-       local labels as local.
-
-2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.c (get_uncompressed_size): Removed.
-       (bfd_compress_section_contents): Use bfd_putb64 to write
-       uncompressed section size.
-       (bfd_init_section_decompress_status): Replace
-       get_uncompressed_size with bfd_getb64.
-
-2015-04-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (_bfd_elf_init_private_section_data): Also preserve the
-       SHF_COMPRESSED bit if not decompress.
-
-2015-04-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.c (get_uncompressed_size): New.  Extracted from ...
-       (bfd_init_section_decompress_status): This.  Use it.
-
-2015-04-02  Andrew Turner  <andrew@freebsd.org>
-
-       * config.bfd: Add aarch64-*-freebsd* target triple.
-
-2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-04-01  Tejas Belagod  <tejas.belagod@arm.com>
-           Marcus Shawcroft  <marcus.shawcroft@arm.com>
-           Jiong Wang  <jiong.wang@arm.com>
-
-       * bfd-in.h (bfd_elf64_aarch64_set_options)
-       (bfd_elf32_aarch64_set_options): Add parameter.
-       * bfd-in2.h: Regenerated.
-       * elfnn-aarch64.c (aarch64_erratum_843419_stub)
-       (_bfd_aarch64_adrp_p, _bfd_aarch64_erratum_843419_sequence_p)
-       (_bfd_aarch64_erratum_843419_stub_name)
-       (_bfd_aarch64_erratum_843419_fixup)
-       (_bfd_aarch64_erratum_843419_scan)
-       (_bfd_aarch64_erratum_843419_branch_to_stub)
-       (_bfd_aarch64_erratum_843419_p): Define.
-       (enum elf_aarch64_stub_type): Define
-       aarch64_stub_erratum_843419_veneer.
-       (struct elf_aarch64_stub_hash_entry): Define adrp_offset.
-       (struct elf_aarch64_link_hash_table): Define fix_erratum_843419
-       and fix_erratum_843419_adr.
-       (stub_hash_newfunc): Initialize adrp_offset;
-       (_bfd_aarch64_add_stub_entry_after): Define.
-       (aarch64_map_one_stub, aarch64_build_one_stub)
-       (aarch64_size_one_stub): Handle
-       aarch64_stub_erratum_843419_veneer.
-       (_bfd_aarch64_resize_stubs): Round stub section size.
-       (elfNN_aarch64_size_stubs): Add scan for 843419.
-       (bfd_elfNN_aarch64_set_options): Add parameter. Initialize
-       fix_erratum_843419 and fix_erratum_843419_adr.
-       (struct erratum_835769_branch_to_stub_data): Add info.
-       (elfNN_aarch64_write_section): Initialise info.  Handle 843419.
-       (elfNN_aarch64_size_dynamic_sections): Handle 843419.
-       * elfxx-aarch64.c (_bfd_aarch64_decode_adrp_imm)
-       (_bfd_aarch64_sign_extend): Define.
-       (reencode_adr_imm): Remove static. Rename to:
-       (_bfd_aarch64_reencode_adr_imm): Define.
-       (_bfd_aarch64_elf_put_addend): Call _bfd_aarch64_reencode_adr_imm.
-       * elfxx-aarch64.h (AARCH64_ADR_OP, AARCH64_ADRP_OP)
-       (AARCH64_ADRP_OP_MASK, _bfd_aarch64_sign_extend)
-       (_bfd_aarch64_decode_adrp_imm, _bfd_aarch64_reencode_adr_imm):
-       Define.
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-03-31  Ed Schouten  <ed@nuxi.nl>
-
-       * config.bfd (targ_defvec): Set to x86_64_elf64_cloudabi_vec
-       for x86_64-*-cloudabi*.
-       * configure.ac: Handle x86_64_elf64_cloudabi_vec.
-       * configure: Regenerated.
-       * elf64-x86-64.c (TARGET_LITTLE_SYM): Support x86_64-*-cloudabi*.
-       (TARGET_LITTLE_NAME): Likewise.
-       (ELF_OSABI): Likewise.
-       (elf64_bed): Likewise.
-       * targets.c (x86_64_elf64_cloudabi_vec): New.
-       (_bfd_target_vector): Add x86_64_elf64_cloudabi_vec.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Revert the AM_ZLIB change.
-       * Makefile.in: Regenerated.
-       * aclocal.m4: Likewise.
-       * configure: Likewise.
-       * doc/Makefile.in: Likewise.
-
-2015-03-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18169
-       * elf-bfd.h (elf_backend_data): Add get_reloc_section.
-       (_bfd_elf_get_reloc_section): New.
-       * elf.c (_bfd_elf_get_reloc_section): Likewise.
-       (assign_section_numbers): Call get_reloc_section to look up the
-       section the relocs apply.
-       * elfxx-target.h (elf_backend_get_reloc_section): Likewise.
-       (elfNN_bed): Initialize get_reloc_section with
-       elf_backend_get_reloc_section.
-
-2015-03-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (ZLIB): New.
-       (ZLIBINC): Likewise.
-       (AM_CFLAGS): Add $(ZLIBINC).
-       (libbfd_la_LIBADD): Add $(ZLIB).
-       * compress.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
-       (decompress_contents): Don't check HAVE_ZLIB_H.
-       (bfd_compress_section_contents): Likewise.
-       (bfd_get_full_section_contents): Likewise.
-       (bfd_init_section_decompress_status): Likewise.
-       (bfd_init_section_compress_status): Likewise.
-       * configure.ac (AM_ZLIB): Removed.
-       (zlibdir): New.  AC_SUBST.
-       (zlibinc): Likewise.
-       Add --with-system-zlib.
-       * Makefile.in: Regenerated.
-       * acinclude.m4: Likewise.
-       * config.in: Likewise.
-       * configure: Likewise.
-       * doc/Makefile.in: Likewise.
-
-2015-03-27  Alan Modra  <amodra@gmail.com>
-
-       PR ld/15228
-       PR ld/18167
-       * elflink.c (elf_merge_st_other): Add "sec" parameter.  Don't set
-       protected_def when symbol section is read-only.  Adjust all calls.
-       * elf-bfd.h (struct elf_link_hash_entry): Update protected_def comment.
-
-2015-03-26  Tejas Belagod  <tejas.belagod@arm.com>
-
-       * elfnn-aarch64.c (aarch64_build_one_stub): Replace the call to generic
-       _bfd_final_link_relocate with aarch64_relocate.
-
-2015-03-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18160
-       * elflink.c (elf_gc_sweep): Skip if relocation is incompatible.
-       (bfd_elf_gc_sections): Likewise.
-
-2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Adjust stub section
-       size for initial branch.
-       (elfNN_aarch64_build_stubs): Write initial branch.
-       _bfd_aarch64_decode_(elfNN_aarch64_output_arch_local_syms): Write
-       mapping symbol on initial branch.
-
-2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_scan):
-       Update erratum count.
-
-2015-03-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * elflink.c (_bfd_elf_gc_mark_extra_sections): Don't break on
-       first matching debug section.
-
-2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/18087
-       * compress.c (bfd_compress_section_contents): Don't write the
-       zlib header and set contents as well as compress_status if
-       compression didn't make the section smaller.
-       (bfd_init_section_compress_status): Don't check compression
-       size here.
-
-2015-03-24  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffgen.c (coff_get_normalized_symtab): Fix test for out of
-       range auxillary sections.
-
-2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Factor
-       code into:
-       (_bfd_aarch64_get_stub_for_link_section): Define.
-
-2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Adjust
-       update of section_group[].stub_sec.
-
-2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (struct aarch64_erratum_835769_fix) Remove.
-       (erratum_835769_scan) Drop fix_table_size_p and fixes_p arguments.
-       Delete fixes, fix_table_size and associated code.  Call
-       _bfd_aarch64_add_stub_entry_in_group. Rename to...
-       (bfd_aarch64_erratum_835769_scan): Define.
-       (elfNN_aarch64_size_stubs): Delete erratum_835769_fixes,
-       erratum_835769_fix_table_size, i and associated code.  Relocate
-       call to _bfd_aarch64_erratum_835769_scan.  Delete adhoc stub size
-       correction.  Delete construction of stub entry from
-       erratum_835769_fixes array.
-
-2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Use
-       _bfd_aarch64_add_stub_entry_in_group.
-
-2015-03-24  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_relocate_section): Report overflow to
-       stubs, even those for undefined weak symbols.  Otherwise, don't
-       report relocation overflow on branches to undefined strong
-       symbols.  Fix memory leak.
-       * elf32-ppc.c (ppc_elf_relocate_section): Don't report relocation
-       overflow on branches to undefined strong symbols.
-
-2015-03-23  Keith Seitz  <keiths@redhat.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Add
-       missing ';'.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (erratum_835769_scan): Factor stub name
-       construction into...
-       (_bfd_aarch64_erratum_835769_stub_name): Define.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Factor out
-       stub resize code into...
-       (bfd_aarch64_resize_stubs): Define.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Factor stub
-       creation code into...
-       (bfd_aarch64_create_stub_section): Define.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Rename
-       from elf_aarch64_create_or_find_stub_sec.
-       (_bfd_aarch64_add_stub_entry_in_group): Rename from
-       elfNN_aarch64_add_stub.  Call
-       _bfd_aarch64_create_or_find_stub_sec.
-       (elfNN_aarch64_size_stubs, elfNN_aarch64_size_stubs): Call
-       _bfd_aarch64_add_stub_entry_in_group.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (erratum_835769_scan) Add comment.  Reverse
-       sense of boolean return.
-       (elfNN_aarch64_size_stubs): Adjust for above.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (elf_aarch64_create_or_find_stub_sec):
-       Remove unused parameter.
-       (elfNN_aarch64_size_stubs): Adjust for above.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Remove bfd_indx.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (aarch64_erratum_835769_fixes)
-       (num_aarch64_erratum_835769_fixes): Remove.
-       (elfNN_aarch64_size_stubs): Remove assignments to above.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (aarch64_mem_op_p): Update comment. Rename rtn
-       to rt2.
-       (aarch64_erratum_seqeunce): Rename rtn to rt2.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_write_section): Adjust layout.
-
-2015-03-19  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-rl78.c (rl78_cpu_name): New function.  Prints the name of
-       the RL78 core based upon the flags.
-       (rl78_elf_merge_private_bfd_data): Handle merging of G13 and G14
-       flags.
-       (rl78_elf_print_private_bfd_data): Use rl78_cpu_name.
-       (elf32_rl78_machine): Always return bfd_mach_rl78.
-
-2015-03-19  Nick Clifton  <nickc@redhat.com>
-
-       PR 18078
-       * compress.c (bfd_compress_section_contents): Do not define this
-       function if it is not used.
-
-2015-03-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.c (bfd_compress_section_contents): Make it static.
-       * bfd-in2.h: Regenerated.
-
-2015-03-18  Eric Youngdale  <eyoungdale@ptc.com>
-
-       PR ld/16598
-       * peicode.h (pe_ILF_build_a_bfd): Add support for creating relocs
-       suitable for the AMD64.
-
-2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18087
-       * coffgen.c (make_a_section_from_file): Only prepend a z to a
-       debug section's name if the section was actually compressed.
-       * elf.c (_bfd_elf_make_section_from_shdr): Likewise.
-       * compress.c (bfd_init_section_compress_status): Do not compress
-       the section if doing so would make it bigger.  In such cases leave
-       the section alone and return COMPRESS_SECTION_NONE.
-
-2015-03-17  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return count of 0
-       on nothing to do, before malloc of returned symbol array.
-
-2015-03-16  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-rx.c (elf32_rx_relax_delete_bytes): If the relocs are not
-       stored in the elf_section_data structure then load them as
-       necessary.
-
-2015-03-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * elf-s390-common.c (elf_s390_elf_sort_relocs_p): Don't sort
-       relocs against code sections.
-       * elf32-s390.c: Define elf_backend_sort_relocs_p.
-       * elf64-s390.c: Likewise.
-
-2015-03-11  Alan Modra  <amodra@gmail.com>
-
-       * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Examine stubs in
-       reverse order.  Account for larger size of __tls_get_addr_opt stub.
-
-2015-03-10  Yuri Gribov  <y.gribov@samsung.arm>
-
-       PR ld/16572
-       * elf32-arm.c (elf32_arm_final_link_relocate): Remove support for
-       ELF_ARM_HASENTRY.
-       (elf32_arm_print_private_bfd_data): Likewise.
-
-2015-03-06  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17765
-       * elflink.c (put_value): Like previous delta, but for the 32-bit
-       case.
-
-2015-03-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17765
-       * elflink.c (put_value): Avoid using an undefined shift
-       operation.
-
-2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr15228
-       PR ld/pr17709
-       * elf-bfd.h (elf_backend_data): Add extern_protected_data.
-       * elf32-i386.c (elf_backend_extern_protected_data): New.
-       Defined to 1.
-       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
-       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
-       copy relocs against protected symbols if extern_protected_data
-       is true.
-       (_bfd_elf_symbol_refs_local_p): Don't return true on protected
-       non-function symbols if extern_protected_data is true.
-       * elfxx-target.h (elf_backend_extern_protected_data): New.
-       Default to 0.
-       (elfNN_bed): Initialize extern_protected_data with
-       elf_backend_extern_protected_data.
-
-2015-03-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18025
-       * coffgen.c (coff_find_nearest_line_with_names): If the dwarf2
-       lookup fails, check for an address bias in the dwarf info, and if
-       one exists, retry the lookup with the biased value.
-       * dwarf2.c (_bfd_dwarf2_find_symbol_bias): New function.
-       Determines if a bias exists bewteen the addresses of functions
-       based on DWARF information vs symbol table information.
-       * libbfd-in.h (_bfd_dwarf2_find_symbol_bias): Prototype.
-       * libbfd.h: Regenerate.
-
-2015-03-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfxx-aarch64.c (decode_add_imm, decode_movw_imm)
-       (decode_tst_branch_ofs_14, decode_ld_lit_ofs_19)
-       (decode_cond_branch_ofs_19, decode_branch_ofs_26): Remove.
-
-2015-03-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (aarch64_build_one_stub): Call abort.
-       (aarch64_size_one_stub): Likewise.
-       (aarch64_map_one_stub): Likewise.
-
-2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
-
-       * cpu-s390.c (N): New macro.
-       (bfd_s390_31_arch): New.  Define only if default target word size
-       is 64 bits.  Otherwise define...
-       (bfd_390_64_arch): ...this.  Make static.
-       (bfd_s390_arch): Define according to the default target word size.
-       Let the 'next' field point to the alternate arch.
-
-2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
-
-       PR gas/17843
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Expect
-       R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
-       to be used with MOVK rather than MOVZ.
-
-2015-03-03  DJ Delorie  <dj@redhat.com>
-
-       * elf32-rl78.c (rl78_elf_relax_section): Only relax ADDR16's if
-       there's a symbol.
-
-2015-02-28  Alan Modra  <amodra@gmail.com>
-
-       * elf32-ppc.c (ppc_elf_tls_setup): Set no_tls_get_addr_opt if
-       not PLT_NEW.
-
-2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (need_convert_mov_to_lea): New.
-       (elf_i386_check_relocs): Set need_convert_mov_to_lea if needed.
-       (elf_i386_convert_mov_to_lea): Return TRUE if
-       need_convert_mov_to_lea is unset.
-       * elf64-x86-64.c (need_convert_mov_to_lea): New.
-       (elf_x86_64_check_relocs): Set need_convert_mov_to_lea if needed.
-       (elf_x86_64_convert_mov_to_lea): Return TRUE if
-       need_convert_mov_to_lea is unset.
-
-2015-02-27  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17910
-       * coffgen.c (_bfd_coff_internal_syment_name): Only check for
-       string length overflow when the string table length is actually
-       set.
-
-2015-02-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix
-       TLSDESC_LD_PREL19 field width and masks.
-       (aarch64_tls_transition_without_check)
-       (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
-       (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
-       (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
-       BFD_RELOC_AARCH64_TLSDESC_LD_PREL19.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLSDESC_RELOC): Reorder R_TYPE
-       tests.
-       (aarch64_tls_transition_without_check)
-       (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
-       (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
-       (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
-       BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-       * reloc.c (BFD_RELOC_AARCH64_TLSGD_ADR_PREL21): Define.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC)
-       (elfNN_aarch64_howto_table, aarch64_tls_transition_without_check)
-       (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
-       (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
-       (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
-       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-       * reloc.c (BFD_RELOC_AARCH64_TLSGD_ADR_PREL21): Define.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c: (TLSIE_LD_GOTTREL_PREL19): Fix HOWTO bit field width.
-       (aarch64_tls_transition_without_check, aarch64_reloc_got_type)
-       (elfNN_aarch64_final_link_relocate, elfNN_aarch64_tls_relax)
-       (elfNN_aarch64_relocate_section, elfNN_aarch64_gc_sweep_hook)
-       (elfNN_aarch64_check_relocs): Handle
-       BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
-
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
-       (_bfd_aarch64_elf_resolve_relocation): Likewise.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c: (TLSDESC_CALL): Fix HOWTO bit field width.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c (TLSLE_MOVW_TPREL_G2)
-       (TLSLE_MOVW_TPREL_G1, TLSLE_MOVW_TPREL_G1_NC)
-       (TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC): Fix bit field
-       width.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * elfnn-aarch64.c: (TLSIE_MOVW_GOTTPREL_G0_NC): Fix HOWTO bit
-       field width.
-
-2015-02-26  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffcode.h (coff_compute_section_file_positions): Report
-       negative page sizes.
-       * elf.c (elf_fake_sections): Handle excessive alignmment powers.
-       (assign_file_positions_for_non_load_sections): Replace assertion
-       with an error message.
-       (rewrite_elf_program_header): Handle excessive segment
-       alignments.
-       * mach-o.c (bfd_mach_o_read_section_32): Likewise.
-       (bfd_mach_o_read_section_64): Likewise.
-       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Use %B to
-       print a bfd name, not %A.
-
-2015-02-26  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (plt_stub_size, build_plt_stub): Don't build
-       thread-safe stubs for iplt.
-       (build_tls_get_addr_stub): Restore r2 immediately after call.
-
-2015-02-26  Terry Guo  <terry.guo@arm.com>
-
-       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Update how we
-       merge Tag_ABI_HardFP_use.
-
-2015-02-26  Alan Modra  <amodra@gmail.com>
-
-       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Heed -z nocopyreloc.
-       Use text relocs rather than giving an error on trying to use
-       .dynbss for protected shared lib vars.
-       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * elf32-avr.c (struct elf_avr_section_data): New structure.
-       (struct avr_relax_info): New structure.
-       (elf_avr_new_section_hook): New function.
-       (struct elf_avr_section_data): Add relax_info.
-       (get_avr_relax_info): New function.
-       (init_avr_relax_info): New function.
-       (elf32_avr_relax_delete_bytes): Find next property record before
-       deleting bytes.  When deleting don't move bytes beyond the next
-       property record.
-       (avr_elf32_assign_records_to_section): New function.
-       (avr_property_record_compare): New function.
-       (avr_load_all_property_sections): New function.
-       (elf32_avr_relax_section): Load property data.  After relaxing the
-       section, move any .align directives that have enough deleted bytes
-       before them.
-       (bfd_elf32_new_section_hook): Define.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * elf32-avr.h (struct avr_property_header): New strucure.
-       (avr_elf32_load_property_records): Declare.
-       (avr_elf32_property_record_name): Declare.
-       * elf32-avr.c: Add bfd_stdint.h include.
-       (retrieve_local_syms): New function.
-       (get_elf_r_symndx_section): New function.
-       (get_elf_r_symndx_offset): New function.
-       (internal_reloc_compare): New function.
-       (struct avr_find_section_data): New structure.
-       (avr_is_section_for_address): New function.
-       (avr_find_section_for_address): New function.
-       (avr_elf32_load_records_from_section): New function.
-       (avr_elf32_load_property_records): New function.
-       (avr_elf32_property_record_name): New function.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * elf32-avr.h (AVR_PROPERTY_RECORD_SECTION_NAME): Define.
-       (AVR_PROPERTY_RECORDS_VERSION): Define.
-       (AVR_PROPERTY_SECTION_HEADER_SIZE): Define.
-       (struct avr_property_record): New structure.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-v850.c (v850_set_note): New function.  Creates a Renesas
-       style note entry.
-       (v850_elf_make_note_section): New function.  Creates a note
-       section.
-       (v850_elf_create_sections): New function.  Create a note section
-       if one is not already present.
-       (v850_elf_set_note): New function.  Adds a note to a bfd.
-       (v850_elf_copy_private_bfd_data): New function.  Copies V850
-       notes.
-       (v850_elf_merge_notes): New function.  Merges V850 notes.
-       (print_v850_note): New function.  Displays a V850 note.
-       (v850_elf_print_notes): New function. Displays all notes attached
-       to a bfd.
-       (v850_elf_merge_private_bfd_data): Call v850_elf_merge_notes.
-       (v850_elf_print_private_bfd_data): Call v850_elf_print_notes.
-       (v850_elf_fake_sections): Set the type of the V850 note section.
-       * bfd-in.h (v850_elf_create_sections): Add prototype.
-       (v850_elf_set_note): Add prototype.
-       * bfd-in2.h: Regenerate.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * configure.ac (AC_CHECK_HEADERS): Add wctype.h.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * peXXigen.c: Include wctype.h if HAVE_WCTYPE_H is defined.
-       (u16_mbtowc): Use wint_t types if HAVE_WCTYPE_H is defined.
-       (rsrc_cmp): Use towlower instead of wcsncasecmp if HAVE_WCTYPE_H
-       is defined.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * pdp11.c (set_section_contents): Pad the .text and .data sections
-       to their aligned sizes.
-
-2015-02-23  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * config.bfd: Add h8300-*-linux.
-       * configure.ac: Add h8300_elf32_linux_vec.
-       * configure: Regenerate.
-       * elf32-h8300.c: Likewise.
-       * targets.c(_bfd_target_vector): Likewise.
-
-2015-02-23  Nick Clifton  <nickc@redhat.com>
-
-       PR 17914
-       * cpu-w65.c: Correct typos in license notice.
-
-       PR 17940
-       * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust debug
-       symbols at end of sections.  Adjust function sizes.
-
-2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
-
-       * elf-bfd.h (elfcore_write_s390_vxrs_low): Add prototype.
-       (elfcore_write_s390_vxrs_high): Likewise.
-       * elf.c (elfcore_grok_s390_vxrs_low): New function.
-       (elfcore_grok_s390_vxrs_high): New function.
-       (elfcore_grok_note): Call them.
-       (elfcore_write_s390_vxrs_low): New function.
-       (elfcore_write_s390_vxrs_high): New function.
-       (elfcore_write_register_note): Call them.
-
-2015-02-19  Branko Drevensek  <branko.drevensek@gmail.com>
-
-       PR 17995
-       * verilog.c (verilog_write_record): Correct buffer size.
-
-2015-02-19  Alan Modra  <amodra@gmail.com>
-
-       * elflink.c (_bfd_elf_define_linkage_sym): Set 'bed' earlier.
-
-2015-02-19  Alan Modra  <amodra@gmail.com>
-
-       PR ld/4317
-       * elflink.c (elf_link_input_bfd): Drop undefined local syms.
-       (elf_link_output_extsym): Drop local and global undefined syms.
-       Tidy.  Expand comment.
-
-2015-02-17  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17975
-       * elflink.c (struct elf_outext_info): Remove need_second_pass
-       and second_pass.
-       (elf_link_output_extsym): Delete code handling second forced
-       local pass.  Move code emitting NULL STT_FILE symbol later, so
-       that it can be omitted if forced local is stripped.  Don't
-       emit the NULL STT_FILE if no file symbols have been output.
-       (bfd_elf_final_link): Remove second forced local pass.
-       * elf32-ppc.c (add_stub_sym): Set linker_def on linker syms.
-       (ppc_elf_size_dynamic_sections): Likewise.
-       * elf64-ppc.c (ppc_build_one_stub): Likewise.
-       (build_global_entry_stubs): Likewise.
-       (ppc64_elf_build_stubs): Likewise.
-
-2015-02-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17975
-       * elflink.c (elf_link_output_extsym): Only check filesym_count
-       when outputting a NULL FILE symbol.  Set second_pass_sym to
-       h->forced_local && !h->root.linker_def.
-
-2015-02-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_always_size_sections): Set root.linker_def
-       on _TLS_MODULE_BASE_.
-       * elf64-x86-64.c (elf_x86_64_always_size_sections): Likewise.
-
-2015-02-15  Alan Modra  <amodra@gmail.com>
-
-       * dwarf2.c (read_rangelist): Correct buffer overflow check
-       Whitespace throughout file.
-
-2015-02-14  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17973
-       * bfd.c (struct bfd): Add lto_output.
-       * linker.c (_bfd_handle_already_linked): Explicitly test for
-       objects added by the lto plugin.
-       * opncls.c (_bfd_new_bfd_contained_in): Copy lto_output and
-       no_export flags from archive.
-       * archive.c (open_nested_file): New function, setting lto_output
-       and no_export, extracted from..
-       (find_nested_archive): ..here.  Flip params.  Rename from
-       _bfd_find_nested_archive.
-       (_bfd_get_elt_at_filepos): Correct var typo.  Use open_nested_file.
-       (_bfd_look_for_bfd_in_cache): Copy no_export.
-       * elflink.c (elf_link_add_object_symbols): Remove now unnecessary
-       my_archive->no_export test.
-       (elf_link_input_bfd): Drop existing lto_output STT_FILE syms.
-       Don't use the file name when adding lto_output STT_FILE sym.
-       * bfd-in2.h: Regenerate.
-
-2015-02-13  Alan Modra  <amodra@gmail.com>
-
-       PR binutils/17512
-       * elf64-ppc.c (opd_entry_value): Tighten offset check.  Remove
-       now redundant assert.
-
-2015-02-12  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * dwarf.c (read_1_byte, read_1_signed_byte, read_2_bytes)
-       (read_4_bytes, read_8_bytes, read_n_bytes, read_string)
-       (read_indirect_string, read_alt_indirect_string)
-       (read_alt_indirect_ref, read_address, read_abbrevs)
-       (read_attribute_value, read_attribute, decode_line_info)
-       (find_abstract_instance_name, read_rangelist)
-       (scan_unit_for_symbols, parse_comp_unit)
-       (_bfd_dwarf2_find_nearest_line): Harden DWARF reading code.  Pass
-       end pointers to reading functions and check for offsets taking
-       pointers out of range.  Replace calls to read_*_leb128 with calls
-       to safe_read_leb128.
-
-       (* elf64-ppc.c (opd_entry_value): Add a check for an overlarge
-       offset.
-       * syms.c (_bfd_stab_section_find_nearest_line): Add checks for
-       computed file_name address being before the start of the string
-       table.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * bfd.c (bfd_plugin_format): New.
-       (bfd): Add plugin_format and plugin_dummy_bfd.
-       * plugin.c (try_load_plugin): Take a pointer to bfd_boolean
-       argument to return TRUE if any plugin is found.  Set plugin_format.
-       (has_plugin): New.
-       (bfd_plugin_target_p): New.
-       (bfd_plugin_specified_p): Likewise.
-       (bfd_plugin_target_p): Likewise.
-       (register_ld_plugin_object_p): Likewise.
-       (bfd_plugin_set_plugin): Set has_plugin.
-       (load_plugin): Cache try_load_plugin result.
-       (bfd_plugin_object_p): Try ld_plugin_object_p first.  Check
-       plugin_format.
-       * plugin.h (bfd_plugin_target_p): New.
-       (bfd_plugin_specified_p): Likewise.
-       (register_ld_plugin_object_p): Likewise.
-       * bfd-in2.h: Regenerated.
-
-2015-02-11  Pedro Alves  <palves@redhat.com>
-
-       * libbfd-in.h [__cplusplus]: Open extern "C" scope.
-       * libcoff-in.h [__cplusplus]: Open extern "C" scope.
-       * libbfd.h: Regenerate.
-       * libcoff.h: Regenerate.
-
-       * elf-bfd.h [__cplusplus]: Wrap in extern "C".
-       * mach-o.h [__cplusplus]: Wrap in extern "C".
-       * som.h [__cplusplus]: Wrap in extern "C".
-
-2015-02-10  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffcode.h (styp_to_sec_flags): Use an unsigned long type to
-       hold the flag bits.
-       * peXXigen.c (pe_print_reloc): Use unsigned types to hold the
-       size and number of relocs.
-       (pe_print_debugdata): Use a 32-bit aligned buffer to store the
-       codeview record.
-       * versados.c (process_otr): Check the esdid value before using it
-       to access the EDATA.
-
-2015-02-09  Ed Maste  <emaste@freebsd.org>
-
-       * elf32-i386.c (elf_i386_get_plt_sym_val): Avoid incrementing
-       uninitialized and unused variable.
-       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
-
-2015-02-09  Alan Modra  <amodra@gmail.com>
-
-       * elf32-ppc.c (ppc_elf_relocate_section): Don't segfault on NULL
-       tls_sec.
-       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
-       * elflink.c (elf_link_output_extsym): Don't assert on NULL tls_sec.
-
-2015-02-09  Alan Modra  <amodra@gmail.com>
-
-       * elflink.c: Whitespace, formatting fixes.
-       (elf_link_input_bfd): Clarify comment.
-       (elf_link_output_extsym): Exclude symbols in linker created
-       sections when testing for plugin symbols.
-
-2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17935
-       * elf32-i386.c (elf_i386_readonly_dynrelocs): Also issue a
-       warning for relocation in readonly section for -z text.
-       (elf_i386_size_dynamic_sections): Likewise.
-       * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
-       (elf_x86_64_size_dynamic_sections): Likewise.
-
-2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/12365
-       PR ld/14272
-       * elflink.c (_bfd_elf_fix_symbol_flags): Revert the last change.
-       (elf_link_input_bfd): Mark the plugin symbol undefined if it is
-       referenced from a non-IR file.
-
-2015-02-06  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * peXXigen.c (rsrc_print_resource_entries): Add range check for
-       addresses that wrap around the address space.
-       (rsrc_parse_entry): Likewise.
-
-2015-02-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/12365
-       PR ld/14272
-       * elflink.c (_bfd_elf_fix_symbol_flags): Mark the plugin symbol
-       undefined if it is referenced from a non-IR file.
-
-2015-02-03  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * ecoff.c: Use bfd_alloc2 to allocate space for structure arrays.
-       (_bfd_ecoff_slurp_symbol_table): Check for a negative symbol
-       index or an out of range fdr index.
-       * elf-m10300.c (mn10300_info_to_howto): Fix typo in error message.
-       * elf32-arc.c (arc_info_to_howto_rel): Likewise.
-       * elf32-avr.c (avr_info_to_howto_rela): Likewise.
-       * elf32-cr16.c (elf_cr16_info_to_howto): Likewise.
-       * elf32-cr16c.c (elf_cr16c_info_to_howto_rel): Likewise.
-       * elf32-cris.c (cris_info_to_howto_rela): Likewise.
-       * elf32-crx.c (elf_crx_info_to_howto): Likewise.
-       * elf32-d10v.c (d10v_info_to_howto_rel): Likewise.
-       * elf32-d30v.c (d30v_info_to_howto_rel): Likewise.
-       * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise.
-       * elf32-fr30.c (fr30_info_to_howto_rela): Likewise.
-       * elf32-frv.c (frv_info_to_howto_rela): Likewise.
-       * elf32-i370.c (i370_elf_info_to_howto): Likewise.
-       * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise.
-       * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise.
-       * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise.
-       * elf32-lm32.c (lm32_info_to_howto_rela): Likewise.
-       * elf32-m32c.c (m32c_info_to_howto_rela): Likewise.
-       * elf32-m32r.c (m32r_info_to_howto_rel): Likewise.
-       * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise.
-       * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise.
-       * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
-       * elf32-mep.c (mep_info_to_howto_rela): Likewise.
-       * elf32-metag.c (metag_info_to_howto_rela): Likewise.
-       * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
-       * elf32-moxie.c (moxie_info_to_howto_rela): Likewise.
-       * elf32-msp430.c (msp430_info_to_howto_rela): Likewise.
-       * elf32-mt.c (mt_info_to_howto_rela): Likewise.
-       * elf32-nds32.c (nds32_info_to_howto_rel): Likewise.
-       * elf32-or1k.c (or1k_info_to_howto_rela): Likewise.
-       * elf32-pj.c (pj_elf_info_to_howto): Likewise.
-       * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
-       * elf32-rl78.c (rl78_info_to_howto_rela): Likewise.
-       * elf32-rx.c (rx_info_to_howto_rela): Likewise.
-       * elf32-sh.c (sh_elf_info_to_howto): Likewise.
-       * elf32-spu.c (spu_elf_info_to_howto): Likewise.
-       * elf32-v850.c (v850_elf_perform_relocation): Likewise.
-       * elf32-vax.c (rtype_to_howto): Likewise.
-       * elf32-visium.c (visium_info_to_howto_rela): Likewise.
-       * elf32-xgate.c (xgate_info_to_howto_rel): Likewise.
-       * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise.
-       * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
-       * elf64-mmix.c (mmix_info_to_howto_rela): Likewise.
-       * mach-o.c: Use bfd_alloc2 to allocate space for structure arrays.
-       (bfd_mach_o_canonicalize_one_reloc): Fix check on out
-       of range symbol indicies.
-       (bfd_mach_o_canonicalize_relocs): Check for out of range alloc.
-       (bfd_mach_o_canonicalize_dynamic_reloc): Likewise.
-       (bfd_mach_o_build_dysymtab): Likewise.
-       (bfd_mach_o_write_symtab_content): Set the string table size to
-       zero upon error.
-       (bfd_mach_o_read_symtab_symbols): Reset the nsyms value if the
-       read fails.
-       * peXXigen.c (pe_print_edata):  Check for numeric overflow in edt
-       fields.
-       * tekhex.c (first_phase): Check for src pointer reaching end of
-       buffer.
-
-2015-02-03  Will Newton  <will.newton@linaro.org>
-
-       * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol):
-       Set st_value to zero for undefined symbols if the reference
-       is weak or pointer_equality_needed is FALSE.
-
-       * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Improve
-       comment discussing why we clear st_value for some symbols.
-
-2015-02-02  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-
-       * elf32-nds32.c (nds32_get_section_contents): Add one more argument.
-       (nds32_elf_relocate_section): Do not relocate R_NDS32_LONGJUMP7.
-
-2015-01-29  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.c (ppc64_elf_relocate_section): Correct GOT_TLSLD
-       optimization.  Tidy mask for GOT_TLSGD optimization.
-       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.  Correct
-       location of nop zapping high insn too.
-
-2015-01-28  Alan Modra  <amodra@gmail.com>
-
-       * elf64-ppc.h (struct ppc64_elf_params): Add "object_in_toc".
-       * elf64-ppc.c (ppc64_elf_add_symbol_hook): Assume that global symbols
-       in .toc indicate xlc compiled code that might require a rw .toc.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * Makefile.am: Add FT32 files.
-       * archures.c (enum bfd_architecture): Add bfd_arch_ft32.
-       (bfd_mach_ft32): Define.
-       (bfd_ft32_arch): Declare.
-       (bfd_archures_list): Add bfd_ft32_arch.
-       * config.bfd: Handle FT32.
-       * configure.ac: Likewise.
-       * cpu-ft32.c: New file.
-       * elf32-ft32.c: New file.
-       * reloc.c (BFD_RELOC_FT32_10, BFD_RELOC_FT32_20, BFD_RELOC_FT32_17,
-       BFD_RELOC_FT32_18): Define.
-       * targets.c (_bfd_target_vector): Add ft32_elf32_vec.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * Makefile.in: Regenerate.
-       * configure: Regenerate.
-       * po/SRC-POTFILES.in: Regenerate.
-
-2015-01-27  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * pdp11.c (aout_get_external_symbols): Return false if there are
-       no symbols.
-
-       * dwarf2.c (concat_filename): Check for an empty directory table.
-       (scan_unit_for_symbols): Check for reading off the end of the
-       unit.
-       (parse_comp_unit): Check for a DW_AT_comp_dir attribute with a
-       non-string form.
-       * elf64-ppc.c (opd_entry_value): Fail if there are no relocs
-       available.
-
-2015-01-26  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-
-       * elf32-nds32.c (nds32_elf_pick_relax): Fix again setting.
-
-2015-01-22  DJ Delorie  <dj@redhat.com>
-
-       * elf32-m32c.c (m32c_apply_reloc_24): New.
-       (m32c_elf_howto_table): Use it for R_M32C_24.
-       (m32c_elf_relocate_section): Handle R_M32C_24 specially.
-
-2015-01-22  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffcode.h (handle_COMDAT): When searching for the section
-       symbol, make sure that there is space left in the symbol table.
-       * vms-alpha.c (_bfd_vms_slurp_ehdr): Add range checks.
-
-2015-01-21  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffcode.h (coff_set_arch_mach_hook): Check return value from
-       bfd_malloc.
-       (coff_slurp_line_table): Return FALSE if the line number
-       information was corrupt.
-       (coff_slurp_symbol_table): Return FALSE if the symbol information
-       was corrupt.
-       * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Always
-       initialise the fields of the dyld_info structure.
-       (bfd_mach_o_build_exec_seg_command): Replace assertion with an
-       error message and a return value.
-       (bfd_mach_o_layout_commands): Change the function to boolean.
-       Return FALSE if the function fails.
-       (bfd_mach_o_build_commands): Fail if bfd_mach_o_layout_commands
-       fails.
-       (bfd_mach_o_read_command): Fail if an unrecognised command is
-       encountered.
-       * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Set bfd_error if the
-       read fails.
-       (slurp_symtab): Check the return from bfd_malloc.
-       (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if the copy
-       encountered an error.
-       (_bfd_XXi_final_link_postscript): Fail if a section could not be
-       copied.
-       * peicode.h (pe_bfd_object_p): Fail if the header could not be
-       swapped in.
-       * tekhex.c (first_phase): Fail if the section is too big.
-       * versados.c (struct esdid): Add content_size field.
-       (process_otr): Use and check the new field.
-       (versados_get_section_contents): Check that the section exists and
-       that the requested data is available.
-
-2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
-
-       * elf32-nios2.c (elf_backend_default_execstack): Define as 0.
-
-2015-01-20  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17615
-       * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Don't drop
-       ELF_COMMON_DEF syms.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17615
-       * elf-bfd.h (ELF_COMMON_DEF_P): Note that this might be true for
-       linker script assignments too.
-       * elflink.c (elf_gc_sweep_symbol): Don't drop ELF_COMMON_DEF syms.
-       (bfd_elf_gc_mark_dynamic_ref_symbol): Similarly.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Correct loop iteration
-       to allow return of first howto.
-       * elf32-fr30.c (fr30_reloc_type_lookup): Likewise.
-       * elf32-m32c.c (m32c_reloc_type_lookup): Likewise.
-       * elf32-moxie.c (moxie_reloc_type_lookup): Likewise.
-       * elf32-or1k.c (or1k_reloc_type_lookup): Likewise.
-       * elf32-rl78.c (rl78_reloc_type_lookup): Likewise.
-       * elf32-rx.c (rx_reloc_type_lookup): Likewise.
-       * elf32-tilepro.c (tilepro_reloc_type_lookup): Likewise.
-       * elf32-xstormy16.c (xstormy16_reloc_type_lookup): Likewise.
-       * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise.
-       * elf32-nios2.c (nios2_reloc_map): Add mapping for R_NIOS2_NONE.
-       * elf32-spu.c (spu_elf_bfd_to_reloc_type): Allow return of R_SPU_NONE.
-       (spu_elf_reloc_type_lookup): Adjust to suit.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       * bfd-in.h (bfd_get_section_limit_octets): New define, extracted from..
-       (bfd_get_section_limit): ..here.
-       * reloc.c (bfd_perform_relocation): Correct bfd_reloc_outofrange check.
-       (bfd_install_relocation, _bfd_final_link_relocate): Add same check here.
-       * elf32-sh.c (sh_elf_reloc): Correct bfd_reloc_outofrange check.
-       * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Remove duplicated
-       bfd_reloc_outofrange check.
-       * bfd-in2.h: Regenerate.
-
-       * cpu-ns32k.c (_bfd_do_ns32k_reloc_contents): Return bfd_reloc_ok
-       on zero size relocs.
-       * ecoff.c (ecoff_reloc_link_order): Likewise.
-       * elf32-nds32.c (nds32_relocate_contents): Likewise.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
-
-       * reloc.c (_bfd_relocate_contents): Don't bomb on zero size relocs.
-       (_bfd_clear_contents): Likewise.
-       * elfxx-mips.c (mips_elf_obtain_contents): Likewise.
-       (mips_elf_perform_relocation): Likewise.
-
-       * aoutx.h (aout_link_reloc_link_order): Allow for NULL return
-       from malloc on zero size alloc.
-       * cofflink.c (_bfd_coff_reloc_link_order): Likewise.
-       * elflink.c (elf_reloc_link_order): Likewise.
-       * linker.c (_bfd_generic_reloc_link_order): Likewise.
-       * pdp11.c (aout_link_reloc_link_order): Likewise.
-       * xcofflink.c (xcoff_reloc_link_order): Likewise.
-
-       * aoutx.h (howto_table_ext): Ensure NONE relocs have size 3,
-       bitsize 0, and complain_overflow_dont.
-       * coff-sparc.c (coff_sparc_howto_table): Likewise.
-       * elf-hppa.h (elf_hppa_howto_table): Likewise.
-       * elf-m10200.c (elf_mn10200_howto_table): Likewise.
-       * elf-m10300.c (elf_mn10300_howto_table): Likewise.
-       * elf32-arc.c (elf_arc_howto_table): Likewise.
-       * elf32-arm.c (elf32_arm_howto_table_1): Likewise.
-       * elf32-avr.c (elf_avr_howto_table): Likewise.
-       * elf32-bfin.c (bfin_howto_table): Likewise.
-       * elf32-cr16.c (cr16_elf_howto_table): Likewise.
-       * elf32-cris.c (cris_elf_howto_table): Likewise.
-       * elf32-crx.c (crx_elf_howto_table): Likewise.
-       * elf32-d10v.c (elf_d10v_howto_table): Likewise.
-       * elf32-d30v.c (elf_d30v_howto_table): Likewise.
-       * elf32-dlx.c (dlx_elf_howto_table): Likewise.
-       * elf32-epiphany.c (epiphany_elf_howto_table): Likewise.
-       * elf32-fr30.c (fr30_elf_howto_table): Likewise.
-       * elf32-frv.c (elf32_frv_howto_table): Likewise.
-       * elf32-h8300.c (h8_elf_howto_table): Likewise.
-       * elf32-i370.c (i370_elf_howto_raw): Likewise.
-       * elf32-i386.c (elf_howto_table): Likewise.
-       * elf32-i860.c (elf32_i860_howto_table): Likewise.
-       * elf32-i960.c (elf32_i960_relocate): Likewise.
-       * elf32-ip2k.c (ip2k_elf_howto_table): Likewise.
-       * elf32-iq2000.c (iq2000_elf_howto_table): Likewise.
-       * elf32-lm32.c (lm32_elf_howto_table): Likewise.
-       * elf32-m32c.c (m32c_elf_howto_table): Likewise.
-       * elf32-m32r.c (m32r_elf_howto_table): Likewise.
-       * elf32-m68hc11.c (elf_m68hc11_howto_table): Likewise.
-       * elf32-m68hc12.c (elf_m68hc11_howto_table): Likewise.
-       * elf32-m68k.c (howto_table): Likewise.
-       * elf32-mcore.c (mcore_elf_howto_raw): Likewise.
-       * elf32-mep.c (mep_elf_howto_table): Likewise.
-       * elf32-metag.c (elf_metag_howto_table): Likewise.
-       * elf32-microblaze.c (microblaze_elf_howto_raw): Likewise.
-       * elf32-mips.c (elf_mips_howto_table_rel): Likewise.
-       * elf32-moxie.c (moxie_elf_howto_table): Likewise.
-       * elf32-msp430.c (elf_msp430_howto_table): Likewise.
-       * elf32-mt.c (mt_elf_howto_table): Likewise.
-       * elf32-nds32.c (nds32_elf_howto_table): Likewise.
-       * elf32-nios2.c (elf_nios2_howto_table_rel): Likewise.
-       * elf32-or1k.c (or1k_elf_howto_table): Likewise.
-       * elf32-pj.c (pj_elf_howto_table): Likewise.
-       * elf32-ppc.c (ppc_elf_howto_raw): Likewise.
-       * elf32-rl78.c (rl78_elf_howto_table): Likewise.
-       * elf32-rx.c (rx_elf_howto_table): Likewise.
-       * elf32-s390.c (elf_howto_table): Likewise.
-       * elf32-score.c (elf32_score_howto_table): Likewise.
-       * elf32-score7.c (elf32_score_howto_table): Likewise.
-       * elf32-sh-relocs.h (R_SH_NONE): Likewise.
-       * elf32-spu.c (elf_howto_table): Likewise.
-       * elf32-tic6x.c (elf32_tic6x_howto_table): Likewise.
-       * elf32-tilepro.c (tilepro_elf_howto_table): Likewise.
-       * elf32-v850.c (v850_elf_howto_table): Likewise.
-       * elf32-vax.c (howto_table): Likewise.
-       * elf32-visium.c (visium_elf_howto_table): Likewise.
-       * elf32-xc16x.c (xc16x_elf_howto_table): Likewise.
-       * elf32-xgate.c (elf_xgate_howto_table): Likewise.
-       * elf32-xstormy16.c (xstormy16_elf_howto_table): Likewise.
-       * elf32-xtensa.c (elf_howto_table): Likewise.
-       * elf64-alpha.c (elf64_alpha_howto_table): Likewise.
-       * elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
-       * elf64-mmix.c (elf_mmix_howto_table): Likewise.
-       * elf64-ppc.c (ppc64_elf_howto_raw): Likewise.
-       * elf64-s390.c (elf_howto_table): Likewise.
-       * elf64-sh64.c (sh_elf64_howto_table): Likewise.
-       * elf64-x86-64.c (x86_64_elf_howto_table): Likewise.
-       * elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
-       (elfNN_aarch64_howto_none): Likewise.
-       * elfxx-ia64.c (ia64_howto_table): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_howto_table): Likewise.
-       * elfxx-tilegx.c (tilegx_elf_howto_table): Likewise.
-       * nlm32-sparc.c (nlm32_sparc_howto_table): Likewise.
-
-2015-01-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17847
-       * elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain
-       about -fPIC if the symbol is undefined when building executable.
-
-2015-01-15  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * elf-m10300.c (mn10300_info_to_howto): Replace assertion with an
-       error message.  Never return an invalid howto pointer.
-       * elf32-cr16.c (cr16_info_to_howto): Likewise.
-       * elf32-crx.c (elf_crx_info_to_howto): Likewise.
-       * elf32-i370.c (i370_elf_info_to_howto): Likewise.
-       * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
-       * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
-       * elf32-mips.c (mips_elf32_rtype_to_howto): Likewise.
-       * elf32-pj.c (pj_elf_info_to_howto): Likewise.
-       * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
-       * elf32-spu.c (spu_elf_info_to_howto): Likewise.
-       * elf32-v850.c (v850_elf_info_to_howto_rela): Likewise.
-       * elf32-vax.c (rtype_to_howto): Likewise.
-       * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
-       * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise.
-       * elfn32-mips.c (sh_elf_info_to_howto): Likewise.
-       * elf32-sh.c (sh_elf_info_to_howto): Likewise.
-       (sh_elf_reloc): Check that the reloc is in range.
-       * reloc.c (bfd_perform_relocation): Check that the section is big
-       enough for the entire reloc.
-       (bfd_generic_get_relocated_section_contents): Report unexpected
-       return values from perform_reloc.
-
-2015-01-15  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
-       relocs.  Include PC-relative adjustment for R_MSP430X_ABS16
-       relaxation.
-
-2015-01-15  Alan Modra  <amodra@gmail.com>
-
-       * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
-       any output section matching a linker created dynobj section.
-
-2015-01-15  Alan Modra  <amodra@gmail.com>
-
-       PR 17842
-       * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
-       (bfd_elf_final_link): Always create a symbol table when emit_relocs.
-       Don't assign symtab file position unless symbols will be output.
-       Merge blocks with condition in common.  Don't call
-       elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
-       unless other symbols are output.  Move assignment of symtab_shndx
-       file position.  Localize variable.
-
-2015-01-14  Jiong Wang  <jiong.wang@arm.com>
-
-       * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
-       trying to defer them to runtime.
-
-2015-01-13  Thomas Preud'homme <thomas.preudhomme@arm.com>
-
-       * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
-       to check if a symbol should be bound symbolically.
-
-2015-01-13  Jiong Wang  <jiong.wang@arm.com>
-
-       * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
-       for TLSLE_MOVW_TPREL_G2.
-
-2015-01-13  Jiong Wang  <jiong.wang@arm.com>
-
-       PR ld/17415
-       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
-       R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
-       * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
-       bit mask.
-
-2015-01-12  Terry Guo  <terry.guo@arm.com>
-
-       * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
-       function.
-       (_bfd_elf_gc_mark_extra_sections): Use it.
-
-2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17827
-       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
-       only discard space for pc-relative relocs symbols which turn
-       out to need copy relocs.
-
-2015-01-09  Nick Clifton  <nickc@redhat.com>
-
-       * tekhex.c (getvalue): Fix thinko in test for correct extraction
-       of value.
-       (getsym): Return false if there was not enough data to extract the
-       symbol.
-
-2015-01-09  Anthony Green  <green@moxielogic.com>
-
-       * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
-
-2015-01-08  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
-       16-bit absolute BR instructions to 10-bit pc-relative JMP
-       instructions.
-
-2015-01-08  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffcode.h (coff_slurp_symbol_table): Return false if we failed
-       to load the line table.
-       * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
-       maxpagesize of 1.
-       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
-       the Data Directory Size is too large.
-
-2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/17512
-       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
-       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
-
-2015-01-06  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
-       string table.
-
-       * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
-       (bfd_perform_relocation): Include the size of the reloc in the
-       test for an out of range relocation.
-       (bfd_generic_get_relocated_section_contents): Remove reloc range
-       test.
-
-       * coff-i860.c (CALC_ADDEND): Always set an addend value.
-       * tekhex.c (getvalue): Add an end pointer parameter.  Use it to
-       avoid reading off the end of the buffer.
-       (getsym): Likewise.
-       (first_phase): Likewise.
-       (pass_over): Pass an end pointer to the invoked function.
-
-2015-01-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/17512
-       * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
-       input.
-       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
-
-2015-01-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
-       is at least big enough for the header to be read.
-       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
-       * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
-       (bfd_mach_o_read_command): Prevetn duplicate error messages about
-       unrecognized commands.
-       * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
-       when indexing into the string table.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/bfd/ChangeLog-2015 b/bfd/ChangeLog-2015
new file mode 100644 (file)
index 0000000..e57cd70
--- /dev/null
@@ -0,0 +1,4247 @@
+2015-12-27  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * elf32-nios2.c (nios2_elf_assign_gp): Correct computation of _gp
+       address.
+       (nios2_elf32_relocate_section): Tidy code for R_NIOS2_GPREL error
+       messages.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * elf32-arm.c (using_thumb_only): Check that profile is 'M' and update
+       logic around Tag_CPU_arch values to return TRUE for ARMv8-M
+       architectures.
+       (tag_cpu_arch_combine): Define v8m_baseline and v8m_mainline and update
+       v4t_plus_v6_m and comb to deal with ARMv8-M Tag_CPU_arch merging logic.
+       (elf32_arm_merge_eabi_attributes): Add Tag_CPU_name values for
+       ARMv8-M.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       (tag_cpu_arch_combine): Adjust comment in v4t_plus_v6_m with regards
+       to merging with ARMv8-M Baseline.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       (tag_cpu_arch_combine): Adjust v4t_plus_v6_m and comb array to account
+       for new TAG_CPU_ARCH_V4T_PLUS_V6_M value.  Deal with NULL values in
+       comb array.
+
+2015-12-22 Yury Usishchev <y.usishchev@samsung.com>
+
+       * elf-bfd.h: Add callback to count additional relocations.
+       * elf32-arm.c (_arm_elf_section_data): Add new counter.
+       (insert_cantunwind_after): Increment relocations counter.
+       (elf32_arm_fix_exidx_coverage): Remove exidx entries and add
+       terminating CANTUNWIND entry only in final builds.
+       (elf32_arm_add_relocation): New function.
+       (elf32_arm_write_section): Add relocations in relocatable builds.
+       (elf32_arm_count_additional_relocs): New function.
+       (elf_backend_count_additional_relocs): New define.
+       * elflink.c (bfd_elf_final_link): Use callback and adjust size of
+       .rel section.
+       * elfxx-target.h (elf_backend_count_additional_relocs): New define.
+
+2015-12-22  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * archures.c: Add bfd_mach_rx_v2.
+       * bfd-in2.h: Regenerate.
+       * cpu-rx.c (arch_info_struct): Add v2 information.
+       * elf32-rx.c (elf32_rx_machine): Add v2 support.
+
+2015-12-22 Mickael Guene <mickael.guene@st.com>
+
+       * bfd-in2.h: Regenerate.
+       * section.c: Add SEC_ELF_NOREAD.
+       * elf32-arm.c (elf32_arm_post_process_headers): Only set
+       PF_X attribute if a segment only contains section with
+       SHF_ARM_NOREAD flag.
+       (elf32_arm_fake_sections): Add SEC_ELF_NOREAD conversion.
+       (elf32_arm_section_flags): New function to convert SHF_ARM_NOREAD
+       to bfd flag.
+       (elf32_arm_lookup_section_flags): New function to allow
+       INPUT_SECTION_FLAGS directive with SHF_ARM_NOREAD flag.
+       (elf32_arm_special_sections): Add special sections array
+       to catch section prefix by '.text.noread' pattern.
+
+2015-12-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * coff-x86_64.c (coff_amd64_reloc): Fix formatting.
+
+2015-12-18  Nick Clifton  <nickc@redhat.com>
+
+       * coff-i386.c (coff_i386_reloc): Fix formatting.
+
+2015-12-16  Mickael Guene <mickael.guene@st.com>
+
+       * bfd-in2.h: Regenerate.
+       * reloc.c: Add new relocations.
+       * libbfd.h (bfd_reloc_code_real_names): Add new relocations
+       display names.
+       * elf32-arm.c (elf32_arm_howto_table_1): Add HOWTO for new
+       relocations.
+       (elf32_arm_reloc_map): Add bfd/arm mapping for new relocations.
+       (elf32_arm_final_link_relocate): Implement new relocations
+       resolution.
+
+2015-12-15  Jan Beulich  <jbeulich@suse.com>
+
+       * coffgen.c (coff_write_alien_symbol): New parameter "iaux".
+       (coff_write_symbols): Pass NULL for new argument.
+       * cofflink.c (_bfd_coff_final_link): New local variables
+       "iaux".
+       Extend scope of local variables "indx" and "hash". Pass address
+       of "iaux" to coff_write_alien_symbol(). Handle ".file" and the
+       file name ending up in the string table separately. Avoid
+       setting "rewrite" on more than one path.
+       * libcoff-in.h (coff_write_alien_symbol): New parameter of type
+       "union internal_auxent *".
+       * libcoff.h: Re-generate.
+
+2015-12-15  Nick Clifton  <nickc@redhat.com>
+
+       PR 19339
+       * elf-vxworks.h: Update copyright notice.
+       * elf-vxworks.c: Update copyright notice.
+       * elf-nacl.h: Update copyright notice.
+       * elf-nacl.c: Update copyright notice.
+
+2015-12-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19317
+       * linker.c (_bfd_generic_link_add_one_symbol): Don't complain
+       plugin needed to handle slim lto object for relocatable link.
+
+2015-12-09  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Correct
+       %hiadj/%lo computations for _GLOBAL_OFFSET_TABLE_ in initial
+       PLT entries.  Assert alignment requirements.
+
+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>
+
+       * 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
+       pointers to reloc array, rather than memmove when deleting a
+       reloc.  Don't use RELOC_AGAINST_DISCARDED_SECTION.  Adjust
+       reloc counts at end of loop.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
+2015-11-10  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Use read and write
+       pointers to reloc array, rather than memmove when deleting a
+       reloc.  Don't use RELOC_AGAINST_DISCARDED_SECTION.  Adjust
+       reloc counts at end of loop.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+
+2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs, ppc64_elf_build_stubs): Fix left
+       shift of negative value.
+       * libbfd.c (safe_read_leb128): Likewise.
+       * dwarf2.c (place_sections): Likewise.
+       * bfd-in.h (align_power): Likewise.
+       * bfd-in2.h (align_power): Likewise.
+
+2015-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated (simplified) Chinese translation.
+
+2015-10-29  Catherine Moore  <clm@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_check_mips16_stubs): Set a stub's output
+       section to bfd_abs_section_ptr if the stub is discarded.
+
+2015-10-29  Ed Schouten  <ed@nuxi.nl>
+
+       * config.bfd (targ_defvec): Add support for CloudABI on aarch64.
+       For this target we have to make sure we use ELFOSABI_CLOUDABI
+       instead of ELFOSABI_NONE.
+       * configure.ac (tb): Likewise.
+       * elfnn-aarch64.c: Likewise.
+       * targets.c (_bfd_target_vector): Likewise.
+       * configure: Regenerate.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * libhppa.h (bfd_hppa_insn2fmt): Add cast.
+
+2015-10-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Fix a typo in
+       comment.
+
+2015-10-28  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-arm.c (create_instruction_branch_absolute): Replace
+       pointer parameters with a simple integer parameter.
+       (stm32l4xx_create_replacing_stub_ldmia): Update calls to
+       create_instruction_branch_absolute.
+       (stm32l4xx_create_replacing_stub_ldmdb): Likewise.
+       (stm32l4xx_create_replacing_stub_vldm): Likewise.
+       (elf32_arm_write_section): Use pointer type for veneer addresses.
+
+2015-10-28  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * reloc.c (BFD_RELOC_ARC_32_PCREL): New entry.
+       * elf32-arc.c (arc_elf_howto_ini): Update formula.
+       (get_middle_endian_relocation): New function.
+       (PDATA): Define.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Likewise.
+
+2015-10-28  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19162
+       * elflink.c (_bfd_elf_gc_mark_reloc): Move code iterating over
+       linker input bfds..
+       * section.c (bfd_get_next_section_by_name): ..to here.  Add ibfd param.
+       (bfd_get_linker_section): Adjust bfd_get_next_section_by_name call.
+       * tekhex.c (first_phase): Likewise.
+       * elflink.c (bfd_elf_gc_sections): Likewise.
+       * bfd-in2.h: Regenerate.
+
+2015-10-27  Laurent Alfonsi <laurent.alfonsi@st.com>
+           Christophe Monat <christophe.monat@st.com>
+
+       * bfd-in2.h: Regenerate.
+       * bfd-in.h (bfd_arm_stm32l4xx_fix): New enum. Specify how
+       STM32L4XX instruction scanning should be done.
+       (bfd_elf32_arm_set_stm32l4xx_fix)
+       (bfd_elf32_arm_stm32l4xx_erratum_scan)
+       (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Add prototypes.
+       (bfd_elf32_arm_set_target_relocs): Add stm32l4xx fix type argument
+       to prototype.
+       * elf32-arm.c (STM32L4XX_ERRATUM_VENEER_SECTION_NAME)
+       (STM32L4XX_ERRATUM_VENEER_ENTRY_NAME): Define macros.
+       (elf32_stm32l4xx_erratum_type): New enum.
+       (elf32_stm32l4xx_erratum_list): New struct. List of veneers or
+       jumps to veneers.
+       (_arm_elf_section_data): Add stm32l4xx_erratumcount,
+       stm32l4xx_erratumlist.
+       (elf32_arm_link_hash_table): Add stm32l4xx_erratum_glue_size,
+       stm32l4xx_fix and num_stm32l4xx_fixes fields.
+       (ctz): New function.
+       (popcount): New function.
+       (elf32_arm_link_hash_table_create): Initialize stm32l4xx_fix.
+       (put_thumb2_insn): New function.
+       (STM32L4XX_ERRATUM_LDM_VENEER_SIZE): Define. Size of a veneer for
+       LDM instructions.
+       (STM32L4XX_ERRATUM_VLDM_VENEER_SIZE): Define. Size of a veneer for
+       VLDM instructions.
+       (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
+       glue section.
+       (record_stm32l4xx_erratum_veneer) : New function. Create a single
+       veneer, and its associated symbols.
+       (bfd_elf32_arm_add_glue_sections_to_bfd): Add STM32L4XX erratum glue.
+       (bfd_elf32_arm_set_stm32l4xx_fix): New function. Set the type of
+       erratum workaround required.
+       (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): New function. Find
+       out where veneers and branches to veneers have been placed in
+       virtual memory after layout.
+       (is_thumb2_ldmia): New function.
+       (is_thumb2_ldmdb): Likewise.
+       (is_thumb2_vldm ): Likewise.
+       (stm32l4xx_need_create_replacing_stub): New function. Decide if a
+       veneer must be emitted.
+       (bfd_elf32_arm_stm32l4xx_erratum_scan): Scan the sections of an
+       input BFD for potential erratum-triggering insns. Record results.
+       (bfd_elf32_arm_set_target_relocs): Set stm32l4xx_fix field in
+       global hash table.
+       (elf32_arm_size_dynamic_sections): Collect glue information.
+       (create_instruction_branch_absolute): New function.
+       (create_instruction_ldmia): Likewise.
+       (create_instruction_ldmdb): Likewise.
+       (create_instruction_mov): Likewise.
+       (create_instruction_sub): Likewise.
+       (create_instruction_vldmia): Likewise.
+       (create_instruction_vldmdb): Likewise.
+       (create_instruction_udf_w): Likewise.
+       (create_instruction_udf): Likewise.
+       (push_thumb2_insn32): Likewise.
+       (push_thumb2_insn16): Likewise.
+       (stm32l4xx_fill_stub_udf): Likewise.
+       (stm32l4xx_create_replacing_stub_ldmia): New function. Expands the
+       replacing stub for ldmia instructions.
+       (stm32l4xx_create_replacing_stub_ldmdb): Likewise for ldmdb.
+       (stm32l4xx_create_replacing_stub_vldm): Likewise for vldm.
+       (stm32l4xx_create_replacing_stub): New function. Dispatches the
+       stub emission to the appropriate functions.
+       (elf32_arm_write_section): Output veneers, and branches to veneers.
+
+2015-10-27  Sangamesh Mallayya  <nickc@redhat.com>sangamesh.swamy@in.ibm.com>
+
+       * configure.ac (powerpc64-*-aix[5-9].*): Match powerpc64 running
+       aix for core file support.
+       * configure: Regenerate.
+       * rs6000-core.c: Check for __ld_info64 if compiling 64-bit gdb.
+       Added BFD64 check if we are using old core file format for 32-bit gdb.
+       Set sizeof CORE_COMMONSZ appropriately in case of either new or
+       old core file format.
+       (read_hdr): Added BFD64 check for 64-bit support.
+       (rs6000coff_core_p): Likewise.
+       (rs6000coff_core_file_matches_executable_p): Likewise.
+       (rs6000coff_core_file_failing_command): Likewise.
+       (rs6000coff_core_file_failing_signal): Likewise.
+       Add support for debugging core files generated by binaries in
+       Large Memory model.
+       (rs6000coff_core_p): If Large Memory Model is used, then the .data
+       segment should start from BDATAORG which has been defined in the
+       system header files.
+
+2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19175
+       * elf32-i386.c (elf_i386_convert_load): Check bfd_link_hash_new
+       instead of calling bfd_link_get_defined_symbol.
+       * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.  Skip
+       relocation overflow for bfd_link_hash_new.
+       * linker.c (bfd_link_get_defined_symbol): Removed.
+       * bfd-in2.h: Regenerated.
+
+2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19171
+       * elf32-i386.c (elf_i386_convert_load): Call
+       bfd_link_get_defined_symbol to check if a symbol is defined.
+       * elf64-x86-64.c (elf_x86_64_convert_load): Call
+       bfd_link_get_defined_symbol to get defined symbol section and
+       value.
+       * linker.c (bfd_link_get_defined_symbol): New function.
+       * bfd-in2.h: Regenerated.
+
+2015-10-23  Alan Modra  <amodra@gmail.com>
+
+       PR ld/11133
+       PR ld/19161
+       PR ld/19167
+       * elflink.c (_bfd_elf_gc_mark_hook): Delete code handling __start_*
+       and __stop_* symbol refs.
+       (_bfd_elf_gc_mark_rsec): Add start_stop parameter.  Handle __start_*
+       and __stop_* symbol refs here..
+       (_bfd_elf_gc_mark_reloc): ..and here.
+       * elf-bfd.h (_bfd_elf_gc_mark_hook): Update prototype.
+       * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update
+       _bfd_elf_gc_mark_rsec call.
+
+2015-10-23  Alan Modra  <amodra@gmail.com>
+
+       PR ld/11133
+       PR ld/19161
+       * elflink.c (elf_gc_sweep): Revert last patch.
+       (_bfd_elf_gc_mark_hook): Don't set SEC_KEEP here.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19161
+       * elflink.c (elf_gc_sweep): Always keep sections marked with
+       SEC_KEEP.
+
+2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * mmo.c (struct mmo_data_struct): New members
+       symbol_consistency_override_calculated and ignore_symbol_consistency.
+       (mmo_section_has_contents, mmo_ignore_symbol_consistency): New
+       functions.
+       (mmo_create_symbol): Check with mmo_ignore_symbol_consistency if to
+       report an error for unexpected value of Main.
+       (mmo_write_symbols_and_terminator): Similar.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_convert_load): Use call_nop_byte and
+       check call_nop_as_suffix for 1-byte NOP padding to pad call.
+       * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c: Include opcode/i386.h.
+       (x86_64_elf_howto_table): Add R_X86_64_GOTPCRELX and
+       R_X86_64_REX_GOTPCRELX.
+       (R_X86_64_standard): Replace R_X86_64_PLT32_BND with
+       R_X86_64_REX_GOTPCRELX.
+       (x86_64_reloc_map): Add BFD_RELOC_X86_64_GOTPCRELX and
+       BFD_RELOC_X86_64_REX_GOTPCRELX.
+       (need_convert_mov_to_lea): Renamed to ...
+       (need_convert_load): This.
+       (elf_x86_64_check_relocs): Handle R_X86_64_GOTPCRELX and
+       R_X86_64_REX_GOTPCRELX.  Replace need_convert_mov_to_lea with
+       need_convert_load.
+       (elf_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPCRELX and
+       R_X86_64_REX_GOTPCRELX.
+       (elf_x86_64_size_dynamic_sections): Likewise.
+       (elf_x86_64_relocate_section): Likewise.
+       (elf_x86_64_convert_mov_to_lea): Renamed to ...
+       (elf_x86_64_convert_load): This.  Replace need_convert_mov_to_lea
+       with need_convert_load.  Support R_X86_64_GOTPCRELX and
+       R_X86_64_REX_GOTPCRELX transformations.
+       * reloc.c (BFD_RELOC_X86_64_GOTPCRELX): New.
+       (BFD_RELOC_X86_64_REX_GOTPCRELX): Likewise.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c: Include opcode/i386.h.
+       (elf_howto_table): Add R_386_GOT32X.
+       (R_386_ext2): Replace R_386_IRELATIVE with R_386_GOT32X.
+       (elf_i386_reloc_type_lookup): Handle BFD_RELOC_386_GOT32X.
+       (need_convert_mov_to_lea): Renamed to ...
+       (need_convert_load): This.
+       (elf_i386_check_relocs): Handle R_386_GOT32X.  Replace
+       need_convert_mov_to_lea with need_convert_load.
+       (elf_i386_gc_sweep_hook): Handle R_386_GOT32X.
+       (elf_i386_size_dynamic_sections): Likewise.
+       (elf_i386_relocate_section): Likewise.
+       (elf_i386_convert_mov_to_lea): Renamed to ...
+       (elf_i386_convert_load): This.  Replace need_convert_mov_to_lea
+       with need_convert_load.  Support R_386_GOT32X transformations.
+       * reloc.c (BFD_RELOC_386_GOT32X): New.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Likewise.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * elf32-s390.c (elf_s390_check_relocs): Set the non_got_ref marker
+       only when linking an executable.
+       (elf_s390_relocate_section): Redirect PC-relative relocs to a IPLT
+       slot.
+       * elf64-s390.c (elf_s390_check_relocs): Set the non_got_ref marker
+       only when linking an executable.
+       (elf_s390_relocate_section): Redirect PC-relative relocs to a IPLT
+       slot.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Set the PLT
+       reference counters for local IFUNC calls.
+       * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * elf32-s390.c (elf_s390_check_relocs): Fallthrough to the PLT
+       slot allocating code for GOTOFF relocs on ifunc symbols.
+       (elf_s390_gc_sweep_hook): Decrement plt refcount for GOTOFF relocs
+       on ifunc symbols.
+       (elf_s390_relocate_section): Redirect a GOTOFF reloc to an iplt
+       slot.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       PR ld/18841
+       * elf32-s390.c (elf_s390_reloc_type_class): Return
+       reloc_class_ifunc for ifunc symbols.
+       * elf64-s390.c (elf_s390_reloc_type_class): Likewise.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * elf32-s390.c (elf_s390_finish_dynamic_symbol): Call
+       elf_s390_finish_ifunc_symbol only for actually defined symbols.
+       * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * elf-s390-common.c (s390_elf_allocate_ifunc_dyn_relocs): Remove
+       `head' parameter.
+       * elf32-s390.c (allocate_dynrelocs): Don't use last parameter.
+       * elf64-s390.c (allocate_dynrelocs): Don't use last parameter.
+
+2015-10-20  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * mmo.c (mmo_write_symbols_and_terminator): Correct printed value
+       of Main in error message.
+
+2015-10-18  Doug Evans  <xdje42@gmail.com>
+
+       * targets.c (bfd_flavour_name): "MMO" is spelled "mmo".
+
+2015-10-17  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs): Correct __glink_PLTresolve
+       eh_frame FDE for ELFv1.
+
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_convert_mov_to_lea): Check if symbol
+       is defined.
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
+
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_convert_mov_to_lea): Don't check
+       def_regular.
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
+
+2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Fix typos in comments
+
+2015-10-15  Alan Modra  <amodra@gmail.com>
+
+       * elf32-v850.c (v850_elf_copy_private_bfd_data): Remove assertion
+       that input and output .note.renesas sections are same size.
+       Instead, only copy input to output if they are.
+
+2015-10-15  Riku Voipio  <riku.voipio@iki.fi>
+
+       PR ld/19123
+       * elfcore.h (elf_core_file_p): Use the file_ptr type to hold the
+       offset for bfd_seek.
+       * elfcode.h (elf_object_p): Likewise.
+
+2015-10-14  Rich Felker  <dalias@libc.org>
+
+       PR ld/19091
+       * elf32-sh.c (sh_elf_size_dynamic_sections): Always emit
+       DT_PLTGOT for FDPIC output.
+
+2015-10-13  Alan Modra  <amodra@gmail.com>
+
+       * elf.c (_bfd_elf_map_sections_to_segments): Don't set
+       PT_GNU_RELRO p_flags.
+       (assign_file_positions_for_non_load_sections): Set PT_GNU_RELRO
+       flags to PF_R here.
+
+2015-10-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19073
+       * elflink.c (_bfd_elf_add_default_symbol): Skip the unversioned
+       definition after the default version.
+
+2015-10-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       PR ld/19083
+       * elf32-s390.c (elf_s390_gc_sweep_hook): Do not reduce got
+       refcount for relocs not really requiring a got slot.
+       * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
+
+2015-10-11  John David Anglin  <danglin@gcc.gnu.org>
+
+       * elf-hppa.h (elf_hppa_action_discarded): Ignore relocations in
+       .data.rel.ro.local.
+
+2015-10-07  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * archures.c: Remove support for older ARC. Added support for new
+       ARC cpus (ARC600, ARC601, ARC700, ARCV2).
+       * bfd-in2.h: Likewise.
+       * config.bfd: Likewise.
+       * cpu-arc.c: Likewise.
+       * elf32-arc.c: Totally changed file with a refactored
+       inplementation of the ARC port.
+       * libbfd.h: Added ARC specific relocation types.
+       * reloc.c: Likewise.
+
+2015-10-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd_update_compression_header): Clear the ch_reserved
+       field in 64-bit output.
+       (bfd_convert_section_contents): Likewise.
+
+2015-10-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18914
+       * elflink.c (elf_link_add_object_symbols): Don't re-export a
+       symbol if it isn't undefined.
+
+2015-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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 (aarch64_tls_transition_without_check):  Add
+       relax transitions for TLSDESC_ADD, TLSDESC_LDR, TLSDESC_OFF_G0_NC,
+       TLSDESC_OFF_G1.
+       (aarch64_tls_transition_without_check): Add relaxation support.
+       (aarch64_reloc_got_type): Add support.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_tls_relax): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Check overflow for
+       BFD_RELOC_AARCH64_TLSDESC_OFF_G1.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c(IS_AARCH64_TLS_RELAX_RELOC):
+       Add relaxation support for TLSGD_MOVW_G0_NC and TLSGD_MOVW_G1.
+       (aarch64_tls_transition_without_check): Likewise
+       (elfNN_aarch64_tls_relax): Likwise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Create GOT section
+       for TLSLE_MOVW_TPREL_G(1, 1_NC, 2) relocation.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c: Make AARCH64_TLSIE_MOVW_GOTTPREL_G1 and
+       AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC defined in alphabetical order.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Likewise.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Make
+       TLSIE_MOVW_GOTTPREL_G1 check overflow.
+       (aarch64_reloc_got_type): Add support for TLSIE_MOVW_GOTTPREL_G1
+       and TLSIE_MOVW_GOTTPREL_G0_NC.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
+       BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC support.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC): New entry.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Likewise
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
+       BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSGD_MOVW_G1): New entry.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
+       BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC support.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC): New.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry
+       MOVW_GOTOFF_G0_NC.
+       * libbfd.h: Regnerate.
+       * bfd-in2.h: Regenerate.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Add support
+       for BFD_RELOC_AARCH64_MOVW_GOTOFF_G1.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise
+       (elfNN_aarch64_final_link_relocate): Likewise
+
+2015-010-02  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G1): New.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       MOVW_GOTOFF_G1.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Add
+       BFD_RELOC_AARCH64_LD_64_GOTOFF_LO15 support.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise
+       (elfNN_aarch64_final_link_relocate): Calculate offset within GOT.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Change if to
+       switch statement.
+
+2015-10-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19031
+       * elf64-x86-64.c (elf_x86_64_check_relocs): Set
+       pointer_equality_needed for R_X86_64_PC32 reloc in non-code
+       sections.
+
+2015-10-01  Renlin Li  <renlin.li@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_output_plt_map): Remove.
+       (elfNN_aarch64_output_arch_local_syms): Emit AARCH64_MAP_INSN once.
+
+2015-10-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * config.bfd (targ_selvecs): Remove sh_elf32_vec and
+       sh_elf32_le_vec from sh*-*-linux cases.
+
+2015-10-01  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19013
+       * elflink.c (_bfd_elf_merge_sections): Revert last change.
+
+2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19031
+       * elf32-i386.c (elf_i386_check_relocs): Set
+       pointer_equality_needed for R_386_PC32 reloc in non-code
+       sections.
+
+2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19013
+       * elflink.c (_bfd_elf_merge_sections): Only merge input bfds
+       that have the compatible ELF machine code with the output bfd.
+
+2015-09-30  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19013
+       * elflink.c (_bfd_elf_merge_sections): Only merge input bfds that
+       will be handled by elf_link_input_bfd.  Rename abfd param to obfd.
+
+2015-09-30  Rich Felker  <dalias@libc.org>
+
+       * config.bfd (targ_selvecs): Add fdpic and misc targets
+       for sh*-*-linux*.
+
+2015-09-29  Andrew Stubbs  <ams@codesourcery.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/19020
+       * bfd.c (bfd_convert_section_contents): Add ptr_size parameter.
+       * bfd-in2.h: Regenerated.
+
+2015-08-11  Peter Zotov  <whitequark@whitequark.org>
+
+       PR ld/18759
+       * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
+       (R_OR1K_16_PCREL): Likewise.
+       (R_OR1K_8_PCREL): Likewise.
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       * bout.c (b_out_slurp_reloc_table): Cast constant to unsigned in
+       order to avoid problems with left shifting negative values.
+       (abs32code): Likewise.
+       * mach-o.c (FILE_ALIGN): Likewise.
+       * coff-rs6000.c (xcoff_debug_sections): Delete unused static
+       array.
+       * elf32-visium.c (visium_reloc_map): Likewise.
+       * elf32-arm.c (elf32_arm_final_link_relocate): Remove useless
+       calls to abs function.
+       * elf32-frv.c (_frvfdpic_relax_tls_entries): Likewise.
+       * elf32-score.c (score_elf_final_link_relocate): Likewise.
+       * elf32-score7.c (score_elf_final_link_relocate): Likewise.
+       * elf32-i860.c (i860_howto_pc26_reloc): Use multiplication instead
+       of shifting to create a negative mask.
+       * elf32-msp430.c (elf_backend_special_sections): Define.
+       * elfxx-mips.c (got_ofst_reloc_p): Delete unused function.
+       (got_hi16_reloc_p): Delete unused function.
+       * ppcboot.c (ppcboot_bfd_print_private_bfd_data): Fix test of
+       partition name.
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/15835
+       * elf-bfd.h (struct elf_section_list): New structure.
+       (struct elf_obj_tdata): Replace symtab_shndx_hdr with
+       symtab_shndx_list.  Delete symtab_shndx_section.
+       (elf_symtab_shndx): Replace macro with elf_symtab_shndx_list.
+       * elf.c (bfd_elf_get_syms): If symtab index sections are present,
+       scan them for the section that matches the provided symbol table.
+       (bfd_section_from_shdr): Record all SHT_SYMTAB_SHNDX sections.
+       (assign_section_numbers): Use the first symtab index table in the
+       list.
+       (_bfd_elf_compute_section_file_positions): Replace use of
+       symtab_shndx_hdr with use of symtab_shndx_list.
+       (find_section_in_list): New function.
+       (assign_file_postions_except_relocs): Use new function.
+       (_bfd_elf_copy_private_symbol_data): Likewise.
+       (swap_out_syms): Handle multiple symbol table index sections.
+       * elf32-m32c.c (m32c_elf_relax_section): Replace use of
+       symtab_shndx_hdr with use of symtab_shndx_list.
+       * elf32-rl78.c (rl78_elf_relax_section): Likewise.
+       * elf32-rx.c (rx_relax_section): Likewise.
+       * elf32-v850.c (v850_elf_relax_delete_bytes): Likewise.
+       * elflink.c (bfd_elf_final_link): Likewise.
+
+2015-09-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd_update_compression_header): Use bfd_put_32 on
+       ch_type.
+       (bfd_check_compression_header): Use bfd_get_32 on ch_type.
+       (bfd_convert_section_contents): Use bfd_get_32 and bfd_put_32
+       on ch_type.
+
+2015-09-20  Rich Felker  <dalias@libc.org>
+
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
+       .interp when info->nointerp.
+       (bfd_elf_size_dynamic_sections): Adjust assert.
+       * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't size .interp
+       when info->nointerp.
+       * elf32-bfin.c (elf32_bfinfdpic_size_dynamic_sections): Likewise.
+       * elf32-cr16.c (_bfd_cr16_elf_size_dynamic_sections): Likewise.
+       * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
+       * elf32-frv.c (elf32_frvfdpic_size_dynamic_sections): Likewise.
+       * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
+       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
+       * elf32-lm32.c (lm32_elf_size_dynamic_sections): Likewise.
+       * elf32-m32r.c (m32r_elf_size_dynamic_sections): Likewise.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+       * elf32-metag.c (elf_metag_size_dynamic_sections): Likewise.
+       * elf32-nds32.c (nds32_elf_size_dynamic_sections): Likewise.
+       * elf32-nios2.c (nios2_elf32_size_dynamic_sections): Likewise.
+       * elf32-or1k.c (or1k_elf_size_dynamic_sections): Likewise.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
+       * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
+       * elf32-score.c (s3_bfd_score_elf_size_dynamic_sections): Likewise.
+       * elf32-score7.c (s7_bfd_score_elf_size_dynamic_sections): Likewise.
+       * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Likewise.
+       * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Likewise.
+       * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
+       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise.
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
+       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+       * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Likewise.
+       * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
+       * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
+       * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
+       * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Likewise.
+       * elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
+       * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): Likewise.
+
+2015-09-18  Doug Evans  <xdje42@gmail.com>
+
+       * targets.c (enum bfd_flavour): Add comment.
+       (bfd_flavour_name): New function.
+       * bfd-in2.h: Regenerate.
+
+2015-09-18  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.h (struct ppc64_elf_params <tls_get_addr_opt>): Rename
+       from no_tls_get_addr_opt.
+       * elf64-ppc.c: Update for rename and inversion of tls_get_addr_opt.
+       (ppc64_elf_tls_setup): Set tls_get_addr_opt to 0 only when at
+       default of -1.
+
+2015-09-17  Alan Modra  <amodra@gmail.com>
+
+       PR 18867
+       * elflink.c (elf_link_adjust_relocs): Correct start of insertion
+       sort main loop.
+
+2015-09-16  Alan Modra  <amodra@gmail.com>
+
+       PR 18867
+       * elflink.c (elf_link_adjust_relocs): Modify insertion sort to
+       insert a run.  Return status in case of malloc failure.
+       Adjust callers.
+
+2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (elf_xtensa_be_plt_entry)
+       (elf_xtensa_le_plt_entry): Emit 'entry' instruction only for
+       windowed ABI.
+       (elf_xtensa_create_plt_entry): Generate 'l32r' offsets and fix
+       up instructions according to ABI.
+
+2015-09-14  Rich Felker  <dalias@libc.org>
+
+       * elf32-sh.c (sh_elf_relocate_section): Set EF_SH_PIC flag
+       instead of clearing it on cross-section relocations.
+       (sh_elf_merge_private_data): Clear EF_SH_PIC flag by default.
+
+2015-09-12  Helge Deller  <deller@gmx.de>
+
+       PR ld/18514
+       * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Set .plt entry
+       size to 0.
+
+2015-09-09  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Sort alphabetically.
+
+2015-09-09  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_tls_transition_without_check): Support three
+       TLS local dynamic traditional relocations types.
+       (elfNN_aarch64_tls_relax): Support TLS local dynamic traditional to
+       local executable relaxation.
+
+2015-09-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Remove
+       convert_mov_to_lea.
+
+2015-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (R_386_irelative): Renamed to ...
+       (R_386_ext2): This.
+       (R_386_vt_offset): Updated.
+       (elf_i386_rtype_to_howto): Likewise.
+       (elf_i386_relocate_section): Likewise.
+
+2015-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18900
+       * elf32-i386.c (elf_i386_link_hash_entry): Add
+       func_pointer_refcount.
+       (elf_i386_link_hash_newfunc): Clear func_pointer_refcount.
+       (elf_i386_get_local_sym_hash): Likewise.
+       (elf_i386_copy_indirect_symbol): Also copy
+       func_pointer_refcount.
+       (elf_i386_check_relocs): Increment func_pointer_refcount.
+       (elf_i386_gc_sweep_hook): Decrement func_pointer_refcount.
+       (elf_i386_allocate_dynrelocs): Don't create the PLT entry if
+       there are only function pointer relocations which can be
+       resolved at run-time.  Keep dynanamic relocations for run-time
+       function pointer initialization.
+       (elf_i386_relocate_section): Copy dynamic function pointer
+       relocations.
+       * elf64-x86-64.c (elf_x86_64_link_hash_entry): Add
+       func_pointer_refcount.
+       (elf_x86_64_link_hash_newfunc): Clear func_pointer_refcount.
+       (elf_x86_64_get_local_sym_hash): Likewise.
+       (elf_x86_64_copy_indirect_symbol): Also copy
+       func_pointer_refcount.
+       (elf_x86_64_check_relocs): Increment func_pointer_refcount.
+       (elf_x86_64_gc_sweep_hook): Decrement func_pointer_refcount.
+       (elf_x86_64_allocate_dynrelocs): Don't create the PLT entry if
+       there are only function pointer relocations which can be
+       resolved at run-time.  Keep dynanamic relocations for run-time
+       function pointer initialization.
+       (elf_x86_64_relocate_section): Copy dynamic function pointer
+       relocations.
+
+2015-09-01  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_maybe_function_sym): Adjust symbol value
+       if .opd section has been edited.
+
+2015-09-01  Alan Modra  <amodra@gmail.com>
+
+       PR 18878
+       * elf64-ppc.c (ARRAY_SIZE): Define.  Use throughout.
+       (enum ppc_stub_type): Add ppc_stub_save_res.
+       (struct map_stub): Add "next" and "needs_save_res".
+       (struct ppc_link_hash_entry): Add "save_res" flag.
+       (struct ppc_link_hash_table): Add "group".
+       (sfpr_define): Add stub_sec param.  Define symbol in stub_sec if
+       stub_sec is non-null.  Set "save_res".
+       (save_res_funcs): Make file scope, rename from funcs.  Adjust uses.
+       (ppc64_elf_adjust_dynamic_symbol): Prohibit plt call to save_res syms.
+       (ppc_build_one_stub): Handle ppc_stub_save_res.
+       (ppc_size_one_stub): Set stub type to ppc_size_one_stub on finding
+       stub for linker defined save_res sym.
+       (group_sections): Init new fields of struct map_stub.
+       (ppc64_elf_size_stubs): Reserve space for save/restore func copy.
+       (ppc64_elf_build_stubs): Copy save/restore funcs to groups.  Emit
+       alias syms too.
+       (ppc64_elf_relocate_section): Set destination for ppc_stub_save_res.
+
+2015-08-31  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (get_r2off): Return -1 on error.
+       (ppc_build_one_stub): Adjust for get_r2off change.  Don't emit
+       addi r2,r2,0 on r2off stubs when the low 16-bit delta is zero.
+       (ppc_size_one_stub): Corresponding size changes for r2off stubs.
+       Add condition in test for -R objects.
+
+2015-08-31  Alan Modra  <amodra@gmail.com>
+
+       * section.c (section_id): Make file scope.
+       (bfd_get_next_section_id): New function.
+       * elf64-ppc.c (struct map_stub): Remove toc_off field.  Move decl.
+       (struct ppc_stub_hash_entry): Delete stub_sec and id_sec.  Add
+       group.  Update all uses.
+       (struct ppc_link_hash_table): Delete top_id, top_index, and
+       input_list.  Add sec_info_arr_size.  Rename stub_group to
+       sec_info, and make group info indirect.  Update stub_group refs
+       throughout file.
+       (ppc_add_stub): Don't look for stub_sec on link_sec stub_group
+       entry.
+       (ppc_build_one_stub): Delete FIXME.
+       (ppc64_elf_setup_section_lists): Size htab->sec_info for all
+       sections, not just input sections.  Don't create htab->input_list.
+       (ppc64_elf_next_input_section): Update to use sec_info union as
+       list pointer.
+       (PREV_SEC): Delete.
+       (group_sections): Pass "info" param rather than "htab".  Iterate
+       over output sections rather than input_list.  Use sec_info union
+       as list pointers.  Alloc atruct map_stub, and return fail status.
+       * bfd-in2.h: Regenerate.
+
+2015-08-31  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (elf_sort_symbol): Use correctly sized type for
+       calculating signed section->id difference.
+       (elf_link_add_object_symbols): Likewise.
+       * pef.c (bfd_pef_scan_start_address): Warning fix.
+       * vms-alpha.c (vms_new_section_hook): Likewise.
+
+2015-08-31  Alan Modra  <amodra@gmail.com>
+
+       * elf32-nds32.c (nds32_convert_32_to_16_alu1): Warning fix.
+       (find_relocs_at_address_addr): Make "reloc_type" an enum.
+       (nds32_elf_relax_delete_blanks): Warning fix.
+       (nds32_elf_relax_loadstore): Correct loop bound.
+
+2015-08-31  Alan Modra  <amodra@gmail.com>
+
+       * section.c (struct bfd_section): Make "id" and "index" unsigned.
+       * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust local var to suit.
+       * elf.c (elf_map_symbols): Likewise.
+       * elf64-ppc.c (sym_exists_at): Make "id" param unsigned.
+       (struct ppc_link_hash_table): Make "top_id" and "top_index" unsigned.
+       (ppc64_elf_setup_section_lists): Ditto for local vars.
+       * elf32-arm.c: Similarly to elf64-ppc.c.
+       * elf32-avr.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-metag.c: Likewise.
+       * elf32-nios2.c: Likewise.
+       * elfnn-aarch64.c: Likewise.
+       * simple.c (struct saved_offsets): Make "section_count" unsigned.
+       * bfd-in2.h: Regenerate.
+
+2015-08-27  Alan Modra  <amodra@gmail.com>
+
+       PR 18867
+       * elf64-alpha.c (elf64_alpha_sort_relocs_p): New function.
+       (elf_backend_sort_relocs_p): Define.
+
+2015-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 18867
+       * elflink.c (cmp_ext32l_r_offset, cmp_ext32b_r_offset): Delete.
+       (cmp_ext64l_r_offset, cmp_ext64b_r_offset): Delete.
+       (ext32l_r_offset, ext32b_r_offset, ext64l_r_offset, ext64b_r_offset):
+       New functions.
+       (elf_link_adjust_relocs): Use an insertion sort to sort relocs.
+
+2015-08-26  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       PR ld/18401
+       * elfxx-mips.c (bfd_mips_isa_ext_mach): New function: Converts an
+       ISA value to a bfd machine number.
+       (bfd_mips_isa_ext): Update the ISA level and revision if
+       necessary.  Use mips_mach_extends_p to decide if the ISA extension
+       needs to be set.
+       (_bfd_mips_elf_merge_private_bfd_data): Allow the ISA extension to
+       be inferred from the ABI setting.  Set the ISA level from the
+       maximum of the incoming and outgoing ISA levels.
+
+2015-08-25  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18854
+       * elf.c (bfd_section_from_shdr): Replace assertions with warnings
+       about multiple symbol tables.
+
+2015-08-25  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): Use LP64 instead of
+       ILP64.
+       * bfd-in2.h: Regenerate.
+
+2015-08-22  Alan Modra  <amodra@gmail.com>
+
+       * elf.c (_bfd_elf_slurp_version_tables): Always init vd_nodename.
+       Don't copy fields not set by _bfd_elf_swap_verdef_in.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize new relocation
+       types, including BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC.
+       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): New entries.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       PR ld/18276
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize new relocation
+       types, including BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC,
+       BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2): New entries.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
+       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
+       (aarch64_reloc_got_type): Likewise.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
+
+2015-08-19  Alan Modra  <amodra@gmail.com>
+
+       * elf-s390-common.c: Simplify expressions using
+       bfd_linke_executable, bfd_link_pie and bfd_link_pic.
+       * elf32-arm.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-nios2.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elflink.c: Likewise.
+
+2015-08-18  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Delete useless check.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18841
+       * elf-bfd.h (elf_link_hash_table): Add dynsym.
+       * elf32-i386.c (elf_i386_reloc_type_class): Return
+       reloc_class_ifunc for relocation against STT_GNU_IFUNC symbol.
+       * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Set dynsym.
+       (bfd_elf_size_dynsym_hash_dynstr): Use dynsym.
+       (elf_final_link_info): Remove dynsym_sec.
+       (elf_link_output_extsym): Replace dynsym_sec with dynsym.
+       (bfd_elf_final_link): Remove reference to dynsym_sec.  Replace
+       dynsym_sec with dynsym.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aoutx.h: Replace shared, executable, relocatable and pie
+       fields with bfd_link_executable, bfd_link_dll,
+       bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
+       * bout.c: Likewise.
+       * coff-alpha.c: Likewise.
+       * coff-arm.c: Likewise.
+       * coff-i386.c: Likewise.
+       * coff-i960.c: Likewise.
+       * coff-m68k.c: Likewise.
+       * coff-mcore.c: Likewise.
+       * coff-mips.c: Likewise.
+       * coff-ppc.c: Likewise.
+       * coff-rs6000.c: Likewise.
+       * coff-sh.c: Likewise.
+       * coff-tic80.c: Likewise.
+       * coff-x86_64.c: Likewise.
+       * coff64-rs6000.c: Likewise.
+       * coffgen.c: Likewise.
+       * cofflink.c: Likewise.
+       * ecoff.c: Likewise.
+       * ecofflink.c: Likewise.
+       * elf-bfd.h: Likewise.
+       * elf-eh-frame.c: Likewise.
+       * elf-ifunc.c: Likewise.
+       * elf-m10200.c: Likewise.
+       * elf-m10300.c: Likewise.
+       * elf-s390-common.c: Likewise.
+       * elf-vxworks.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-arm.c: Likewise.
+       * elf32-avr.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-cr16.c: Likewise.
+       * elf32-cr16c.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-crx.c: Likewise.
+       * elf32-d10v.c: Likewise.
+       * elf32-dlx.c: Likewise.
+       * elf32-epiphany.c: Likewise.
+       * elf32-fr30.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-ft32.c: Likewise.
+       * elf32-h8300.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-i860.c: Likewise.
+       * elf32-ip2k.c: Likewise.
+       * elf32-iq2000.c: Likewise.
+       * elf32-lm32.c: Likewise.
+       * elf32-m32c.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-mep.c: Likewise.
+       * elf32-metag.c: Likewise.
+       * elf32-microblaze.c: Likewise.
+       * elf32-moxie.c: Likewise.
+       * elf32-msp430.c: Likewise.
+       * elf32-mt.c: Likewise.
+       * elf32-nds32.c: Likewise.
+       * elf32-nios2.c: Likewise.
+       * elf32-or1k.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-rl78.c: Likewise.
+       * elf32-rx.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-score.c: Likewise.
+       * elf32-score7.c: Likewise.
+       * elf32-sh-symbian.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-spu.c: Likewise.
+       * elf32-tic6x.c: Likewise.
+       * elf32-tilepro.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf32-visium.c: Likewise.
+       * elf32-xc16x.c: Likewise.
+       * elf32-xstormy16.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-ia64-vms.c: Likewise.
+       * elf64-mmix.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elflink.c: Likewise.
+       * elfnn-aarch64.c: Likewise.
+       * elfnn-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * elfxx-tilegx.c: Likewise.
+       * i386linux.c: Likewise.
+       * linker.c: Likewise.
+       * m68klinux.c: Likewise.
+       * pdp11.c: Likewise.
+       * pe-mips.c: Likewise.
+       * peXXigen.c: Likewise.
+       * reloc.c: Likewise.
+       * reloc16.c: Likewise.
+       * sparclinux.c: Likewise.
+       * sunos.c: Likewise.
+       * vms-alpha.c: Likewise.
+       * xcofflink.c: Likewise.
+
+2015-08-18  Alan Modra  <amodra@gmail.com>
+
+       PR 18667
+       * Makefile.am: Use $(SED) in place of sed throughout.
+       * Makefile.in: Regenerate.
+
+2015-08-18  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't redefine .TOC.
+       if already defined, and set linker_def.
+       (ppc64_elf_set_toc): Use .TOC. value if defined other than by
+       the backend.
+
+2015-08-14  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18759
+       * elf32-or1k.c: Revert 2015-08-11 change.
+
+2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18801
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Issue an error
+       for read-only segment with dynamic IFUNC relocations.
+       * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
+
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * elfxx-mips.c (STUB_MOVE): Change to use 'or' only.
+       (mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry,
+       mips_n64_exec_plt0_entry, micromips_insn32_o32_exec_plt0_entry):
+       Update to use 'or' instead of 'addu/daddu'.
+       (_bfd_mips_elf_finish_dynamic_symbol): Update usage of STUB_MOVE.
+       (move_insns_32): Reorder table.
+
+2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Properly skip IFUNC
+       relocations in debug sections.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Improve warning
+       message for R_AARCH64_LD64_GOTPAGE_LO15/R_AARCH64_LD32_GOTPAGE_LO14.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): New.
+       (aarch64_can_relax_tls): Use the new IS_AARCH64_TLS_RELAX_RELOC.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_type_of_stub): New parameter "sym_sec".
+       Loose the check for symbol from ABS section.
+       (elfNN_aarch64_size_stubs): Pass sym_sec.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       PR ld/18668
+       * elfnn-aarch64.c (aarch64_type_of_stub): Update destination for
+       calls go through plt stub.
+       (elfNN_aarch64_final_link_relocate): Adjust code logic for CALL26,
+       JUMP26 relocation to support inserting veneer for call to plt stub.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
+       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
+       (aarch64_reloc_got_type): Likewise.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
+       BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
+       (aarch64_reloc_got_type): Likewise.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
+       BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
+       (aarch64_reloc_got_type): Likewise.
+       (elfNN_aarch64_final_link_relocate): Likewise.
+       (elfNN_aarch64_relocate_section): Likewise.
+       (elfNN_aarch64_gc_sweep_hook): Likewise.
+       (elfNN_aarch64_check_relocs): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
+
+2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18808
+       * elf32-i386.c (elf_i386_relocate_section): Skip IFUNC
+       relocations in debug sections.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
+2015-08-11  Peter Zotov  <whitequark@whitequark.org>
+
+       PR ld/18759
+       * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
+       (R_OR1K_16_PCREL): Likewise.
+       (R_OR1K_8_PCREL): Likewise.
+
+2015-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18747
+       * coff-sh.c (_bfd_sh_align_load_span): Fix typo when setting
+       opcode count.
+
+       PR binutils/18758
+       * elf.c (_bfd_elf_setup_sections): Add checks for corrupt section
+       group information.
+       * peicode.h (pe_ILF_make_a_section): Ensure alignment of the
+       used_by_bfd pointer.
+       (pe_ILF_build_a_bfd): Ensure alignment of vars.data pointer.
+
+2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_copy_private_bfd_data): Fix a typo.
+
+2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_symbol_version): New enum.
+       (elf_link_hash_entry): Replace hidden with versioned.
+       * elflink.c (_bfd_elf_merge_symbol): Don't look for symbol
+       version if the symbol is unversioned.  Initialize versioned.
+       (_bfd_elf_add_default_symbol): Don't look for symbol version
+       if the symbol is unversioned or hidden.  Initialize versioned.
+       (elf_collect_hash_codes): Don't look for symbol version if the
+       symbol is unversioned.
+       (elf_collect_gnu_hash_codes): Likewise.
+       (bfd_elf_gc_mark_dynamic_ref_symbol): Likewise.
+       (_bfd_elf_link_hash_copy_indirect): Check versioned instead of
+       hidden.
+       (elf_link_output_extsym): Likewise.
+
+2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18785
+       * elf.c (_bfd_elf_copy_private_bfd_data): When copying the
+       sh_link and sh_info fields in stripped section headers, we also
+       check if the sh_type, sh_flags, sh_addralign and sh_entsize
+       fields of the output section match the output.  Since
+       --only-keep-debug turns all non-debug sections into SHT_NOBITS
+       sections, the output SHT_NOBITS type matches any input type.
+
+2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18720
+       * elflink.c (_bfd_elf_merge_symbol): Add a parameter to indicate
+       if the new symbol matches the existing one.  The new hidden
+       versioned symbol matches the existing symbol if they have the
+       same symbol version. Update the existing symbol only if they
+       match.
+       (_bfd_elf_add_default_symbol): Update call to
+       _bfd_elf_merge_symbol.
+       (_bfd_elf_link_assign_sym_version): Don't set the hidden field
+       here.
+       (elf_link_add_object_symbols): Override a definition only if the
+       new symbol matches the existing one.
+       (_bfd_elf_link_hash_copy_indirect): Don't copy any references to
+       the hidden versioned symbol.
+       (elf_link_output_extsym): Bind a symbol locally when linking
+       executable if it is locally defined, hidden versioned, not
+       referenced by shared library and not exported.  Turn on
+       VERSYM_HIDDEN only if the hidden versioned symbol is defined
+       locally.
+
+2015-08-05  Nick Clifton  <nickc@redhat.com>
+
+       * elf.c (_bfd_elf_copy_private_bfd_data): Copy the sh_link and
+       sh_info fields of sections whose type has been changed to
+       SHT_NOBITS.
+
+2015-08-04  Yuriy M. Kaminskiy"  <yumkam@gmail.com>
+           Tyler Hicks  <tyhicks@canonical.com>
+
+       PR binutils/18750
+       * ihex.c (ihex_scan): Fixes incorrect escape sequence in error message
+       and stack overflow when char is signed and \200-\376 was in place of hex
+       digit; also fixes \377 was handled as EOF instead of "incorrect character".
+       (ihex_read_section): Changed for consistency.
+       (ihex_bad_byte): Prevent (now impossible to trigger) stack
+       overflow and incorrect escape sequence handling.
+       * srec.c (srec_bad_byte): Likewise.
+
+2015-08-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c (cris_elf_relocate_section)
+       (elf_cris_finish_dynamic_symbol, cris_elf_check_relocs)
+       (elf_cris_discard_excess_dso_dynamics): Use SYMBOLIC_BIND, not
+       just link_info->symbolic, to check if a symbol should be bound
+       symbolically.
+
+2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18735
+       * elflink.c (_bfd_elf_add_default_symbol): Add the default
+       symbol if not performing a relocatable link.
+       (elf_link_add_object_symbols): Adjust the default symbol if
+       not performing a relocatable link.
+
+2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_link_add_object_symbols): Remove
+       !info->relocatable check for info->executable.  Add
+       !info->relocatable check for !info->executable.
+       (elf_link_output_extsym): Remove
+       !info->relocatable check for info->executable.
+
+2015-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * mmo.c (mmo_write_symbols_and_terminator): Skip symbol-type
+       assignment loop for bfd plugin objects.
+
+2015-07-28  Alan Modra  <amodra@gmail.com>
+
+       * elf.c (_bfd_elf_map_sections_to_segments): Do not make a new
+       segment for loaded sections after nonloaded sections if the
+       sections are on the same page.
+
+2015-07-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * configure.in: Add asprintf and vasprintf to AC_CHECK_DECLS.
+       * config.in, configure: Regenerate.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-27  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-msp430.c (uses_large_model): New function.
+       (msp430_elf_eh_frame_address_size): New function.
+       (elf_backend_eh_frame_address_size): Define.
+
+2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR ld/18705
+       * elfnn-aarch64.c (elf_backend_extern_protected_data): Define.
+
+2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR ld/18705
+       * elf32-arm.c (elf_backend_extern_protected_data): Define.
+
+2015-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18718
+       * elflink.c (elf_link_output_extsym): Check symbol version
+       section check only if not linking executable, the symbol is
+       referenced by shared library or not locally defined.
+
+2015-07-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Use SYMBOLIC_BIND to
+       check if a symbol should be bound symbolically.
+       * elf32-hppa.c (elf32_hppa_check_relocs,
+       elf32_hppa_adjust_dynamic_symbol, elf32_hppa_relocate_section,
+       elf32_hppa_finish_dynamic_symbol): Likewise.
+       * elf32-m68k.c (elf_m68k_check_relocs,
+       elf_m68k_relocate_section): Likewise.
+       * elf32-nios2.c (nios2_elf32_relocate_section,
+       nios2_elf32_check_relocs, allocate_dynrelocs): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol,
+       elf32_tic6x_relocate_section): Likewise.
+
+2015-07-24  Alan Modra  <amodra@gmail.com>
+
+       * elf.c (_bfd_elf_assign_file_positions_for_non_load): Use .rela
+       prefix for reloc section corresponding to rela section associated
+       with renamed debug section.
+
+2015-07-24  Alan Modra  <amodra@gmail.com>
+
+       * section.c (bfd_get_section_by_name_if): Iterate over entire hash
+       chain.
+
+2015-07-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections)
+       <DT_MIPS_RLD_MAP_REL>: Add target address to host address
+       difference, not to host pointer.
+
+2015-07-22  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (opd_entry_value): Remove assertion.  Instead,
+       return -1 if symbol referenced is not defined.  Tidy.
+
+2015-07-20  Alan Modra  <amodra@gmail.com>
+
+       * po/SRC-POTFILES.in: Regenerate.
+
+2015-07-17  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Sort alphabetically.
+       (IS_AARCH64_TLSDESC_RELOC): Sort alphabetically.
+
+2015-07-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
+       BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
+       (aarch64_reloc_got_type): Ditto.
+       (elfNN_aarch64_final_link_relocate): Ditto.
+       (elfNN_aarch64_relocate_section): Ditto.
+       (elfNN_aarch64_gc_sweep_hook): Ditto.
+       (elfNN_aarch64_check_relocs): Ditto.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
+       (_bfd_aarch64_elf_resolve_relocation): Ditto.
+
+2015-07-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PREL21): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
+
+2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18656
+       * bfd.c (bfd_convert_section_size): New function.
+       (bfd_convert_section_contents): Likewise.
+       * bfd-in2.h: Regenerated.
+
+2015-07-09  Catherine Moore  <clm@codesourcery.com>
+
+       * elflink.c (bfd_elf_size_dynamic_sections): Call to
+       _bfd_elf_maybe_strip_eh_frame_hdr should be before
+       bed->elf_backend_size_dynamic_sections.
+
+2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
+
+       * elf32-avr.c: Add 32 bit PC relative relocation for AVR target.
+
+2015-07-05  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value
+       plus addend rather than the original st_value when looking up
+       entries in opd->adjust.
+
+2015-07-03   Kai Tietz  <ktietz@redhat.com>
+            Nick Clifton  <nickc@redhat.com>
+
+       PR ld/11539
+       * coffcode.h (coff_bfd_gc_sections): Define default
+       to bfd_coff_gc_sections function.
+       (coff_gc_mark_hook_fn): New type.
+       * coffgen.c (init_reloc_cookie): Copy and adjust coff
+       related code about gc-sections from elflink.c to here.
+       (fini_reloc_cookie): Likewise.
+       (init_reloc_cookie_rels): Likewise.
+       (fini_reloc_cookie_rels): Likewise.
+       (init_reloc_cookie_for_section): Likewise.
+       (fini_reloc_cookie_for_section): Likewise.
+       (_bfd_coff_gc_mark_hook): Likewise.
+       (_bfd_coff_gc_mark_rsec): Likewise.
+       (_bfd_coff_gc_mark_reloc): Likewise.
+       (_bfd_coff_gc_mark): Likewise.
+       (_bfd_coff_gc_mark_extra_sections): Likewise.
+       (coff_gc_sweep_symbol_info): Likewise.
+       (coff_gc_sweep_symbol): Likewise.
+       (gc_sweep_hook_fn): Likewise.
+       (coff_gc_sweep): Likewise.
+       (bfd_coff_gc_sections): Likewise.
+       (_bfd_coff_gc_keep): Likewise.
+       * libcoff-in.h (coff_reloc_cookie): New struct.
+       (bfd_coff_gc_sections): New prototype.
+       * libcoff.h: Regenerate.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * bfd-in2.h: Regenerated.
+       * elf32-nios2.c (elf_nios2_howto_table_rel): Rename to...
+       (elf_nios2_r1_howto_table_rel): This.
+       (elf_nios2_r2_howto_table_rel): New.
+       (BFD_IS_R2): New.
+       (lookup_howto): Add ABFD parameter.  Adjust to look up in either
+       the R1 or R2 relocation table, as determined by ABFD.
+       (nios2_reloc_map): Add R2 relocations.
+       (nios2_elf32_bfd_reloc_type_lookup): Do lookup using lookup_howto.
+       Pass it the ABFD parameter.
+       (nios2_elf32_bfd_reloc_name_lookup): Use ABFD to decide whether to
+       return an R1 or R2 relocation.
+       (nios2_elf32_info_to_howto): Do lookup using lookup_howto.
+       Pass it the ABFD parameter.
+       (nios2_elf32_do_call26_relocate): Check for alignment on a 4-byte
+       boundary.
+       (nios2_elf32_relocate_section): Adjust call to lookup_howto.
+       * libbfd.h: Regenerated.
+       * reloc.c (BFD_RELOC_NIOS2_R2_S12): New.
+       (BFD_RELOC_NIOS2_R2_I10_1_PCREL): New.
+       (BFD_RELOC_NIOS2_R2_T1I7_1_PCREL): New.
+       (BFD_RELOC_NIOS2_R2_T1I7_2): New.
+       (BFD_RELOC_NIOS2_R2_T2I4): New.
+       (BFD_RELOC_NIOS2_R2_T2I4_1): New.
+       (BFD_RELOC_NIOS2_R2_T2I4_2): New.
+       (BFD_RELOC_NIOS2_R2_X1I7_2): New.
+       (BFD_RELOC_NIOS2_R2_X2L5): New.
+       (BFD_RELOC_NIOS2_R2_F1I5_2): New.
+       (BFD_RELOC_NIOS2_R2_L5I4X1): New.
+       (BFD_RELOC_NIOS2_R2_T1X1I6): New.
+       (BFD_RELOC_NIOS2_R2_T1X1I6_2): New.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * archures.c (bfd_mach_nios2r1, bfd_mach_nios2r2): New.
+       * bfd-in2.h: Regenerated.
+       * cpu-nios2.c (nios2_compatible): New.
+       (N): Use nios2_compatible instead of bfd_default_compatible.
+       (NIOS2R1_NEXT, NIOS2R2_NEXT): Define.
+       (arch_info_struct): New.
+       (bfd_nios2_arch): Chain to NIOS2R1_NEXT.
+       * elf32-nios2.c (is_nios2_elf): New.
+       (nios2_elf32_merge_private_bfd_data): New.
+       (nios2_elf32_object_p): New.
+       (bfd_elf32_bfd_merge_private_bfd_data): Define.
+       (elf_backend_object_p): Define.
+
+2015-07-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Refactor.
+
+2015-06-30  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18570
+       * elf-attrs.c (obj_attr_size): Use an unsigned int type for the tag.
+       (write_obj_attribute): Likewise.
+       (elf_new_obj_attr): Likewise.
+       (bfd_elf_get_obj_attr_int): Likewise.
+       (bfd_elf_add_obj_attr_int): Likewise.
+       (bfd_elf_add_obj_attr_string): Likewise.
+       (bfd_elf_add_obj_attr_int_string): Likewise.
+       (gnu_obj_attrs_arg_type): Likewise.
+       (_bfd_elf_obj_attrs_arg_type): Likewise.
+       (_bfd_elf_parse_attributes): Likewise.
+       (_bfd_elf_merge_unknown_attribute_list): Likewise.
+       * elf-bfd.h (struct obj_attribute_list): Likewise.
+       Update prototypes.
+
+2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in.h (compressed_debug_section_type): Remove
+       COMPRESS_DEBUG_ZLIB.
+       * bfd-in2.h : Regenerated.
+
+2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Use executable
+       instead of !shared to indicate an application vs shared library.
+       (_bfd_mips_elf_size_dynamic_sections): Likewise.
+       (_bfd_mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP_REL.
+       (_bfd_mips_elf_get_target_dtag): Likewise.
+
+2015-06-25  DJ Delorie  <dj@redhat.com>
+
+       * elf32-msp430.c (msp430_final_link_relocate): Fix comments.  Fix
+       REL loads to match RELA stores.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_compute_section_file_positions): Don't
+       initialize sh_size for .shstrtab here.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/18451
+       * elf-bfd.h (elf_sym_strtab): New.
+       (elf_link_hash_table): Add strtabcount, strtabsize and
+       strtab.
+       (_bfd_elf_stringtab_init): Removed.
+       * elf.c (_bfd_elf_stringtab_init): Removed.
+       (_bfd_elf_compute_section_file_positions): Replace
+       bfd_strtab_hash/_bfd_elf_stringtab_init/_bfd_stringtab_free/
+       _bfd_stringtab_size with
+       elf_strtab_hash/_bfd_elf_strtab_init/_bfd_elf_strtab_free/
+       _bfd_elf_strtab_size.  Use _bfd_elf_strtab_add,
+       _bfd_elf_strtab_finalize and _bfd_elf_strtab_offset to get
+       st_name.
+       (swap_out_syms): Likewise.
+       * elflink.c (elf_final_link_info): Replace bfd_strtab_hash
+       with elf_strtab_hash.  Remove symbuf, symbuf_count,
+       symbuf_size and shndxbuf_size.
+       (elf_link_flush_output_syms): Removed.
+       (elf_link_output_sym): Renamed to ...
+       (elf_link_output_symstrtab): This.  Replace _bfd_stringtab_add
+       with _bfd_elf_strtab_add.  Don't flush symbols to the file nor
+       swap out symbols.
+       (elf_link_swap_symbols_out): New.
+       (elf_link_output_extsym): Replace elf_link_output_sym with
+       elf_link_output_symstrtab.
+       (elf_link_input_bfd): Likewise.
+       (elf_final_link_free): Replace _bfd_stringtab_free with
+       _bfd_elf_strtab_free.  Remove symbuf.
+       (bfd_elf_final_link): Replace _bfd_elf_stringtab_init with
+       _bfd_elf_strtab_init.  Don't set symbuf, symbuf_count,
+       symbuf_size nor shndxbuf_size.  Initialize strtabsize and
+       strtab.  Initialize symshndxbuf to -1 when number of sections
+       >= 64K.  Replace elf_link_output_sym/elf_link_output_sym with
+       elf_link_output_symstrtab/elf_link_output_symstrtab. Don't
+       call elf_link_flush_output_syms.  Call _bfd_elf_strtab_finalize
+       and elf_link_swap_symbols_out.  Replace _bfd_stringtab_size
+       and _bfd_stringtab_emit with _bfd_elf_strtab_size and
+       _bfd_elf_strtab_emit.
+
+2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
+       GCC warning.
+
+2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_allocate_dynrelocs): Always allocate
+       space for the first .plt entry.
+       (elf_i386_size_dynamic_sections): Always add DT_PLTGOT for .plt
+       section.  Add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL only if
+       there are PLT relocations.
+       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Always
+       allocate space for the first .plt entry.
+       (elf_x86_64_size_dynamic_sections): Always add DT_PLTGOT for
+       .plt section.  Add DT_PLTRELSZ, DT_PLTREL and DT_JMPREL only if
+       there are PLT relocations.
+
+2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18591
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Don't convert
+       R_X86_64_GOTPCREL to R_X86_64_PC32 if it will cause relocation
+       overflow.
+
+2015-06-23  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_readonly_dynrelocs): New function.
+       (elfNN_aarch64_size_dynamic_sections): Traverse hash table to check
+       relocations against read-only sections.
+
+2015-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 18481
+       * elf32-arm.c (R_ARM_TLS_LE32): Set the special function to NULL.
+
+2015-06-15  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * bfd.c: Change struct bfd_build_id to use bfd_size_type.
+       * bfd-in2.h : Regenerate.
+
+2015-06-16  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Correct binary search of
+       dynamic relocs.
+
+2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * elf-bfd.h : Remove struct elf_build_id.
+       * bfd.c : Add struct bfd_build_id.
+       * bfd-in2.h: Regenerate.
+       * elf.c (elfobj_grok_gnu_build_id): Update to use bfd_build_id.
+       * libpei.h: Add protoype and macros for
+       bfd_XXi_slurp_codeview_record.
+       * peXXigen.c (_bfd_XXi_slurp_codeview_record): Make public
+       * peicode.h (pe_bfd_read_buildid): Add.
+       (pe_bfd_object_p): Use pe_bfd_read_buildid().
+
+2015-06-15  Renlin Li  <renlin.li@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
+
+2015-06-15  Alan Modra  <amodra@gmail.com>
+
+       * cofflink.c (_bfd_coff_generic_relocate_section): Revert
+       2014-03-26 change.  Call _bfd_clear_contents for relocs against
+       local and global symbols defined in discarded input sections.
+
+2015-06-05  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-msp430.c (rl78_sym_diff_handler): New function.
+       (msp430_howto_table): Use the new function for the SYM_DIFF reloc.
+       (msp430x_howto_table): Likewise.
+
+2015-06-05  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc_elf_relocate_section): Move dynamic text
+       relocs with insns moved by --ppc476-workaround.  Correct
+       output of REL16 relocs.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Support
+       BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
+       (elfNN_aarch64_final_link_relocate): Ditto.
+       (elfNN_aarch64_gc_swap_hook): Ditto.
+       (elfNN_aarch64_check_relocs): Ditto.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Set overflow type to
+       complain_overflow_unsigned for BFD_RELOC_AARCH64_TLSLE_ADD_LO12.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Don't use
+       PGOFF for BFD_RELOC_AARCH64_TLSLE_ADD_LO12.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_reloc_got_type): Support
+       BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
+       (elfNN_aarch64_final_link_relocate): Ditto.
+       (elfNN_aarch64_gc_swap_hook): Ditto.
+       (elfNN_aarch64_check_relocs): Ditto.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * reloc.c (BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15): New entry.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
+       BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
+
+2015-05-28  Catherine Moore  <clm@codesourcery.com>
+           Bernd Schmidt <bernds@codesourcery.com>
+           Paul Brook <paul@codesourcery.com>
+
+       * bfd-in2.h: Regenerated.
+       * elf-bfd.h (DWARF2_EH_HDR, COMPACT_EH_HDR): Define.
+       (COMPACT_EH_CANT_UNWIND_OPCODE): Define.
+       (dwarf_eh_frame_hdr_info): Move dwarf-specific fields from
+       eh_frame_hdr_info.
+       (compact_eh_frame_hdr_info): Declare.
+       (eh_frame_hdr_info):  Redeclare with union for dwarf-specific
+       fields and compact-eh fields.
+       (elf_backend_data): Add cant_unwind_opcode and compact_eh_encoding.
+       (bfd_elf_section_data): Add eh_frame_entry_field.
+       (elf_section_eh_frame_entry): Define.
+       (bfd_elf_parse_eh_frame_entries): Declare.
+       (_bfd_elf_parse_eh_frame_entry): Declare.
+       (_bfd_elf_end_eh_frame_parsing): Declare.
+       (_bfd_elf_write_section_eh_frame_entry): Declare.
+       (_bfd_elf_eh_frame_entry_present): Declare.
+       (_bfd_elf_section_for_symbol): Declare.
+       * elf-eh-frame.c (bfd_elf_discard_eh_frame_entry): New function.
+       (bfd_elf_record_eh_frame_entry): New function.
+       (_bfd_elf_parse_eh_frame_entry): New function.
+       (_bfd_elf_parse_eh_frame): Update hdr_info field references.
+       (cmp_eh_frame_hdr): New function.
+       (add_eh_frame_hdr_terminator): New function.
+       (_bfd_elf_end_eh_frame_parsing): New function.
+       (find_merged_cie): Update hdr_info field references.
+       (_bfd_elf_discard_section_eh_frame): Likewise.
+       (_bfd_elf_discard_section_eh_frame_hdr): Add Compact EH support.
+       (_bfd_elf_eh_frame_entry_present): New function.
+       (_bfd_elf_maybe_strip_eh_frame_hdr): Add Compact EH support.
+       (_bfd_elf_write_section_eh_frame_entry): New function.
+       (_bfd_elf_write_section_eh_frame): Update hdr_info field references.
+       (_bfd_elf_fixup_eh_frame_hdr): New function.
+       (write_compact_eh_frame_hdr): New function.
+       (write_dwarf_eh_frame_hdr): New function.
+       (_bfd_elf_write_section_eh_frame_hdr): Add Compact EH support.
+       * elflink.c (_bfd_elf_section_for_symbol): New function.
+       (elf_section_ignore_discarded_relocs): Add Compact EH support.
+       (elf_link_input_bfd): Likewise.
+       (bfd_elf_final_link): Likewise.
+       (_bfd_elf_gc_mark): Likewise.
+       (bfd_elf_parse_eh_frame_entries): New function.
+       (bfd_elf_gc_sections): Add Compact EH support.
+       (bfd_elf_discard_info): Likewise.
+       * elfxx-mips.c: Include dwarf2.h.
+       (_bfd_mips_elf_compact_eh_encoding): New function.
+       (_bfd_mips_elf_cant_unwind_opcode): New function.
+       * elfxx-mips.h (_bfd_mips_elf_compact_eh_encoding): Declare.
+       (_bfd_mips_elf_cant_unwind_opcode): Declare.
+       (elf_backend_compact_eh_encoding): Define.
+       (elf_backend_cant_unwind_opcode): Define.
+       * elfxx-target.h (elf_backend_compact_eh_encoding): Provide default.
+       (elf_backend_cant_unwind_opcode): Provide default.
+       (elf_backend_data elfNN_bed): Add elf_backend_compact_eh_encoding and
+       elf_backend_cant_unwind_opcode.
+       * section.c (SEC_INFO_TYPE_EH_FRAME_ENTRY): Add definition.
+
+2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18458
+       * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
+       for now binding only if pointer equality isn't needed.
+       (elf_i386_allocate_dynrelocs): Use .plt.got section for now
+       binding only if pointer equality isn't needed.
+       * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
+       section for now binding only if pointer equality isn't needed.
+       (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
+       binding only if pointer equality isn't needed.
+
+2015-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18437
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip extra relocations
+       in .rel.plt/.rela.plt.
+       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
+
+2015-05-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (aarch64_tls_transition_without_check): Sort
+       relocation case labels alphabetically.
+       (elfNN_aarch64_final_link_relocate): Ditto.
+       (elfNN_aarch64_tls_relax): Ditto.
+       (elfNN_aarch64_relocate_section): Ditto.
+       (elfNN_aarch64_gc_sweep_hook): Ditto.
+       (elfNN_aarch64_check_relocs): Ditto.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto.
+       (_bfd_aarch64_elf_resolve_relocation): Ditto.
+
+2015-05-18  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite
+       comments.
+
+2015-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
+       for now binding.
+       (elf_i386_allocate_dynrelocs): Use .plt.got section for now
+       binding.
+       * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
+       section for now binding.
+       (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
+       binding.
+
+2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd_update_compression_header): Also write the zlib
+       header if the SHF_COMPRESSED bit cleared..
+       (bfd_check_compression_header): Return the uncompressed size.
+       * compress.c (decompress_contents): Don't skip the zlib header.
+       (bfd_compress_section_contents): Properly handle ELFCOMPRESS_ZLIB,
+       which doesn't have the zlib header.
+       (bfd_init_section_decompress_status): Likewise.
+       (bfd_get_full_section_contents): Updated.
+       (bfd_is_section_compressed): Likewise.
+       (bfd_is_section_compressed_with_header): Return the uncompressed
+       size.
+       * elf.c (_bfd_elf_make_section_from_shdr): Updated.
+       * bfd-in2.h: Regenerated.
+
+2015-05-14  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Remove overflow
+       check restrictions.
+
+2015-05-14  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Treat PLT reference
+       as GOT reference when plt.refcount is not positive.
+
+2015-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate space
+       for the first .plt entry only if needed.
+       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
+
+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.
+
+2015-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Replace SYMBOLIC_BIND
+       with SYMBOL_REFERENCES_LOCAL when checking R_386_GOTOFF against
+       protected data symbol when building shared library.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Check
+       R_X86_64_GOTOFF64 against undefined symbol and replace
+       SYMBOLIC_BIND with SYMBOL_REFERENCES_LOCAL when checking
+       R_X86_64_GOTOFF64 against protected data symbol when building
+       shared library.
+
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr17709
+       * elf32-i386.c (elf_i386_relocate_section): Also check R_386_GOTOFF
+       against protected data symbol when building shared library.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Also check
+       R_X86_64_GOTOFF64 against protected data symbol when building
+       shared library.
+
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr15228
+       PR ld/pr17709
+       * elf-bfd.h (elf_backend_data): Add extern_protected_data.
+       * elf32-i386.c (elf_backend_extern_protected_data): New.
+       Defined to 1.
+       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
+       copy relocs against protected symbols if extern_protected_data
+       is true.
+       (_bfd_elf_symbol_refs_local_p): Don't return true on protected
+       non-function symbols if extern_protected_data is true.
+       * elfxx-target.h (elf_backend_extern_protected_data): New.
+       Default to 0.
+       (elfNN_bed): Initialize extern_protected_data with
+       elf_backend_extern_protected_data.
+
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (bfd_compress_section_contents): Replace bfd_malloc
+       and free with bfd_alloc and bfd_release on compressed buffer.
+       Release buffer if compressed section isn't smaller.
+
+2015-04-10  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18222
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't report an error
+       on adding a protected visibility variable to .dynbss.
+
+2015-04-10  Alan Modra  <amodra@gmail.com>
+
+       Revert 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+       PR ld/pr15228
+       PR ld/pr17709
+       * elf-bfd.h (elf_backend_data): Delete extern_protected_data.
+       * elf32-i386.c (elf_backend_extern_protected_data): Delete.
+       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): Remove
+       extern_protected_data test.
+       (_bfd_elf_symbol_refs_local_p): Likewise.
+       * elfxx-target.h (elf_backend_extern_protected_data): Delete.
+       (elfNN_bed): Delete elf_backend_extern_protected_data init.
+
+2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (bfd_compress_section_contents): Update comments.
+       (bfd_init_section_decompress_status): Likewise.
+       (bfd_init_section_compress_status): Likewise.
+
+2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-target.h (TARGET_BIG_SYM): Add BFD_COMPRESS_GABI to
+       object_flags.
+       (TARGET_LITTLE_SYM): Likewise.
+
+2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (splay-tree.h): include header.
+       (text_action_struct): drop next pointer.
+       (text_action_list_struct): drop head pointer, add count and
+       tree fields.
+       (find_fill_action): instead of linear search in text_action_list
+       search in the tree.
+       (text_action_compare, action_first, action_next): new functions.
+       (text_action_add, text_action_add_literal): instead of linear
+       search and insertion insert new node into the tree.
+       (removed_by_actions): pass additional parameter: action_list,
+       use it to traverse the tree.
+       (offset_with_removed_text): pass additional action_list parameter
+       to removed_by_actions.
+       (map_action_fn_context): new typedef.
+       (map_action_fn_context_struct): new structure.
+       (map_action_fn): new function.
+       (map_removal_by_action): use splay_tree_foreach to build map.
+       (find_insn_action): replace linear search in text_action_list
+       with series of splay_tree_lookups.
+       (print_action, print_action_list_fn): new functions.
+       (print_action_list): use splay_tree_foreach.
+       (init_xtensa_relax_info): drop action_list.head initialization.
+       Initialize the tree.
+       (compute_text_actions): use non-zero action_list_count instead of
+       non-NULL action list.
+       (xlate_map_context): new typedef.
+       (xlate_map_context_struct): new structure.
+       (xlate_map_fn): new function.
+       (build_xlate_map): use splay_tree_foreach to build map.
+       (action_remove_bytes_fn): new function.
+       (relax_section): use zero action_list_count instead of NULL
+       action list. Use splay_tree_foreach to count final section size.
+       Drop unused variable 'removed'.
+
+2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (removed_literal_map_entry): new typedef.
+       (removed_literal_map_entry_struct): new structure.
+       (removed_literal_list_struct): add new fields: n_map and map.
+       (map_removed_literal, removed_literal_compare): new functions.
+       (find_removed_literal): build index array for literals ordered
+       by VMA, use binary search to find removed literal.
+
+2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (removal_by_action_entry_struct,
+       removal_by_action_map_struct): new structures.
+       (removal_by_action_entry, removal_by_action_map): new typedefs.
+       (text_action_list_struct): add new field: map.
+       (map_removal_by_action, removed_by_actions_map,
+       offset_with_removed_text_map): new functions.
+       (relax_section): replace offset_with_removed_text with
+       offset_with_removed_text_map.
+       (translate_reloc, relax_property_section, relax_section_symbols):
+       replace removed_by_actions with removed_by_actions_map.
+
+2015-04-09  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (reloc_range_list, reloc_range_list_entry,
+       reloc_range): new typedef.
+       (reloc_range_list_struct, reloc_range_list_entry_struct,
+       reloc_range_struct): new structures.
+       (reloc_range_compare, build_reloc_ranges,
+       reloc_range_list_append, reloc_range_list_remove,
+       reloc_range_list_update_range, free_reloc_range_list): new
+       functions.
+       (compute_text_actions): precompute relocation opcodes before the
+       loop. Add relevant_relocs variable, initialize it before the
+       loop, pass it to the check_section_ebb_pcrels_fit.
+       (check_section_ebb_pcrels_fit): add new parameter:
+       relevant_relocs. Update address range in the relevant_relocs if
+       it's non-NULL and iterate only over relevant relocations.
+
+2015-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-rx.c (describe_flags): Report the settings of the string
+       insn using bits.
+       (rx_elf_merge_private_bfd_data): Handle merging of the string insn
+       using bits.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (bfd_compress_section_contents): Work around a GCC
+       uninitialized warning bug fixed in GCC 4.7.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * archive.c (_bfd_get_elt_at_filepos): Also copy BFD_COMPRESS_GABI
+       bit.
+       * bfd.c (bfd::flags): Increase size to 18 bits.
+       (BFD_COMPRESS_GABI): New.
+       (BFD_FLAGS_SAVED): Add BFD_COMPRESS_GABI.
+       (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
+       (bfd_update_compression_header): New fuction.
+       (bfd_check_compression_header): Likewise.
+       (bfd_get_compression_header_size): Likewise.
+       (bfd_is_section_compressed_with_header): Likewise.
+       * compress.c (MAX_COMPRESSION_HEADER_SIZE): New.
+       (bfd_compress_section_contents): Return the uncompressed size if
+       the full section contents is compressed successfully.  Support
+       converting from/to .zdebug* sections.
+       (bfd_get_full_section_contents): Call
+       bfd_get_compression_header_size to get compression header size.
+       (bfd_is_section_compressed): Renamed to ...
+       (bfd_is_section_compressed_with_header): This.  Add a pointer
+       argument to return compression header size.
+       (bfd_is_section_compressed): Use it.
+       (bfd_init_section_decompress_status): Call
+       bfd_get_compression_header_size to get compression header size.
+       Return FALSE if uncompressed section size is 0.
+       * elf.c (_bfd_elf_make_section_from_shdr): Support converting
+       from/to .zdebug* sections.
+       * bfd-in2.h: Regenerated.
+
+2015-04-07  Alan Modra  <amodra@gmail.com>
+
+       * elf.c (_bfd_elf_get_reloc_section): Allow for .got.plt being
+       mapped to output .got section.
+
+2015-04-07  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (struct ppc_elf_link_hash_entry): Add has_addr16_ha
+       and has_addr16_lo.  Make has_sda_refs a bitfield.
+       (ppc_elf_check_relocs): Set new flags.
+       (ppc_elf_link_hash_table_create): Update default_params.
+       (ppc_elf_adjust_dynamic_symbol): Clear protected_def in cases
+       where we won't be making .dynbss entries or editing code.  Set
+       params->pic_fixup when we'll edit code for protected var access.
+       (allocate_dynrelocs): Allocate got entry for edited code and
+       discard dyn_relocs.
+       (struct ppc_elf_relax_info): Add picfixup_size.
+       (ppc_elf_relax_section): Rename struct one_fixup to struct
+       one_branch_fixup.  Rename fixups to branch_fixups.  Size space for
+       pic fixups.
+       (ppc_elf_relocate_section): Edit non-PIC accessing protected
+       visibility variables to PIC.  Don't emit dyn_relocs for code
+       we've edited.
+       * elf32-ppc.h (struct ppc_elf_params): Add pic_fixup.
+
+2015-04-07  Nick Clifton  <nickc@redhat.com>
+
+       * elf.c (_bfd_elf_is_local_label_name): Treat assembler generated
+       local labels as local.
+
+2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (get_uncompressed_size): Removed.
+       (bfd_compress_section_contents): Use bfd_putb64 to write
+       uncompressed section size.
+       (bfd_init_section_decompress_status): Replace
+       get_uncompressed_size with bfd_getb64.
+
+2015-04-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_init_private_section_data): Also preserve the
+       SHF_COMPRESSED bit if not decompress.
+
+2015-04-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (get_uncompressed_size): New.  Extracted from ...
+       (bfd_init_section_decompress_status): This.  Use it.
+
+2015-04-02  Andrew Turner  <andrew@freebsd.org>
+
+       * config.bfd: Add aarch64-*-freebsd* target triple.
+
+2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-04-01  Tejas Belagod  <tejas.belagod@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Jiong Wang  <jiong.wang@arm.com>
+
+       * bfd-in.h (bfd_elf64_aarch64_set_options)
+       (bfd_elf32_aarch64_set_options): Add parameter.
+       * bfd-in2.h: Regenerated.
+       * elfnn-aarch64.c (aarch64_erratum_843419_stub)
+       (_bfd_aarch64_adrp_p, _bfd_aarch64_erratum_843419_sequence_p)
+       (_bfd_aarch64_erratum_843419_stub_name)
+       (_bfd_aarch64_erratum_843419_fixup)
+       (_bfd_aarch64_erratum_843419_scan)
+       (_bfd_aarch64_erratum_843419_branch_to_stub)
+       (_bfd_aarch64_erratum_843419_p): Define.
+       (enum elf_aarch64_stub_type): Define
+       aarch64_stub_erratum_843419_veneer.
+       (struct elf_aarch64_stub_hash_entry): Define adrp_offset.
+       (struct elf_aarch64_link_hash_table): Define fix_erratum_843419
+       and fix_erratum_843419_adr.
+       (stub_hash_newfunc): Initialize adrp_offset;
+       (_bfd_aarch64_add_stub_entry_after): Define.
+       (aarch64_map_one_stub, aarch64_build_one_stub)
+       (aarch64_size_one_stub): Handle
+       aarch64_stub_erratum_843419_veneer.
+       (_bfd_aarch64_resize_stubs): Round stub section size.
+       (elfNN_aarch64_size_stubs): Add scan for 843419.
+       (bfd_elfNN_aarch64_set_options): Add parameter. Initialize
+       fix_erratum_843419 and fix_erratum_843419_adr.
+       (struct erratum_835769_branch_to_stub_data): Add info.
+       (elfNN_aarch64_write_section): Initialise info.  Handle 843419.
+       (elfNN_aarch64_size_dynamic_sections): Handle 843419.
+       * elfxx-aarch64.c (_bfd_aarch64_decode_adrp_imm)
+       (_bfd_aarch64_sign_extend): Define.
+       (reencode_adr_imm): Remove static. Rename to:
+       (_bfd_aarch64_reencode_adr_imm): Define.
+       (_bfd_aarch64_elf_put_addend): Call _bfd_aarch64_reencode_adr_imm.
+       * elfxx-aarch64.h (AARCH64_ADR_OP, AARCH64_ADRP_OP)
+       (AARCH64_ADRP_OP_MASK, _bfd_aarch64_sign_extend)
+       (_bfd_aarch64_decode_adrp_imm, _bfd_aarch64_reencode_adr_imm):
+       Define.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-03-31  Ed Schouten  <ed@nuxi.nl>
+
+       * config.bfd (targ_defvec): Set to x86_64_elf64_cloudabi_vec
+       for x86_64-*-cloudabi*.
+       * configure.ac: Handle x86_64_elf64_cloudabi_vec.
+       * configure: Regenerated.
+       * elf64-x86-64.c (TARGET_LITTLE_SYM): Support x86_64-*-cloudabi*.
+       (TARGET_LITTLE_NAME): Likewise.
+       (ELF_OSABI): Likewise.
+       (elf64_bed): Likewise.
+       * targets.c (x86_64_elf64_cloudabi_vec): New.
+       (_bfd_target_vector): Add x86_64_elf64_cloudabi_vec.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Revert the AM_ZLIB change.
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+       * doc/Makefile.in: Likewise.
+
+2015-03-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18169
+       * elf-bfd.h (elf_backend_data): Add get_reloc_section.
+       (_bfd_elf_get_reloc_section): New.
+       * elf.c (_bfd_elf_get_reloc_section): Likewise.
+       (assign_section_numbers): Call get_reloc_section to look up the
+       section the relocs apply.
+       * elfxx-target.h (elf_backend_get_reloc_section): Likewise.
+       (elfNN_bed): Initialize get_reloc_section with
+       elf_backend_get_reloc_section.
+
+2015-03-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ZLIB): New.
+       (ZLIBINC): Likewise.
+       (AM_CFLAGS): Add $(ZLIBINC).
+       (libbfd_la_LIBADD): Add $(ZLIB).
+       * compress.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
+       (decompress_contents): Don't check HAVE_ZLIB_H.
+       (bfd_compress_section_contents): Likewise.
+       (bfd_get_full_section_contents): Likewise.
+       (bfd_init_section_decompress_status): Likewise.
+       (bfd_init_section_compress_status): Likewise.
+       * configure.ac (AM_ZLIB): Removed.
+       (zlibdir): New.  AC_SUBST.
+       (zlibinc): Likewise.
+       Add --with-system-zlib.
+       * Makefile.in: Regenerated.
+       * acinclude.m4: Likewise.
+       * config.in: Likewise.
+       * configure: Likewise.
+       * doc/Makefile.in: Likewise.
+
+2015-03-27  Alan Modra  <amodra@gmail.com>
+
+       PR ld/15228
+       PR ld/18167
+       * elflink.c (elf_merge_st_other): Add "sec" parameter.  Don't set
+       protected_def when symbol section is read-only.  Adjust all calls.
+       * elf-bfd.h (struct elf_link_hash_entry): Update protected_def comment.
+
+2015-03-26  Tejas Belagod  <tejas.belagod@arm.com>
+
+       * elfnn-aarch64.c (aarch64_build_one_stub): Replace the call to generic
+       _bfd_final_link_relocate with aarch64_relocate.
+
+2015-03-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18160
+       * elflink.c (elf_gc_sweep): Skip if relocation is incompatible.
+       (bfd_elf_gc_sections): Likewise.
+
+2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Adjust stub section
+       size for initial branch.
+       (elfNN_aarch64_build_stubs): Write initial branch.
+       _bfd_aarch64_decode_(elfNN_aarch64_output_arch_local_syms): Write
+       mapping symbol on initial branch.
+
+2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_scan):
+       Update erratum count.
+
+2015-03-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * elflink.c (_bfd_elf_gc_mark_extra_sections): Don't break on
+       first matching debug section.
+
+2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/18087
+       * compress.c (bfd_compress_section_contents): Don't write the
+       zlib header and set contents as well as compress_status if
+       compression didn't make the section smaller.
+       (bfd_init_section_compress_status): Don't check compression
+       size here.
+
+2015-03-24  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffgen.c (coff_get_normalized_symtab): Fix test for out of
+       range auxillary sections.
+
+2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Factor
+       code into:
+       (_bfd_aarch64_get_stub_for_link_section): Define.
+
+2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Adjust
+       update of section_group[].stub_sec.
+
+2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (struct aarch64_erratum_835769_fix) Remove.
+       (erratum_835769_scan) Drop fix_table_size_p and fixes_p arguments.
+       Delete fixes, fix_table_size and associated code.  Call
+       _bfd_aarch64_add_stub_entry_in_group. Rename to...
+       (bfd_aarch64_erratum_835769_scan): Define.
+       (elfNN_aarch64_size_stubs): Delete erratum_835769_fixes,
+       erratum_835769_fix_table_size, i and associated code.  Relocate
+       call to _bfd_aarch64_erratum_835769_scan.  Delete adhoc stub size
+       correction.  Delete construction of stub entry from
+       erratum_835769_fixes array.
+
+2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Use
+       _bfd_aarch64_add_stub_entry_in_group.
+
+2015-03-24  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Report overflow to
+       stubs, even those for undefined weak symbols.  Otherwise, don't
+       report relocation overflow on branches to undefined strong
+       symbols.  Fix memory leak.
+       * elf32-ppc.c (ppc_elf_relocate_section): Don't report relocation
+       overflow on branches to undefined strong symbols.
+
+2015-03-23  Keith Seitz  <keiths@redhat.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Add
+       missing ';'.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (erratum_835769_scan): Factor stub name
+       construction into...
+       (_bfd_aarch64_erratum_835769_stub_name): Define.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Factor out
+       stub resize code into...
+       (bfd_aarch64_resize_stubs): Define.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Factor stub
+       creation code into...
+       (bfd_aarch64_create_stub_section): Define.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Rename
+       from elf_aarch64_create_or_find_stub_sec.
+       (_bfd_aarch64_add_stub_entry_in_group): Rename from
+       elfNN_aarch64_add_stub.  Call
+       _bfd_aarch64_create_or_find_stub_sec.
+       (elfNN_aarch64_size_stubs, elfNN_aarch64_size_stubs): Call
+       _bfd_aarch64_add_stub_entry_in_group.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (erratum_835769_scan) Add comment.  Reverse
+       sense of boolean return.
+       (elfNN_aarch64_size_stubs): Adjust for above.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elf_aarch64_create_or_find_stub_sec):
+       Remove unused parameter.
+       (elfNN_aarch64_size_stubs): Adjust for above.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Remove bfd_indx.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (aarch64_erratum_835769_fixes)
+       (num_aarch64_erratum_835769_fixes): Remove.
+       (elfNN_aarch64_size_stubs): Remove assignments to above.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (aarch64_mem_op_p): Update comment. Rename rtn
+       to rt2.
+       (aarch64_erratum_seqeunce): Rename rtn to rt2.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_write_section): Adjust layout.
+
+2015-03-19  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-rl78.c (rl78_cpu_name): New function.  Prints the name of
+       the RL78 core based upon the flags.
+       (rl78_elf_merge_private_bfd_data): Handle merging of G13 and G14
+       flags.
+       (rl78_elf_print_private_bfd_data): Use rl78_cpu_name.
+       (elf32_rl78_machine): Always return bfd_mach_rl78.
+
+2015-03-19  Nick Clifton  <nickc@redhat.com>
+
+       PR 18078
+       * compress.c (bfd_compress_section_contents): Do not define this
+       function if it is not used.
+
+2015-03-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (bfd_compress_section_contents): Make it static.
+       * bfd-in2.h: Regenerated.
+
+2015-03-18  Eric Youngdale  <eyoungdale@ptc.com>
+
+       PR ld/16598
+       * peicode.h (pe_ILF_build_a_bfd): Add support for creating relocs
+       suitable for the AMD64.
+
+2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18087
+       * coffgen.c (make_a_section_from_file): Only prepend a z to a
+       debug section's name if the section was actually compressed.
+       * elf.c (_bfd_elf_make_section_from_shdr): Likewise.
+       * compress.c (bfd_init_section_compress_status): Do not compress
+       the section if doing so would make it bigger.  In such cases leave
+       the section alone and return COMPRESS_SECTION_NONE.
+
+2015-03-17  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return count of 0
+       on nothing to do, before malloc of returned symbol array.
+
+2015-03-16  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-rx.c (elf32_rx_relax_delete_bytes): If the relocs are not
+       stored in the elf_section_data structure then load them as
+       necessary.
+
+2015-03-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * elf-s390-common.c (elf_s390_elf_sort_relocs_p): Don't sort
+       relocs against code sections.
+       * elf32-s390.c: Define elf_backend_sort_relocs_p.
+       * elf64-s390.c: Likewise.
+
+2015-03-11  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Examine stubs in
+       reverse order.  Account for larger size of __tls_get_addr_opt stub.
+
+2015-03-10  Yuri Gribov  <y.gribov@samsung.arm>
+
+       PR ld/16572
+       * elf32-arm.c (elf32_arm_final_link_relocate): Remove support for
+       ELF_ARM_HASENTRY.
+       (elf32_arm_print_private_bfd_data): Likewise.
+
+2015-03-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17765
+       * elflink.c (put_value): Like previous delta, but for the 32-bit
+       case.
+
+2015-03-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17765
+       * elflink.c (put_value): Avoid using an undefined shift
+       operation.
+
+2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr15228
+       PR ld/pr17709
+       * elf-bfd.h (elf_backend_data): Add extern_protected_data.
+       * elf32-i386.c (elf_backend_extern_protected_data): New.
+       Defined to 1.
+       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
+       copy relocs against protected symbols if extern_protected_data
+       is true.
+       (_bfd_elf_symbol_refs_local_p): Don't return true on protected
+       non-function symbols if extern_protected_data is true.
+       * elfxx-target.h (elf_backend_extern_protected_data): New.
+       Default to 0.
+       (elfNN_bed): Initialize extern_protected_data with
+       elf_backend_extern_protected_data.
+
+2015-03-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18025
+       * coffgen.c (coff_find_nearest_line_with_names): If the dwarf2
+       lookup fails, check for an address bias in the dwarf info, and if
+       one exists, retry the lookup with the biased value.
+       * dwarf2.c (_bfd_dwarf2_find_symbol_bias): New function.
+       Determines if a bias exists bewteen the addresses of functions
+       based on DWARF information vs symbol table information.
+       * libbfd-in.h (_bfd_dwarf2_find_symbol_bias): Prototype.
+       * libbfd.h: Regenerate.
+
+2015-03-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfxx-aarch64.c (decode_add_imm, decode_movw_imm)
+       (decode_tst_branch_ofs_14, decode_ld_lit_ofs_19)
+       (decode_cond_branch_ofs_19, decode_branch_ofs_26): Remove.
+
+2015-03-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (aarch64_build_one_stub): Call abort.
+       (aarch64_size_one_stub): Likewise.
+       (aarch64_map_one_stub): Likewise.
+
+2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * cpu-s390.c (N): New macro.
+       (bfd_s390_31_arch): New.  Define only if default target word size
+       is 64 bits.  Otherwise define...
+       (bfd_390_64_arch): ...this.  Make static.
+       (bfd_s390_arch): Define according to the default target word size.
+       Let the 'next' field point to the alternate arch.
+
+2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR gas/17843
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Expect
+       R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
+       to be used with MOVK rather than MOVZ.
+
+2015-03-03  DJ Delorie  <dj@redhat.com>
+
+       * elf32-rl78.c (rl78_elf_relax_section): Only relax ADDR16's if
+       there's a symbol.
+
+2015-02-28  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_tls_setup): Set no_tls_get_addr_opt if
+       not PLT_NEW.
+
+2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (need_convert_mov_to_lea): New.
+       (elf_i386_check_relocs): Set need_convert_mov_to_lea if needed.
+       (elf_i386_convert_mov_to_lea): Return TRUE if
+       need_convert_mov_to_lea is unset.
+       * elf64-x86-64.c (need_convert_mov_to_lea): New.
+       (elf_x86_64_check_relocs): Set need_convert_mov_to_lea if needed.
+       (elf_x86_64_convert_mov_to_lea): Return TRUE if
+       need_convert_mov_to_lea is unset.
+
+2015-02-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17910
+       * coffgen.c (_bfd_coff_internal_syment_name): Only check for
+       string length overflow when the string table length is actually
+       set.
+
+2015-02-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix
+       TLSDESC_LD_PREL19 field width and masks.
+       (aarch64_tls_transition_without_check)
+       (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
+       (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
+       (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
+       BFD_RELOC_AARCH64_TLSDESC_LD_PREL19.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLSDESC_RELOC): Reorder R_TYPE
+       tests.
+       (aarch64_tls_transition_without_check)
+       (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
+       (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
+       (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
+       BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+       * reloc.c (BFD_RELOC_AARCH64_TLSGD_ADR_PREL21): Define.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC)
+       (elfNN_aarch64_howto_table, aarch64_tls_transition_without_check)
+       (aarch64_reloc_got_type, elfNN_aarch64_final_link_relocate)
+       (elfNN_aarch64_tls_relax, elfNN_aarch64_relocate_section)
+       (elfNN_aarch64_gc_sweep_hook, elfNN_aarch64_check_relocs): Handle
+       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+       * reloc.c (BFD_RELOC_AARCH64_TLSGD_ADR_PREL21): Define.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c: (TLSIE_LD_GOTTREL_PREL19): Fix HOWTO bit field width.
+       (aarch64_tls_transition_without_check, aarch64_reloc_got_type)
+       (elfNN_aarch64_final_link_relocate, elfNN_aarch64_tls_relax)
+       (elfNN_aarch64_relocate_section, elfNN_aarch64_gc_sweep_hook)
+       (elfNN_aarch64_check_relocs): Handle
+       BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
+
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend)
+       (_bfd_aarch64_elf_resolve_relocation): Likewise.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c: (TLSDESC_CALL): Fix HOWTO bit field width.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (TLSLE_MOVW_TPREL_G2)
+       (TLSLE_MOVW_TPREL_G1, TLSLE_MOVW_TPREL_G1_NC)
+       (TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC): Fix bit field
+       width.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c: (TLSIE_MOVW_GOTTPREL_G0_NC): Fix HOWTO bit
+       field width.
+
+2015-02-26  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffcode.h (coff_compute_section_file_positions): Report
+       negative page sizes.
+       * elf.c (elf_fake_sections): Handle excessive alignmment powers.
+       (assign_file_positions_for_non_load_sections): Replace assertion
+       with an error message.
+       (rewrite_elf_program_header): Handle excessive segment
+       alignments.
+       * mach-o.c (bfd_mach_o_read_section_32): Likewise.
+       (bfd_mach_o_read_section_64): Likewise.
+       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Use %B to
+       print a bfd name, not %A.
+
+2015-02-26  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (plt_stub_size, build_plt_stub): Don't build
+       thread-safe stubs for iplt.
+       (build_tls_get_addr_stub): Restore r2 immediately after call.
+
+2015-02-26  Terry Guo  <terry.guo@arm.com>
+
+       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Update how we
+       merge Tag_ABI_HardFP_use.
+
+2015-02-26  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Heed -z nocopyreloc.
+       Use text relocs rather than giving an error on trying to use
+       .dynbss for protected shared lib vars.
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * elf32-avr.c (struct elf_avr_section_data): New structure.
+       (struct avr_relax_info): New structure.
+       (elf_avr_new_section_hook): New function.
+       (struct elf_avr_section_data): Add relax_info.
+       (get_avr_relax_info): New function.
+       (init_avr_relax_info): New function.
+       (elf32_avr_relax_delete_bytes): Find next property record before
+       deleting bytes.  When deleting don't move bytes beyond the next
+       property record.
+       (avr_elf32_assign_records_to_section): New function.
+       (avr_property_record_compare): New function.
+       (avr_load_all_property_sections): New function.
+       (elf32_avr_relax_section): Load property data.  After relaxing the
+       section, move any .align directives that have enough deleted bytes
+       before them.
+       (bfd_elf32_new_section_hook): Define.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * elf32-avr.h (struct avr_property_header): New strucure.
+       (avr_elf32_load_property_records): Declare.
+       (avr_elf32_property_record_name): Declare.
+       * elf32-avr.c: Add bfd_stdint.h include.
+       (retrieve_local_syms): New function.
+       (get_elf_r_symndx_section): New function.
+       (get_elf_r_symndx_offset): New function.
+       (internal_reloc_compare): New function.
+       (struct avr_find_section_data): New structure.
+       (avr_is_section_for_address): New function.
+       (avr_find_section_for_address): New function.
+       (avr_elf32_load_records_from_section): New function.
+       (avr_elf32_load_property_records): New function.
+       (avr_elf32_property_record_name): New function.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * elf32-avr.h (AVR_PROPERTY_RECORD_SECTION_NAME): Define.
+       (AVR_PROPERTY_RECORDS_VERSION): Define.
+       (AVR_PROPERTY_SECTION_HEADER_SIZE): Define.
+       (struct avr_property_record): New structure.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-v850.c (v850_set_note): New function.  Creates a Renesas
+       style note entry.
+       (v850_elf_make_note_section): New function.  Creates a note
+       section.
+       (v850_elf_create_sections): New function.  Create a note section
+       if one is not already present.
+       (v850_elf_set_note): New function.  Adds a note to a bfd.
+       (v850_elf_copy_private_bfd_data): New function.  Copies V850
+       notes.
+       (v850_elf_merge_notes): New function.  Merges V850 notes.
+       (print_v850_note): New function.  Displays a V850 note.
+       (v850_elf_print_notes): New function. Displays all notes attached
+       to a bfd.
+       (v850_elf_merge_private_bfd_data): Call v850_elf_merge_notes.
+       (v850_elf_print_private_bfd_data): Call v850_elf_print_notes.
+       (v850_elf_fake_sections): Set the type of the V850 note section.
+       * bfd-in.h (v850_elf_create_sections): Add prototype.
+       (v850_elf_set_note): Add prototype.
+       * bfd-in2.h: Regenerate.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (AC_CHECK_HEADERS): Add wctype.h.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * peXXigen.c: Include wctype.h if HAVE_WCTYPE_H is defined.
+       (u16_mbtowc): Use wint_t types if HAVE_WCTYPE_H is defined.
+       (rsrc_cmp): Use towlower instead of wcsncasecmp if HAVE_WCTYPE_H
+       is defined.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * pdp11.c (set_section_contents): Pad the .text and .data sections
+       to their aligned sizes.
+
+2015-02-23  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * config.bfd: Add h8300-*-linux.
+       * configure.ac: Add h8300_elf32_linux_vec.
+       * configure: Regenerate.
+       * elf32-h8300.c: Likewise.
+       * targets.c(_bfd_target_vector): Likewise.
+
+2015-02-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 17914
+       * cpu-w65.c: Correct typos in license notice.
+
+       PR 17940
+       * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust debug
+       symbols at end of sections.  Adjust function sizes.
+
+2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * elf-bfd.h (elfcore_write_s390_vxrs_low): Add prototype.
+       (elfcore_write_s390_vxrs_high): Likewise.
+       * elf.c (elfcore_grok_s390_vxrs_low): New function.
+       (elfcore_grok_s390_vxrs_high): New function.
+       (elfcore_grok_note): Call them.
+       (elfcore_write_s390_vxrs_low): New function.
+       (elfcore_write_s390_vxrs_high): New function.
+       (elfcore_write_register_note): Call them.
+
+2015-02-19  Branko Drevensek  <branko.drevensek@gmail.com>
+
+       PR 17995
+       * verilog.c (verilog_write_record): Correct buffer size.
+
+2015-02-19  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (_bfd_elf_define_linkage_sym): Set 'bed' earlier.
+
+2015-02-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/4317
+       * elflink.c (elf_link_input_bfd): Drop undefined local syms.
+       (elf_link_output_extsym): Drop local and global undefined syms.
+       Tidy.  Expand comment.
+
+2015-02-17  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17975
+       * elflink.c (struct elf_outext_info): Remove need_second_pass
+       and second_pass.
+       (elf_link_output_extsym): Delete code handling second forced
+       local pass.  Move code emitting NULL STT_FILE symbol later, so
+       that it can be omitted if forced local is stripped.  Don't
+       emit the NULL STT_FILE if no file symbols have been output.
+       (bfd_elf_final_link): Remove second forced local pass.
+       * elf32-ppc.c (add_stub_sym): Set linker_def on linker syms.
+       (ppc_elf_size_dynamic_sections): Likewise.
+       * elf64-ppc.c (ppc_build_one_stub): Likewise.
+       (build_global_entry_stubs): Likewise.
+       (ppc64_elf_build_stubs): Likewise.
+
+2015-02-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17975
+       * elflink.c (elf_link_output_extsym): Only check filesym_count
+       when outputting a NULL FILE symbol.  Set second_pass_sym to
+       h->forced_local && !h->root.linker_def.
+
+2015-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_always_size_sections): Set root.linker_def
+       on _TLS_MODULE_BASE_.
+       * elf64-x86-64.c (elf_x86_64_always_size_sections): Likewise.
+
+2015-02-15  Alan Modra  <amodra@gmail.com>
+
+       * dwarf2.c (read_rangelist): Correct buffer overflow check
+       Whitespace throughout file.
+
+2015-02-14  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17973
+       * bfd.c (struct bfd): Add lto_output.
+       * linker.c (_bfd_handle_already_linked): Explicitly test for
+       objects added by the lto plugin.
+       * opncls.c (_bfd_new_bfd_contained_in): Copy lto_output and
+       no_export flags from archive.
+       * archive.c (open_nested_file): New function, setting lto_output
+       and no_export, extracted from..
+       (find_nested_archive): ..here.  Flip params.  Rename from
+       _bfd_find_nested_archive.
+       (_bfd_get_elt_at_filepos): Correct var typo.  Use open_nested_file.
+       (_bfd_look_for_bfd_in_cache): Copy no_export.
+       * elflink.c (elf_link_add_object_symbols): Remove now unnecessary
+       my_archive->no_export test.
+       (elf_link_input_bfd): Drop existing lto_output STT_FILE syms.
+       Don't use the file name when adding lto_output STT_FILE sym.
+       * bfd-in2.h: Regenerate.
+
+2015-02-13  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/17512
+       * elf64-ppc.c (opd_entry_value): Tighten offset check.  Remove
+       now redundant assert.
+
+2015-02-12  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * dwarf.c (read_1_byte, read_1_signed_byte, read_2_bytes)
+       (read_4_bytes, read_8_bytes, read_n_bytes, read_string)
+       (read_indirect_string, read_alt_indirect_string)
+       (read_alt_indirect_ref, read_address, read_abbrevs)
+       (read_attribute_value, read_attribute, decode_line_info)
+       (find_abstract_instance_name, read_rangelist)
+       (scan_unit_for_symbols, parse_comp_unit)
+       (_bfd_dwarf2_find_nearest_line): Harden DWARF reading code.  Pass
+       end pointers to reading functions and check for offsets taking
+       pointers out of range.  Replace calls to read_*_leb128 with calls
+       to safe_read_leb128.
+
+       (* elf64-ppc.c (opd_entry_value): Add a check for an overlarge
+       offset.
+       * syms.c (_bfd_stab_section_find_nearest_line): Add checks for
+       computed file_name address being before the start of the string
+       table.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * bfd.c (bfd_plugin_format): New.
+       (bfd): Add plugin_format and plugin_dummy_bfd.
+       * plugin.c (try_load_plugin): Take a pointer to bfd_boolean
+       argument to return TRUE if any plugin is found.  Set plugin_format.
+       (has_plugin): New.
+       (bfd_plugin_target_p): New.
+       (bfd_plugin_specified_p): Likewise.
+       (bfd_plugin_target_p): Likewise.
+       (register_ld_plugin_object_p): Likewise.
+       (bfd_plugin_set_plugin): Set has_plugin.
+       (load_plugin): Cache try_load_plugin result.
+       (bfd_plugin_object_p): Try ld_plugin_object_p first.  Check
+       plugin_format.
+       * plugin.h (bfd_plugin_target_p): New.
+       (bfd_plugin_specified_p): Likewise.
+       (register_ld_plugin_object_p): Likewise.
+       * bfd-in2.h: Regenerated.
+
+2015-02-11  Pedro Alves  <palves@redhat.com>
+
+       * libbfd-in.h [__cplusplus]: Open extern "C" scope.
+       * libcoff-in.h [__cplusplus]: Open extern "C" scope.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+
+       * elf-bfd.h [__cplusplus]: Wrap in extern "C".
+       * mach-o.h [__cplusplus]: Wrap in extern "C".
+       * som.h [__cplusplus]: Wrap in extern "C".
+
+2015-02-10  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffcode.h (styp_to_sec_flags): Use an unsigned long type to
+       hold the flag bits.
+       * peXXigen.c (pe_print_reloc): Use unsigned types to hold the
+       size and number of relocs.
+       (pe_print_debugdata): Use a 32-bit aligned buffer to store the
+       codeview record.
+       * versados.c (process_otr): Check the esdid value before using it
+       to access the EDATA.
+
+2015-02-09  Ed Maste  <emaste@freebsd.org>
+
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Avoid incrementing
+       uninitialized and unused variable.
+       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
+
+2015-02-09  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Don't segfault on NULL
+       tls_sec.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elflink.c (elf_link_output_extsym): Don't assert on NULL tls_sec.
+
+2015-02-09  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c: Whitespace, formatting fixes.
+       (elf_link_input_bfd): Clarify comment.
+       (elf_link_output_extsym): Exclude symbols in linker created
+       sections when testing for plugin symbols.
+
+2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17935
+       * elf32-i386.c (elf_i386_readonly_dynrelocs): Also issue a
+       warning for relocation in readonly section for -z text.
+       (elf_i386_size_dynamic_sections): Likewise.
+       * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
+       (elf_x86_64_size_dynamic_sections): Likewise.
+
+2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12365
+       PR ld/14272
+       * elflink.c (_bfd_elf_fix_symbol_flags): Revert the last change.
+       (elf_link_input_bfd): Mark the plugin symbol undefined if it is
+       referenced from a non-IR file.
+
+2015-02-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * peXXigen.c (rsrc_print_resource_entries): Add range check for
+       addresses that wrap around the address space.
+       (rsrc_parse_entry): Likewise.
+
+2015-02-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12365
+       PR ld/14272
+       * elflink.c (_bfd_elf_fix_symbol_flags): Mark the plugin symbol
+       undefined if it is referenced from a non-IR file.
+
+2015-02-03  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * ecoff.c: Use bfd_alloc2 to allocate space for structure arrays.
+       (_bfd_ecoff_slurp_symbol_table): Check for a negative symbol
+       index or an out of range fdr index.
+       * elf-m10300.c (mn10300_info_to_howto): Fix typo in error message.
+       * elf32-arc.c (arc_info_to_howto_rel): Likewise.
+       * elf32-avr.c (avr_info_to_howto_rela): Likewise.
+       * elf32-cr16.c (elf_cr16_info_to_howto): Likewise.
+       * elf32-cr16c.c (elf_cr16c_info_to_howto_rel): Likewise.
+       * elf32-cris.c (cris_info_to_howto_rela): Likewise.
+       * elf32-crx.c (elf_crx_info_to_howto): Likewise.
+       * elf32-d10v.c (d10v_info_to_howto_rel): Likewise.
+       * elf32-d30v.c (d30v_info_to_howto_rel): Likewise.
+       * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise.
+       * elf32-fr30.c (fr30_info_to_howto_rela): Likewise.
+       * elf32-frv.c (frv_info_to_howto_rela): Likewise.
+       * elf32-i370.c (i370_elf_info_to_howto): Likewise.
+       * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise.
+       * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise.
+       * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise.
+       * elf32-lm32.c (lm32_info_to_howto_rela): Likewise.
+       * elf32-m32c.c (m32c_info_to_howto_rela): Likewise.
+       * elf32-m32r.c (m32r_info_to_howto_rel): Likewise.
+       * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise.
+       * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise.
+       * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
+       * elf32-mep.c (mep_info_to_howto_rela): Likewise.
+       * elf32-metag.c (metag_info_to_howto_rela): Likewise.
+       * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
+       * elf32-moxie.c (moxie_info_to_howto_rela): Likewise.
+       * elf32-msp430.c (msp430_info_to_howto_rela): Likewise.
+       * elf32-mt.c (mt_info_to_howto_rela): Likewise.
+       * elf32-nds32.c (nds32_info_to_howto_rel): Likewise.
+       * elf32-or1k.c (or1k_info_to_howto_rela): Likewise.
+       * elf32-pj.c (pj_elf_info_to_howto): Likewise.
+       * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
+       * elf32-rl78.c (rl78_info_to_howto_rela): Likewise.
+       * elf32-rx.c (rx_info_to_howto_rela): Likewise.
+       * elf32-sh.c (sh_elf_info_to_howto): Likewise.
+       * elf32-spu.c (spu_elf_info_to_howto): Likewise.
+       * elf32-v850.c (v850_elf_perform_relocation): Likewise.
+       * elf32-vax.c (rtype_to_howto): Likewise.
+       * elf32-visium.c (visium_info_to_howto_rela): Likewise.
+       * elf32-xgate.c (xgate_info_to_howto_rel): Likewise.
+       * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise.
+       * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
+       * elf64-mmix.c (mmix_info_to_howto_rela): Likewise.
+       * mach-o.c: Use bfd_alloc2 to allocate space for structure arrays.
+       (bfd_mach_o_canonicalize_one_reloc): Fix check on out
+       of range symbol indicies.
+       (bfd_mach_o_canonicalize_relocs): Check for out of range alloc.
+       (bfd_mach_o_canonicalize_dynamic_reloc): Likewise.
+       (bfd_mach_o_build_dysymtab): Likewise.
+       (bfd_mach_o_write_symtab_content): Set the string table size to
+       zero upon error.
+       (bfd_mach_o_read_symtab_symbols): Reset the nsyms value if the
+       read fails.
+       * peXXigen.c (pe_print_edata):  Check for numeric overflow in edt
+       fields.
+       * tekhex.c (first_phase): Check for src pointer reaching end of
+       buffer.
+
+2015-02-03  Will Newton  <will.newton@linaro.org>
+
+       * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol):
+       Set st_value to zero for undefined symbols if the reference
+       is weak or pointer_equality_needed is FALSE.
+
+       * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Improve
+       comment discussing why we clear st_value for some symbols.
+
+2015-02-02  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * elf32-nds32.c (nds32_get_section_contents): Add one more argument.
+       (nds32_elf_relocate_section): Do not relocate R_NDS32_LONGJUMP7.
+
+2015-01-29  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Correct GOT_TLSLD
+       optimization.  Tidy mask for GOT_TLSGD optimization.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.  Correct
+       location of nop zapping high insn too.
+
+2015-01-28  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.h (struct ppc64_elf_params): Add "object_in_toc".
+       * elf64-ppc.c (ppc64_elf_add_symbol_hook): Assume that global symbols
+       in .toc indicate xlc compiled code that might require a rw .toc.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * Makefile.am: Add FT32 files.
+       * archures.c (enum bfd_architecture): Add bfd_arch_ft32.
+       (bfd_mach_ft32): Define.
+       (bfd_ft32_arch): Declare.
+       (bfd_archures_list): Add bfd_ft32_arch.
+       * config.bfd: Handle FT32.
+       * configure.ac: Likewise.
+       * cpu-ft32.c: New file.
+       * elf32-ft32.c: New file.
+       * reloc.c (BFD_RELOC_FT32_10, BFD_RELOC_FT32_20, BFD_RELOC_FT32_17,
+       BFD_RELOC_FT32_18): Define.
+       * targets.c (_bfd_target_vector): Add ft32_elf32_vec.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2015-01-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * pdp11.c (aout_get_external_symbols): Return false if there are
+       no symbols.
+
+       * dwarf2.c (concat_filename): Check for an empty directory table.
+       (scan_unit_for_symbols): Check for reading off the end of the
+       unit.
+       (parse_comp_unit): Check for a DW_AT_comp_dir attribute with a
+       non-string form.
+       * elf64-ppc.c (opd_entry_value): Fail if there are no relocs
+       available.
+
+2015-01-26  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * elf32-nds32.c (nds32_elf_pick_relax): Fix again setting.
+
+2015-01-22  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_apply_reloc_24): New.
+       (m32c_elf_howto_table): Use it for R_M32C_24.
+       (m32c_elf_relocate_section): Handle R_M32C_24 specially.
+
+2015-01-22  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffcode.h (handle_COMDAT): When searching for the section
+       symbol, make sure that there is space left in the symbol table.
+       * vms-alpha.c (_bfd_vms_slurp_ehdr): Add range checks.
+
+2015-01-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffcode.h (coff_set_arch_mach_hook): Check return value from
+       bfd_malloc.
+       (coff_slurp_line_table): Return FALSE if the line number
+       information was corrupt.
+       (coff_slurp_symbol_table): Return FALSE if the symbol information
+       was corrupt.
+       * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Always
+       initialise the fields of the dyld_info structure.
+       (bfd_mach_o_build_exec_seg_command): Replace assertion with an
+       error message and a return value.
+       (bfd_mach_o_layout_commands): Change the function to boolean.
+       Return FALSE if the function fails.
+       (bfd_mach_o_build_commands): Fail if bfd_mach_o_layout_commands
+       fails.
+       (bfd_mach_o_read_command): Fail if an unrecognised command is
+       encountered.
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Set bfd_error if the
+       read fails.
+       (slurp_symtab): Check the return from bfd_malloc.
+       (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if the copy
+       encountered an error.
+       (_bfd_XXi_final_link_postscript): Fail if a section could not be
+       copied.
+       * peicode.h (pe_bfd_object_p): Fail if the header could not be
+       swapped in.
+       * tekhex.c (first_phase): Fail if the section is too big.
+       * versados.c (struct esdid): Add content_size field.
+       (process_otr): Use and check the new field.
+       (versados_get_section_contents): Check that the section exists and
+       that the requested data is available.
+
+2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * elf32-nios2.c (elf_backend_default_execstack): Define as 0.
+
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17615
+       * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Don't drop
+       ELF_COMMON_DEF syms.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17615
+       * elf-bfd.h (ELF_COMMON_DEF_P): Note that this might be true for
+       linker script assignments too.
+       * elflink.c (elf_gc_sweep_symbol): Don't drop ELF_COMMON_DEF syms.
+       (bfd_elf_gc_mark_dynamic_ref_symbol): Similarly.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Correct loop iteration
+       to allow return of first howto.
+       * elf32-fr30.c (fr30_reloc_type_lookup): Likewise.
+       * elf32-m32c.c (m32c_reloc_type_lookup): Likewise.
+       * elf32-moxie.c (moxie_reloc_type_lookup): Likewise.
+       * elf32-or1k.c (or1k_reloc_type_lookup): Likewise.
+       * elf32-rl78.c (rl78_reloc_type_lookup): Likewise.
+       * elf32-rx.c (rx_reloc_type_lookup): Likewise.
+       * elf32-tilepro.c (tilepro_reloc_type_lookup): Likewise.
+       * elf32-xstormy16.c (xstormy16_reloc_type_lookup): Likewise.
+       * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise.
+       * elf32-nios2.c (nios2_reloc_map): Add mapping for R_NIOS2_NONE.
+       * elf32-spu.c (spu_elf_bfd_to_reloc_type): Allow return of R_SPU_NONE.
+       (spu_elf_reloc_type_lookup): Adjust to suit.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       * bfd-in.h (bfd_get_section_limit_octets): New define, extracted from..
+       (bfd_get_section_limit): ..here.
+       * reloc.c (bfd_perform_relocation): Correct bfd_reloc_outofrange check.
+       (bfd_install_relocation, _bfd_final_link_relocate): Add same check here.
+       * elf32-sh.c (sh_elf_reloc): Correct bfd_reloc_outofrange check.
+       * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Remove duplicated
+       bfd_reloc_outofrange check.
+       * bfd-in2.h: Regenerate.
+
+       * cpu-ns32k.c (_bfd_do_ns32k_reloc_contents): Return bfd_reloc_ok
+       on zero size relocs.
+       * ecoff.c (ecoff_reloc_link_order): Likewise.
+       * elf32-nds32.c (nds32_relocate_contents): Likewise.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
+
+       * reloc.c (_bfd_relocate_contents): Don't bomb on zero size relocs.
+       (_bfd_clear_contents): Likewise.
+       * elfxx-mips.c (mips_elf_obtain_contents): Likewise.
+       (mips_elf_perform_relocation): Likewise.
+
+       * aoutx.h (aout_link_reloc_link_order): Allow for NULL return
+       from malloc on zero size alloc.
+       * cofflink.c (_bfd_coff_reloc_link_order): Likewise.
+       * elflink.c (elf_reloc_link_order): Likewise.
+       * linker.c (_bfd_generic_reloc_link_order): Likewise.
+       * pdp11.c (aout_link_reloc_link_order): Likewise.
+       * xcofflink.c (xcoff_reloc_link_order): Likewise.
+
+       * aoutx.h (howto_table_ext): Ensure NONE relocs have size 3,
+       bitsize 0, and complain_overflow_dont.
+       * coff-sparc.c (coff_sparc_howto_table): Likewise.
+       * elf-hppa.h (elf_hppa_howto_table): Likewise.
+       * elf-m10200.c (elf_mn10200_howto_table): Likewise.
+       * elf-m10300.c (elf_mn10300_howto_table): Likewise.
+       * elf32-arc.c (elf_arc_howto_table): Likewise.
+       * elf32-arm.c (elf32_arm_howto_table_1): Likewise.
+       * elf32-avr.c (elf_avr_howto_table): Likewise.
+       * elf32-bfin.c (bfin_howto_table): Likewise.
+       * elf32-cr16.c (cr16_elf_howto_table): Likewise.
+       * elf32-cris.c (cris_elf_howto_table): Likewise.
+       * elf32-crx.c (crx_elf_howto_table): Likewise.
+       * elf32-d10v.c (elf_d10v_howto_table): Likewise.
+       * elf32-d30v.c (elf_d30v_howto_table): Likewise.
+       * elf32-dlx.c (dlx_elf_howto_table): Likewise.
+       * elf32-epiphany.c (epiphany_elf_howto_table): Likewise.
+       * elf32-fr30.c (fr30_elf_howto_table): Likewise.
+       * elf32-frv.c (elf32_frv_howto_table): Likewise.
+       * elf32-h8300.c (h8_elf_howto_table): Likewise.
+       * elf32-i370.c (i370_elf_howto_raw): Likewise.
+       * elf32-i386.c (elf_howto_table): Likewise.
+       * elf32-i860.c (elf32_i860_howto_table): Likewise.
+       * elf32-i960.c (elf32_i960_relocate): Likewise.
+       * elf32-ip2k.c (ip2k_elf_howto_table): Likewise.
+       * elf32-iq2000.c (iq2000_elf_howto_table): Likewise.
+       * elf32-lm32.c (lm32_elf_howto_table): Likewise.
+       * elf32-m32c.c (m32c_elf_howto_table): Likewise.
+       * elf32-m32r.c (m32r_elf_howto_table): Likewise.
+       * elf32-m68hc11.c (elf_m68hc11_howto_table): Likewise.
+       * elf32-m68hc12.c (elf_m68hc11_howto_table): Likewise.
+       * elf32-m68k.c (howto_table): Likewise.
+       * elf32-mcore.c (mcore_elf_howto_raw): Likewise.
+       * elf32-mep.c (mep_elf_howto_table): Likewise.
+       * elf32-metag.c (elf_metag_howto_table): Likewise.
+       * elf32-microblaze.c (microblaze_elf_howto_raw): Likewise.
+       * elf32-mips.c (elf_mips_howto_table_rel): Likewise.
+       * elf32-moxie.c (moxie_elf_howto_table): Likewise.
+       * elf32-msp430.c (elf_msp430_howto_table): Likewise.
+       * elf32-mt.c (mt_elf_howto_table): Likewise.
+       * elf32-nds32.c (nds32_elf_howto_table): Likewise.
+       * elf32-nios2.c (elf_nios2_howto_table_rel): Likewise.
+       * elf32-or1k.c (or1k_elf_howto_table): Likewise.
+       * elf32-pj.c (pj_elf_howto_table): Likewise.
+       * elf32-ppc.c (ppc_elf_howto_raw): Likewise.
+       * elf32-rl78.c (rl78_elf_howto_table): Likewise.
+       * elf32-rx.c (rx_elf_howto_table): Likewise.
+       * elf32-s390.c (elf_howto_table): Likewise.
+       * elf32-score.c (elf32_score_howto_table): Likewise.
+       * elf32-score7.c (elf32_score_howto_table): Likewise.
+       * elf32-sh-relocs.h (R_SH_NONE): Likewise.
+       * elf32-spu.c (elf_howto_table): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_howto_table): Likewise.
+       * elf32-tilepro.c (tilepro_elf_howto_table): Likewise.
+       * elf32-v850.c (v850_elf_howto_table): Likewise.
+       * elf32-vax.c (howto_table): Likewise.
+       * elf32-visium.c (visium_elf_howto_table): Likewise.
+       * elf32-xc16x.c (xc16x_elf_howto_table): Likewise.
+       * elf32-xgate.c (elf_xgate_howto_table): Likewise.
+       * elf32-xstormy16.c (xstormy16_elf_howto_table): Likewise.
+       * elf32-xtensa.c (elf_howto_table): Likewise.
+       * elf64-alpha.c (elf64_alpha_howto_table): Likewise.
+       * elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
+       * elf64-mmix.c (elf_mmix_howto_table): Likewise.
+       * elf64-ppc.c (ppc64_elf_howto_raw): Likewise.
+       * elf64-s390.c (elf_howto_table): Likewise.
+       * elf64-sh64.c (sh_elf64_howto_table): Likewise.
+       * elf64-x86-64.c (x86_64_elf_howto_table): Likewise.
+       * elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Likewise.
+       (elfNN_aarch64_howto_none): Likewise.
+       * elfxx-ia64.c (ia64_howto_table): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_howto_table): Likewise.
+       * elfxx-tilegx.c (tilegx_elf_howto_table): Likewise.
+       * nlm32-sparc.c (nlm32_sparc_howto_table): Likewise.
+
+2015-01-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17847
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain
+       about -fPIC if the symbol is undefined when building executable.
+
+2015-01-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * elf-m10300.c (mn10300_info_to_howto): Replace assertion with an
+       error message.  Never return an invalid howto pointer.
+       * elf32-cr16.c (cr16_info_to_howto): Likewise.
+       * elf32-crx.c (elf_crx_info_to_howto): Likewise.
+       * elf32-i370.c (i370_elf_info_to_howto): Likewise.
+       * elf32-mcore.c (mcore_elf_info_to_howto): Likewise.
+       * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise.
+       * elf32-mips.c (mips_elf32_rtype_to_howto): Likewise.
+       * elf32-pj.c (pj_elf_info_to_howto): Likewise.
+       * elf32-ppc.c (ppc_elf_info_to_howto): Likewise.
+       * elf32-spu.c (spu_elf_info_to_howto): Likewise.
+       * elf32-v850.c (v850_elf_info_to_howto_rela): Likewise.
+       * elf32-vax.c (rtype_to_howto): Likewise.
+       * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise.
+       * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise.
+       * elfn32-mips.c (sh_elf_info_to_howto): Likewise.
+       * elf32-sh.c (sh_elf_info_to_howto): Likewise.
+       (sh_elf_reloc): Check that the reloc is in range.
+       * reloc.c (bfd_perform_relocation): Check that the section is big
+       enough for the entire reloc.
+       (bfd_generic_get_relocated_section_contents): Report unexpected
+       return values from perform_reloc.
+
+2015-01-15  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-msp430.c (msp430_elf_relax_section): Skip unhandled
+       relocs.  Include PC-relative adjustment for R_MSP430X_ABS16
+       relaxation.
+
+2015-01-15  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (_bfd_elf_link_omit_section_dynsym): Return true for
+       any output section matching a linker created dynobj section.
+
+2015-01-15  Alan Modra  <amodra@gmail.com>
+
+       PR 17842
+       * elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
+       (bfd_elf_final_link): Always create a symbol table when emit_relocs.
+       Don't assign symtab file position unless symbols will be output.
+       Merge blocks with condition in common.  Don't call
+       elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
+       unless other symbols are output.  Move assignment of symtab_shndx
+       file position.  Localize variable.
+
+2015-01-14  Jiong Wang  <jiong.wang@arm.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
+       trying to defer them to runtime.
+
+2015-01-13  Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOLIC_BIND
+       to check if a symbol should be bound symbolically.
+
+2015-01-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check
+       for TLSLE_MOVW_TPREL_G2.
+
+2015-01-13  Jiong Wang  <jiong.wang@arm.com>
+
+       PR ld/17415
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
+       R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
+       * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the
+       bit mask.
+
+2015-01-12  Terry Guo  <terry.guo@arm.com>
+
+       * elflink.c (_bfd_elf_gc_mark_debug_special_section_group): New
+       function.
+       (_bfd_elf_gc_mark_extra_sections): Use it.
+
+2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17827
+       * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): For PIE,
+       only discard space for pc-relative relocs symbols which turn
+       out to need copy relocs.
+
+2015-01-09  Nick Clifton  <nickc@redhat.com>
+
+       * tekhex.c (getvalue): Fix thinko in test for correct extraction
+       of value.
+       (getsym): Return false if there was not enough data to extract the
+       symbol.
+
+2015-01-09  Anthony Green  <green@moxielogic.com>
+
+       * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
+
+2015-01-08  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
+       16-bit absolute BR instructions to 10-bit pc-relative JMP
+       instructions.
+
+2015-01-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffcode.h (coff_slurp_symbol_table): Return false if we failed
+       to load the line table.
+       * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
+       maxpagesize of 1.
+       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
+       the Data Directory Size is too large.
+
+2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/17512
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
+       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
+
+2015-01-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
+       string table.
+
+       * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
+       (bfd_perform_relocation): Include the size of the reloc in the
+       test for an out of range relocation.
+       (bfd_generic_get_relocated_section_contents): Remove reloc range
+       test.
+
+       * coff-i860.c (CALC_ADDEND): Always set an addend value.
+       * tekhex.c (getvalue): Add an end pointer parameter.  Use it to
+       avoid reading off the end of the buffer.
+       (getsym): Likewise.
+       (first_phase): Likewise.
+       (pass_over): Pass an end pointer to the invoked function.
+
+2015-01-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/17512
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
+       input.
+       * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
+
+2015-01-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
+       is at least big enough for the header to be read.
+       * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
+       * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
+       (bfd_mach_o_read_command): Prevetn duplicate error messages about
+       unrecognized commands.
+       * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
+       when indexing into the string table.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog
deleted file mode 100644 (file)
index 8bf8880..0000000
+++ /dev/null
@@ -1,342 +0,0 @@
-2015-06-21  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am: Expand $<.
-       * Makefile.in: Regenerate.
-
-2015-02-11  Pedro Alves  <palves@redhat.com>
-
-       * Makefile.am (libbfd.h, libcoff.h): Close extern "C" scope.
-       * Makefile.in: Regenerate.
-
-2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
-           Alan Modra  <amodra@gmail.com>
-
-       PR 17817
-       * Makefile.am (aoutx.stamp): cp -p $srcdir/aoutx.texi to keep
-       timestamps so that makeinfo need not be installed.
-       (archive.stamp, archures.stamp, bfdt.stamp, cache.stamp,
-       coffcode.stamp, core.stamp, elf.stamp, elfcode.stamp, mmo.stamp,
-       format.stamp, libbfd.stamp, bfdio.stamp, bfdwin.stamp,
-       opncls.stamp, reloc.stamp, section.stamp, syms.stamp, targets.stamp,
-       init.stamp, hash.stamp, linker.stamp): Similarly.
-       (bfdver.texi): Use test rather than [ ] in commands.
-       * Makefile.in: Regenerate.
-
-2014-08-05  Doug Evans  <dje@google.com>
-
-       * chew.c (skip_past_newline_1): New function.
-       (outputdots): Call it.
-       (skip_past_newline): Ditto.
-
-2014-08-05  Alan Modra  <amodra@gmail.com>
-
-       * chew.c (print_stack_level, main): Cast result of pointer
-       difference to match format string.
-
-2014-04-09  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am ($(MKDOC)): New rule, depend on chew.stamp.  Move
-       old rule to..
-       (chew.stamp): ..here.
-       (DISTCLEANFILES): Move *.stamp..
-       (MOSTLYCLEANFILES): ..to here.
-       * Makefile.in: Regenerate.
-
-2014-04-09  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am (MKDOC): Use $@ in command.
-       (aoutx.texi): New rule, depend on aoutx.stamp.  Move old rule..
-       (aoutx.stamp): .. to here.  Don't depend on chew.c, depend on MKDOC
-       and omit recursive MAKE.  Use $< in command.
-       (archive.texi, archures.texi, bfdt.texi, cache.texi, coffcode.texi,
-       core.texi, elf.texi, elfcode.texi, mmo.texi, format.texi, libbfd.texi,
-       bfdio.texi, bfdwin.texi, opncls.texi, reloc.texi, section.texi,
-       syms.texi, targets.texi, init.texi, hash.texi, linker.texi): Similarly.
-       (DISTCLEANFILES): Remove *.stamp.
-       * Makefile.in: Regenerate.
-
-2014-03-12  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.in: Regenerate.
-
-2013-10-14  Nick Clifton  <nickc@redhat.com>
-
-       * chew.c (perform): Free next.
-
-2013-04-15  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am ($(MKDOC)): Append $(EXEEXT_FOR_BUILD) to temp file.
-       * Makefile.in: Regenerate.
-
-2013-04-09  Mingjie Xing  <mingjie.xing@gmail.com>
-
-       * bfd.texinfo (typedef bfd, Error reporting, Miscellaneous):
-       Add menu items.
-
-2013-01-07  Patrice Dumas  <pertusus@free.fr>
-
-       * bfd.texinfo: Replace @ with @@ when it is part of the text.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * Makefile.am: Add copyright notice.
-       * bfdsumm.texi: Likewise.
-       * makefile.vms: Likewise.
-       * Makefile.in: Regenerate.
-
-2012-11-08  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.in: Regenerate.
-
-2012-02-27  Alan Modra  <amodra@gmail.com>
-
-       * chew.c (print_stack_level, main): Use %ld to print stack delta.
-
-2010-10-28  Matthias Klose  <doko@ubuntu.com>
-
-       * bfd.texinfo: Add directory section for info document.
-
-2010-05-07  Tristan Gingold  <gingold@adacore.com>
-
-       * Makefile.in: Regenerate with automake 1.11.1.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in: Regenerate.
-
-2009-09-25  Martin Thuresson  <martint@google.com>
-
-       Update soruces to make alpha targets compile cleanly with
-       -Wc++-compat:
-       * chew.c: Add casts.
-
-2009-08-29  Martin Thuresson  <martin@mtme.org>
-
-       * chew.c (newentry, add_intrinsic): Rename variable new to
-       new_d.
-
-2009-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
-       (html__strip_dir, install-html, install-html-am): Remove.
-       * Makefile.in: Regenerate.
-
-       * Makefile.in: Regenerate.
-
-2009-05-22  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2009-04-22  Anthony Green  <green@moxielogic.com>
-
-       * bfdint.texi (BFD target vector miscellaneous): Mention verilog
-       flavour.
-
-2008-11-19  Nick Clifton  <nickc@redhat.com>
-
-       * fdl.texi: Update to v1.3
-       * bfd.texinfo: Change license to v1.3.
-
-2008-08-24  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am (chew.o): Delete rule.
-       ($(MKDOC)): Move options before C file.
-       * Makefile.in: Regenerate.
-
-2008-08-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2008-07-09  Craig Silverstein  <csilvers@google.com>
-
-       * Makefile.am (BFD_H_DEP): Add ../compress.c.
-       * Makefile.in: Regenerate.
-
-2008-05-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in: Regenerate.
-
-2008-03-13  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2007-10-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * chew.c (write_buffer): Check fwrite return value.
-
-2007-09-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2007-07-02  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.in: Likewise.
-
-2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.in: Regenerated.
-
-2007-05-22  Nick Clifton  <nickc@redhat.com>
-
-       * bfd.texinfo: Use @copying around the copyright notice.
-       * bfdint.texi: Likewise.
-
-2007-05-21  Nick Clifton  <nickc@redhat.com>
-
-       * bfdint.texi: Add GNU Free Documentation License notice.
-
-2007-04-24  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2007-02-17  Mark Mitchell  <mark@codesourcery.com>
-           Nathan Sidwell  <nathan@codesourcery.com>
-           Vladimir Prus  <vladimir@codesourcery.com
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * Makefile.in: Regenerate.
-
-2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * bfd..texinfo: Fix spelling mistakes.
-       * bfdint.texinfo: Likewise.
-
-2006-07-18  Nigel Stephens  <nigel@mips.com>
-
-       * bfd.texinfo: Add @section for "What to Put Where".
-
-2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * bfd.texinfo: Remove local @tex code.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * bfd.texinfo: Rename "Index" to "BFD Index"
-
-2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * Makefile.am: Add install-html and install-html-am targets.
-       Define datarootdir, docdir and htmldir.
-       * Makefile.in: Regenerate.
-
-2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * Makefile.am: Add html target.
-       * Makefile.in: Regenerate.
-
-2005-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * chew.c: Include <string.h>.
-
-2005-07-22  DJ Delorie  <dj@redhat.com>
-
-       * chew.c: Include stdlib.h.
-
-2005-07-22  Kazu Hirata  <kazu@codesourcery.com>
-
-       * chew.c: Don't include sysdep.h.
-
-2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am: Use a temporary file to build chew.
-       * Makefile.in: Regenerated.
-
-2005-05-04  Nick Clifton  <nickc@redhat.com>
-
-       * chew.c: Update the address and phone number of the FSF
-       organization in the GPL notice.
-
-2005-05-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
-       * Makefile.in: Regenerate.
-
-2005-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am: Remove stamp rules.  Depend on chew.c
-       instead of $(MKDOC).
-       * Makefile.in: Regnerated.
-
-2005-04-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE.
-       (chew.o): Use it.
-       * Makefile.in: Regenerate.
-
-2005-04-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2005-04-12  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2005-02-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2005-02-13  Maciej W. Rozycki  <macro@linux-mips.org>
-
-       * Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
-       building chew.
-       * Makefile.in: Regenerate.
-
-2005-02-01  Ben Elliston  <bje@au.ibm.com>
-
-       * chew.c: Remove #if 0'd code throughout. Similarly, collapse #if
-       1'd code.
-
-2004-12-20  Ian Lance Taylor  <ian@c2microsystems.com>
-
-       * Makefile.am: Use $(SHELL) whenever we run move-if-change.
-       * Makefile.in: Rebuild.
-
-2004-09-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9.
-       (bfd.info): Rename the target to ...
-       ($(srcdir)/bfd.info): This.
-       * Makefile.in: Regenerated.
-
-2004-09-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-2004-03-27  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdint.texi: Remove all mention of elflink.h.
-
-2004-03-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.in: Regenerate.
-
-For older changes see ChangeLog-9103
-\f
-Copyright (C) 2004-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/bfd/doc/ChangeLog-0415 b/bfd/doc/ChangeLog-0415
new file mode 100644 (file)
index 0000000..8bf8880
--- /dev/null
@@ -0,0 +1,342 @@
+2015-06-21  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am: Expand $<.
+       * Makefile.in: Regenerate.
+
+2015-02-11  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.am (libbfd.h, libcoff.h): Close extern "C" scope.
+       * Makefile.in: Regenerate.
+
+2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+           Alan Modra  <amodra@gmail.com>
+
+       PR 17817
+       * Makefile.am (aoutx.stamp): cp -p $srcdir/aoutx.texi to keep
+       timestamps so that makeinfo need not be installed.
+       (archive.stamp, archures.stamp, bfdt.stamp, cache.stamp,
+       coffcode.stamp, core.stamp, elf.stamp, elfcode.stamp, mmo.stamp,
+       format.stamp, libbfd.stamp, bfdio.stamp, bfdwin.stamp,
+       opncls.stamp, reloc.stamp, section.stamp, syms.stamp, targets.stamp,
+       init.stamp, hash.stamp, linker.stamp): Similarly.
+       (bfdver.texi): Use test rather than [ ] in commands.
+       * Makefile.in: Regenerate.
+
+2014-08-05  Doug Evans  <dje@google.com>
+
+       * chew.c (skip_past_newline_1): New function.
+       (outputdots): Call it.
+       (skip_past_newline): Ditto.
+
+2014-08-05  Alan Modra  <amodra@gmail.com>
+
+       * chew.c (print_stack_level, main): Cast result of pointer
+       difference to match format string.
+
+2014-04-09  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am ($(MKDOC)): New rule, depend on chew.stamp.  Move
+       old rule to..
+       (chew.stamp): ..here.
+       (DISTCLEANFILES): Move *.stamp..
+       (MOSTLYCLEANFILES): ..to here.
+       * Makefile.in: Regenerate.
+
+2014-04-09  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (MKDOC): Use $@ in command.
+       (aoutx.texi): New rule, depend on aoutx.stamp.  Move old rule..
+       (aoutx.stamp): .. to here.  Don't depend on chew.c, depend on MKDOC
+       and omit recursive MAKE.  Use $< in command.
+       (archive.texi, archures.texi, bfdt.texi, cache.texi, coffcode.texi,
+       core.texi, elf.texi, elfcode.texi, mmo.texi, format.texi, libbfd.texi,
+       bfdio.texi, bfdwin.texi, opncls.texi, reloc.texi, section.texi,
+       syms.texi, targets.texi, init.texi, hash.texi, linker.texi): Similarly.
+       (DISTCLEANFILES): Remove *.stamp.
+       * Makefile.in: Regenerate.
+
+2014-03-12  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+
+2013-10-14  Nick Clifton  <nickc@redhat.com>
+
+       * chew.c (perform): Free next.
+
+2013-04-15  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am ($(MKDOC)): Append $(EXEEXT_FOR_BUILD) to temp file.
+       * Makefile.in: Regenerate.
+
+2013-04-09  Mingjie Xing  <mingjie.xing@gmail.com>
+
+       * bfd.texinfo (typedef bfd, Error reporting, Miscellaneous):
+       Add menu items.
+
+2013-01-07  Patrice Dumas  <pertusus@free.fr>
+
+       * bfd.texinfo: Replace @ with @@ when it is part of the text.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am: Add copyright notice.
+       * bfdsumm.texi: Likewise.
+       * makefile.vms: Likewise.
+       * Makefile.in: Regenerate.
+
+2012-11-08  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+
+2012-02-27  Alan Modra  <amodra@gmail.com>
+
+       * chew.c (print_stack_level, main): Use %ld to print stack delta.
+
+2010-10-28  Matthias Klose  <doko@ubuntu.com>
+
+       * bfd.texinfo: Add directory section for info document.
+
+2010-05-07  Tristan Gingold  <gingold@adacore.com>
+
+       * Makefile.in: Regenerate with automake 1.11.1.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+
+2009-09-25  Martin Thuresson  <martint@google.com>
+
+       Update soruces to make alpha targets compile cleanly with
+       -Wc++-compat:
+       * chew.c: Add casts.
+
+2009-08-29  Martin Thuresson  <martin@mtme.org>
+
+       * chew.c (newentry, add_intrinsic): Rename variable new to
+       new_d.
+
+2009-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
+       (html__strip_dir, install-html, install-html-am): Remove.
+       * Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+
+2009-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2009-04-22  Anthony Green  <green@moxielogic.com>
+
+       * bfdint.texi (BFD target vector miscellaneous): Mention verilog
+       flavour.
+
+2008-11-19  Nick Clifton  <nickc@redhat.com>
+
+       * fdl.texi: Update to v1.3
+       * bfd.texinfo: Change license to v1.3.
+
+2008-08-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (chew.o): Delete rule.
+       ($(MKDOC)): Move options before C file.
+       * Makefile.in: Regenerate.
+
+2008-08-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2008-07-09  Craig Silverstein  <csilvers@google.com>
+
+       * Makefile.am (BFD_H_DEP): Add ../compress.c.
+       * Makefile.in: Regenerate.
+
+2008-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+
+2008-03-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2007-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * chew.c (write_buffer): Check fwrite return value.
+
+2007-09-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2007-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in: Likewise.
+
+2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in: Regenerated.
+
+2007-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * bfd.texinfo: Use @copying around the copyright notice.
+       * bfdint.texi: Likewise.
+
+2007-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * bfdint.texi: Add GNU Free Documentation License notice.
+
+2007-04-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2007-02-17  Mark Mitchell  <mark@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Vladimir Prus  <vladimir@codesourcery.com
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.in: Regenerate.
+
+2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * bfd..texinfo: Fix spelling mistakes.
+       * bfdint.texinfo: Likewise.
+
+2006-07-18  Nigel Stephens  <nigel@mips.com>
+
+       * bfd.texinfo: Add @section for "What to Put Where".
+
+2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * bfd.texinfo: Remove local @tex code.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * bfd.texinfo: Rename "Index" to "BFD Index"
+
+2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.am: Add install-html and install-html-am targets.
+       Define datarootdir, docdir and htmldir.
+       * Makefile.in: Regenerate.
+
+2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.am: Add html target.
+       * Makefile.in: Regenerate.
+
+2005-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * chew.c: Include <string.h>.
+
+2005-07-22  DJ Delorie  <dj@redhat.com>
+
+       * chew.c: Include stdlib.h.
+
+2005-07-22  Kazu Hirata  <kazu@codesourcery.com>
+
+       * chew.c: Don't include sysdep.h.
+
+2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am: Use a temporary file to build chew.
+       * Makefile.in: Regenerated.
+
+2005-05-04  Nick Clifton  <nickc@redhat.com>
+
+       * chew.c: Update the address and phone number of the FSF
+       organization in the GPL notice.
+
+2005-05-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
+       * Makefile.in: Regenerate.
+
+2005-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am: Remove stamp rules.  Depend on chew.c
+       instead of $(MKDOC).
+       * Makefile.in: Regnerated.
+
+2005-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE.
+       (chew.o): Use it.
+       * Makefile.in: Regenerate.
+
+2005-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2005-04-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2005-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2005-02-13  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
+       building chew.
+       * Makefile.in: Regenerate.
+
+2005-02-01  Ben Elliston  <bje@au.ibm.com>
+
+       * chew.c: Remove #if 0'd code throughout. Similarly, collapse #if
+       1'd code.
+
+2004-12-20  Ian Lance Taylor  <ian@c2microsystems.com>
+
+       * Makefile.am: Use $(SHELL) whenever we run move-if-change.
+       * Makefile.in: Rebuild.
+
+2004-09-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9.
+       (bfd.info): Rename the target to ...
+       ($(srcdir)/bfd.info): This.
+       * Makefile.in: Regenerated.
+
+2004-09-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2004-03-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdint.texi: Remove all mention of elflink.h.
+
+2004-03-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+For older changes see ChangeLog-9103
+\f
+Copyright (C) 2004-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
deleted file mode 100644 (file)
index 3f8e8a7..0000000
+++ /dev/null
@@ -1,1034 +0,0 @@
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Baseline Tag_CPU_arch
-       value.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Mainline Tag_CPU_arch
-       value.
-       (arm_attr_tag_THUMB_ISA_use): Add ARMv8-M Mainline Tag_THUMB_ISA_use
-       value.
-
-2015-12-22  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (get_elf_section_flags): Add support for ARM specific
-       section flags.
-
-2015-12-17  Maciej W. Rozycki  <macro@imgtec.com>
-
-       * MAINTAINERS: Add myself as MIPS maintainer.
-
-2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * readelf.c (get_machine_flags): Add support for RX v2 flag.
-
-2015-12-14  Jan Beulich  <jbeulich@suse.com>
-
-       * nm.c: Include coff/external.h, coff/internal.h, and
-       libcoff.h.
-       (struct extended_symbol_info): New field "coffinfo".
-       (get_symbol_type): Rename to get_elf_symbol_type.
-       (get_coff_symbol_type): New.
-       (print_symbol): Also init info.coffinfo.
-       (print_symbol_info_sysv): Print type and section name also for
-       COFF symbols.
-
-2015-12-08  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/19310
-       * dwarf.c (display_debug_frames): Recode range test to avoid
-       undefined behaviour.
-
-2015-12-03  Tristan Gingold  <gingold@adacore.com>
-
-       * od-macho.c (bfd_mach_o_header_flags_name): Add name
-       for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE.
-
-2015-12-01  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2015-11-30  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * dwarf.c (is_max_address): New function.
-       (display_loc_list): Remove out of date comment, use
-       is_max_address.
-       (display_debug_ranges): Likewise.
-
-2015-11-28  Cary Coutant  <ccoutant@gmail.com>
-
-       * MAINTAINERS: Update my email address.
-
-2015-11-20  Ronald Hoogenboom  <hoogenboom30@zonnet.nl>
-
-       * objcopy.c (parse_symflags): Use xstrndup in place of strndup.
-       (copy_main): Likewise.
-
-2015-11-20  Nick Clifton  <nickc@redhat.com>
-
-       * po/ca.po: New Catalan translation.
-       * configure.ac (ALL_LINGUAS): Add ca.
-       * configure: Regenerate.
-
-2015-11-18  Tristan Gingold  <gingold@adacore.com>
-
-       * od-macho.c (bfd_mach_o_load_command_name): Add new
-       entries.
-       (dump_unwind_encoding_arm64): New function.
-       (dump_unwind_encoding): Handle arm64.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * configure: Regenerate.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * NEWS: Add marker for 2.26.
-
-2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * dwarf.c (read_leb128): Fix left shift of negative value.
-
-2015-11-03  Alan Modra  <amodra@gmail.com>
-
-       * readelf (process_version_sections): Check DT_VERNEED and
-       DT_VERDEF for all symbols.  Report "*both*" should a symbol
-       have both a verneed and verdef.
-       (get_symbol_version_string): Reduce indentation by early
-       exits.  Don't use SHT_NOBITS heuristic to detect case where a
-       defined symbol has a verneed entry.
-
-2015-10-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: Updated (simplified) Chinese translation.
-
-2015-10-27  Stephen Fisher  <sfisher@panix.com>
-
-       * binutils.c (process_netbsd_elf_note): New function.
-       (process_note): Call the new function for NetBSD core notes.
-
-2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
-       call when extract_symbol.
-
-2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
-
-       PR binutils/19104
-       * objcopy.c (command_line_switch): Add OPTION_ADD_SYMBOL.
-       (copy_options): Add add-symbol.
-       (copy_usage): Likewise.
-       (parse_symflags): New function.
-       (need_sym_before): New function.
-       (create_new_symbol): New function.
-       (filter_symbols): Add code to insert new symbols.
-       (copy_main): Process OPTION_ADD_SYMBOL.
-       * doc/binutils.texi: Document new feature.
-       * NEWS: Add note about the new feature.
-
-2015-10-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
-
-       PR binutils/19147
-       * readelf.c (print_core_note): Fix off-by-one bug.
-
-2015-10-15  Alan Modra  <amodra@gmail.com>
-
-       * objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data
-       call when extract_symbol.
-
-2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * od-elf32_avr.c (elf32_avr_dump_avr_prop): Fix printing of align
-       specific data, fix formatting for align and org data.
-
-2015-09-01  Claudiu Zissulescu  <claziss@synopsys.com>
-           Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * readelf.c (get_machine_name): Remove A5 reference. Add ARCompact
-       and ARCv2.
-       (get_machine_flags): Handle EM_ARCV2 and EM_ARCOMPACT.
-       (guess_is_rela): Likewise.
-       (dump_relocations): Likewise.
-       (is_32bit_abs_reloc): Likewise.
-       (is_16bit_abs_reloc): Likewise.
-       (is_none_reloc): Likewise.
-       * NEWS: Mention the new feature.
-
-2015-09-29  Andrew Stubbs  <ams@codesourcery.com>
-           H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/19020
-       * objcopy.c (copy_object): Don't adjust the output section size
-       when copying from input sections.
-       (copy_section): Use input section size for the copy.  Get the
-       updated section size from bfd_convert_section_contents.
-
-2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/19005
-       * objcopy.c (copy_object): Adjust the output section size to
-       skip gap fills between sections when copying from input sections
-       to output sections.
-
-2015-09-28  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: Updated French translation.
-
-2015-09-25  James Bowman  <james.bowman@ftdichip.com>
-
-       * ft32-dis.c (print_insn_ft32): Fix incorrect data field mask.
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/15835
-       * readelf.c (struct elf_section_list): New structure.
-       (symtab_shndx_hdr): Replace with symtab_shndx_list.
-       (get_32bit_elf_symbols): Scan for a symbol index table matching
-       the symbol table in use.
-       (get_64bit_elf_symbols): Likewise.
-       (process_section_headers): Handle multiple symbol index sections.
-
-2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
-
-2015-09-10  Erik Ackermann  <kurterikackermann@gmail.com>
-
-       * strings.c: Add -s/--output-separator option to specify custom
-       separator string.
-       * NEWS: Mention the new feature.
-       * doc/binutils.text (strings): Document the new command line
-       option.
-
-2015-09-09  Nick Clifton  <nickc@redhat.com>
-
-       * doc/binutils.texi (ar): Remove bogus sentance concerning thin
-       archives and invalid paths.
-
-2015-09-03  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18879
-       * readelf.c (get_unwind_section_word): Check for negative offsets
-       and very small sections.
-       (dump_arm_unwind): Warn if the table offset is too large.
-
-2015-08-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (TOOL_PROGS): Add readelf.
-       * Makefile.in: Regenerated.
-
-2015-08-24  Yaakov Selkowitz  <yselkowi@redhat.com>
-
-       * configure: Regenerate.
-
-2015-08-17  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2015-08-07  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * objcopy.c (is_specified_symbol_predicate): Don't stop at first
-       match.  Non-match rules set found to FALSE.
-
-2015-08-06  Yaakov Selkowitz  <yselkowi@redhat.com>
-
-       * configure: Regenerate.
-
-2015-08-05  Nick Clifton  <nickc@redhat.com>
-
-       * doc/binutils.texi: Document that the --only-keep-debug option
-       to strip and objcopy preserves the section headers of stripped
-       sections.
-
-2015-08-04  Yuriy M. Kaminskiy"  <yumkam@gmail.com>
-           Tyler Hicks  <tyhicks@canonical.com>
-
-       PR binutils/18750
-       * readelf.c (process_mips_specific): Fix incorrect escape
-       sequence handling.
-
-2015-08-04  Nick Clifton  <nickc@redhat.com>
-
-       * ar.c (extract_file): Free cbuf if the path is invalid.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL.
-
-2015-07-22  Alan Modra  <amodra@gmail.com>
-
-       * readelf.c (dump_relocations): Show MIN_INT addends as negative.
-
-2015-07-20  Alan Modra  <amodra@gmail.com>
-
-       * doc/Makefile.in: Regenerate.
-
-2015-07-16  Alan Modra  <amodra@gmail.com>
-
-       PR binutils/18672
-       * readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
-       (get_64bit_dynamic_section): Likewise.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
-       zlib-gnu.
-       * doc/binutils.texi: Change --compress-debug-sections and
-       --compress-debug-sections=zlib to zlib-gabi.
-
-2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18656
-       * objcopy.c (setup_section): Call bfd_convert_section_size
-       to get the output section size.
-       (copy_section): Get the section size from the output section
-       and call bfd_get_full_section_contents to convert section
-       contents for output.
-
-2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (dump_section_as_strings): Warn unsupported compress
-       type and corrupted compressed section.
-       (dump_section_as_bytes): Likewise.
-       (load_specific_debug_section): Likewise.
-
-2015-07-09  Catherine Moore  <clm@codesourcery.com>
-
-       * readelf.c (print_mips_fp_abi_value): Handle
-       Val_GNU_MIPS_ABI_FP_NAN2008.
-
-2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
-
-2015-06-22  Nick Clifton  <nickc@redhat.com>
-
-       * objdump.c (disassemble_bytes): Set the stop_vma field in the
-       disassemble_info structure when disassembling code sections with
-       -d.
-       * doc/binutils.texi (objdump): Document the discrepancy between -d
-       and -D.
-
-2015-06-05  Nick Clifton  <nickc@redhat.com>
-
-       * dwarf.c (read_debug_line_header): Use reloc_at to detect
-       incomplete .debug_line headers
-
-2015-05-29  Roland McGrath  <mcgrathr@google.com>
-
-       * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
-       GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
-
-2015-05-29  Stephen Kitt  <steve@sk2.org>
-
-       * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
-       (main): Fail if the output file specified by the -z option cannot
-       be opened.
-
-2015-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18420
-       * ia64-unwind.c (unw_decode): Add end parameter.  Pass parameter
-       on to decode functions.
-       (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
-       (UNW_DEC_SPILL_MASK): Add end parameter.  Check that unw_rlen does
-       not take us beyond the end of the buffer.
-       * ia64-unwind.h (unw_decode): Update prototype.
-       * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (dump_section_as_strings): Change pointers from
-       char * to unsigned char *.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * doc/binutils.texi: Document -Mamd64 and -Mintel64.
-
-2015-05-15  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (options): Add "decompress".
-       (usage): Mention -z/--decompress.
-       (parse_args): Handle -z.
-       (uncompress_section_contents): Move to earlier in the file.
-       (dump_section_as_strings): If requested, decompress the section
-       before dumping.
-       (dump_section_as_bytes): Likewise.
-       * doc/binutils.texi: Document the new option.
-
-2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * MAINTAINERS: Add myself as PPC maintainer.
-
-2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (uncompress_section_contents): Add a parameter for
-       uncompressed size.  Don't check the zlib header.
-       (load_specific_debug_section): Updated.
-
-2015-05-15  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18374
-       * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
-       fields.
-       (struct dwarf_section_display): Change bitfield to boolean.
-       (reloc_at): Add prototype.
-       * dwarf.c (display_loc_list): Ignore list terminators if there are
-       relocs against them.
-       (display_debug_loc): Issue a warning if there are relocs against
-       the .debug_loc section.
-       (display_displays): Initialise reloc_info and num_relocs fields.
-       * objdump.c (load_specific_debug_section): Initialise reloc_info
-       and num_relocs fields.
-       (reloc_at): New function.
-       * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
-       reloc.
-       (reloc_at): New function.
-       (apply_relocations): Add relocs_return and num_relocs_return
-       parameters.  Fill them in with the loaded relocs if non-NULL.
-       (dump_section_as_bytes): Update call to apply_relocations.
-       (load_specific_debug_section): Initialise reloc_info and
-       num_relocs fields.
-
-2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
-
-2015-05-13  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * MAINTAINERS: Add myself as s390 and s390x maintainer.
-
-2015-05-12  Stephen Kitt  <steve@sk2.org>
-
-       * dlltool.c (main): Accept -t as an abbreviation for
-       --temp-prefix.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwarf.c (dwarf_regnames_iamcu): New.
-       (init_dwarf_regnames_iamcu): Likewise.
-       (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
-       * dwarf.h (init_dwarf_regnames_iamcu): New.
-       * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
-       bfd_arch_iamcu.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfedit.c (enum elfclass): New.
-       (input_elf_class): Change type to enum elfclass.
-       (output_elf_class): New.
-       (elf_class): Change return type to enum elfclass.  Support EM_386
-       and EM_IAMCU.
-       (update_elf_header): Check if input and output ELF classes match.
-       (elf_machine): Support EM_386 and EM_IAMCU.
-       (main): Update input_elf_class.  Set output_elf_class.
-       * doc/binutils.texi: Update elfedit.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
-       * readelf.c (guess_is_rela): Likewise.
-       (dump_relocations): Likewise.
-       (get_machine_name): Likewise.
-       (get_elf_section_flags): Likewise.
-       (process_section_headers): Likewise.
-       (is_32bit_abs_reloc): Likewise.
-       (is_32bit_pcrel_reloc): Likewise.
-
-2015-04-30  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (get_machine_flags): Add description of MeP flags.
-
-2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * readelf.c (display_s390_gnu_attribute): New function.
-       (process_s390_specific): New function.
-       (process_arch_specific): Call process_s390_specific.
-
-2015-04-24  Nick Clifton  <nickc@redhat.com>
-
-       PR 18313
-       * ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
-       * readelf.c (uncompress_section_contents): Zero initialise the
-       zstream structure.
-
-2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18209
-       * objcopy.c (setup_section): Copy compress status.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * NEWS: Mention
-       --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
-
-2015-04-14  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (target_specific_reloc_handling): Add code to handle
-       RL78 complex relocs.
-
-2015-04-13  Doug Evans  <dje@google.com>
-
-       PR binutils/18218
-       * readelf.c (printable_section_name): Constify sec argument.
-       (apply_relocations): Ditto.  New arg "size".  All callers updated.
-       (load_specific_debug_section): Constify sec argument.
-       Remove side-effect of modifying sec->sh_size.
-
-2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * objcopy.c (do_debug_sections): Use bit patterns.
-       (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
-       and compress_gabi_zlib on non-ELF input.
-       (copy_file): Don't check non-ELF input here.
-
-2015-04-09  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (get_machine_flags): Report the setting of the string
-       insn using bits.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * objcopy.c (do_debug_sections): Add compress_zlib,
-       compress_gnu_zlib and compress_gabi_zlib.
-       (copy_options): Use optional_argument on compress-debug-sections.
-       (copy_usage): Update --compress-debug-sections.
-       (copy_file): Handle compress_zlib, compress_gnu_zlib and
-       compress_gabi_zlib.
-       (copy_main): Handle
-       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
-       * doc/binutils.texi: Document
-       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
-       --interleave[=<number>].
-
-2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
-       (get_compression_header): New.
-       (process_section_headers): Dump compression header if needed.
-       (uncompress_section_contents): Don't free compressed_buffer here.
-       (load_specific_debug_section): Free the compressed buffer, update
-       the section buffer and the section size if uncompress is
-       successful.
-
-2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * MAINTAINERS: Update my e-mail address.
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Revert the AM_ZLIB change.
-       * Makefile.in: Regenerated.
-       * aclocal.m4: Likewise.
-       * configure: Likewise.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (ZLIB): New.
-       (ZLIBINC): Likewise.
-       (AM_CFLAGS): Add $(ZLIBINC).
-       (readelf_LDADD): Add $(ZLIB).
-       * configure.ac (AM_ZLIB): Removed.
-       (zlibdir): New.  AC_SUBST.
-       (zlibinc): Likewise.
-       Add --with-system-zlib.
-       * Makefile.in: Regenerated.
-       * config.in: Likewise.
-       * configure: Likewise.
-
-2015-03-19  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
-
-2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18087
-       * doc/binutils.texi: Note that when objcopy compresses debug
-       sections the compression is only performed if it makes the section
-       smaller.
-
-2015-03-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18101
-       * readelf.c (parse_args): Move nothing to do warning to ...
-       (main): Here.
-
-2015-03-10  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18101
-       * readelf.c (parse_args): Enhance check for nothing to do by
-       accounting for the --wide option.
-
-       PR binutils/17636
-       * objcopy.c (copy_object): Avoid calling fatal as that does not
-       allow the parent to clean up temporary files.
-
-2015-03-10  Yuri Gribov  <y.gribov@samsung.arm>
-
-       PR ld/16572
-       * readelf.c: Remove support for ELF_ARM_HASENTRY.
-
-2015-03-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18064
-       * doc/binutils.texi (objcopy): Extend description of
-       --add-gnu-debuglink option to explain that the separate debug info
-       file must exist.  Add a description of what to do if the debug
-       info file is built in one place but then installed into a separate
-       location.
-
-2015-03-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17994
-       * dlltool.c (temp_file_to_remove): New local array.
-       (unlink_temp_files): New functions - unlinks any file in the
-       temp_file_to_remove array, unless dotdeltemps is set.
-       (gen_exp_file): Add temp files to array.
-       (make_head): Likewise.
-       (make_delay_head): Likewise.
-       (make_tail): Likewise.
-       (gen_lib_file): Call unlink_temp_files.
-
-2015-02-28  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * objcopy.c (update_sections): New list.
-       (command_line_switch): Add OPTION_UPDATE_SECTION.
-       (copy_options): Add update-section.
-       (copy_usage): Document new option.
-       (is_update_section): New function.
-       (is_strip_section_1): Add check for attempt to update and remove
-       the same section.
-       (copy_object): Update size and content of requested sections.
-       (skip_section): Don't copy for updated sections.
-       (copy_main): Handle --update-section.
-       * doc/binutils.texi (objcopy): Add description of --update-section
-       option.
-       * NEWS: Mention --update-section option.
-
-2015-02-26  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffgrok.c (do_type): Check for an out of range tag index.
-       Check for integer overflow computing array dimension.
-       (do_define): Likewise.
-
-2015-02-26  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * objcopy.c (init_section_add): Rename optarg to arg in order to
-       avoid shadowing a global variable.
-
-2015-02-26  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * resrc.c (write_rc_messagetable): Tighten check for invalid
-       message lengths.
-
-       * dwarf.c (display_debug_loc): Pacify the undefined behaviour
-       sanitizer by simplifying address difference calculation.
-       (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
-       order to avoid arithmetic overflows.
-       (frame_display_row): Cast cfa_offset before printing it.
-       (display_debug_frames): Likewise.
-       Check for an unexpected segment size.
-       Chnage type of 'l' local to dwarf_vma and cast it back to an int
-       when printing.
-       (process_cu_tu_index): Tighten check for an invalid ncols value.
-       * readelf.c (process_corefile_note_segment): Check for
-       inote.descdata extending beyond the end of the section.
-       (process_v850_notes): Likewise.
-
-2015-02-26  Terry Guo  <terry.guo@arm.com>
-
-       * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
-       display it.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * objcopy.c (init_section_add): New function.
-       (section_add_load_file): New function.
-       (copy_main): Make use of new functions.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * od-elf32_avr.c: Add elf32-avr.h include.
-       (OPT_AVRPROP): Define.
-       (options[]): Add 'avr-prop' entry.
-       (elf32_avr_help): Add avr-prop help text.
-       (elf32_avr_dump_avr_prop): New function.
-       (elf32_avr_dump): Add check for avr-prop.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.c (get_machine_flags): Remove deprecated V850 machine
-       flags.
-       (get_v850_section_type_name): New function.  Handles V850 special
-       sections.
-       (get_section_type_name): Add support for V850.
-       (get_v850_elf_note_type): New function.  Returns the name of a
-       V850 note.
-       (print_v850_note): New function.  Prints a V850 note.
-       (process_v850_notes): New function.  Prints V850 notes.
-       (process_note_sections): Add support for V850.
-
-2015-02-24  Mike Frysinger  <vapier@gentoo.org>
-
-       PR binutils/17531
-       * readelf.c (process_symbol_table): Declare chained.  Increment it
-       in every loop.  Abort when chained is larger than nchains.  Move
-       error check outside of chain loop.
-
-2015-02-24  Dmitry Antipov  <dantipov@nvidia.com>
-
-       * readelf.c (find_symbol_for_address): Use a binary search to
-       speed up symbol location.  Skip check for function symbol type.
-       (*_unw_aux_info): Add funtab and nfuns fields contains a sorted
-       list of function symbols.
-       (dump_ia64_unwind): Initialise the funtab and nfuns fields and
-       pass them to find_symbol_for_address.
-       (dump_hppa_unwind): Likewise.
-       (arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
-       (dump_arm_unwind): Initialise the funtab and nfuns fields.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * objdump.c (dump_section): Extend the warning message displayed
-       when a section cannot be loaded.
-
-2015-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * readelf.c (process_program_headers): Add newline to warning
-       message.
-
-2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
-
-       * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
-       NT_S390_VXRS_HIGH.
-
-2015-02-13  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * dwarf.c (read_leb128): Fix test for shift becoming too large.
-
-       * coffgrok.c (do_define): Add check for type size overflow.
-       * srconv.c (walk_tree_sfile): Check that enough sections are
-       available before parsing.
-       (prescan): Likewise.
-
-       PR binutils/17531
-       * dwarf.c (display_debug_aranges): Add check for an excessive
-       ar_length value.
-       (process_cu_tu_index): Check for a row * columns sum being too
-       large.
-
-2015-02-13  Alan Modra  <amodra@gmail.com>
-
-       * dwarf.c: Formatting, whitespace.
-       (process_debug_info): Style fix.
-
-2015-02-11  Nick Clifton  <nickc@redhat.com>
-
-       * rl78-decode.opc: Add 'a' attribute to instructions that support
-       [HL+0] addressing.
-       * rl78-decode.c: Regenerate.
-       * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
-       addresses.
-
-2015-02-11  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17531
-       * dwarf.c (display_debug_pubnames_worker): Work around compiler
-       bug checking address ranges.
-       (display_debug_frames): Likewise.
-       (display_gdb_index): Likewise.
-       (process_cu_tu_index): Add range check on the ncols value.
-
-2015-02-10  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * dwarf.c (eh_addr_size): Use an unsigned type.
-       (size_of_encoded_value): Return an unsigned type.
-       (read_leb128): Break if the shift becomes too big.
-       (process_extended_line_op): Do not read the address if the length
-       is too long.
-       (read_cie): Warn and fail if the pointer size or segment size are
-       too big.
-       * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
-       structure definition.
-       (DWARF2_External_PubNames): Likewise.
-       (DWARF2_External_CompUnit): Likewise.
-       (DWARF2_External_ARange): Likewise.
-       (DWARF2_Internal_LineInfo): Use dwarf_vma type for
-       li_prologue_length.
-       (eh_addr_size): Update prototype.
-
-       PR binutils/17531
-       * dwarf.c (process_debug_info): Zero the debug information array
-       since correct initialisation cannot be relied upon.
-       (process_cu_tu_index): Improve range checks.
-
-       PR binutils/17531
-       * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
-       offset.
-       * readelf.c (dump_relocations): Handle printing offsets which are
-       MIN_INT.
-       (process_corefile_note_segment): Add range check of the namesz
-       field.
-
-2015-02-09  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
-       and DW_LANG_Fortran08.
-
-2015-02-06  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * dwarf.c (display_debug_frames): Fix range checks to work on
-       32-bit binaries complied on a 64-bit host.
-
-       PR binutils/17531
-       * dwarf.c (xcmalloc): Fail if the arguments are too big.
-       (xcrealloc): Likewise.
-       (xcalloc2): Likewise.
-       * readelf.c (process_mips_specific): Fail if an option has an
-       invalid size.
-
-2015-02-05  Alan Modra  <amodra@gmail.com>
-
-       PR binutils/17926
-       * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
-
-2015-02-04  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17531
-       * dwarf.c (read_and_display_attr_value): Test for a block length
-       being so long that it wraps around to before the start of the block.
-       (process_debug_info): Test for section_begin wrapping around to
-       before the start of the section.
-       (display_gdb_index): Test for num_cus being so large that the end
-       address wraps around to before the start of the section.
-       (process_cu_tu_index): Test for j being so large that the section
-       index pool wraps around to before the start of the section.
-
-2015-02-03  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17531
-       * dwarf.c (process_debug_info): Add range check.
-       (display_debug_pubnames_worker): Likewise.
-       (display_gdb_index): Fix range check.
-       (process_cu_tu_index): Add range check.
-       * readelf.c (get_data): Change parameter types from size_t to
-       bfd_size_type.  Add checks for loss of accuracy when casting from
-       bfd_size_type to size_t.
-       (get_dynamic_data): Likewise.
-       (process_section_groups): Limit number of error messages.
-
-2015-02-03  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * objdump.c (display_any_bfd): Fail if archives nest too deeply.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * readelf.c: Add FT32 support.
-
-2015-01-27  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * dlltool.c (identify_search_archive): If the last archive was the
-       same as the current archive, terminate the loop.
-
-       * addr2line.c (slurp_symtab): If the symcount is zero, free the
-       symbol table pointer.
-
-       * rcparse.y: Add checks to avoid integer divide by zero.
-       * rescoff.c (read_coff_rsrc): Add check on the size of the
-       resource section.
-       (read_coff_res_dir): Add check on the nesting level.
-       Check for resource names overrunning the buffer.
-       * resrc.c (write_rc_messagetable): Update formatting.
-       Add check of 'elen' being zero.
-
-2015-01-23  Nick Clifton  <nickc@redhat.com>
-
-       * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
-       by recent delta, when compiling on for a 32-bit host.
-
-2015-01-21  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * addr2line.c (main): Call bfd_set_error_program_name.
-       * ar.c (main): Likewise.
-       * coffdump.c (main): Likewise.
-       * cxxfilt.c (main): Likewise.
-       * dlltool.c (main): Likewise.
-       * nlmconv.c (main): Likewise.
-       * nm.c (main): Likewise.
-       * objdump.c (main): Likewise.
-       * size.c (main): Likewise.
-       * srconv.c (main): Likewise.
-       * strings.c (main): Likewise.
-       * sysdump.c (main): Likewise.
-       * windmc.c (main): Likewise.
-       * windres.c (main): Likewise.
-       * objcopy.c (main): Likewise.
-       (copy_relocations_in_section): Check for relocs without associated
-       symbol pointers.
-
-2015-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-
-       * MAINTAINERS: Add self to ARM maintainers list.
-
-2015-01-21  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffgrok.c (do_type): Check that computed ref exists.
-       (doit): Add range checks when computing section for scope.
-
-2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwarf.c (process_debug_info): Properly check abbrev size.
-
-2015-01-12  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17531
-       * dwarf.c (process_debug_info): Check for abbrev_base being larger
-       than the section size.
-       (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
-       arrays.
-       (xcalloc2): New function.  Like xcalloc, but checks for overflow.
-       (display_debug_addr): Use xcalloc to allocate the debug_addr_info
-       array.  Check for an address_base that is too large.
-
-       * dwarf.h (xcalloc2): Prototype.
-
-2015-01-12  Alan Modra  <amodra@gmail.com>
-
-       * prdbg.c (print_debugging_info): Don't use void* for function
-       pointer param.
-       * budbg.h (print_debugging_info): Update prototype.
-
-2015-01-08  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * ojcopy.c (copy_object): Free the symbol table if no symbols
-       could be loaded.
-       (copy_file): Use bfd_close_all_done to close files that could not
-       be copied.
-
-       * sysdump.c (getINT): Fail if reading off the end of the buffer.
-       Replace call to abort with a call to fatal.
-       (getCHARS): Prevetn reading off the end of the buffer.
-
-       * nlmconv.c (i386_mangle_relocs): Skip relocs without an
-       associated symbol.
-       (powerpc_mangle_relocs): Skip unrecognised relocs.  Check address
-       range before applying a reloc.
-
-2015-01-07  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * dlltool.c (scan_obj_file): Break loop if the last archive
-       displayed matches the current archive.
-
-       * objdump.c (display_any_bfd): Add a depth limit to nested archive
-       display in order to avoid infinite loops.
-       * srconv.c: Replace calls to abort with calls to fatal with an
-       error message.
-
-2015-01-06  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * coffdump.c (dump_coff_section): Check for a symbol being
-       available before printing its name.
-       (main): Check the return value from coff_grok.
-       * coffgrok.c: Reformat and tidy.
-       Add range checks to most functions.
-       (coff_grok): Return NULL if the input bfd is not in a COFF
-       format.
-       * coffgrok.h: Reformat and tidy.
-       (struct coff_section): Change the nrelocs field to unsigned.
-       * srconv.c (main): Check the return value from coff_grok.
-
-2015-01-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17512
-       * nm.c (print_symbol): Add 'is_synthetic' parameter.  Use it to
-       help initialize the info.elfinfo field.
-       (print_size_symbols): Add 'synth_count' parameter.  Use it to set
-       the is_synthetic parameter when calling print_symbol.
-       (print_symbols): Likewise.
-       (display_rel_file): Pass synth_count to printing function.
-       (display_archive): Break loop if the last archive displayed
-       matches the current archive.
-       * size.c (display_archive): Likewise.
-
-2015-01-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/17531
-       * dwarf.c (alloc_num_debug_info_entries): New variable.
-       (process_debug_info): Set it.  Use it to avoid displaying
-       attributes for which there is no info.
-       (display_debug_abbrev): Check that the debug_info_entry index is
-       valid before using it.
-       (display_loc_list_dwo): Likewise.
-       (process_cu_tu_index): Add range check for an overlarge dw_sect
-       value.
-       (free_debug_memory): Reset alloc_num_debug_info_entries.
-       * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
-       be indentified.
-       (dynamic_section_mips_val): Warn if the timestamp is invalid.
-       (print_mips_got_entry): Add a data_end parameter.  Warn if a read
-       would go beyond the end of the data, and return an error value.
-       (process_mips_specific): Do not read options from beyond the end
-       of the section.
-       Correct code to display optional data at the end of an option.
-       Warn if there are too many GOT symbols.
-       Update calls to print_mips_got_entry, and handle error returns.
-
-2015-01-05  Daniel Klauer  <daniel.c.klauer@web.de>
-
-       PR binutils/17489
-       * doc/binutils.texi (dlltool): Correct description of --kill-at
-       option.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       * version.c (print_version): Just print current year.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/binutils/ChangeLog-2015 b/binutils/ChangeLog-2015
new file mode 100644 (file)
index 0000000..3f8e8a7
--- /dev/null
@@ -0,0 +1,1034 @@
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Baseline Tag_CPU_arch
+       value.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Mainline Tag_CPU_arch
+       value.
+       (arm_attr_tag_THUMB_ISA_use): Add ARMv8-M Mainline Tag_THUMB_ISA_use
+       value.
+
+2015-12-22  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_elf_section_flags): Add support for ARM specific
+       section flags.
+
+2015-12-17  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * MAINTAINERS: Add myself as MIPS maintainer.
+
+2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * readelf.c (get_machine_flags): Add support for RX v2 flag.
+
+2015-12-14  Jan Beulich  <jbeulich@suse.com>
+
+       * nm.c: Include coff/external.h, coff/internal.h, and
+       libcoff.h.
+       (struct extended_symbol_info): New field "coffinfo".
+       (get_symbol_type): Rename to get_elf_symbol_type.
+       (get_coff_symbol_type): New.
+       (print_symbol): Also init info.coffinfo.
+       (print_symbol_info_sysv): Print type and section name also for
+       COFF symbols.
+
+2015-12-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/19310
+       * dwarf.c (display_debug_frames): Recode range test to avoid
+       undefined behaviour.
+
+2015-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * od-macho.c (bfd_mach_o_header_flags_name): Add name
+       for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2015-11-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf.c (is_max_address): New function.
+       (display_loc_list): Remove out of date comment, use
+       is_max_address.
+       (display_debug_ranges): Likewise.
+
+2015-11-28  Cary Coutant  <ccoutant@gmail.com>
+
+       * MAINTAINERS: Update my email address.
+
+2015-11-20  Ronald Hoogenboom  <hoogenboom30@zonnet.nl>
+
+       * objcopy.c (parse_symflags): Use xstrndup in place of strndup.
+       (copy_main): Likewise.
+
+2015-11-20  Nick Clifton  <nickc@redhat.com>
+
+       * po/ca.po: New Catalan translation.
+       * configure.ac (ALL_LINGUAS): Add ca.
+       * configure: Regenerate.
+
+2015-11-18  Tristan Gingold  <gingold@adacore.com>
+
+       * od-macho.c (bfd_mach_o_load_command_name): Add new
+       entries.
+       (dump_unwind_encoding_arm64): New function.
+       (dump_unwind_encoding): Handle arm64.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.26.
+
+2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * dwarf.c (read_leb128): Fix left shift of negative value.
+
+2015-11-03  Alan Modra  <amodra@gmail.com>
+
+       * readelf (process_version_sections): Check DT_VERNEED and
+       DT_VERDEF for all symbols.  Report "*both*" should a symbol
+       have both a verneed and verdef.
+       (get_symbol_version_string): Reduce indentation by early
+       exits.  Don't use SHT_NOBITS heuristic to detect case where a
+       defined symbol has a verneed entry.
+
+2015-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated (simplified) Chinese translation.
+
+2015-10-27  Stephen Fisher  <sfisher@panix.com>
+
+       * binutils.c (process_netbsd_elf_note): New function.
+       (process_note): Call the new function for NetBSD core notes.
+
+2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
+       call when extract_symbol.
+
+2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
+
+       PR binutils/19104
+       * objcopy.c (command_line_switch): Add OPTION_ADD_SYMBOL.
+       (copy_options): Add add-symbol.
+       (copy_usage): Likewise.
+       (parse_symflags): New function.
+       (need_sym_before): New function.
+       (create_new_symbol): New function.
+       (filter_symbols): Add code to insert new symbols.
+       (copy_main): Process OPTION_ADD_SYMBOL.
+       * doc/binutils.texi: Document new feature.
+       * NEWS: Add note about the new feature.
+
+2015-10-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR binutils/19147
+       * readelf.c (print_core_note): Fix off-by-one bug.
+
+2015-10-15  Alan Modra  <amodra@gmail.com>
+
+       * objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data
+       call when extract_symbol.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * od-elf32_avr.c (elf32_avr_dump_avr_prop): Fix printing of align
+       specific data, fix formatting for align and org data.
+
+2015-09-01  Claudiu Zissulescu  <claziss@synopsys.com>
+           Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * readelf.c (get_machine_name): Remove A5 reference. Add ARCompact
+       and ARCv2.
+       (get_machine_flags): Handle EM_ARCV2 and EM_ARCOMPACT.
+       (guess_is_rela): Likewise.
+       (dump_relocations): Likewise.
+       (is_32bit_abs_reloc): Likewise.
+       (is_16bit_abs_reloc): Likewise.
+       (is_none_reloc): Likewise.
+       * NEWS: Mention the new feature.
+
+2015-09-29  Andrew Stubbs  <ams@codesourcery.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/19020
+       * objcopy.c (copy_object): Don't adjust the output section size
+       when copying from input sections.
+       (copy_section): Use input section size for the copy.  Get the
+       updated section size from bfd_convert_section_contents.
+
+2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/19005
+       * objcopy.c (copy_object): Adjust the output section size to
+       skip gap fills between sections when copying from input sections
+       to output sections.
+
+2015-09-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2015-09-25  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32-dis.c (print_insn_ft32): Fix incorrect data field mask.
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/15835
+       * readelf.c (struct elf_section_list): New structure.
+       (symtab_shndx_hdr): Replace with symtab_shndx_list.
+       (get_32bit_elf_symbols): Scan for a symbol index table matching
+       the symbol table in use.
+       (get_64bit_elf_symbols): Likewise.
+       (process_section_headers): Handle multiple symbol index sections.
+
+2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
+
+2015-09-10  Erik Ackermann  <kurterikackermann@gmail.com>
+
+       * strings.c: Add -s/--output-separator option to specify custom
+       separator string.
+       * NEWS: Mention the new feature.
+       * doc/binutils.text (strings): Document the new command line
+       option.
+
+2015-09-09  Nick Clifton  <nickc@redhat.com>
+
+       * doc/binutils.texi (ar): Remove bogus sentance concerning thin
+       archives and invalid paths.
+
+2015-09-03  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18879
+       * readelf.c (get_unwind_section_word): Check for negative offsets
+       and very small sections.
+       (dump_arm_unwind): Warn if the table offset is too large.
+
+2015-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (TOOL_PROGS): Add readelf.
+       * Makefile.in: Regenerated.
+
+2015-08-24  Yaakov Selkowitz  <yselkowi@redhat.com>
+
+       * configure: Regenerate.
+
+2015-08-17  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2015-08-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * objcopy.c (is_specified_symbol_predicate): Don't stop at first
+       match.  Non-match rules set found to FALSE.
+
+2015-08-06  Yaakov Selkowitz  <yselkowi@redhat.com>
+
+       * configure: Regenerate.
+
+2015-08-05  Nick Clifton  <nickc@redhat.com>
+
+       * doc/binutils.texi: Document that the --only-keep-debug option
+       to strip and objcopy preserves the section headers of stripped
+       sections.
+
+2015-08-04  Yuriy M. Kaminskiy"  <yumkam@gmail.com>
+           Tyler Hicks  <tyhicks@canonical.com>
+
+       PR binutils/18750
+       * readelf.c (process_mips_specific): Fix incorrect escape
+       sequence handling.
+
+2015-08-04  Nick Clifton  <nickc@redhat.com>
+
+       * ar.c (extract_file): Free cbuf if the path is invalid.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL.
+
+2015-07-22  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (dump_relocations): Show MIN_INT addends as negative.
+
+2015-07-20  Alan Modra  <amodra@gmail.com>
+
+       * doc/Makefile.in: Regenerate.
+
+2015-07-16  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/18672
+       * readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
+       (get_64bit_dynamic_section): Likewise.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
+       zlib-gnu.
+       * doc/binutils.texi: Change --compress-debug-sections and
+       --compress-debug-sections=zlib to zlib-gabi.
+
+2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18656
+       * objcopy.c (setup_section): Call bfd_convert_section_size
+       to get the output section size.
+       (copy_section): Get the section size from the output section
+       and call bfd_get_full_section_contents to convert section
+       contents for output.
+
+2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (dump_section_as_strings): Warn unsupported compress
+       type and corrupted compressed section.
+       (dump_section_as_bytes): Likewise.
+       (load_specific_debug_section): Likewise.
+
+2015-07-09  Catherine Moore  <clm@codesourcery.com>
+
+       * readelf.c (print_mips_fp_abi_value): Handle
+       Val_GNU_MIPS_ABI_FP_NAN2008.
+
+2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
+
+2015-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (disassemble_bytes): Set the stop_vma field in the
+       disassemble_info structure when disassembling code sections with
+       -d.
+       * doc/binutils.texi (objdump): Document the discrepancy between -d
+       and -D.
+
+2015-06-05  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (read_debug_line_header): Use reloc_at to detect
+       incomplete .debug_line headers
+
+2015-05-29  Roland McGrath  <mcgrathr@google.com>
+
+       * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
+       GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
+
+2015-05-29  Stephen Kitt  <steve@sk2.org>
+
+       * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
+       (main): Fail if the output file specified by the -z option cannot
+       be opened.
+
+2015-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18420
+       * ia64-unwind.c (unw_decode): Add end parameter.  Pass parameter
+       on to decode functions.
+       (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
+       (UNW_DEC_SPILL_MASK): Add end parameter.  Check that unw_rlen does
+       not take us beyond the end of the buffer.
+       * ia64-unwind.h (unw_decode): Update prototype.
+       * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (dump_section_as_strings): Change pointers from
+       char * to unsigned char *.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * doc/binutils.texi: Document -Mamd64 and -Mintel64.
+
+2015-05-15  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (options): Add "decompress".
+       (usage): Mention -z/--decompress.
+       (parse_args): Handle -z.
+       (uncompress_section_contents): Move to earlier in the file.
+       (dump_section_as_strings): If requested, decompress the section
+       before dumping.
+       (dump_section_as_bytes): Likewise.
+       * doc/binutils.texi: Document the new option.
+
+2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * MAINTAINERS: Add myself as PPC maintainer.
+
+2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (uncompress_section_contents): Add a parameter for
+       uncompressed size.  Don't check the zlib header.
+       (load_specific_debug_section): Updated.
+
+2015-05-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18374
+       * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
+       fields.
+       (struct dwarf_section_display): Change bitfield to boolean.
+       (reloc_at): Add prototype.
+       * dwarf.c (display_loc_list): Ignore list terminators if there are
+       relocs against them.
+       (display_debug_loc): Issue a warning if there are relocs against
+       the .debug_loc section.
+       (display_displays): Initialise reloc_info and num_relocs fields.
+       * objdump.c (load_specific_debug_section): Initialise reloc_info
+       and num_relocs fields.
+       (reloc_at): New function.
+       * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
+       reloc.
+       (reloc_at): New function.
+       (apply_relocations): Add relocs_return and num_relocs_return
+       parameters.  Fill them in with the loaded relocs if non-NULL.
+       (dump_section_as_bytes): Update call to apply_relocations.
+       (load_specific_debug_section): Initialise reloc_info and
+       num_relocs fields.
+
+2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
+
+2015-05-13  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * MAINTAINERS: Add myself as s390 and s390x maintainer.
+
+2015-05-12  Stephen Kitt  <steve@sk2.org>
+
+       * dlltool.c (main): Accept -t as an abbreviation for
+       --temp-prefix.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (dwarf_regnames_iamcu): New.
+       (init_dwarf_regnames_iamcu): Likewise.
+       (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
+       * dwarf.h (init_dwarf_regnames_iamcu): New.
+       * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
+       bfd_arch_iamcu.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfedit.c (enum elfclass): New.
+       (input_elf_class): Change type to enum elfclass.
+       (output_elf_class): New.
+       (elf_class): Change return type to enum elfclass.  Support EM_386
+       and EM_IAMCU.
+       (update_elf_header): Check if input and output ELF classes match.
+       (elf_machine): Support EM_386 and EM_IAMCU.
+       (main): Update input_elf_class.  Set output_elf_class.
+       * doc/binutils.texi: Update elfedit.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
+       * readelf.c (guess_is_rela): Likewise.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+       (get_elf_section_flags): Likewise.
+       (process_section_headers): Likewise.
+       (is_32bit_abs_reloc): Likewise.
+       (is_32bit_pcrel_reloc): Likewise.
+
+2015-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_flags): Add description of MeP flags.
+
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * readelf.c (display_s390_gnu_attribute): New function.
+       (process_s390_specific): New function.
+       (process_arch_specific): Call process_s390_specific.
+
+2015-04-24  Nick Clifton  <nickc@redhat.com>
+
+       PR 18313
+       * ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
+       * readelf.c (uncompress_section_contents): Zero initialise the
+       zstream structure.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18209
+       * objcopy.c (setup_section): Copy compress status.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention
+       --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
+
+2015-04-14  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (target_specific_reloc_handling): Add code to handle
+       RL78 complex relocs.
+
+2015-04-13  Doug Evans  <dje@google.com>
+
+       PR binutils/18218
+       * readelf.c (printable_section_name): Constify sec argument.
+       (apply_relocations): Ditto.  New arg "size".  All callers updated.
+       (load_specific_debug_section): Constify sec argument.
+       Remove side-effect of modifying sec->sh_size.
+
+2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (do_debug_sections): Use bit patterns.
+       (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
+       and compress_gabi_zlib on non-ELF input.
+       (copy_file): Don't check non-ELF input here.
+
+2015-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_flags): Report the setting of the string
+       insn using bits.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (do_debug_sections): Add compress_zlib,
+       compress_gnu_zlib and compress_gabi_zlib.
+       (copy_options): Use optional_argument on compress-debug-sections.
+       (copy_usage): Update --compress-debug-sections.
+       (copy_file): Handle compress_zlib, compress_gnu_zlib and
+       compress_gabi_zlib.
+       (copy_main): Handle
+       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
+       * doc/binutils.texi: Document
+       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
+       --interleave[=<number>].
+
+2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
+       (get_compression_header): New.
+       (process_section_headers): Dump compression header if needed.
+       (uncompress_section_contents): Don't free compressed_buffer here.
+       (load_specific_debug_section): Free the compressed buffer, update
+       the section buffer and the section size if uncompress is
+       successful.
+
+2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * MAINTAINERS: Update my e-mail address.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Revert the AM_ZLIB change.
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ZLIB): New.
+       (ZLIBINC): Likewise.
+       (AM_CFLAGS): Add $(ZLIBINC).
+       (readelf_LDADD): Add $(ZLIB).
+       * configure.ac (AM_ZLIB): Removed.
+       (zlibdir): New.  AC_SUBST.
+       (zlibinc): Likewise.
+       Add --with-system-zlib.
+       * Makefile.in: Regenerated.
+       * config.in: Likewise.
+       * configure: Likewise.
+
+2015-03-19  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
+
+2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18087
+       * doc/binutils.texi: Note that when objcopy compresses debug
+       sections the compression is only performed if it makes the section
+       smaller.
+
+2015-03-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18101
+       * readelf.c (parse_args): Move nothing to do warning to ...
+       (main): Here.
+
+2015-03-10  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18101
+       * readelf.c (parse_args): Enhance check for nothing to do by
+       accounting for the --wide option.
+
+       PR binutils/17636
+       * objcopy.c (copy_object): Avoid calling fatal as that does not
+       allow the parent to clean up temporary files.
+
+2015-03-10  Yuri Gribov  <y.gribov@samsung.arm>
+
+       PR ld/16572
+       * readelf.c: Remove support for ELF_ARM_HASENTRY.
+
+2015-03-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18064
+       * doc/binutils.texi (objcopy): Extend description of
+       --add-gnu-debuglink option to explain that the separate debug info
+       file must exist.  Add a description of what to do if the debug
+       info file is built in one place but then installed into a separate
+       location.
+
+2015-03-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17994
+       * dlltool.c (temp_file_to_remove): New local array.
+       (unlink_temp_files): New functions - unlinks any file in the
+       temp_file_to_remove array, unless dotdeltemps is set.
+       (gen_exp_file): Add temp files to array.
+       (make_head): Likewise.
+       (make_delay_head): Likewise.
+       (make_tail): Likewise.
+       (gen_lib_file): Call unlink_temp_files.
+
+2015-02-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * objcopy.c (update_sections): New list.
+       (command_line_switch): Add OPTION_UPDATE_SECTION.
+       (copy_options): Add update-section.
+       (copy_usage): Document new option.
+       (is_update_section): New function.
+       (is_strip_section_1): Add check for attempt to update and remove
+       the same section.
+       (copy_object): Update size and content of requested sections.
+       (skip_section): Don't copy for updated sections.
+       (copy_main): Handle --update-section.
+       * doc/binutils.texi (objcopy): Add description of --update-section
+       option.
+       * NEWS: Mention --update-section option.
+
+2015-02-26  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffgrok.c (do_type): Check for an out of range tag index.
+       Check for integer overflow computing array dimension.
+       (do_define): Likewise.
+
+2015-02-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * objcopy.c (init_section_add): Rename optarg to arg in order to
+       avoid shadowing a global variable.
+
+2015-02-26  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * resrc.c (write_rc_messagetable): Tighten check for invalid
+       message lengths.
+
+       * dwarf.c (display_debug_loc): Pacify the undefined behaviour
+       sanitizer by simplifying address difference calculation.
+       (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
+       order to avoid arithmetic overflows.
+       (frame_display_row): Cast cfa_offset before printing it.
+       (display_debug_frames): Likewise.
+       Check for an unexpected segment size.
+       Chnage type of 'l' local to dwarf_vma and cast it back to an int
+       when printing.
+       (process_cu_tu_index): Tighten check for an invalid ncols value.
+       * readelf.c (process_corefile_note_segment): Check for
+       inote.descdata extending beyond the end of the section.
+       (process_v850_notes): Likewise.
+
+2015-02-26  Terry Guo  <terry.guo@arm.com>
+
+       * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
+       display it.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * objcopy.c (init_section_add): New function.
+       (section_add_load_file): New function.
+       (copy_main): Make use of new functions.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * od-elf32_avr.c: Add elf32-avr.h include.
+       (OPT_AVRPROP): Define.
+       (options[]): Add 'avr-prop' entry.
+       (elf32_avr_help): Add avr-prop help text.
+       (elf32_avr_dump_avr_prop): New function.
+       (elf32_avr_dump): Add check for avr-prop.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_flags): Remove deprecated V850 machine
+       flags.
+       (get_v850_section_type_name): New function.  Handles V850 special
+       sections.
+       (get_section_type_name): Add support for V850.
+       (get_v850_elf_note_type): New function.  Returns the name of a
+       V850 note.
+       (print_v850_note): New function.  Prints a V850 note.
+       (process_v850_notes): New function.  Prints V850 notes.
+       (process_note_sections): Add support for V850.
+
+2015-02-24  Mike Frysinger  <vapier@gentoo.org>
+
+       PR binutils/17531
+       * readelf.c (process_symbol_table): Declare chained.  Increment it
+       in every loop.  Abort when chained is larger than nchains.  Move
+       error check outside of chain loop.
+
+2015-02-24  Dmitry Antipov  <dantipov@nvidia.com>
+
+       * readelf.c (find_symbol_for_address): Use a binary search to
+       speed up symbol location.  Skip check for function symbol type.
+       (*_unw_aux_info): Add funtab and nfuns fields contains a sorted
+       list of function symbols.
+       (dump_ia64_unwind): Initialise the funtab and nfuns fields and
+       pass them to find_symbol_for_address.
+       (dump_hppa_unwind): Likewise.
+       (arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
+       (dump_arm_unwind): Initialise the funtab and nfuns fields.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (dump_section): Extend the warning message displayed
+       when a section cannot be loaded.
+
+2015-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * readelf.c (process_program_headers): Add newline to warning
+       message.
+
+2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
+       NT_S390_VXRS_HIGH.
+
+2015-02-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * dwarf.c (read_leb128): Fix test for shift becoming too large.
+
+       * coffgrok.c (do_define): Add check for type size overflow.
+       * srconv.c (walk_tree_sfile): Check that enough sections are
+       available before parsing.
+       (prescan): Likewise.
+
+       PR binutils/17531
+       * dwarf.c (display_debug_aranges): Add check for an excessive
+       ar_length value.
+       (process_cu_tu_index): Check for a row * columns sum being too
+       large.
+
+2015-02-13  Alan Modra  <amodra@gmail.com>
+
+       * dwarf.c: Formatting, whitespace.
+       (process_debug_info): Style fix.
+
+2015-02-11  Nick Clifton  <nickc@redhat.com>
+
+       * rl78-decode.opc: Add 'a' attribute to instructions that support
+       [HL+0] addressing.
+       * rl78-decode.c: Regenerate.
+       * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
+       addresses.
+
+2015-02-11  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * dwarf.c (display_debug_pubnames_worker): Work around compiler
+       bug checking address ranges.
+       (display_debug_frames): Likewise.
+       (display_gdb_index): Likewise.
+       (process_cu_tu_index): Add range check on the ncols value.
+
+2015-02-10  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * dwarf.c (eh_addr_size): Use an unsigned type.
+       (size_of_encoded_value): Return an unsigned type.
+       (read_leb128): Break if the shift becomes too big.
+       (process_extended_line_op): Do not read the address if the length
+       is too long.
+       (read_cie): Warn and fail if the pointer size or segment size are
+       too big.
+       * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
+       structure definition.
+       (DWARF2_External_PubNames): Likewise.
+       (DWARF2_External_CompUnit): Likewise.
+       (DWARF2_External_ARange): Likewise.
+       (DWARF2_Internal_LineInfo): Use dwarf_vma type for
+       li_prologue_length.
+       (eh_addr_size): Update prototype.
+
+       PR binutils/17531
+       * dwarf.c (process_debug_info): Zero the debug information array
+       since correct initialisation cannot be relied upon.
+       (process_cu_tu_index): Improve range checks.
+
+       PR binutils/17531
+       * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
+       offset.
+       * readelf.c (dump_relocations): Handle printing offsets which are
+       MIN_INT.
+       (process_corefile_note_segment): Add range check of the namesz
+       field.
+
+2015-02-09  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
+       and DW_LANG_Fortran08.
+
+2015-02-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * dwarf.c (display_debug_frames): Fix range checks to work on
+       32-bit binaries complied on a 64-bit host.
+
+       PR binutils/17531
+       * dwarf.c (xcmalloc): Fail if the arguments are too big.
+       (xcrealloc): Likewise.
+       (xcalloc2): Likewise.
+       * readelf.c (process_mips_specific): Fail if an option has an
+       invalid size.
+
+2015-02-05  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/17926
+       * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
+
+2015-02-04  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * dwarf.c (read_and_display_attr_value): Test for a block length
+       being so long that it wraps around to before the start of the block.
+       (process_debug_info): Test for section_begin wrapping around to
+       before the start of the section.
+       (display_gdb_index): Test for num_cus being so large that the end
+       address wraps around to before the start of the section.
+       (process_cu_tu_index): Test for j being so large that the section
+       index pool wraps around to before the start of the section.
+
+2015-02-03  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * dwarf.c (process_debug_info): Add range check.
+       (display_debug_pubnames_worker): Likewise.
+       (display_gdb_index): Fix range check.
+       (process_cu_tu_index): Add range check.
+       * readelf.c (get_data): Change parameter types from size_t to
+       bfd_size_type.  Add checks for loss of accuracy when casting from
+       bfd_size_type to size_t.
+       (get_dynamic_data): Likewise.
+       (process_section_groups): Limit number of error messages.
+
+2015-02-03  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * objdump.c (display_any_bfd): Fail if archives nest too deeply.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * readelf.c: Add FT32 support.
+
+2015-01-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * dlltool.c (identify_search_archive): If the last archive was the
+       same as the current archive, terminate the loop.
+
+       * addr2line.c (slurp_symtab): If the symcount is zero, free the
+       symbol table pointer.
+
+       * rcparse.y: Add checks to avoid integer divide by zero.
+       * rescoff.c (read_coff_rsrc): Add check on the size of the
+       resource section.
+       (read_coff_res_dir): Add check on the nesting level.
+       Check for resource names overrunning the buffer.
+       * resrc.c (write_rc_messagetable): Update formatting.
+       Add check of 'elen' being zero.
+
+2015-01-23  Nick Clifton  <nickc@redhat.com>
+
+       * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
+       by recent delta, when compiling on for a 32-bit host.
+
+2015-01-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * addr2line.c (main): Call bfd_set_error_program_name.
+       * ar.c (main): Likewise.
+       * coffdump.c (main): Likewise.
+       * cxxfilt.c (main): Likewise.
+       * dlltool.c (main): Likewise.
+       * nlmconv.c (main): Likewise.
+       * nm.c (main): Likewise.
+       * objdump.c (main): Likewise.
+       * size.c (main): Likewise.
+       * srconv.c (main): Likewise.
+       * strings.c (main): Likewise.
+       * sysdump.c (main): Likewise.
+       * windmc.c (main): Likewise.
+       * windres.c (main): Likewise.
+       * objcopy.c (main): Likewise.
+       (copy_relocations_in_section): Check for relocs without associated
+       symbol pointers.
+
+2015-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * MAINTAINERS: Add self to ARM maintainers list.
+
+2015-01-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffgrok.c (do_type): Check that computed ref exists.
+       (doit): Add range checks when computing section for scope.
+
+2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (process_debug_info): Properly check abbrev size.
+
+2015-01-12  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * dwarf.c (process_debug_info): Check for abbrev_base being larger
+       than the section size.
+       (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
+       arrays.
+       (xcalloc2): New function.  Like xcalloc, but checks for overflow.
+       (display_debug_addr): Use xcalloc to allocate the debug_addr_info
+       array.  Check for an address_base that is too large.
+
+       * dwarf.h (xcalloc2): Prototype.
+
+2015-01-12  Alan Modra  <amodra@gmail.com>
+
+       * prdbg.c (print_debugging_info): Don't use void* for function
+       pointer param.
+       * budbg.h (print_debugging_info): Update prototype.
+
+2015-01-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * ojcopy.c (copy_object): Free the symbol table if no symbols
+       could be loaded.
+       (copy_file): Use bfd_close_all_done to close files that could not
+       be copied.
+
+       * sysdump.c (getINT): Fail if reading off the end of the buffer.
+       Replace call to abort with a call to fatal.
+       (getCHARS): Prevetn reading off the end of the buffer.
+
+       * nlmconv.c (i386_mangle_relocs): Skip relocs without an
+       associated symbol.
+       (powerpc_mangle_relocs): Skip unrecognised relocs.  Check address
+       range before applying a reloc.
+
+2015-01-07  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * dlltool.c (scan_obj_file): Break loop if the last archive
+       displayed matches the current archive.
+
+       * objdump.c (display_any_bfd): Add a depth limit to nested archive
+       display in order to avoid infinite loops.
+       * srconv.c: Replace calls to abort with calls to fatal with an
+       error message.
+
+2015-01-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * coffdump.c (dump_coff_section): Check for a symbol being
+       available before printing its name.
+       (main): Check the return value from coff_grok.
+       * coffgrok.c: Reformat and tidy.
+       Add range checks to most functions.
+       (coff_grok): Return NULL if the input bfd is not in a COFF
+       format.
+       * coffgrok.h: Reformat and tidy.
+       (struct coff_section): Change the nrelocs field to unsigned.
+       * srconv.c (main): Check the return value from coff_grok.
+
+2015-01-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * nm.c (print_symbol): Add 'is_synthetic' parameter.  Use it to
+       help initialize the info.elfinfo field.
+       (print_size_symbols): Add 'synth_count' parameter.  Use it to set
+       the is_synthetic parameter when calling print_symbol.
+       (print_symbols): Likewise.
+       (display_rel_file): Pass synth_count to printing function.
+       (display_archive): Break loop if the last archive displayed
+       matches the current archive.
+       * size.c (display_archive): Likewise.
+
+2015-01-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * dwarf.c (alloc_num_debug_info_entries): New variable.
+       (process_debug_info): Set it.  Use it to avoid displaying
+       attributes for which there is no info.
+       (display_debug_abbrev): Check that the debug_info_entry index is
+       valid before using it.
+       (display_loc_list_dwo): Likewise.
+       (process_cu_tu_index): Add range check for an overlarge dw_sect
+       value.
+       (free_debug_memory): Reset alloc_num_debug_info_entries.
+       * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
+       be indentified.
+       (dynamic_section_mips_val): Warn if the timestamp is invalid.
+       (print_mips_got_entry): Add a data_end parameter.  Warn if a read
+       would go beyond the end of the data, and return an error value.
+       (process_mips_specific): Do not read options from beyond the end
+       of the section.
+       Correct code to display optional data at the end of an option.
+       Warn if there are too many GOT symbols.
+       Update calls to print_mips_got_entry, and handle error returns.
+
+2015-01-05  Daniel Klauer  <daniel.c.klauer@web.de>
+
+       PR binutils/17489
+       * doc/binutils.texi (dlltool): Correct description of --kill-at
+       option.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       * version.c (print_version): Just print current year.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
deleted file mode 100644 (file)
index 1b68ce1..0000000
+++ /dev/null
@@ -1,642 +0,0 @@
-2015-11-30  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * binutils-all/objdump.exp: Add test for .debug_ranges decode.
-       * binutils-all/dw2-ranges.S: New file.
-       * binutils-all/dw2-ranges.W: New file.
-
-2015-10-22  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/add-symbol.d: Run test on mips.  Support either
-       order of NEW and NEWDATA symbols.
-
-2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
-
-       PR binutils/19104
-       * binutils-all/add-symbol.d: New test.
-       * binutils-all/objcopy.exp: Run the new test.
-
-2015-10-15  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/objcopy.exp: Delete trailing whitespace.  Use
-       "string equal" rather than "string match" when making simple
-       string comparisons.  Revert 2008-07-08 host_triplet checks.
-       Perform non-run tests when we can build executable.
-       (strip_executable, strip_executable_with_saving_a_symbol): Move
-       run test later.  Take extra param on whether to perform run test.
-       Update callers.
-       (keep_debug_symbols_and_test_copy): Delete unused vars.
-
-2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lib/utils-lib.exp (run_dump_test): Handle symbolic link when
-       copying source file.
-
-2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/19020
-       * binutils-all/objcopy.exp: Run pr19020a and pr19020b.
-       * lib/utils-lib.exp (run_dump_test): Support binary input.
-       * binutils-all/pr19020.in: New file.
-       * binutils-all/pr19020a.d: Likewise.
-       * binutils-all/pr19020b.d: Likewise.
-
-2015-08-11  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/strip-12.s: Align .bss section.
-       * binutils-all/strip-12.d: Adjust.
-       * binutils-all/symbols-1.d: Allow extraneous symbols.
-       * binutils-all/symbols-2.d: Likewise, and V for weakened syms.
-       * binutils-all/symbols-3.d: Likewise.
-       * binutils-all/symbols-4.d: Likewise.
-
-2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * binutils-all/strip-12.s: Use ".section .bss" instead of ".bss"
-       which isn't supported by all ELF targets.
-
-2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18785
-       * binutils-all/objcopy.exp: Run strip-12.
-       * binutils-all/strip-12.d: New file.
-       * binutils-all/strip-12.s: Likewise.
-
-2015-08-07  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * binutils-all/objcopy.exp: Run new symbol tests.
-       (objcopy_test_symbol_manipulation): New function.
-       * binutils-all/symbols-1.d: New file.
-       * binutils-all/symbols-2.d: New file.
-       * binutils-all/symbols-3.d: New file.
-       * binutils-all/symbols-4.d: New file.
-       * binutils-all/symbols.s: New file.
-
-2015-08-05  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/objcopy.exp (keep_debug_symbols_and_check_links):
-       New proc.  Checks that debug-info-only binaries retain the
-       sh_link field in stripped sections.
-
-2015-08-04  Nick Clifton  <nickc@redhat.com>
-
-       * lib/utils-lib.exp (run_dump_test): Document DUMPPROG, readelf
-       and size parameters.  Alpha-sort switch tables.  Include
-       addr2line, and size in list of possible auto-detected dump
-       programs.
-
-2015-07-24  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/localize-hidden-1.d: Allow for extra symbols in the
-       output.
-       * binutils-all/strip-11.d: Skip for the RL78.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp: Update.
-
-2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18656
-       * binutils-all/compress.exp (convert_test): New proc.
-       Run conversion tests between x86-64 and x32.
-
-2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/dw2-3.W: Updated to accept .debug_* sections.
-
-2015-05-20  Ed Maste  <emaste@freebsd.org>
-
-       * lib/binutils-common.exp (is_elf_format): Include *-*-freebsd* except
-       i?86-*-freebsd\[12\].*.
-       * (is_aout_format): Update FreeBSD to i?86-*-freebsd\[12\].*.
-
-2015-05-18  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/dw2-3.S: Replace .int with .4byte.
-
-2015-05-15  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/z.s: New test.  Checks the --decompress option to
-       readelf.
-       * binutils-all/readelf.exp: Run the test.
-       * binutils-all/readelf.z: Expected output from readelf.
-
-2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp: Replace "$OBJDUMP -s -j .debug_info"
-       with "$OBJDUMP -W".
-       * binutils-all/libdw2-compressedgabi.out: Updated.
-
-2015-05-15  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18374
-       * binutils-all/pr18374.s: New test file.
-       * binutils-all/readelf.exp: Assemble and run the new test.
-       * binutils-all/readelf.pr18374: Expected output from readelf.
-
-2015-05-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/elfedit-1.d: Also skip x86_64-*-nacl*.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/elfedit-1.d: Skip x86_64-*-gnux32.
-       * lib/utils-lib.exp (run_dump_test): Allow mixing target and
-       not-target directives.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/objdump.exp (cpus_expected): Append iamcu.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/elfedit-5.d: New file.
-       * binutils-all/elfedit.exp: Run elfedit-5.
-
-2015-04-30  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/objdump.exp (cpus_expected): Add MeP CPU names.
-
-2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18209
-       * binutils-all/compress.exp: Replace dw2-3.W with dw2-3gabi.W
-       on zlib-gabi output.
-       * binutils-all/dw2-1.W: Convert section names to .zdebug_*.
-       * binutils-all/dw2-3.W: Likewise.
-       * binutils-all/objdump.W: Likewise.
-       * binutils-all/dw2-3gabi.W: New file.
-
-2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/i386/compressed-1b.d: Don't hardcode offset of
-       .shstrtab section.
-       * binutils-all/i386/compressed-1c.d: Likewise.
-       * binutils-all/readelf.s-64: Likewise.
-       * binutils-all/x86-64/compressed-1b.d: Likewise.
-       * binutils-all/x86-64/compressed-1c.d: Likewise.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compress.exp: Add tests for
-       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
-       * binutils-all/dw2-3.rS: New file.
-       * binutils-all/dw2-3.rt: Likewise.
-       * binutils-all/libdw2-compressedgabi.out: Likewise.
-
-2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp: Remove is_zlib_supported check.
-       * binutils-all/objdump.exp: Likewise.
-       * binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
-       * lib/utils-lib.exp (run_dump_test): Likewise.
-       * lib/binutils-common.exp (is_zlib_supported): Removed.
-
-2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp (compression_used): Remove "/dev/null"
-       from remote_exec.
-
-2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp (compression_used): New.
-       Xfail test if compression didn't make the section smaller.
-
-2015-04-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp (testfile): Remove suffix.
-       (compressedfile): Likewise.
-       (compressedfile2): Likewise.
-       (libfile): Likewise.
-       (testfile3): New.
-       (compressedfile3): Likewise.
-       Updated.
-       Add a dw2-3.S test.
-       (${libfile}.a): Add ${compressedfile3}.o.
-       * binutils-all/dw2-3.S: New file.
-       * binutils-all/dw2-3.W: Likewise.
-       * binutils-all/libdw2-compressed.out: Updated.
-       * binutils-all/libdw2.out: Likewise.
-
-2015-04-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lib/binutils-common.exp (is_zlib_supported): Always return 1.
-
-2015-04-02  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/readelf.ss-64: Move possible location of the $d
-       mapping symbol.
-
-2015-03-26  Renlin Li  <renlin.li@arm.com>
-
-       * binutils-all/readelf.s-64: Support aarch64 case.
-       * binutils-all/readelf.ss-64: Likewise.
-
-2015-03-11  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/update-section.exp: Only run on ELF targets.
-
-2015-03-03  Jiong Wang  <jiong.wang@arm.com>
-
-       * binutils-all/arm/rvct_symbol.s: New testcase.
-       * binutils-all/arm/objdump.exp: Run it.
-
-2015-02-26  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * binutils-all/update-1.s: New file.
-       * binutils-all/update-2.s: New file.
-       * binutils-all/update-3.s: New file.
-       * binutils-all/update-4.s: New file.
-       * binutils-all/update-section.exp: New file.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/objcopy.exp: Skip the strip-10 test for the V850.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-12-26  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/strip-11.d: New test.
-       * binutils-all/objcopy.exp: Run it.
-
-2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * binutils-all/objcopy.exp: Skip strip-10 for Visium.
-
-2014-09-12  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * binutils-all/objcopy.exp: Add mips*-img-elf* target triple.
-       * binutils-all/readelf.exp: Likewise
-
-2014-09-06  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * binutils-all/readelf.ss-mips: Account for new sections.
-
-2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * binutils-all/readelf.s: Account for .MIPS.abiflags and
-       .gnu.attributes.
-       * binutils-all/readelf.ss-tmips: Likewise.
-       * binutils-all/strip-3.d: Likewise.
-
-2014-07-10  Will Newton  <will.newton@linaro.org>
-
-       * binutils-all/objcopy.exp: Disable the strip-10 test on
-       non-EABI ARM configurations.
-
-2014-06-03  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/ar.exp: Skip tests involving bfdtest1 and bfdtest2
-       if these executables are not present.
-
-2014-04-30  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/debug_str.s: New test.
-       * binutils-all/debug_str.d: New test control file.
-       * binutils-all/compress.exp: Run debug_str test.
-
-2014-04-22  Christian Svensson  <blue@cmd.nu>
-
-       * binutils-all/objcopy.exp: Remove openrisc and or32 support.  Add
-       support for or1k.
-       * binutils-all/objdump.exp: Likewise.
-       * binutils-all/dw2-decodedline-1.S: Likewise.
-
-2014-03-26  Jiong Wang  <jiong.wang@arm.com>
-
-       * binutils-all/aarch64/aarch64.exp: New test driver for AArch64.
-       * binutils-all/aarch64/unallocated-encoding.s: New testcase.
-       * binutils-all/aarch64/unallocated-encoding.d: Ditto.
-
-2014-03-17  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/readelf.ss: Add skip of MSP430 defined symbols.
-
-2014-01-29  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/16318
-       * binutils-all/strip-10.d: Revert previous delta.
-
-2014-01-28  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/16318
-       * binutils-all/strip-10.d: Allow "System V" in the osabi field.
-
-2013-12-20  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/16218
-       * binutils-all/dw2-1.W: Update expected objdump output.
-       * binutils-all/i386/compressed-1a.d: Likewise.
-       * binutils-all/objdump.W: Likewise.
-       * binutils-all/x86-64/compressed-1a.d: Likewise.
-
-2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/16317
-       * binutils-all/readelf.s: Updated.
-       * binutils-all/readelf.s-64: Likewise.
-
-2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-           Wei-Cheng Wang  <cole945@gmail.com>
-
-       * binutils-all/objdump.exp: Add NDS32 cpu.
-       * binutils-all/readelf.r: Skip extra reloc created by NDS32.
-
-2013-12-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/16318
-       * binutils-all/strip-10.d: Check OS/ABI.
-
-2013-12-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * binutils-all/windres/escapex-2.rc: Remove +x file mode.
-       * binutils-all/windres/version_small.rc: Likewise.
-       * binutils-all/windres/version_small.rsd: Likewise.
-
-2013-12-03  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/windres/windres.exp: Run for x86_64-pc-cygwin.
-       Add test of "objump -p" output.
-
-2013-11-27  Matthew Fortune <matthew.fortune@imgtec.com>
-
-       * binutils-all/objcopy.exp: Consider mips-mti-elf the same as
-       mips-sde-elf
-       * binutils-all/readelf.exp: Likewise
-
-2013-11-21  Tristan Gingold  <gingold@adacore.com>
-
-       * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test.
-
-2013-11-02  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/x86-64/compressed-1a.d: Allow wide display of addresses.
-
-       * binutils-all/dw2-1.S: Use .4byte rather than .int.
-       * binutils-all/dw2-2.S: Likewise.
-
-2013-10-24  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/objdump.exp (cps_expected): Add MSP430 to list.
-
-2013-09-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/x86-64/compressed-1a.d: Updated for 64-bit addresses.
-
-2013-09-12  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/x86-64/compressed-1a.d: Update expected output to
-       allow for 64-bit addresses.
-
-2013-08-22  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/nm.exp: --size-sort test: Add more ELF-like
-       targets.
-       * binutils-all/nm-1.s: Use .byte instead of .long.
-       Provide a terminating symbol.
-
-2013-08-21  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * binutils-all/nm.exp: Revert last change.  Instead use nm-elf-1.s
-       for mmix-knuth-mmixware.
-
-2013-08-20  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * binutils-all/nm.exp: Xfail test for nm --size-sort for
-       mmix-knuth-mmixware.
-
-2013-08-19  Tristan Gingold  <gingold@adacore.com>
-
-       * binutils-all/nm.exp: Add a test for nm --size-sort
-       * binutils-all/nm-elf-1.s: New file.
-       * binutils-all/nm-1.s: New file.
-
-2013-05-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/i386/compressed-1b.d: Updated for text/data/bss
-       section alignment change.
-       * binutils-all/i386/compressed-1c.d: Likewise.
-       * binutils-all/x86-64/compressed-1b.d: Likewise.
-       * binutils-all/x86-64/compressed-1c.d: Likewise.
-
-2013-05-28  Cary Coutant  <ccoutant@google.com>
-
-       * binutils-all/dw2-1.W: Adjust expected output.
-       * binutils-all/objdump.W: Likewise.
-       * binutils-all/i386/compressed-1a.d: Likewise.
-       * binutils-all/x86-64/compressed-1a.d: Likewise.
-
-2013-05-02  Nick Clifton  <nickc@redhat.com>
-
-       * readelf.exp: Expect -wi test to fail for the MSP430.
-
-2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * lib/binutils-common.exp (is_elf_format): Also exclude
-       *-*-linux*ecoff*.
-
-2013-02-26  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/15191
-       * binutils-all/readelf.n: Updare expected output from readelf.
-
-2013-02-14  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.
-       * binutils-all/mips/mixed-mips16.d: Update accordingly.
-
-2013-02-13  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * binutils-all/mips/mixed-micromips.d: New test.
-       * binutils-all/mips/mixed-mips16.d: New test.
-       * binutils-all/mips/mixed-micromips.s: New test source.
-       * binutils-all/mips/mixed-mips16.s: New test source.
-       * binutils-all/mips/mips.exp: New file.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/windres/README: Add copyright notice.
-
-2012-11-27  Roland McGrath  <mcgrathr@google.com>
-
-       * lib/binutils-common.exp (is_zlib_supported): New function.
-       * lib/utils-lib.exp (run_dump_test): If as options include
-       --compress-debug-sections and zlib is not available, report
-       the test as unsupported.
-       * binutils-all/compress.exp: Bail out if zlib is not available.
-       * binutils-all/objdump.exp (objdump compressed debug):
-       Mark unsupported if zlib is not available.
-       * binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
-
-2012-11-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/14567
-       * binutils-all/ar.exp (bfdtest1): Removed.
-       (long_filenames): Take bfdtests.
-       (thin_archive): Likewise.
-       (thin_archive_with_nested): Likewise.
-       (bfdtests): New.
-       Pass $bfdtests to long_filenames, thin_archive and
-       thin_archive_with_nested.
-
-2012-10-29  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/copy-3.d: Exclude all cygwin and mingw targets,
-       and rs6000.
-
-2012-10-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/ar.exp (bfdtest1): Remove findfile.
-
-2012-10-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/dw2-1.W: Updated.
-
-2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/compress.exp: Add an objdump test.
-       * binutils-all/dw2-1.W: New file.
-
-2012-08-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/ar.exp (long_filenames): Remove extra verbose
-       before binutils_run.
-       (thin_archive): Likewise.
-       (thin_archive_with_nested): Likewise.  Also run bfdtest1 on
-       $archive2.
-
-2012-08-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/14481
-       * ar.exp (bfdtest1): New.
-       (long_filenames): Run bfdtest1.
-       (thin_archive): Likewise.
-       (thin_archive_with_nested): Likewise.
-
-2012-08-13  Ian Bolton  <ian.bolton@arm.com>
-           Laurent Desnogues  <laurent.desnogues@arm.com>
-           Jim MacArthur  <jim.macarthur@arm.com>
-           Marcus Shawcroft  <marcus.shawcroft@arm.com>
-           Nigel Stephens  <nigel.stephens@arm.com>
-           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-           Richard Earnshaw  <rearnsha@arm.com>
-           Sofiane Naci  <sofiane.naci@arm.com>
-           Tejas Belagod  <tejas.belagod@arm.com>
-           Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * objdump.exp: Add AArch64.
-
-2012-08-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/14420
-       * binutils-all/i386/compressed-1a.d: Updated.
-       * binutils-all/objdump.W: Likewise.
-       * binutils-all/readelf.wa: Likewise.
-       * binutils-all/x86-64/compressed-1a.d: Likewise.
-
-2012-07-28  Kai Tietz  <ktietz@redhat.com>
-
-       * binutils-all/windres/version_small.rc: New test.
-       * binutils-all/windres/version_small.rsd: Likewise.
-
-2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/14319
-       * binutils-all/compress.exp: Test compress empty debug sections.
-
-       * binutils-all/dw2-empty.S: New file.
-
-2012-06-07  Thomas Schwinge  <thomas@codesourcery.com>
-
-       * binutils-all/i386/i386.exp: Don't skip for x86_64-*-linux*.
-
-2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * binutils-all/hppa/objdump.exp: Expect addend as signed.
-
-2012-05-17  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/objdump.W: Update.
-       * binutils-all/readelf.wa: Update.
-       * binutils-all/i386/compressed-1a.d: Update.
-       * binutils-all/x86-64/compressed-1a.d: Update.
-
-2012-05-16  Meador Inge  <meadori@codesourcery.com>
-
-       * binutils-all/arm/objdump.exp:
-       STMFD/LDMIA sp!, {reg} don't disassemble to PUSH/POP {reg} any longer.
-
-2012-04-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/13947
-       * binutils-all/i386/compressed-1b.d: Remove empty REL section.
-       * binutils-all/i386/compressed-1c.d: Likewise.
-
-       * binutils-all/x86-64/compressed-1b.d: Remove empty RELA
-       section.
-       * binutils-all/x86-64/compressed-1c.d: Likewise.
-
-2012-04-03  Roland McGrath  <mcgrathr@google.com>
-
-       * lib/binutils-common.exp (is_elf_format): Consider *-*-nacl* to
-       be ELF too.
-
-       * binutils-all/elfedit-4.d: Add "#as: --64" option.
-
-       * binutils-all/i386/i386.exp: Accept nacl targets too.
-       * binutils-all/x86-64/x86-64.exp: Likewise.
-
-2012-03-13  Hans-Peter Nilsson  <hp@axis.com>
-
-       PR binutils/3807
-       * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed
-       mips-targets.
-
-2012-02-25  Walter Lee  <walt@tilera.com>
-
-       * binutils-all/objdump.exp (cpus_expected): Add tilegx.
-
-2012-02-14  Alan Modra  <amodra@gmail.com>
-
-       * binutils-all/dlltool.exp: Add setup_xfail.
-
-       * binutils-all/dw2-decodedline.S: Always have whitespace before
-       directives.
-       * binutils-all/version.s: Likewise.
-       * binutils-all/objdump.exp (dw2-decodedline): Don't run for
-       hppa64*-*-hpux*, i370-*-*, i960-*-*.
-
-2012-02-11  Kai Tietz  <ktietz@redhat.com>
-
-       * binutils-all/version.def: New file.
-       * binutils-all/dlltool.exp: Add version-dll test.
-
-2012-02-02  Nick Clifton  <nickc@redhat.com>
-
-       * binutils-all/readelf.n: Add #pass to cope with targets that add
-       their own notes.
-
-2012-02-01  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/13482
-       * binutils-all/version.s: New test source file.
-       * binutils-all/readelf.n: New file: expected readelf output.
-       * binutils-all/readelf.exp: Add test of .note section contents.
-
-For older changes see ChangeLog-0411
-\f
-Copyright (C) 2012-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/binutils/testsuite/ChangeLog-1215 b/binutils/testsuite/ChangeLog-1215
new file mode 100644 (file)
index 0000000..1b68ce1
--- /dev/null
@@ -0,0 +1,642 @@
+2015-11-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * binutils-all/objdump.exp: Add test for .debug_ranges decode.
+       * binutils-all/dw2-ranges.S: New file.
+       * binutils-all/dw2-ranges.W: New file.
+
+2015-10-22  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/add-symbol.d: Run test on mips.  Support either
+       order of NEW and NEWDATA symbols.
+
+2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
+
+       PR binutils/19104
+       * binutils-all/add-symbol.d: New test.
+       * binutils-all/objcopy.exp: Run the new test.
+
+2015-10-15  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/objcopy.exp: Delete trailing whitespace.  Use
+       "string equal" rather than "string match" when making simple
+       string comparisons.  Revert 2008-07-08 host_triplet checks.
+       Perform non-run tests when we can build executable.
+       (strip_executable, strip_executable_with_saving_a_symbol): Move
+       run test later.  Take extra param on whether to perform run test.
+       Update callers.
+       (keep_debug_symbols_and_test_copy): Delete unused vars.
+
+2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/utils-lib.exp (run_dump_test): Handle symbolic link when
+       copying source file.
+
+2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/19020
+       * binutils-all/objcopy.exp: Run pr19020a and pr19020b.
+       * lib/utils-lib.exp (run_dump_test): Support binary input.
+       * binutils-all/pr19020.in: New file.
+       * binutils-all/pr19020a.d: Likewise.
+       * binutils-all/pr19020b.d: Likewise.
+
+2015-08-11  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/strip-12.s: Align .bss section.
+       * binutils-all/strip-12.d: Adjust.
+       * binutils-all/symbols-1.d: Allow extraneous symbols.
+       * binutils-all/symbols-2.d: Likewise, and V for weakened syms.
+       * binutils-all/symbols-3.d: Likewise.
+       * binutils-all/symbols-4.d: Likewise.
+
+2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * binutils-all/strip-12.s: Use ".section .bss" instead of ".bss"
+       which isn't supported by all ELF targets.
+
+2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18785
+       * binutils-all/objcopy.exp: Run strip-12.
+       * binutils-all/strip-12.d: New file.
+       * binutils-all/strip-12.s: Likewise.
+
+2015-08-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * binutils-all/objcopy.exp: Run new symbol tests.
+       (objcopy_test_symbol_manipulation): New function.
+       * binutils-all/symbols-1.d: New file.
+       * binutils-all/symbols-2.d: New file.
+       * binutils-all/symbols-3.d: New file.
+       * binutils-all/symbols-4.d: New file.
+       * binutils-all/symbols.s: New file.
+
+2015-08-05  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/objcopy.exp (keep_debug_symbols_and_check_links):
+       New proc.  Checks that debug-info-only binaries retain the
+       sh_link field in stripped sections.
+
+2015-08-04  Nick Clifton  <nickc@redhat.com>
+
+       * lib/utils-lib.exp (run_dump_test): Document DUMPPROG, readelf
+       and size parameters.  Alpha-sort switch tables.  Include
+       addr2line, and size in list of possible auto-detected dump
+       programs.
+
+2015-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/localize-hidden-1.d: Allow for extra symbols in the
+       output.
+       * binutils-all/strip-11.d: Skip for the RL78.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp: Update.
+
+2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18656
+       * binutils-all/compress.exp (convert_test): New proc.
+       Run conversion tests between x86-64 and x32.
+
+2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/dw2-3.W: Updated to accept .debug_* sections.
+
+2015-05-20  Ed Maste  <emaste@freebsd.org>
+
+       * lib/binutils-common.exp (is_elf_format): Include *-*-freebsd* except
+       i?86-*-freebsd\[12\].*.
+       * (is_aout_format): Update FreeBSD to i?86-*-freebsd\[12\].*.
+
+2015-05-18  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/dw2-3.S: Replace .int with .4byte.
+
+2015-05-15  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/z.s: New test.  Checks the --decompress option to
+       readelf.
+       * binutils-all/readelf.exp: Run the test.
+       * binutils-all/readelf.z: Expected output from readelf.
+
+2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp: Replace "$OBJDUMP -s -j .debug_info"
+       with "$OBJDUMP -W".
+       * binutils-all/libdw2-compressedgabi.out: Updated.
+
+2015-05-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18374
+       * binutils-all/pr18374.s: New test file.
+       * binutils-all/readelf.exp: Assemble and run the new test.
+       * binutils-all/readelf.pr18374: Expected output from readelf.
+
+2015-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/elfedit-1.d: Also skip x86_64-*-nacl*.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/elfedit-1.d: Skip x86_64-*-gnux32.
+       * lib/utils-lib.exp (run_dump_test): Allow mixing target and
+       not-target directives.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/objdump.exp (cpus_expected): Append iamcu.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/elfedit-5.d: New file.
+       * binutils-all/elfedit.exp: Run elfedit-5.
+
+2015-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/objdump.exp (cpus_expected): Add MeP CPU names.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18209
+       * binutils-all/compress.exp: Replace dw2-3.W with dw2-3gabi.W
+       on zlib-gabi output.
+       * binutils-all/dw2-1.W: Convert section names to .zdebug_*.
+       * binutils-all/dw2-3.W: Likewise.
+       * binutils-all/objdump.W: Likewise.
+       * binutils-all/dw2-3gabi.W: New file.
+
+2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/i386/compressed-1b.d: Don't hardcode offset of
+       .shstrtab section.
+       * binutils-all/i386/compressed-1c.d: Likewise.
+       * binutils-all/readelf.s-64: Likewise.
+       * binutils-all/x86-64/compressed-1b.d: Likewise.
+       * binutils-all/x86-64/compressed-1c.d: Likewise.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.exp: Add tests for
+       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
+       * binutils-all/dw2-3.rS: New file.
+       * binutils-all/dw2-3.rt: Likewise.
+       * binutils-all/libdw2-compressedgabi.out: Likewise.
+
+2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp: Remove is_zlib_supported check.
+       * binutils-all/objdump.exp: Likewise.
+       * binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
+       * lib/utils-lib.exp (run_dump_test): Likewise.
+       * lib/binutils-common.exp (is_zlib_supported): Removed.
+
+2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp (compression_used): Remove "/dev/null"
+       from remote_exec.
+
+2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp (compression_used): New.
+       Xfail test if compression didn't make the section smaller.
+
+2015-04-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp (testfile): Remove suffix.
+       (compressedfile): Likewise.
+       (compressedfile2): Likewise.
+       (libfile): Likewise.
+       (testfile3): New.
+       (compressedfile3): Likewise.
+       Updated.
+       Add a dw2-3.S test.
+       (${libfile}.a): Add ${compressedfile3}.o.
+       * binutils-all/dw2-3.S: New file.
+       * binutils-all/dw2-3.W: Likewise.
+       * binutils-all/libdw2-compressed.out: Updated.
+       * binutils-all/libdw2.out: Likewise.
+
+2015-04-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/binutils-common.exp (is_zlib_supported): Always return 1.
+
+2015-04-02  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/readelf.ss-64: Move possible location of the $d
+       mapping symbol.
+
+2015-03-26  Renlin Li  <renlin.li@arm.com>
+
+       * binutils-all/readelf.s-64: Support aarch64 case.
+       * binutils-all/readelf.ss-64: Likewise.
+
+2015-03-11  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/update-section.exp: Only run on ELF targets.
+
+2015-03-03  Jiong Wang  <jiong.wang@arm.com>
+
+       * binutils-all/arm/rvct_symbol.s: New testcase.
+       * binutils-all/arm/objdump.exp: Run it.
+
+2015-02-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * binutils-all/update-1.s: New file.
+       * binutils-all/update-2.s: New file.
+       * binutils-all/update-3.s: New file.
+       * binutils-all/update-4.s: New file.
+       * binutils-all/update-section.exp: New file.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/objcopy.exp: Skip the strip-10 test for the V850.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-12-26  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/strip-11.d: New test.
+       * binutils-all/objcopy.exp: Run it.
+
+2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * binutils-all/objcopy.exp: Skip strip-10 for Visium.
+
+2014-09-12  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * binutils-all/objcopy.exp: Add mips*-img-elf* target triple.
+       * binutils-all/readelf.exp: Likewise
+
+2014-09-06  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * binutils-all/readelf.ss-mips: Account for new sections.
+
+2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * binutils-all/readelf.s: Account for .MIPS.abiflags and
+       .gnu.attributes.
+       * binutils-all/readelf.ss-tmips: Likewise.
+       * binutils-all/strip-3.d: Likewise.
+
+2014-07-10  Will Newton  <will.newton@linaro.org>
+
+       * binutils-all/objcopy.exp: Disable the strip-10 test on
+       non-EABI ARM configurations.
+
+2014-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/ar.exp: Skip tests involving bfdtest1 and bfdtest2
+       if these executables are not present.
+
+2014-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/debug_str.s: New test.
+       * binutils-all/debug_str.d: New test control file.
+       * binutils-all/compress.exp: Run debug_str test.
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * binutils-all/objcopy.exp: Remove openrisc and or32 support.  Add
+       support for or1k.
+       * binutils-all/objdump.exp: Likewise.
+       * binutils-all/dw2-decodedline-1.S: Likewise.
+
+2014-03-26  Jiong Wang  <jiong.wang@arm.com>
+
+       * binutils-all/aarch64/aarch64.exp: New test driver for AArch64.
+       * binutils-all/aarch64/unallocated-encoding.s: New testcase.
+       * binutils-all/aarch64/unallocated-encoding.d: Ditto.
+
+2014-03-17  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/readelf.ss: Add skip of MSP430 defined symbols.
+
+2014-01-29  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/16318
+       * binutils-all/strip-10.d: Revert previous delta.
+
+2014-01-28  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/16318
+       * binutils-all/strip-10.d: Allow "System V" in the osabi field.
+
+2013-12-20  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/16218
+       * binutils-all/dw2-1.W: Update expected objdump output.
+       * binutils-all/i386/compressed-1a.d: Likewise.
+       * binutils-all/objdump.W: Likewise.
+       * binutils-all/x86-64/compressed-1a.d: Likewise.
+
+2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/16317
+       * binutils-all/readelf.s: Updated.
+       * binutils-all/readelf.s-64: Likewise.
+
+2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+           Wei-Cheng Wang  <cole945@gmail.com>
+
+       * binutils-all/objdump.exp: Add NDS32 cpu.
+       * binutils-all/readelf.r: Skip extra reloc created by NDS32.
+
+2013-12-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/16318
+       * binutils-all/strip-10.d: Check OS/ABI.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * binutils-all/windres/escapex-2.rc: Remove +x file mode.
+       * binutils-all/windres/version_small.rc: Likewise.
+       * binutils-all/windres/version_small.rsd: Likewise.
+
+2013-12-03  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/windres/windres.exp: Run for x86_64-pc-cygwin.
+       Add test of "objump -p" output.
+
+2013-11-27  Matthew Fortune <matthew.fortune@imgtec.com>
+
+       * binutils-all/objcopy.exp: Consider mips-mti-elf the same as
+       mips-sde-elf
+       * binutils-all/readelf.exp: Likewise
+
+2013-11-21  Tristan Gingold  <gingold@adacore.com>
+
+       * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test.
+
+2013-11-02  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/x86-64/compressed-1a.d: Allow wide display of addresses.
+
+       * binutils-all/dw2-1.S: Use .4byte rather than .int.
+       * binutils-all/dw2-2.S: Likewise.
+
+2013-10-24  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/objdump.exp (cps_expected): Add MSP430 to list.
+
+2013-09-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/x86-64/compressed-1a.d: Updated for 64-bit addresses.
+
+2013-09-12  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/x86-64/compressed-1a.d: Update expected output to
+       allow for 64-bit addresses.
+
+2013-08-22  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/nm.exp: --size-sort test: Add more ELF-like
+       targets.
+       * binutils-all/nm-1.s: Use .byte instead of .long.
+       Provide a terminating symbol.
+
+2013-08-21  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * binutils-all/nm.exp: Revert last change.  Instead use nm-elf-1.s
+       for mmix-knuth-mmixware.
+
+2013-08-20  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * binutils-all/nm.exp: Xfail test for nm --size-sort for
+       mmix-knuth-mmixware.
+
+2013-08-19  Tristan Gingold  <gingold@adacore.com>
+
+       * binutils-all/nm.exp: Add a test for nm --size-sort
+       * binutils-all/nm-elf-1.s: New file.
+       * binutils-all/nm-1.s: New file.
+
+2013-05-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/i386/compressed-1b.d: Updated for text/data/bss
+       section alignment change.
+       * binutils-all/i386/compressed-1c.d: Likewise.
+       * binutils-all/x86-64/compressed-1b.d: Likewise.
+       * binutils-all/x86-64/compressed-1c.d: Likewise.
+
+2013-05-28  Cary Coutant  <ccoutant@google.com>
+
+       * binutils-all/dw2-1.W: Adjust expected output.
+       * binutils-all/objdump.W: Likewise.
+       * binutils-all/i386/compressed-1a.d: Likewise.
+       * binutils-all/x86-64/compressed-1a.d: Likewise.
+
+2013-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.exp: Expect -wi test to fail for the MSP430.
+
+2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * lib/binutils-common.exp (is_elf_format): Also exclude
+       *-*-linux*ecoff*.
+
+2013-02-26  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/15191
+       * binutils-all/readelf.n: Updare expected output from readelf.
+
+2013-02-14  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.
+       * binutils-all/mips/mixed-mips16.d: Update accordingly.
+
+2013-02-13  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * binutils-all/mips/mixed-micromips.d: New test.
+       * binutils-all/mips/mixed-mips16.d: New test.
+       * binutils-all/mips/mixed-micromips.s: New test source.
+       * binutils-all/mips/mixed-mips16.s: New test source.
+       * binutils-all/mips/mips.exp: New file.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/windres/README: Add copyright notice.
+
+2012-11-27  Roland McGrath  <mcgrathr@google.com>
+
+       * lib/binutils-common.exp (is_zlib_supported): New function.
+       * lib/utils-lib.exp (run_dump_test): If as options include
+       --compress-debug-sections and zlib is not available, report
+       the test as unsupported.
+       * binutils-all/compress.exp: Bail out if zlib is not available.
+       * binutils-all/objdump.exp (objdump compressed debug):
+       Mark unsupported if zlib is not available.
+       * binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
+
+2012-11-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14567
+       * binutils-all/ar.exp (bfdtest1): Removed.
+       (long_filenames): Take bfdtests.
+       (thin_archive): Likewise.
+       (thin_archive_with_nested): Likewise.
+       (bfdtests): New.
+       Pass $bfdtests to long_filenames, thin_archive and
+       thin_archive_with_nested.
+
+2012-10-29  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/copy-3.d: Exclude all cygwin and mingw targets,
+       and rs6000.
+
+2012-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/ar.exp (bfdtest1): Remove findfile.
+
+2012-10-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/dw2-1.W: Updated.
+
+2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp: Add an objdump test.
+       * binutils-all/dw2-1.W: New file.
+
+2012-08-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/ar.exp (long_filenames): Remove extra verbose
+       before binutils_run.
+       (thin_archive): Likewise.
+       (thin_archive_with_nested): Likewise.  Also run bfdtest1 on
+       $archive2.
+
+2012-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14481
+       * ar.exp (bfdtest1): New.
+       (long_filenames): Run bfdtest1.
+       (thin_archive): Likewise.
+       (thin_archive_with_nested): Likewise.
+
+2012-08-13  Ian Bolton  <ian.bolton@arm.com>
+           Laurent Desnogues  <laurent.desnogues@arm.com>
+           Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+           Richard Earnshaw  <rearnsha@arm.com>
+           Sofiane Naci  <sofiane.naci@arm.com>
+           Tejas Belagod  <tejas.belagod@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * objdump.exp: Add AArch64.
+
+2012-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14420
+       * binutils-all/i386/compressed-1a.d: Updated.
+       * binutils-all/objdump.W: Likewise.
+       * binutils-all/readelf.wa: Likewise.
+       * binutils-all/x86-64/compressed-1a.d: Likewise.
+
+2012-07-28  Kai Tietz  <ktietz@redhat.com>
+
+       * binutils-all/windres/version_small.rc: New test.
+       * binutils-all/windres/version_small.rsd: Likewise.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14319
+       * binutils-all/compress.exp: Test compress empty debug sections.
+
+       * binutils-all/dw2-empty.S: New file.
+
+2012-06-07  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * binutils-all/i386/i386.exp: Don't skip for x86_64-*-linux*.
+
+2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/hppa/objdump.exp: Expect addend as signed.
+
+2012-05-17  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/objdump.W: Update.
+       * binutils-all/readelf.wa: Update.
+       * binutils-all/i386/compressed-1a.d: Update.
+       * binutils-all/x86-64/compressed-1a.d: Update.
+
+2012-05-16  Meador Inge  <meadori@codesourcery.com>
+
+       * binutils-all/arm/objdump.exp:
+       STMFD/LDMIA sp!, {reg} don't disassemble to PUSH/POP {reg} any longer.
+
+2012-04-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/13947
+       * binutils-all/i386/compressed-1b.d: Remove empty REL section.
+       * binutils-all/i386/compressed-1c.d: Likewise.
+
+       * binutils-all/x86-64/compressed-1b.d: Remove empty RELA
+       section.
+       * binutils-all/x86-64/compressed-1c.d: Likewise.
+
+2012-04-03  Roland McGrath  <mcgrathr@google.com>
+
+       * lib/binutils-common.exp (is_elf_format): Consider *-*-nacl* to
+       be ELF too.
+
+       * binutils-all/elfedit-4.d: Add "#as: --64" option.
+
+       * binutils-all/i386/i386.exp: Accept nacl targets too.
+       * binutils-all/x86-64/x86-64.exp: Likewise.
+
+2012-03-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR binutils/3807
+       * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed
+       mips-targets.
+
+2012-02-25  Walter Lee  <walt@tilera.com>
+
+       * binutils-all/objdump.exp (cpus_expected): Add tilegx.
+
+2012-02-14  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/dlltool.exp: Add setup_xfail.
+
+       * binutils-all/dw2-decodedline.S: Always have whitespace before
+       directives.
+       * binutils-all/version.s: Likewise.
+       * binutils-all/objdump.exp (dw2-decodedline): Don't run for
+       hppa64*-*-hpux*, i370-*-*, i960-*-*.
+
+2012-02-11  Kai Tietz  <ktietz@redhat.com>
+
+       * binutils-all/version.def: New file.
+       * binutils-all/dlltool.exp: Add version-dll test.
+
+2012-02-02  Nick Clifton  <nickc@redhat.com>
+
+       * binutils-all/readelf.n: Add #pass to cope with targets that add
+       their own notes.
+
+2012-02-01  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/13482
+       * binutils-all/version.s: New test source file.
+       * binutils-all/readelf.n: New file: expected readelf output.
+       * binutils-all/readelf.exp: Add test of .note section contents.
+
+For older changes see ChangeLog-0411
+\f
+Copyright (C) 2012-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
deleted file mode 100644 (file)
index dd6640e..0000000
+++ /dev/null
@@ -1,467 +0,0 @@
-2015-12-07  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.h (R_PPC64_ENTRY): Define.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-            Peter Bergner <bergner@vnet.ibm.com>
-
-       * powerpc.h (R_POWERPC_REL16DX_HA): Define.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       * s390.h: New file.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.h (R_X86_64_GOTPCRELX): New.
-       (R_X86_64_REX_GOTPCRELX): Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (R_386_GOT32X): New.
-
-2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/19118
-       * elfcpp.h (EM): Add EM_IAMCU.
-
-2015-10-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/19060
-       * elfcpp.h (Chdr::get_ch_type): Change return type to Elf_Word.
-       * elfcpp_internal.h (Chdr_data<64>): Change ch_type to 4 bytes
-       and add ch_reserved.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfcpp.h (Elf_sizes): Add chdr_size.
-       (Chdr): New.
-       (Chdr_write): Likewise.
-       * elfcpp_internal.h (Chdr_data): Likewise.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfcpp.h (SHF): Add SHF_COMPRESSED.
-       (ELFCOMPRESS_ZLIB): New.
-       (ELFCOMPRESS_LOOS): Likewise.
-       (ELFCOMPRESS_HIOS): Likewise.
-       (ELFCOMPRESS_LOPROC): Likewise.
-       (ELFCOMPRESS_HIPROC): Likewise.
-
-2015-04-07  HC Yen <hc.yen@mediatek.com>
-
-       * arm.h: Add TAG_CPU_ARCH_V8 in Tag_CPU_arch EABI attribute.
-
-2015-02-09  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf.h (enum DW_LANG): Add DW_LANG_C_plus_plus_11,
-       DW_LANG_C11, DW_LANG_C_plus_plus_14, DW_LANG_Fortran03 and
-       DW_LANG_Fortran08 from ../include/dwarf2.h.
-
-2015-01-22  Han Shen  <shenhan@google.com>
-
-       * arm.h (R_ARM_IRELATIVE): New dynamic relocation.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-12-25  Alan Modra  <amodra@gmail.com>
-
-       * arm.h: Add enums for Tag_ABI_FP_number_model and Tag_ABI_VFP_args.
-
-2014-09-17  Han Shen  <shenhan@google.com>
-
-       * aarch64.h (R_AARCH64_TLS_DTPREL64): Switch enum value with ...
-       (R_AARCH64_TLS_DTPMOD64): ... enum value.
-
-2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h (E_MIPS_ARCH_32R6, E_MIPS_ARCH_64R6): New enum constants.
-
-2014-09-02  Cary Coutant  <ccoutant@google.com>
-
-       * elfcpp_file.h (Elf_file::shnum): New const function.
-       (Elf_file::shstrndx): New const function.
-       (Elf_file::large_shndx_offset): New const function.
-       (Elf_file::section_name): Add const attribute.
-       (Elf_file::section_header_offset): Likewise.
-
-2014-08-08  Han Shen  <shenhan@google.com>
-
-       * aarch64.h (withdrawn): Replaced with R_AARCH64_withdrawn.
-
-2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * elfcpp.h (PT_MIPS_ABIFLAGS): New program header type.
-
-2014-07-02  Jing Yu  <jingyu@google.com>
-
-       * aarch64.h: New file. New enums for aarch64-elf64 relocations.
-       * elfcpp.h (EM_AARCH64, SHT_AARCH64_ATTRIBUTES, PT_AARCH64_ARCHEXT,
-       PT_AARCH64_UNWIND): New enum constant.
-
-2014-04-22  Christian Svensson  <blue@cmd.nu>
-
-       * elfcpp.h: Remove openrisc and or32 support.
-
-2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * mips.h (R _MIPS16_TLS_GD, R_MIPS16_TLS_LDM, R_MIPS16_TLS_DTPREL_HI16,
-       R_MIPS16_TLS_DTPREL_LO16, R_MIPS16_TLS_GOTTPREL,
-       R_MIPS16_TLS_TPREL_HI16, R_MIPS16_TLS_TPREL_LO16, R_MICROMIPS_26_S1,
-       R_MICROMIPS_HI16, R_MICROMIPS_LO16, R_MICROMIPS_GPREL16,
-       R_MICROMIPS_LITERAL, R_MICROMIPS_GOT16, R_MICROMIPS_PC7_S1,
-       R_MICROMIPS_PC10_S1, R_MICROMIPS_PC16_S1, R_MICROMIPS_CALL16,
-       R_MICROMIPS_GOT_DISP, R_MICROMIPS_GOT_PAGE, R_MICROMIPS_GOT_OFST,
-       R_MICROMIPS_GOT_HI16, R_MICROMIPS_GOT_LO16, R_MICROMIPS_SUB,
-       R_MICROMIPS_HIGHER, R_MICROMIPS_HIGHEST, R_MICROMIPS_CALL_HI16,
-       R_MICROMIPS_CALL_LO16, R_MICROMIPS_SCN_DISP, R_MICROMIPS_JALR,
-       R_MICROMIPS_HI0_LO16, R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM,
-       R_MICROMIPS_TLS_DTPREL_HI16, R_MICROMIPS_TLS_DTPREL_LO16,
-       R_MICROMIPS_TLS_GOTTPREL, R_MICROMIPS_TLS_TPREL_HI16,
-       R_MICROMIPS_TLS_TPREL_LO16, R_MICROMIPS_GPREL7_S2,
-       R_MICROMIPS_PC23_S20, R_MIPS_EH): New enums for relocations (mips16 and
-       micromips).
-       (STO_MIPS_FLAGS): New enum constant.
-       (elf_st_is_mips16): New function.
-       (elf_st_is_micromips): New function.
-       (is_micromips): New function.
-       (abi_n32): New function.
-       (abi_n64): New function.
-       (ODK_NULL, ODK_REGINFO, ODK_EXCEPTIONS, ODK_PAD, ODK_HWPATCH, ODK_FILL,
-       ODK_TAGS, ODK_HWAND, ODK_HWOR, ODK_GP_GROUP, ODK_IDENT): New enum
-       constants.
-       * elfcpp.h (SHT_MIPS_OPTIONS): New enum constant.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.h (R_PPC64_REL24_NOTOC, R_PPC64_ADDR64_LOCAL): Define.
-
-2014-02-06  Andrew Pinski  <apinski@cavium.com>
-
-       * mips.h (E_MIPS_MACH_OCTEON3): New enum constant.
-
-2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.h (R_X86_64_PC32_BND): New.
-       (R_X86_64_PLT32_BND): Likewise.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.h (EF_PPC64_ABI): New enum constant.
-       (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Likewise.
-       (ppc64_decode_local_entry): New function.
-       (ppc64_encode_local_entry): Likewise.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
-       R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
-       R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Define.
-
-2013-03-01  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf.h (enum DW_LANG): Adjust spacing for consistency.
-       (enum DW_SECT): New enum type.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * README: Add copyright notice.
-
-2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
-
-       * arm.h: New enum for EABI soft- and hard-float flags.
-
-2012-09-15  Jiong Wang  <jiwang@tilera.com>
-
-       * tilegx.h: New file.
-       * elfcpp.h: add EM_TILEGX.
-
-2012-08-14  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.h: Add more relocs.
-       (R_PPC_REL16*): Rename to R_POWERPC_REL16*.
-
-2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/14091
-       * x86_64.h (R_X86_64_RELATIVE64): New.
-
-2012-05-01  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING)
-       (enum DW_OP, enum DW_CFA): Remove.
-       Include dwarf2.def.
-
-2012-04-23  Cary Coutant  <ccoutant@google.com>
-
-       * elfcpp_swap.h (struct Swap_aligned32): New template.
-
-2012-04-16  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (R_SPARC_JMP_IREL): New relocation.
-
-2012-04-12  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (R_SPARC_WDISP10): New relocation.
-
-2012-03-12  Cary Coutant  <ccoutant@google.com>
-
-       Update DWARF enums from ../include/dwarf2.h.
-       * dwarf.h (enum DW_TAG): Add new DWARF-4 tags.
-       (enum DW_FORM): Add new DWARF-4 and Fission extensions.
-       (enum DW_AT): New enum.
-       (enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode.
-       (enum DW_ENCODING): Add new DWARF-4 encoding.
-       (enum DW_OP): Add new DWARF-4 opcodes.
-       (enum DW_CHILDREN): New enum.
-       (enum DW_LANG): New enum.
-
-2012-01-27  Aleksandar Simeonov  <asimeonov@mips.com>
-
-       * mips.h: New file
-       * elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
-       (SHF_MIPS_GPREL): Likewise.
-       (PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
-       (DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
-        DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
-        DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
-        DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
-        DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
-        DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
-        DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
-        DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
-        DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
-        DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
-        DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
-        DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
-        DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
-        DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
-        DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
-
-2012-01-27  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp.h (STT_GNU_IFUNC): Add comment.
-
-2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
-           Thomas Schwinge  <thomas@schwinge.name>
-
-       PR binutils/12913
-       * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
-       keep ELFOSABI_LINUX as an alias.  Remove ELFOSABI_HURD.
-
-2011-07-01  Ian Lance Taylor  <iant@google.com>
-
-       * dwarf.h (enum DW_CFA): Define.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-
-       * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-
-       * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_SYMTAB,
-       SHT_GNU_INCREMENTAL_RELOCS.
-
-2010-08-04  Ian Lance Taylor  <iant@google.com>
-
-       * i386.h (R_386_IRELATIVE): Define.
-       * powerpc.h (R_POWERPC_IRELATIVE): Define.
-       (R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define.
-       (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define.
-       * sparc.h (R_SPARC_IRELATIVE): Define.
-       * x86_64.h (R_X86_64_IRELATIVE): Define.
-       (R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT.
-       (R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY.
-
-2010-05-12  Doug Kwan  <dougkwan@google.com>
-
-       * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
-       Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
-       existing tags.
-       (Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
-       Tag_undefined43): New tags.
-       (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
-       Tag_VFP_HP_extension): Define aliases for backward compatiblity.
-
-2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * elfcpp.h (VER_FLG_INFO): Define.
-
-2010-01-21  Doug Kwan  <dougkwan@google.com>
-
-       * arm.h (EXIDX_CANTUNWIND): New enum.
-
-2010-01-19  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp.h (PN_XNUM): Define.
-
-2009-12-14  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp_file.h: Revert last patch.
-
-2009-12-11  Nick Clifton  <nickc@redhat.com>
-
-       * elfcpp_file.h: Fix shadowed variable warnings.
-
-2009-12-10  Doug Kwan  <dougkwan@google.com>
-
-       * arm.h: New enums for EABI object attribute tags and values.
-
-2009-12-05  Doug Kwan  <dougkwan@google.com>
-
-       * arm.h: Define enums for Tag_CPU_arch EABI attribute.
-
-2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
-
-       * elfcpp_file.h: Include elfcpp.h.
-
-2009-11-03  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp.h: Remove trailing commas from enum definitions.
-
-2009-10-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
-       EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
-       EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
-       flags.
-       (arm_eabi_version): New inline function.
-       * elfcpp.h: Add a comment about DT_ENCODING.
-
-2009-10-16  Doug Kwan  <dougkwan@google.com>
-
-       * elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
-
-2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-
-       * elfcpp_file.h (Elf_file::section_name): Change shstr_size
-       to Elf_WXword.
-
-2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * elf_file.h: (class Elf_strtab): New class.
-
-2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * elfcpp_file.h: Fix header guard.  Include <cstdio>.
-       (class Elf_recognizer): New class, code from gold/object.cc.
-       (Elf_file::find_section_by_type): New method.
-
-2009-07-23  Ulrich Drepper  <drepper@redhat.com>
-
-       * elfcpp.h (enum STB): Add STB_GNU_UNIQUE.
-
-2009-06-21  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
-       (enum SHT): Add SHT_X86_64_UNWIND.
-       (enum SHF): Add SHT_X86_64_LARGE.
-
-2009-05-27  Doug Kwan  <dougkwan@google.com>
-
-       * arm.h: New file.
-       * elfcpp.h (enum SHT): Add ARM-specific special sections.
-       (enum PT): Add ARM-specific section types.
-       (enum SST): Add STT_ARM_TFUNC.
-
-2009-04-30  Nick Clifton  <nickc@redhat.com>
-
-       * elfcpp.h (enum STT): Add STT_GNU_IFUNC.
-
-2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
-
-2009-03-01  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp_swap.h: #include "config.h".  Only #include <byteswap.h>
-       if HAVE_BYTESWAP_H is defined; if not, provide definitions for
-       bswap_{16,32,64}.  For gcc 4.3 and later, use the builtin bswap
-       functions.  Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
-
-2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfcpp.h (enum STT): Remove STT_IFUNC.
-
-2008-12-03  Nick Clifton  <nickc@redhat.com>
-
-       * elfcpp.h (enum STT): Add STT_IFUNC.
-
-2008-06-12  David S. Miller  <davem@davemloft.net>
-
-       * powerpc.h: New file.
-       * elfcpp.h (SHT_ORDERED): New enum constant.
-       (DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
-
-2008-05-28  Caleb Howe  <cshowe@google.com>
-
-       * dwarf.h (enum DW_FORM): Define.
-
-2008-04-19  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
-       (Elf_file::large_shndx_offset): New function.
-       (Elf_file::construct): Initialize large_shndx_offset_.
-       (Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and
-       set large_shndx_offset_.
-
-2008-04-16  David S. Miller  <davem@davemloft.net>
-
-       * elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
-       DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
-       DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
-       DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
-       DF_1_CONLFAT): New enum constants.
-
-2008-04-15  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
-       EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
-       EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
-       EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
-       Define as enum constants.
-
-2008-04-11  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h: New file
-       * elfcpp.h (SHN_BEFORE, SHN_AFTER): New enum constants.
-       (SHT_SPARC_GOTDATA, SHF_ORDERED, SHF_EXCLUDE,
-       STT_SPARC_REGISTER, DT_SPARC_REGISTER): Likewise.
-
-2008-04-03  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
-       byte order.
-
-2008-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants.
-       (NT_GNU_ABI_TAG, NT_GNU_HWCAP): Likewise.
-       (NT_GNU_BUILD_ID, NT_GNU_GOLD_VERSION): Likewise.
-       (ELF_NOTE_OS_LINUX, ELF_NOTE_OS_GNU): Likewise.
-       (ELF_NOTE_OS_SOLARIS2, ELF_NOTE_OS_NETBSD): Likewise.
-       (ELF_NOTE_OS_SYLLABLE): Likewise.
-
-2008-03-21  Ian Lance Taylor  <iant@google.com>
-
-       * Added source code to GNU binutils.
-\f
-Copyright (C) 2008-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/elfcpp/ChangeLog-0815 b/elfcpp/ChangeLog-0815
new file mode 100644 (file)
index 0000000..dd6640e
--- /dev/null
@@ -0,0 +1,467 @@
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.h (R_PPC64_ENTRY): Define.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+            Peter Bergner <bergner@vnet.ibm.com>
+
+       * powerpc.h (R_POWERPC_REL16DX_HA): Define.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * s390.h: New file.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.h (R_X86_64_GOTPCRELX): New.
+       (R_X86_64_REX_GOTPCRELX): Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (R_386_GOT32X): New.
+
+2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/19118
+       * elfcpp.h (EM): Add EM_IAMCU.
+
+2015-10-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/19060
+       * elfcpp.h (Chdr::get_ch_type): Change return type to Elf_Word.
+       * elfcpp_internal.h (Chdr_data<64>): Change ch_type to 4 bytes
+       and add ch_reserved.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfcpp.h (Elf_sizes): Add chdr_size.
+       (Chdr): New.
+       (Chdr_write): Likewise.
+       * elfcpp_internal.h (Chdr_data): Likewise.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfcpp.h (SHF): Add SHF_COMPRESSED.
+       (ELFCOMPRESS_ZLIB): New.
+       (ELFCOMPRESS_LOOS): Likewise.
+       (ELFCOMPRESS_HIOS): Likewise.
+       (ELFCOMPRESS_LOPROC): Likewise.
+       (ELFCOMPRESS_HIPROC): Likewise.
+
+2015-04-07  HC Yen <hc.yen@mediatek.com>
+
+       * arm.h: Add TAG_CPU_ARCH_V8 in Tag_CPU_arch EABI attribute.
+
+2015-02-09  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf.h (enum DW_LANG): Add DW_LANG_C_plus_plus_11,
+       DW_LANG_C11, DW_LANG_C_plus_plus_14, DW_LANG_Fortran03 and
+       DW_LANG_Fortran08 from ../include/dwarf2.h.
+
+2015-01-22  Han Shen  <shenhan@google.com>
+
+       * arm.h (R_ARM_IRELATIVE): New dynamic relocation.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-12-25  Alan Modra  <amodra@gmail.com>
+
+       * arm.h: Add enums for Tag_ABI_FP_number_model and Tag_ABI_VFP_args.
+
+2014-09-17  Han Shen  <shenhan@google.com>
+
+       * aarch64.h (R_AARCH64_TLS_DTPREL64): Switch enum value with ...
+       (R_AARCH64_TLS_DTPMOD64): ... enum value.
+
+2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h (E_MIPS_ARCH_32R6, E_MIPS_ARCH_64R6): New enum constants.
+
+2014-09-02  Cary Coutant  <ccoutant@google.com>
+
+       * elfcpp_file.h (Elf_file::shnum): New const function.
+       (Elf_file::shstrndx): New const function.
+       (Elf_file::large_shndx_offset): New const function.
+       (Elf_file::section_name): Add const attribute.
+       (Elf_file::section_header_offset): Likewise.
+
+2014-08-08  Han Shen  <shenhan@google.com>
+
+       * aarch64.h (withdrawn): Replaced with R_AARCH64_withdrawn.
+
+2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * elfcpp.h (PT_MIPS_ABIFLAGS): New program header type.
+
+2014-07-02  Jing Yu  <jingyu@google.com>
+
+       * aarch64.h: New file. New enums for aarch64-elf64 relocations.
+       * elfcpp.h (EM_AARCH64, SHT_AARCH64_ATTRIBUTES, PT_AARCH64_ARCHEXT,
+       PT_AARCH64_UNWIND): New enum constant.
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * elfcpp.h: Remove openrisc and or32 support.
+
+2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * mips.h (R _MIPS16_TLS_GD, R_MIPS16_TLS_LDM, R_MIPS16_TLS_DTPREL_HI16,
+       R_MIPS16_TLS_DTPREL_LO16, R_MIPS16_TLS_GOTTPREL,
+       R_MIPS16_TLS_TPREL_HI16, R_MIPS16_TLS_TPREL_LO16, R_MICROMIPS_26_S1,
+       R_MICROMIPS_HI16, R_MICROMIPS_LO16, R_MICROMIPS_GPREL16,
+       R_MICROMIPS_LITERAL, R_MICROMIPS_GOT16, R_MICROMIPS_PC7_S1,
+       R_MICROMIPS_PC10_S1, R_MICROMIPS_PC16_S1, R_MICROMIPS_CALL16,
+       R_MICROMIPS_GOT_DISP, R_MICROMIPS_GOT_PAGE, R_MICROMIPS_GOT_OFST,
+       R_MICROMIPS_GOT_HI16, R_MICROMIPS_GOT_LO16, R_MICROMIPS_SUB,
+       R_MICROMIPS_HIGHER, R_MICROMIPS_HIGHEST, R_MICROMIPS_CALL_HI16,
+       R_MICROMIPS_CALL_LO16, R_MICROMIPS_SCN_DISP, R_MICROMIPS_JALR,
+       R_MICROMIPS_HI0_LO16, R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM,
+       R_MICROMIPS_TLS_DTPREL_HI16, R_MICROMIPS_TLS_DTPREL_LO16,
+       R_MICROMIPS_TLS_GOTTPREL, R_MICROMIPS_TLS_TPREL_HI16,
+       R_MICROMIPS_TLS_TPREL_LO16, R_MICROMIPS_GPREL7_S2,
+       R_MICROMIPS_PC23_S20, R_MIPS_EH): New enums for relocations (mips16 and
+       micromips).
+       (STO_MIPS_FLAGS): New enum constant.
+       (elf_st_is_mips16): New function.
+       (elf_st_is_micromips): New function.
+       (is_micromips): New function.
+       (abi_n32): New function.
+       (abi_n64): New function.
+       (ODK_NULL, ODK_REGINFO, ODK_EXCEPTIONS, ODK_PAD, ODK_HWPATCH, ODK_FILL,
+       ODK_TAGS, ODK_HWAND, ODK_HWOR, ODK_GP_GROUP, ODK_IDENT): New enum
+       constants.
+       * elfcpp.h (SHT_MIPS_OPTIONS): New enum constant.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.h (R_PPC64_REL24_NOTOC, R_PPC64_ADDR64_LOCAL): Define.
+
+2014-02-06  Andrew Pinski  <apinski@cavium.com>
+
+       * mips.h (E_MIPS_MACH_OCTEON3): New enum constant.
+
+2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.h (R_X86_64_PC32_BND): New.
+       (R_X86_64_PLT32_BND): Likewise.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.h (EF_PPC64_ABI): New enum constant.
+       (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Likewise.
+       (ppc64_decode_local_entry): New function.
+       (ppc64_encode_local_entry): Likewise.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
+       R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
+       R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Define.
+
+2013-03-01  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf.h (enum DW_LANG): Adjust spacing for consistency.
+       (enum DW_SECT): New enum type.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * README: Add copyright notice.
+
+2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
+
+       * arm.h: New enum for EABI soft- and hard-float flags.
+
+2012-09-15  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx.h: New file.
+       * elfcpp.h: add EM_TILEGX.
+
+2012-08-14  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.h: Add more relocs.
+       (R_PPC_REL16*): Rename to R_POWERPC_REL16*.
+
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/14091
+       * x86_64.h (R_X86_64_RELATIVE64): New.
+
+2012-05-01  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING)
+       (enum DW_OP, enum DW_CFA): Remove.
+       Include dwarf2.def.
+
+2012-04-23  Cary Coutant  <ccoutant@google.com>
+
+       * elfcpp_swap.h (struct Swap_aligned32): New template.
+
+2012-04-16  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (R_SPARC_JMP_IREL): New relocation.
+
+2012-04-12  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (R_SPARC_WDISP10): New relocation.
+
+2012-03-12  Cary Coutant  <ccoutant@google.com>
+
+       Update DWARF enums from ../include/dwarf2.h.
+       * dwarf.h (enum DW_TAG): Add new DWARF-4 tags.
+       (enum DW_FORM): Add new DWARF-4 and Fission extensions.
+       (enum DW_AT): New enum.
+       (enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode.
+       (enum DW_ENCODING): Add new DWARF-4 encoding.
+       (enum DW_OP): Add new DWARF-4 opcodes.
+       (enum DW_CHILDREN): New enum.
+       (enum DW_LANG): New enum.
+
+2012-01-27  Aleksandar Simeonov  <asimeonov@mips.com>
+
+       * mips.h: New file
+       * elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
+       (SHF_MIPS_GPREL): Likewise.
+       (PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
+       (DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
+        DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
+        DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
+        DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
+        DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
+        DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
+        DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
+        DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
+        DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
+        DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
+        DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
+        DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
+        DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
+        DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
+        DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
+
+2012-01-27  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp.h (STT_GNU_IFUNC): Add comment.
+
+2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
+           Thomas Schwinge  <thomas@schwinge.name>
+
+       PR binutils/12913
+       * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
+       keep ELFOSABI_LINUX as an alias.  Remove ELFOSABI_HURD.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+       * dwarf.h (enum DW_CFA): Define.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+
+       * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+
+       * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_SYMTAB,
+       SHT_GNU_INCREMENTAL_RELOCS.
+
+2010-08-04  Ian Lance Taylor  <iant@google.com>
+
+       * i386.h (R_386_IRELATIVE): Define.
+       * powerpc.h (R_POWERPC_IRELATIVE): Define.
+       (R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define.
+       (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define.
+       * sparc.h (R_SPARC_IRELATIVE): Define.
+       * x86_64.h (R_X86_64_IRELATIVE): Define.
+       (R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT.
+       (R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY.
+
+2010-05-12  Doug Kwan  <dougkwan@google.com>
+
+       * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
+       Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
+       existing tags.
+       (Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
+       Tag_undefined43): New tags.
+       (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
+       Tag_VFP_HP_extension): Define aliases for backward compatiblity.
+
+2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * elfcpp.h (VER_FLG_INFO): Define.
+
+2010-01-21  Doug Kwan  <dougkwan@google.com>
+
+       * arm.h (EXIDX_CANTUNWIND): New enum.
+
+2010-01-19  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp.h (PN_XNUM): Define.
+
+2009-12-14  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp_file.h: Revert last patch.
+
+2009-12-11  Nick Clifton  <nickc@redhat.com>
+
+       * elfcpp_file.h: Fix shadowed variable warnings.
+
+2009-12-10  Doug Kwan  <dougkwan@google.com>
+
+       * arm.h: New enums for EABI object attribute tags and values.
+
+2009-12-05  Doug Kwan  <dougkwan@google.com>
+
+       * arm.h: Define enums for Tag_CPU_arch EABI attribute.
+
+2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
+
+       * elfcpp_file.h: Include elfcpp.h.
+
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp.h: Remove trailing commas from enum definitions.
+
+2009-10-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
+       EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
+       EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
+       flags.
+       (arm_eabi_version): New inline function.
+       * elfcpp.h: Add a comment about DT_ENCODING.
+
+2009-10-16  Doug Kwan  <dougkwan@google.com>
+
+       * elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
+
+2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * elfcpp_file.h (Elf_file::section_name): Change shstr_size
+       to Elf_WXword.
+
+2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * elf_file.h: (class Elf_strtab): New class.
+
+2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * elfcpp_file.h: Fix header guard.  Include <cstdio>.
+       (class Elf_recognizer): New class, code from gold/object.cc.
+       (Elf_file::find_section_by_type): New method.
+
+2009-07-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * elfcpp.h (enum STB): Add STB_GNU_UNIQUE.
+
+2009-06-21  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
+       (enum SHT): Add SHT_X86_64_UNWIND.
+       (enum SHF): Add SHT_X86_64_LARGE.
+
+2009-05-27  Doug Kwan  <dougkwan@google.com>
+
+       * arm.h: New file.
+       * elfcpp.h (enum SHT): Add ARM-specific special sections.
+       (enum PT): Add ARM-specific section types.
+       (enum SST): Add STT_ARM_TFUNC.
+
+2009-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * elfcpp.h (enum STT): Add STT_GNU_IFUNC.
+
+2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
+
+2009-03-01  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp_swap.h: #include "config.h".  Only #include <byteswap.h>
+       if HAVE_BYTESWAP_H is defined; if not, provide definitions for
+       bswap_{16,32,64}.  For gcc 4.3 and later, use the builtin bswap
+       functions.  Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
+
+2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfcpp.h (enum STT): Remove STT_IFUNC.
+
+2008-12-03  Nick Clifton  <nickc@redhat.com>
+
+       * elfcpp.h (enum STT): Add STT_IFUNC.
+
+2008-06-12  David S. Miller  <davem@davemloft.net>
+
+       * powerpc.h: New file.
+       * elfcpp.h (SHT_ORDERED): New enum constant.
+       (DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
+
+2008-05-28  Caleb Howe  <cshowe@google.com>
+
+       * dwarf.h (enum DW_FORM): Define.
+
+2008-04-19  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
+       (Elf_file::large_shndx_offset): New function.
+       (Elf_file::construct): Initialize large_shndx_offset_.
+       (Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and
+       set large_shndx_offset_.
+
+2008-04-16  David S. Miller  <davem@davemloft.net>
+
+       * elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
+       DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
+       DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
+       DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
+       DF_1_CONLFAT): New enum constants.
+
+2008-04-15  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
+       EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
+       EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
+       EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
+       Define as enum constants.
+
+2008-04-11  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h: New file
+       * elfcpp.h (SHN_BEFORE, SHN_AFTER): New enum constants.
+       (SHT_SPARC_GOTDATA, SHF_ORDERED, SHF_EXCLUDE,
+       STT_SPARC_REGISTER, DT_SPARC_REGISTER): Likewise.
+
+2008-04-03  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
+       byte order.
+
+2008-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants.
+       (NT_GNU_ABI_TAG, NT_GNU_HWCAP): Likewise.
+       (NT_GNU_BUILD_ID, NT_GNU_GOLD_VERSION): Likewise.
+       (ELF_NOTE_OS_LINUX, ELF_NOTE_OS_GNU): Likewise.
+       (ELF_NOTE_OS_SOLARIS2, ELF_NOTE_OS_NETBSD): Likewise.
+       (ELF_NOTE_OS_SYLLABLE): Likewise.
+
+2008-03-21  Ian Lance Taylor  <iant@google.com>
+
+       * Added source code to GNU binutils.
+\f
+Copyright (C) 2008-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/gas/ChangeLog b/gas/ChangeLog
deleted file mode 100644 (file)
index 8b4af36..0000000
+++ /dev/null
@@ -1,2043 +0,0 @@
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * config/tc-arm.c (arm_ext_v6t2_v8m): New feature for instructions
-       shared between ARMv6T2 and ARMv8-M.
-       (move_or_literal_pool): Check mov.w/mvn and movw availability against
-       arm_ext_v6t2 and arm_ext_v6t2_v8m respectively instead of checking
-       arm_arch_t2.
-       (do_t_branch): Error out for wide conditional branch instructions if
-       targetting ARMv8-M Baseline.
-       (non_v6t2_wide_only_insn): Add the logic for new wide-only instructions
-       in ARMv8-M Baseline.
-       (wide_insn_ok): New function.
-       (md_assemble): Use wide_insn_ok instead of non_v6t2_wide_only_insn and
-       adapt error message for unsupported wide instruction to ARMv8-M
-       Baseline.
-       (insns): Reorganize instructions shared by ARMv8-M Baseline and
-       ARMv6t2 architecture.
-       (arm_cpus): Set feature bit ARM_EXT2_V6T2_V8M for marvell-pj4 and
-       marvell-whitney cores.
-       (arm_archs): Define armv8-m.base architecture.
-       (cpu_arch_ver): Define ARM_ARCH_V8M_BASE architecture version.
-       (aeabi_set_public_attributes): Add logic to set Tag_CPU_arch to 17 for
-       ARMv8-M Mainline.  Set Tag_DIV_use for ARMv8-M Baseline as well.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * config/tc-arm.c (arm_ext_m): Include ARMv8-M.
-       (arm_ext_v8m): New feature for ARMv8-M.
-       (arm_ext_atomics): New feature for ARMv8 atomics.
-       (do_tt): New encoding function for TT* instructions.
-       (insns): Add new entries for ARMv8-M specific instructions and
-       reorganize the ones shared by ARMv8-M Mainline and ARMv8-A.
-       (arm_archs): Define armv8-m.main architecture.
-       (cpu_arch_ver): Define ARM_ARCH_V8M_MAIN architecture version and
-       clarify the ordering rule.
-       (aeabi_set_public_attributes): Use TAG_CPU_ARCH_* macro to refer to
-       Tag_CPU_arch values for ARMv7e-M detection.  Add logic to keep setting
-       Tag_CPU_arch to ARMv8-A for -march=all.  Also set Tag_CPU_arch_profile
-       to 'A' if extension bit for atomic instructions is set, unless it is
-       ARMv8-M.  Set Tag_THUMB_ISA_use to 3 for ARMv8-M.  Set Tag_DIV_use to 0
-       for ARMv8-M Mainline.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * config/tc-arm.c (move_or_literal_pool): Check mov.w, mvm and movw
-       availability against arm_ext_v6t2 instead of checking arm_arch_t2,
-       fixing comments along the way.
-       (handle_it_state): Check arm_ext_v6t2 instead of arm_arch_t2 to
-       generate IT instruction.
-       (t1_isa_t32_only_insn): New function.
-       (md_assemble): Use above new function to check for invalid wide
-       instruction for CPU Thumb ISA and to determine what Thumb extension
-       bit is necessary for that instruction.
-       (md_apply_fix): Use arm_ext_v6t2 instead of arm_arch_t2 to decide if
-       branch is out of range.
-
-2015-12-21  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/19386
-       * doc/as.texinfo (Strings): Prepend a space to index entries that
-       start with a backslash.  This works around a problem in the pdf
-       generator.
-
-2015-12-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (optimize_imm): Store 32-bit immediate in
-       64-bit only for 64-bit BFD.
-       (optimize_disp): Optimize 64-bit displacement to 32-bit only
-       for 64-bit BFD.
-
-2015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-
-       * config/tc-arm.c (aeabi_set_public_attributes): Adjust
-       TAG_ARCH_profile for armv8-a.
-
-2015-12-16 Mickael Guene <mickael.guene@st.com>
-
-       * doc/c-arm.texi: Add documentation about new directives
-       * config/tc-arm.c (group_reloc_table): Add mapping between gas
-       syntax and new relocations.
-       (do_t_add_sub): Keep new relocations for add operand.
-       (do_t_mov_cmp): Keep new relocations for mov operand.
-       (insns): Use 'shifter operand with possible group relocation'
-       operand parse code for movs operand.
-       (md_apply_fix): Implement mov and add encoding when new
-       relocations on them.
-       (tc_gen_reloc): Add new relocations.
-       (arm_fix_adjustable): Since offset has a limited range ([0:255])
-       we disable adjust_reloc_syms() for new relocations.
-
-2015-12-15  Nick Clifton  <nickc@redhat.com>
-
-       * doc/c-msp430.texi (MSP430 Options): Remove references to a
-       non-existant silicon errata.
-       * config/tc-msp430.c: Likewise.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (parse_neon_type_for_operand): Adjust to
-       take into account new vector type 2H.
-       (vectype_to_qualifier): Likewise.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (vectype_to_qualifier): Calculate operand
-       qualifier from per-type base and offet.
-
-2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * config/rx-defs.h(rx_cpu_type): Add RXV2 type.
-       * config/tc-rx.c(cpu_type_list): New type lookup table.
-       (md_parse_option): Use lookup table for choose cpu.
-       (md_show_usage): Add rxv2 for mcpu option.
-       * doc/c-rx.texi: Likewise.
-       * config/rx-parse.y: Add v2 instructions and ACC register.
-       (rx_check_v2): check v2 type.
-
-2015-12-14  Jan Beulich  <jbeulich@suse.com>
-
-       * dw2gencfi.c (dot_cfi_label): Free "name".
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_hint_opt_hsh): New.
-       (parse_barrier_psb): New.
-       (parse_operands): Add case for AARCH64_OPND_BARRIER_PSB.
-       (md_begin): Set up aarch64_hint_opt_hsh.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_features): Add "profile".
-       * doc/c-aarch64.texi (AArch64 Extensions): Add "profile".
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (parse_sys_ins_reg): Add check of
-       architectural support for system register.
-
-2015-12-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * doc/c-sparc.texi (Sparc-Regs): Document the %dN and %qN notation
-       for floating-point registers.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc.
-
-2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * config/tc-arc.c (md_parse_option): Return 1 in order to accept
-       dummy arguments.
-
-2015-12-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * config/tc-sparc.c (sparc_ip): Support %dN and %qN notation for
-       double and quad-precision floating-point registers.
-
-2015-12-09  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rx.c (rx_relax_frag): Fix compile time warning.
-
-2015-12-08  Jan Beulich  <jbeulich@suse.com>
-
-       * read.c (in_bss): New.
-       (do_align): Use it to also warn for non-zero fill in .bss.
-       (do_org): Likewise.
-       (s_space): Likewise.
-       (s_fill): Error on bad use in .bss/.struct.
-       (float_cons): Likewise.
-       (emit_leb128_expr): Likewise.
-       (emit_expr_with_reloc): Defer handling use inside .struct. Also
-       error on non-zero item added to .bss.
-       (stringer_append_char): Error on non-zero character.
-
-2015-12-08  Jan Beulich  <jbeulich@suse.com>
-
-       * read.c (stringer): Move absolute section check up. Return
-       right away.
-
-2015-12-08  Jan Beulich  <jbeulich@suse.com>
-
-       * config/obj-elf.c (elf_file_symbol): Tighten condition for
-       moving BSF_FILE symbols.
-
-2015-12-08  DJ Delorie  <dj@redhat.com>
-
-       * config/rl78-parse.y: Make all branches relaxable via
-       rl78_linkrelax_branch().
-       * config/tc-rl78.c (rl78_linkrelax_branch): Mark all relaxable
-       branches with relocs.
-       (options): Add OPTION_NORELAX.
-       (md_longopts): Add -mnorelax.
-       (md_parse_option): Support OPTION_NORELAX.
-       (op_type_T): Add bh, sk, call, and br.
-       (rl78_opcode_type): Likewise.
-       (rl78_relax_frag): Fix not-relaxing logic.  Add sk.
-       (md_convert_frag): Fix relocation handling.
-       (tc_gen_reloc): Strip relax relocs when not linker relaxing.
-       (md_apply_fix): Defer overflow handling for anything that needs a
-       PLT, to the linker.
-       * config/tc-rl78.h (TC_FORCE_RELOCATION): Force all relocations to
-       the linker when linker relaxing.
-       * doc/c-rl78.texi (norelax): Add.
-
-2015-12-07  Alan Modra  <amodra@gmail.com>
-
-       * config/tc-ppc.c (md_apply_fix): Localize variables.  Reduce casts.
-
-2015-12-04  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/19276
-       * config/tc-arm.h (SUB_SEGMENT_ALIGN): Do not define for COFF/PE
-       targets.
-
-2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * config/tc-arc.c (arc_option): Sets all internal gas options when
-       parsing .cpu directive.
-       (declare_register_set): Declare all 64 registers.
-       (md_section_align): Refactor.
-       (md_pcrel_from_section): Remove assert.
-       (pseudo_operand_match): Fix pseudo operand match.
-       (find_reloc): Use flags filed, extend matching.
-       * config/tc-arc.h (TC_VALIDATE_FIX): Don't fixup any PLT
-       relocation.
-
-2015-12-01  Alan Modra  <amodra@gmail.com>
-
-       * config/aout_gnu.h: Invoke aout N_* macros with pointer to
-       struct internal_exec.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_features): Add "fp16".
-       * doc/c-aarch64.texi (Architecture Extensions): Add "fp16".
-
-2015-11-24  Christophe Monat <christophe.monat@st.com>
-
-       * config/tc-arm.c (move_or_literal_pool): Do not transform ldr
-       ri,=imm into movs when ri is a high register in T1.
-
-2015-11-20  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: Updated French translation.
-       * po/uk.po: Updated Ukraninan translation.
-       * po/zh_CN.po: New simplified Chinese translation.
-       * configure.ac (ALL_LINGUAS): Add zh_CN.
-       * configure: Regenerate.
-
-2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-arm.c (arm_archs): Add "armv8.2-a".
-       * doc/c-arm.texi (-march): Add "armv8.2-a".
-
-2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_archs): Add "armv8.2-a".
-       * doc/c-aarch64.texi (-march): Likewise.
-
-2015-11-19  Alan Modra  <amodra@gmail.com>
-
-       * read.c (output_big_leb128): Describe "sign" parameter.
-
-2015-11-19  Alan Modra  <amodra@gmail.com>
-
-       * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define only for ELF.
-
-2015-11-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config/tc-microblaze.c (parse_imm): Add an offsetT cast.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * configure: Regenerate.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * NEWS: Add marker for 2.26.
-
-2015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
-
-       * config/tc-aarch64.c (aarch64_cpus): Add cortex-a35.
-       * doc/c-aarch64.texi (-mcpu=): Likewise.
-
-2015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
-
-       * config/tc-arm.c (arm_cpus): Likewise.
-       * doc/c-arm.texi (-mcpu=): Likewise.
-
-2015-11-12  Matthew Wahab  <matthew.wahab@arm.com>
-
-       PR gas/19217
-       * config/tc-arm.c (move_or_literal_pool): Remove redundant feature
-       check.  Fix some code formatting.  Drop use of MOVT.  Add some
-       comments.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
-       * doc/c-ppc.texi (PowerPC-Opts):  Likewise.
-       * config/tc-ppc.c (md_show_usage): Likewise.
-       (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
-       (md_apply_fix): Likewise.
-       (ppc_handle_align): Handle power9's group ending nop.
-
-2015-11-09  Jim Wilson  <jim.wilson@linaro.org>
-
-       * config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
-       * config/tc-arm.c (arm_cpus): Likewise.
-       * doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
-
-2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * read.c (parse_bitfield_cons): Fix left shift of negative value.
-       * config/tc-xstormy16.c (md_section_align): Likewise.
-       * config/tc-xgate.c (md_section_align): Likewise.
-       * config/tc-visium.c (md_section_align): Likewise.
-       * config/tc-v850.c (md_section_align): Likewise.
-       * config/tc-tic6x.c (md_section_align): Likewise.
-       * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
-       (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
-       * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
-       * config/tc-score.c (s3_section_align): Likewise.
-       * config/tc-score7.c (s7_section_align): Likewise.
-       * config/tc-s390.c (md_section_align): Likewise.
-       * config/tc-rx.c (md_section_align): Likewise.
-       * config/tc-rl78.c (md_section_align): Likewise.
-       * config/tc-ppc.c (md_section_align): Likewise.
-       * config/tc-or1k.c (md_section_align): Likewise.
-       * config/tc-nds32.c (md_section_align): Likewise.
-       * config/tc-mt.c (md_section_align): Likewise.
-       * config/tc-msp430.c (md_section_align): Likewise.
-       * config/tc-mn10300.c (md_section_align): Likewise.
-       * config/tc-mn10200.c (md_section_align): Likewise.
-       * config/tc-mips.c (md_section_align): Likewise.
-       * config/tc-microblaze.c (parse_imm): Likewise.
-       * config/tc-mep.c (md_section_align): Likewise.
-       * config/tc-m68k.c (md_section_align): Likewise.
-       * config/tc-m68hc11.c (md_section_align): Likewise.
-       * config/tc-m32r.c (md_section_align): Likewise.
-       * config/tc-m32c.c (md_section_align): Likewise.
-       * config/tc-lm32.c (md_section_align): Likewise.
-       * config/tc-iq2000.c (md_section_align): Likewise.
-       * config/tc-ip2k.c (md_section_align): Likewise.
-       * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
-       * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
-       * config/tc-i386.c (md_section_align): Likewise.
-       * config/tc-i370.c (md_section_align): Likewise.
-       * config/tc-frv.c (md_section_align): Likewise.
-       * config/tc-fr30.c (md_section_align): Likewise.
-       * config/tc-epiphany.c (md_section_align): Likewise.
-       * config/tc-d30v.c (md_section_align): Likewise.
-       * config/tc-d10v.c (md_section_align): Likewise.
-       * config/tc-cr16.c (l_cons): Likewise.
-       * config/tc-bfin.c (md_section_align): Likewise.
-       * config/tc-arm.c (md_section_align): Likewise.
-       * config/tc-arc.c (md_section_align): Likewise.
-       * config/bfin-parse.y (expr_1): Likewise.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * config/rx-parse.y: Allow zero value for 5-bit displacements.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rx.c (parse_rx_section): Align parameter provides a
-       multiple of n argument, not a power of n argument.
-
-2015-10-29  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-aarch64.c (elf64_aarch64_target_format): Select the
-       cloudabi format if the TARGET_OS is cloudabi.
-
-2015-10-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
-       arm_ext_v6_dsp.
-
-2015-10-28  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * config/tc-arc.c (tokenize_arguments): Avoid creating unused
-       symbols when parsing relocation types.
-       (md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
-       relocation.
-       (arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
-
-2015-10-27  Jim Wilson  <jim.wilson@linaro.org>
-
-       * config/tc-arm.c (selected_cpu_name): Increase length of array to
-       accomodate "Samsung Exynos M1".
-       (arm_parse_cpu): Add assertion and length check to prevent
-       overfilling selected_cpu_name.
-
-2015-10-22  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
-       (OPTION_SILICON_ERRATA): Define.
-       (OPTION_SILICON_WARN): Define.
-       (md_parse_opton): Handle silicon errata options.
-       (md_longopts): Add silicon errata options.
-       (ms_show_usage): Report silicon errata options.
-       (msp430_srcoperand): Handle silicon errata.
-       (msp430_operands): Likewise. Improve nop insertion.
-       (msp430_fix_adjustable): Update warning generation.
-       * doc/c-msp430.texi: Document silicon errata options.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Properly check
-       --enable-compressed-debug-sections={yes,all}.
-       * configure: Regenerated.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/19109
-       * configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
-       * configure: Regenerated.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (tc_i386_fix_adjustable): Handle
-       BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
-       (tc_gen_reloc): Likewise.
-       (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
-       BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
-       * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
-       true for BFD_RELOC_X86_64_GOTPCRELX and
-       BFD_RELOC_X86_64_REX_GOTPCRELX.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (tc_i386_fix_adjustable): Handle
-       BFD_RELOC_386_GOT32X.
-       (tc_gen_reloc): Likewise.
-       (match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
-       (output_disp): Check for "call/jmp *mem", "mov mem, %reg",
-       "test %reg, mem" and "binop mem, %reg" where binop is one of
-       adc, add, and, cmp, or, sbb, sub, xor instructions.  Set
-       fx_tcbit if the REX prefix is generated.  Set fx_tcbit2 if
-       BFD_RELOC_386_GOT32X should be generated.
-       (i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
-       is set.
-
-2015-10-21  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/19109
-       * configure.ac: Restore --enable-compressed-debug-sections, with
-       options of all, none or gas.
-       Do not enable compressed debug sections by default for x86 Linux
-       targets.
-       * configure: Regenerate.
-
-2015-10-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/19109
-       * NEWS: Update --enable-compressed-debug-sections=.
-       * configure.ac: Remove --enable-compressed-debug-sections.
-       (DEFAULT_FLAG_COMPRESS_DEBUG): Check
-       --enable-compressed-debug-sections={all,gas} instead of
-       --enable-compressed-debug-sections.  For x86 Linux targets,
-       default to compressing debug sections.
-       * configure: Regenerated.
-
-2015-10-19  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/19109
-       * configure.ac: Add option --enable-compressed-debug-sections.
-       This sets the default behaviour for compressing debug sections.
-       * as.c (flag_compress_debug): Define and initialise to
-       COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
-       (show_usage): Indicate whether --no-compress-debug-sections
-       or --compress-debug-sections is the default.
-       * config/tc-i386.c (flag_compress_debug): Delete definition.
-       * doc/as.texinfo (--nocompress-debug-sectionas): Update
-       description.
-       * NEWS: Announce the new feature.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2015-10-12  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-msp430.c (msp430_mcu_names): Rename to
-       msp430_mcu_data.  Add fields for the ISA and hardware multiply
-       support.  Update with information from the latest devices.csv
-       file.
-       (md_parse_option): Make use of the new array.
-
-2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
-       for align and fill records.
-       (avr_handle_align): Record fill information for align frags.
-       (create_record_for_frag): Add next frag assertion, use correct
-       address for align records.
-
-2015-10-10  Alan Modra  <amodra@gmail.com>
-
-       PR gas/19113
-       * read.c (next_char_of_string): Mask char after escape.  Use
-       CHAR_MASK rather than 0xff.
-
-2015-10-07  Yao Qi  <yao.qi@linaro.org>
-
-       * config/tc-aarch64.c (md_begin): Access field 'name' rather
-       than 'template'.
-
-2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * config/tc-arc.c: Revamped file for ARC support.
-       * config/tc-arc.h: Likewise.
-       * doc/as.texinfo: Add new ARC options.
-       * doc/c-arc.texi: Likewise.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (s_tlsdescadd): New.
-       (s_tlsdescldr): New.
-       (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
-       (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
-       BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
-       (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
-       AARCH64_TLSDESC_OFF_G0_NC.
-       (md_apply_fix): Likewise.
-       (aarch64_force_relocation): Likewise.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): Add two entries for
-       gottprel_g0_nc and gottprel_g1.
-       (process_movw_reloc_info): Add support.
-       (md_apply_fix): Likewise.
-       (aarch64_force_relocation): Likewise.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
-       (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
-       (md_apply_fix): Likewise.
-       (aarch64_force_relocation): Likewise.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
-       (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
-       (md_apply_fix): Likewise.
-       (aarch64_force_relocation): Likewise.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifier
-       gotoff_g0_nc.
-       (process_movw_reloc_info): Support gotoff_g0_nc.
-       (md_apply_fix): Likewise.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifier
-       gotoff_g1.
-       (process_movw_reloc_info): Support newly added modifier.
-       (md_apply_fix): Likewise.
-
-2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * doc/c-s390.texi: Add documentation.
-       Add missing code markup.
-       * config/tc-s390.c (current_flags): New static variable.
-       (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
-       (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
-       Fix indentation.
-       (md_parse_option): Call s390_parse_cpu with the new signature.
-       (s390_machine): Likewise.
-       Keep track of current_flags.
-       Simplify code a bit.
-       undefine MAX_HISTORY at end of function.
-       (s390_machinemode): undefine MAX_HISTORY at end of function.
-       Update an error message.
-
-2015-08-11  Peter Zotov  <whitequark@whitequark.org>
-
-       PR ld/18759
-       * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
-       relative relocs.
-       * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
-
-2015-09-25  Ryo ONODERA  <ryo_on@yk.rim.or.jp>
-
-       PR 18994
-       * configure.ac (nds32): Don't use bash == in tests.
-       * configure: Regenerate.
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
-
-2015-09-22  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rx.c (nop_7): Recode using MAX.
-
-2015-09-05  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
-       the latest gcc's warning.
-
-2015-08-27  Alan Modra  <amodra@gmail.com>
-
-       PR gas/18581
-       * config/tc-aarch64.h (TC_START_LABEL): Redefine.
-       * config/tc-arm.c (tc_start_label_without_colon): Delete params.
-       Use input_line_pointer directly.
-       * config/tc-arm.h (TC_START_LABEL): Redefine.
-       (TC_START_LABEL_WITHOUT_COLON): Redefine.
-       (tc_start_label_without_colon): Update prototype.
-       * config/tc-bfin.c (bfin_start_label): Delete ptr param.  Check
-       for NUL instead.
-       * config/tc-bfin.h (bfin_start_label): Update prototype.
-       (TC_START_LABEL): Redefine.
-       * config/tc-d30v.h (TC_START_LABEL): Redefine.
-       * config/tc-fr30.c (restore_colon): Rewrite.
-       (fr30_is_colon_insn): Add nul_char param.  Return int.  Bump
-       i_l_p over quote.  Update restore_colon calls.
-       * config/tc-fr30.h (TC_START_LABEL): Redefine.
-       (fr30_is_colon_insn): Update prototype.
-       * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
-       * config/tc-m32c.h (TC_START_LABEL): Redefine.
-       (m32c_is_colon_insn): Update prototype.
-       * config/tc-m32r.h (TC_START_LABEL): Redefine.
-       * config/tc-mep.h (TC_START_LABEL): Redefine.
-       * config/tc-nds32.h (TC_START_LABEL): Redefine.
-       * config/tc-tic54x.c (tic54x_start_label): Replace params with
-       nul_char and next_char.  Step over trailing quote.
-       * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
-       (tic54x_start_label): Update prototype.
-       * read.c (TC_START_LABEL): Redefine.  Update invocation.
-       (TC_START_LABEL_WITHOUT_COLON): Update invocation.
-       * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
-       and restore if calling s_set.  Don't restore delim again.
-
-2015-08-26  Alan Modra  <amodra@gmail.com>
-
-       PR gas/18581
-       * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
-       call to where input line used to be restored.
-       * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
-       line restore.
-       * config/tc-tilepro.c (parse_reg_expression): Add regname var.
-
-2015-08-26  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18842
-       * configure.ac (AS_CHECK_DECLS): Add asprintf.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * config/tc-sparc.c (priv_reg_table): New privileged register
-       %pmcdper.
-
-2015-08-21  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18581
-       * expr.c (get_symbol_end): Rename to get_symbol_name.  Add a
-       return parameter pointing to the start of the symbol.  Allow
-       symbol names enclosed in double quotes.
-       (restore_line_pointer): New function.  Replace the NUL character
-       inserted into the input stream with the given character.  If the
-       character was a double quote, advance the input pointer.
-       * expr.h (get_symbol_end): Delete.
-       (get_symbol_name): Add prototype.
-       (restore_line_pointer): Prototype.
-       * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
-       * doc/as.texinfo (Symbol Intro): Document that symbol names can
-       now be enclosed in double quotes.
-       * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
-       Use restore_line_pointer to replace the NUL in the input stream.
-       Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
-       Check for the use of double quoted symbol names.
-       * expr.c: Likewise.
-       * config/obj-aout.c: Likewise.
-       * config/obj-coff-seh.c: Likewise.
-       * config/obj-coff.c: Likewise.
-       * config/obj-elf.c: Likewise.
-       * config/obj-evax.c: Likewise.
-       * config/obj-macho.c: Likewise.
-       * config/obj-som.c: Likewise.
-       * config/tc-alpha.c: Likewise.
-       * config/tc-arc.c: Likewise.
-       * config/tc-arm.c: Likewise.
-       * config/tc-dlx.c: Likewise.
-       * config/tc-h8300.c: Likewise.
-       * config/tc-hppa.c: Likewise.
-       * config/tc-i370.c: Likewise.
-       * config/tc-i386-intel.c: Likewise.
-       * config/tc-i386.c: Likewise.
-       * config/tc-i960.c: Likewise.
-       * config/tc-ia64.c: Likewise.
-       * config/tc-iq2000.c: Likewise.
-       * config/tc-m32r.c: Likewise.
-       * config/tc-m68hc11.c: Likewise.
-       * config/tc-m68k.c: Likewise.
-       * config/tc-microblaze.c: Likewise.
-       * config/tc-mips.c: Likewise.
-       * config/tc-mmix.c: Likewise.
-       * config/tc-mn10200.c: Likewise.
-       * config/tc-mn10300.c: Likewise.
-       * config/tc-nios2.c: Likewise.
-       * config/tc-ppc.c: Likewise.
-       * config/tc-s390.c: Likewise.
-       * config/tc-score.c: Likewise.
-       * config/tc-score7.c: Likewise.
-       * config/tc-sparc.c: Likewise.
-       * config/tc-tic4x.c: Likewise.
-       * config/tc-tic54x.c: Likewise.
-       * config/tc-tic6x.c: Likewise.
-       * config/tc-tilegx.c: Likewise.
-       * config/tc-tilepro.c: Likewise.
-       * config/tc-v850.c: Likewise.
-       * config/tc-xtensa.c: Likewise.
-       * config/tc-z80.c: Likewise.
-       * dw2gencfi.c: Likewise.
-       * dwarf2dbgc.: Likewise.
-       * ecoff.c: Likewise.
-       * read.c: Likewise.
-       * stabs.c: Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation types support for
-       dtprel_lo12.
-       (ldst_lo12_determine_real_reloc_type): Support
-       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
-       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
-       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
-       (parse_operands): Likewise.
-       (md_apply_fix): Likewise.
-       (aarch64_force_relocation): Likewise.
-       (process_movw_reloc_info): Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers,
-       "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
-       "dtprel_g1_nc", "dtprel_g2".
-       (md_apply_fix): Support new relocation types.
-       (aarch64_force_relocation): Likewise.
-       (process_movw_reloc_info): Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
-       (aarch64_force_relocation): Likewise.
-
-2015-08-17  Alan Modra  <amodra@gmail.com>
-
-       * config/tc-arm.c (s_align): Delete.
-       (md_pseudo_table): Use s_align_ptwo for "align".
-       * config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
-       * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
-
-2015-08-13  Alan Modra  <amodra@gmail.com>
-
-       * expr.c (operand): Rewrite handling of operands starting with "0f".
-       If atof_generic only parses "-" or "+", treat as expression.
-
-2015-08-13  Alan Modra  <amodra@gmail.com>
-           DJ Delorie  <dj@redhat.com>
-
-       * expr.c (integer_constant): Return O_absent expression if eol.
-       (operand): For targets with both LOCAL_LABELS_FB and
-       NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
-       digits as a local label reference.  Correct handling of 0b prefix.
-       If a suffix is not allowed, error on 0B.
-
-2015-08-13  Alan Modra  <amodra@gmail.com>
-
-       * doc/as.texinfo (Local Labels): Allowed range of N in local
-       labels is non-negative integers, not positive integers.
-
-2015-08-12  David Weatherford  <weath@cadence.com>
-
-       * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
-       New structures.
-       (xtensa_maybe_create_literal_pool_frag): New function.
-       (litpool_seg_list, auto_litpools, auto_litpool_limit)
-       (litpool_buf, litpool_slotbuf): New static variables.
-       (option_auto_litpools, option_no_auto_litpools)
-       (option_auto_litpool_limit): New enum identifiers.
-       (md_longopts): Add entries for auto-litpools, no-auto-litpools
-       and auto-litpool-limit.
-       (md_parse_option): Handle option_auto_litpools,
-       option_no_auto_litpools and option_auto_litpool_limit.
-       (md_show_usage): Add help for --[no-]auto-litpools and
-       --auto-litpool-limit.
-       (xtensa_mark_literal_pool_location): Record a place for literal
-       pool with a call to xtensa_maybe_create_literal_pool_frag.
-       (get_literal_pool_location): Find highest priority literal pool
-       or convert candidate to literal pool when auto-litpools are used.
-       (xg_assemble_vliw_tokens): Create literal pool after jump
-       instruction.
-       (xtensa_check_frag_count): Create candidate literal pool every
-       auto_litpool_limit frags.
-       (xtensa_relax_frag): Add jump around literals to non-empty
-       literal pool.
-       (xtensa_move_literals): Estimate literal pool addresses and move
-       unreachable literals closer to their users, converting candidate
-       to literal pool if needed.
-       (xtensa_switch_to_non_abs_literal_fragment): Only emit error
-       about missing .literal_position in case auto-litpools are not
-       used.
-       * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
-       state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
-       * doc/as.texinfo (Xtensa options):  Document --auto-litpools and
-       --no-auto-litpools options.
-       * doc/c-xtensa.texi (Xtensa options): Likewise.
-
-2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
-
-       * config/tc-mips.c (move_register): Change to use 'or' only.
-       (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
-       use or for move.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers
-       "dtprel_lo12".
-       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
-       (aarch64_force_relocation): Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
-       (aarch64_force_relocation): Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
-       (aarch64_force_relocation): Likewise.
-
-2015-08-11  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18765
-       * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
-       compile time warnings about constant expressions being shifted
-       into bit 31.
-       (do_iwmmxt_wldstd): Likewise.
-       (do_iwmmxt_wrwrwr_or_imm5): Likewise.
-       (md_assemble): Likewise.
-
-       PR gas/18574
-       * config/tc-msp430.c (msp430_operands): Rewrite if statements to
-       remove redundant checks.
-       (md_apply_fix): Likewise.
-
-       PR gas/18677
-       * config/tc-mmix.c (md_assemble): Fix typo checking operands with
-       a numeric constant value.
-
-       PR gas/18678
-       * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
-
-       PR gas/18679
-       * config/xtensa-relax.c (same_operand_name): Fix typo.
-
-2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
-       0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
-
-2015-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * doc/c-aarch64.texi (.xword): Document directive.
-
-2015-08-03  Nick Clifton  <nickc@redhat.com>
-
-       * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
-       fix typo in its entry: @kindex -> @item.
-
-2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
-
-       * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
-       * doc/c-mips.texi: Document m5100 and m5101 for -march=.
-
-2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
-
-       * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
-       * doc/c-mips.text: Document -march=interaptiv.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-24  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rl78.c (rl78_abs_sym): New local variable.
-       (md_begin): Initialise the new symbol.
-       (OPIMM): Define the value to be relative to the new symbol and not
-       the absolute section symbol.
-
-2015-07-22  Alan Modra  <amodra@gmail.com>
-
-       PR gas/18687
-       * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
-       loop.  Don't drop lines at end of file lacking a newline, add a
-       newline instead.  Ensure partial_size is zero whenever
-       partial_where is NULL.  Adjust buffer size for extra char.
-       (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
-
-2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * NEWS: Mention corrected spelling of armv6kz.
-       * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
-       ARM_ARCH_V6KZ.
-       (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
-       * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
-
-2015-07-16  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
-       (aarch64_force_relocation): Ditto.
-
-2015-07-16  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
-       * doc/c-arm.texi (-mfpu=): Likewise.  Correct the entry for
-       neon-fp-armv8.1.
-
-2015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
-
-       * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
-       not support ARM mode" error messages.
-
-2015-07-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (flag_compress_debug): Replace
-       COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * as.c (parse_args): Make --compress-debug-sections and
-       --compress-debug-sections=zlib the same as
-       --compress-debug-sections=zlib-gabi.
-       * doc/as.texinfo: Change --compress-debug-sections and
-       --compress-debug-sections=zlib to zlib-gabi.
-
-2015-07-09  Catherine Moore  <clm@codesourcery.com>
-
-       * config/tc-mips.c (check_fpabi):  Handle
-       VAL_GNU_MIPS_ABI_FP_NAN2008.
-
-2015-07-08  Ciro Santilli  <ciro.santilli@gmail.com>
-
-       * doc/as.texinfo: Clarify case requirements for pseudo ops.
-
-2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
-
-       * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
-       32 bit PC relative and update offset if the fixup is pc-relative.
-       * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
-       relocs.
-
-2015-07-03  Alan Modra  <amodra@gmail.com>
-
-       * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
-       * doc/c-ppc.texi (PowerPC-Opts): Likewise.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * config/tc-nios2.c (nios2_min_align): New.
-       (nop): Replace with....
-       (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
-       (nios2_align): Handle alignment on 2-byte boundaries when CDX
-       instructions may be present.
-       (s_nios2_align): Adjust reference to nop.
-       (CDXBRANCH, IS_CDXBRANCH): New.
-       (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
-       (nios2_relax_subtype_size): Handle 2-byte CDX branches.
-       (nios2_relax_frag): Likewise.
-       (md_convert_frag): Handle R2 encodings.
-       (nios2_check_overflow): Check that low-order bits are zero
-       before applying rightshift from howto.
-       (nios2_check_overflow): Correct negative overflow calculation.
-       (nios2_diagnose_overflow): Handle signed_immed12_overflow.  Issue
-       generic overflow messages for miscellaneous instruction formats.
-       (md_apply_fix): Recognize new R2 relocations.  For pc_relative
-       relocations, store fixup in *valP.
-       (nios2_reglist_mask, nios2_reglist_dir): New.
-       (nios2_parse_reglist): New.
-       (nios2_parse_base_register): New.
-       (nios2_assemble_expression): Handle constant expressions designated
-       by BFD_RELOC_NONE.
-       (nios2_assemble_reg3): New.
-       (nios2_assemble_arg_c): Handle R2 instruction formats.
-       (nios2_assemble_arg_d): Likewise.
-       (nios2_assemble_arg_s): Likewise.
-       (nios2_assemble_arg_t): Likewise.
-       (nios2_assemble_arg_D): New.
-       (nios2_assemble_arg_S): New.
-       (nios2_assemble_arg_T): New.
-       (nios2_assemble_arg_i): Handle R2 instruction formats.
-       (nios2_assemble_arg_I): New.
-       (nios2_assemble_arg_u): Handle R2 instruction formats.
-       (nios2_assemble_arg_U): New.
-       (nios2_assemble_arg_V): New.
-       (nios2_assemble_arg_W): New.
-       (nios2_assemble_arg_X): New.
-       (nios2_assemble_arg_Y): New.
-       (nios2_assemble_arg_o): Handle R2 instruction formats.
-       (nios2_assemble_arg_O): New.
-       (nios2_assemble_arg_P): New.
-       (nios2_assemble_arg_j): Handle R2 instruction formats.
-       (nios2_assemble_arg_k): New.
-       (nios2_assemble_arg_l): Handle R2 instruction formats.
-       (nios2_assemble_arg_m): Likewise.
-       (nios2_assemble_arg_M): New.
-       (nios2_assemble_arg_N): New.
-       (nios2_assemble_arg_e): New.
-       (nios2_assemble_arg_f): New.
-       (nios2_assemble_arg_g): New.
-       (nios2_assemble_arg_h): New.
-       (nios2_assemble_arg_R): New.
-       (nios2_assemble_arg_B): New.
-       (nios2_assemble_args): Handle new argument letters.
-       (nios2_consume_arg): Likewise.
-       (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
-       in error message.
-       (nios2_ps_insn_info_structs): Add nop.n.
-       (output_ubranch): Handle CDX branches.
-       (output_cbranch): Likewise.
-       (output_call): Handle R2 encodings.
-       (output_movia): Likewise.
-       (md_begin): Initialize nios2_min_align.
-       (md_assemble): Align to nios2_min_align.  Adjust nios2_min_align
-       if a 16-bit instruction is seen.
-       (nios2_cons_align): Use appropriate nop pattern.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * config/tc-nios2.c: Adjust includes.
-       (OPTION_MARCH): Define.
-       (md_longopts): Add -march option.
-       (nios2_architecture): New.
-       (nios2_use_arch): New.
-       (md_parse_option): Handle OPTION_MARCH.
-       (md_show_usage): Document -march.
-       (md_begin): Set arch in BFD.
-       (nios2_elf_final_processing): New.
-       * config/tc-nios2.h (elf_tc_final_processing): Define.
-       (nios2_elf_final_processing): New.
-       * doc/c-nios2.texi (-march): Add documentation.
-
-2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
-
-       * config/tc-i386.c (cpu_arch): Add .mwaitx.
-       (process_immext): Check operands for monitorx/mwaitx instructions.
-       * doc/c-i386.texi: Document mwaitx.
-
-2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
-       COMPRESS_DEBUG_GNU_ZLIB.
-       * config/tc-i386.c (flag_compress_debug): Likewise.
-
-2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
-
-2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
-       Allow for optional operands without insert functions.
-
-2015-06-18  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18541
-       * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
-       mode against a nearby symbol.
-
-2015-06-18  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18481
-       * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
-       in the same case as BFD_RELOC_ARM_TLS_IS32.
-
-2015-06-17  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-arm.c (is_double_a_single): Make conditional upon the
-       availablity of a 64-bit type.  Use this type for the argument and
-       mantissa.
-       (double_to_single): Likewise.
-       * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
-       the constant value, if available.  Generate a 64-bit value from a
-       bignum if supported.  Only perform the second optimization for
-       PR 18500 if the 64-bit type is available.
-
-2015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
-
-       PR gas/18500
-       * config/tc-arm.c (is_double_a_single): New function.
-       (double_to_single): New function.
-       (move_or_literal_pool): Add support for converting VLDR to VMOV.
-
-       PR gas/18499
-       * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
-       to MOV.w or MVN.w for Thumb2.
-
-2015-06-17  Nicolas Pitre <nico@linaro.org>
-
-       * as.c (show_usage): Document --sectname-subst.
-       (parse_args): Add --sectname-subst.
-       * as.h (flag_sectname_subst): New.
-       * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
-       * doc/as.texinfo: Document it.
-
-2015-06-15  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifier.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
-       (aarch64_force_relocation): Ditto
-
-2015-06-13  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
-       out_debug_aranges depends on it.
-       (out_debug_aranges): Track size of header to properly pad header
-       for address alignment.
-
-2015-06-11  John David Anglin  <danglin@gcc.gnu.org>
-
-       PR gas/18427
-       * config/tc-hppa.c (last_label_symbol): Declare.
-       (pa_get_label): Return last label in current space/segment or NULL.
-       (pa_define_label): Record last label and add to root.
-       (pa_undefine_label): Remove last label from root.
-
-2015-06-08  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rx.c (rx_op): Correct handling of integer bignums.
-
-2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * NEWS: Mention ARMv8.1 support in the Aarch64 port.
-       * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
-       * doc/c-aarch64.texi (-march): Add "armv8.1-a".
-
-2015-06-04  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
-       when available.
-
-2015-06-04  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-h8300.c (md_section_align): Fix compile time warning
-       about left shifting a negative value.
-
-2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-arm.c (arm_archs): Add "armv8.1-a".
-       * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
-       * NEWS: Mention ARMv8.1 support.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-arm.c (arm_ext_pan): New.
-       (do_setpan): New, encode an ARM SETPAN instruction.
-       (do_t_setpan): New, encode a Thumb SETPAN instruction.
-       (insns): Add "setpan".
-       (arm_extensions): Add "pan".
-       * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
-       extensions.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_features): Add "rdma".
-       * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_features): Add "lor".
-       * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
-       architecture extensions.
-
-2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
-       support.  Fix whitespace.
-       (parse_operands): Update for parse_sys_reg changes.
-       (aarch64_features): Add "pan".
-       * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
-       (aarch64_force_relocation): Ditto.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
-       (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
-       (aarch64_force_relocation): Ditto.
-
-2015-05-28  Catherine Moore  <clm@codesourcery.com>
-           Bernd Schmidt <bernds@codesourcery.com>
-           Paul Brook <paul@codesourcery.com>
-
-       * config/tc-alpha.c (all_cfi_sections): Declare.
-       (s_alpha_ent): Initialize all_cfi_sections.
-       (alpha_elf_md_end): Invoke cfi_set_sections.
-       * config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
-       (s_ehword): Use BFD_RELOC_32_PCREL.
-       (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
-       (mips_cfi_reloc_for_encoding): New function.
-       * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
-       (DWARF2_FDE_RELOC_ENCODING): Define.
-       (tc_cfi_reloc_for_encoding): Define.
-       (mips_cfi_reloc_for_encoding): Define.
-       (tc_compact_eh_opcode_stop): Define.
-       (tc_compact_eh_opcode_pad): Define.
-       * doc/as.texinfo: Document Compact EH extensions.
-       * doc/internals.texi: Likewise.
-       * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
-       (tc_cfi_reloc_for_encoding): Provide default.
-       (compact_eh): Declare.
-       (emit_expr_encoded): New function.
-       (get_debugseg_name): Add Compact EH support.
-       (alloc_debugseg_item): Likewise.
-       (cfi_set_sections): New function.
-       (dot_cfi_fde_data): New function.
-       (dot_cfi_personality_id): New function.
-       (dot_cfi_inline_lsda): New function.
-       (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
-       and cfi_inline_lsda.
-       (dot_cfi_personality): Add Compact EH support.
-       (dot_cfi_lsda): Likewise.
-       (dot_cfi_sections): Likewise.
-       (dot_cfi_startproc): Likewise.
-       (get_cfi_seg): Likewise.
-       (output_compact_unwind_data): New function.
-       (output_cfi_insn): Add Compact EH support.
-       (output_cie): Likewise.
-       (output_fde): Likewise.
-       (cfi_finish): Likewise.
-       (cfi_emit_eh_header): New function.
-       (output_eh_header): New function.
-       * dw2gencfi.h (cfi_set_sections): Declare.
-       (SUPPORT_COMPACT_EH): Define.
-       (MULTIPLE_FRAME_SECTIONS): Define.
-       New enumeration to describe the Compact EH header format.
-       (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
-       eh_data, eh_loc and sections.
-       (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
-       CFI_EMIT_eh_frame_compact): Define.
-
-2015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * config/tc-xtensa.c (xtensa_move_literals): Check that
-       search_frag is non-NULL. Report error if literal frag is not
-       found.
-
-2015-05-22  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18446
-       * read.c (output_big_sleb128): Use U suffix to prevent compile
-       time warning.
-
-2015-05-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
-       labels alphabetically.
-       (md_apply_fix): Ditto.
-       (aarch64_force_relocation): Ditto.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * config/tc-i386.c (OPTION_MAMD64): New.
-       (OPTION_MINTEL64): Likewise.
-       (md_longopts): Add -mamd64 and -mintel64.
-       (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
-       (md_show_usage): Add -mamd64 and -mintel64.
-       * doc/c-i386.texi: Document -mamd64 and -mintel64.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (shared): New.
-       (OPTION_MSHARED): Likewise.
-       (elf_symbol_resolved_in_segment_p): Add relocation argument.
-       Check PLT relocations and shared.
-       (md_estimate_size_before_relax): Pass fragP->fr_var to
-       elf_symbol_resolved_in_segment_p.
-       (md_longopts): Add -mshared.
-       (md_show_usage): Likewise.
-       (md_parse_option): Handle OPTION_MSHARED.
-       * doc/c-i386.texi: Document -mshared.
-
-2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * write.c (compress_debug): Don't write the zlib header, which
-       is handled by bfd_update_compression_header.
-
-2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
-       closer than J_RANGE / 2 to jump frag.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
-       * config/tc-i386.c (i386_mach): Support iamcu.
-       (i386_target_format): Likewise.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (cpu_arch): Add iamcu.
-       (i386_align_code): Handle PROCESSOR_IAMCU.
-       (i386_arch): Likewise.
-       (i386_mach): Likewise.
-       (i386_target_format): Likewise.
-       (valid_iamcu_cpu_flags): New function.
-       (check_cpu_arch_compatible): Only allow Intel MCU instructions
-       when targeting Intel MCU.
-       (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
-       are valid for Intel MCU.
-       (md_parse_option): Likewise.
-       * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
-       (processor_type): Add PROCESSOR_IAMCU.
-       * doc/c-i386.texi: Document iamcu.
-
-2015-05-08  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18347
-       * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
-       * config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
-       the symbol name checking code to here from...
-       (md_undefined_symbo): ... here.
-
-2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
-       (md_estimate_size_before_relax): Use it.
-
-2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * config/tc-sparc.c: Typo in comment fixed.
-
-2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
-       condition codes
-       * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
-
-2015-05-06  Nick Clifton  <nickc@redhat.com>
-
-       * doc/as.texinfo (Dollar Local Labels): Note that these are only
-       supported on some targets.
-
-2015-05-06  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
-
-2015-05-05  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
-       symbols.
-
-2015-05-05  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
-       (msp430_make_init_symbols): New function.
-       (msp430_section): Call it.
-       (msp430_frob_section): Likewise.
-
-2015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
-       (struct cached_fixup, struct fixup_cache): New structures.
-       (fixup_order, xtensa_make_cached_fixup),
-       (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
-       (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
-       (xtensa_add_cached_fixup): New functions.
-       (xtensa_relax_frag): Cache fixups pointing at potentially
-       oversized jumps at the beginning of every relaxation pass. Only
-       check subset of this cache in the reach of single jump from the
-       trampoline frag currently being relaxed.
-
-2015-05-01  Nick Clifton  <nickc@redhat.com>
-
-       * config/rl78-parse.y (MULU): Remove ISA_G14.
-       (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
-
-2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
-       * config/tc-i386.h (md_end): Likewise.
-       (i386_elf_emit_arch_note): Likewise.
-
-2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.tgt: Support i386-*-elf*.
-
-2015-04-30  DJ Delorie  <dj@redhat.com>
-
-       * config/rl78-defs.h (rl78_isa_g10): New.
-       (rl78_isa_g13): New.
-       (rl78_isa_g14): New.
-       * config/rl78-parse.y (ISA_G10): New.
-       (ISA_G13): New.
-       (ISA_G14): New.
-       (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
-       * config/tc-rl78.c (rl78_isa_g10): New.
-       (rl78_isa_g13): New.
-       (rl78_isa_g14): New.
-
-2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (i386_target_format): Use "else if" on
-       cpu_arch_isa.
-
-2015-04-30  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18347
-       * config/tc-arm.c (md_undefined_symbol): Issue a warning message
-       (if enabled) when the user creates a symbol with the same name as
-       an ARM instruction.
-       (flag_warn_syms): New static variable.
-       (arm_opts): Add mwarn-syms and mno-warn-syms.
-       * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
-       options.
-
-       PR gas/18353
-       * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       PR 18256
-       * config/tc-arm.c (encode_arm_cp_address): Issue an error message
-       if the operand is neither a register nor a vector.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
-       times if the expression is not constant and the target uses linker
-       relaxation.
-
-2015-04-28  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
-
-2015-04-28  Nick Clifton  <nickc@redhat.com>
-
-       PR 18313
-       * cond.c (s_if): Stop compile time warning about stopc being used
-       before it is set.
-       (s_ifc): Likewise.
-
-2015-04-27  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
-       section.
-       (md_assemble): Likewise, move the align code outside the loop.
-
-2015-04-24  Jim Wilson  <jim.wilson@linaro.org>
-
-       * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
-       for thunderx.
-
-2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
-
-       * config/tc-arm.h (arm_min): New function.
-       (SUB_SEGMENT_ALIGN): Define.
-
-2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * config/tc-mips.c (macro): State the recommended way of creating
-       32-bit or 64-bit addresses.
-
-2015-04-23  Jan Beulich  <jbeulich@suse.com>
-
-       * config/tc-i386.c (match_mem_size): Also allow no size
-       specification when broadcasting.
-
-2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * doc/as.texinfo (Bundle directives): Shorten menu entry and
-       use @subsection.
-       (CFI directives): Use @subsection.
-       (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
-       * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
-
-2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * config/tc-avr.c (create_record_for_frag): Rename link to
-       prop_rec_link.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * NEWS: Mention
-       --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * as.h (compressed_debug_section_type): Removed.
-
-2015-04-14  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
-       (TC_FORCE_RELOCATION_SUB_SAME): Define.
-       (DWARF2_USE_FIXED_ADVANCE_PC): Define.
-
-2015-04-10  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18198
-       * doc/c-arm.texi (ARM Options): Add a note about the interaction of
-       the -EB option with the linker's --be8 option.
-
-2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
-
-       * doc/c-rx.texi: Fix markup typos in last change.
-
-2015-04-09  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
-       (md_longopts): Add -mno-allow-string-insns.
-       (md_parse_option): Handle -mno-allow-string-insns.
-       (md_show_usage): Mention -mno-allow-string-insns.
-       (rx_note_string_insn_use): New function.  Produces an error
-       message if a string insn is used when it is not allowed.
-       * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
-       (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
-       * config/rx-defs.h (rx_note_string_insn_use): Prototype.
-       * doc/c-rx.texi: Document -mno-allow-string-insns.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * as.c (show_usage): Update --compress-debug-sections.
-       (std_longopts): Use optional_argument on compress-debug-sections.
-       (parse_args): Handle
-       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
-       * as.h (compressed_debug_section_type): New.
-       (flag_compress_debug): Change type to compressed_debug_section_type.
-       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
-       * write.c (compress_debug): Set BFD_COMPRESS_GABI for
-       --compress-debug-sections=zlib-gabi.  Call
-       bfd_get_compression_header_size to get compression header size.
-       Don't rename section name for --compress-debug-sections=zlib-gabi.
-       * config/tc-i386.c (compressed_debug_section_type): Set to
-       COMPRESS_DEBUG_ZLIB.
-       * doc/as.texinfo: Document
-       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
-
-2015-04-07  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
-       (s_aarch64_inst): Likewise.
-       (md_assemble): Likewise.
-
-2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * write.c (compress_debug): Use bfd_putb64 to write uncompressed
-       section size.
-
-2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * write.c (compress_debug): Don't write the zlib header if
-       compressed section size is the same as before compression.
-
-2015-04-02  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18189
-       * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
-       min and max parameters.  Sign extend values before testing.
-
-2015-04-02  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
-       (mapping_state_2): Don't emit MAP_DATA here.
-       (s_aarch64_inst): Align frag during state transition.
-       (md_assemble): Likewise.
-
-2015-04-02  Ed Maste  <emaste@freebsd.org>
-
-       * config/tc-aarch64.c (set_error_kind): Delete.
-       (set_error_message): Delete.
-
-2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
-
-       * config/tc-aarch64.c: Add support for Samsung Exynos M1.
-       * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
-
-2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
-
-       * config/tc-arm.c: Add support for Samsung Exynos M1.
-       * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-03-31  Ed Schouten  <ed@nuxi.nl>
-
-       * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Revert the AM_ZLIB change.
-       * Makefile.in: Regenerated.
-       * aclocal.m4: Likewise.
-       * configure: Likewise.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (ZLIBINC): New.
-       (AM_CFLAGS): Add $(ZLIBINC).
-       * as.c: (show_usage): Don't check HAVE_ZLIB_H.
-       (parse_args): Likewise.
-       * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
-       (compress_init): Don't check HAVE_ZLIB_H.
-       (compress_data): Likewise.
-       (compress_finish): Likewise.
-       * configure.ac (AM_ZLIB): Removed.
-       (zlibinc): New.  AC_SUBST.
-       Add --with-system-zlib.
-       * Makefile.in: Regenerated.
-       * config.in: Likewise.
-       * configure: Likewise.
-       * doc/Makefile.in: Likewise.
-
-2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (cpu_flags_set): Removed.
-
-2015-03-25  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
-       code.
-       (mapping_state_2): Emit first MAP_DATA symbol here.
-
-2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/18087
-       * write.c (compress_debug): Don't write the zlib header if
-       compression didn't make the section smaller.
-
-2015-03-24  Terry Guo  <terry.guo@arm.com>
-
-       * config/tc-arm.c (no_cpu_selected): Use new macro to compare
-       features.
-       (parse_psr): Likewise.
-       (do_t_mrs): Likewise.
-       (do_t_msr): Likewise.
-       (static const arm_feature_set arm_ext_*): Defined with new macros.
-       (static const arm_feature_set arm_cext_*): Likewise.
-       (static const arm_feature_set fpu_fpa_ext_*): Likewise.
-       (static const arm_feature_set fpu_vfp_ext_*): Likewise.
-       (deprecated_coproc_regs): Likewise.
-       (UL_BARRIER): Likewise.
-       (barrier_opt_names): Likewise.
-       (arm_cpus): Likewise.
-       (arm_extensions): Likewise.
-
-2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/tc-i386.c (i386_align_code): Limit multi-byte nop
-       instructions to 10 bytes.
-
-2015-03-19  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rl78.c (enum options): Add G13 and G14.
-       (md_longopts): Add -mg13 and -mg14.
-       (md_parse_option): Handle -mg13 and -mg14.
-       (md_show_usage): List -mg13 and -mg14.
-       * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
-
-2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18087
-       * doc/as.texinfo: Note that when gas compresses debug sections the
-       compression is only performed if it makes the section smaller.
-       * write.c (compress_debug): Do not compress a debug section if
-       doing so would make it larger.
-
-2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
-
-       * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
-       (i386_align_code): Add PROCESSOR_ZNVER cases.
-       * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
-       * doc/c-i386.texi: Add znver1 and clzero.
-
-2015-03-16  Nick Clifton  <nickc@redhat.com>
-
-       * dwarf2dbg.c (out_header): Remove spurious #if 1.
-
-2015-03-13  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
-       number 31.
-
-2015-03-13  Jiong Wang  <jiong.wang@arm.com>
-
-       * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
-
-2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
-       * doc/c-mips.texi: Document i6400 -march option.
-
-2015-03-12  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/17444
-       * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
-       to arm_apply_sym_value.  Update prototype.
-       * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
-       Do not apply the value if the symbol is in a different segment to
-       the current segment.
-
-2015-03-11  Alan Modra  <amodra@gmail.com>
-
-       * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
-       (md_apply_fix): Report an error on data-only fixups used with insns.
-
-2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * config/tc-s390.c (md_gather_operands): Check for valid
-       length field operands.
-
-2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
-
-       * config/tc-arm.c (parse_operands): Fix bug setting writeback
-       values for '^' on OP_REGLSTs.
-       (do_push_pop): Add new writeback constraint.
-
-2015-03-10  Renlin Li  <renlin.li@arm.com>
-
-       * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
-       (mapping_state_2): Emit first MAP_DATA symbol here.
-
-2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (mapping_state): Set minimum alignment for
-       code sections.
-
-2015-03-10  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/17852
-       * config/tc-arm.c (md_begin): Ensure that selected_cpu is
-       initialised when CPU_DEFAULT is defined.
-
-2015-03-05  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-v850.c (md_parse_option): Fix code to set or clear
-       EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
-       -m8byte-align and -m4byte-align command line options.
-
-2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
-
-       PR gas/17843
-       * config/tc-aarch64.c (process_movw_reloc_info): Allow
-       R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
-       for MOVK.
-
-2015-02-28  Alan Modra  <amodra@gmail.com>
-
-       * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
-       end to their alignment.
-
-2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * config/tc-aarch64.c (reloc_table_entry): Generate
-       BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
-       (md_apply_fix, aarch64_force_relocation): Handle
-       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
-
-2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * config/tc-aarch64.c (reloc_table_entry): Generate
-       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
-       (md_apply_fix, aarch64_force_relocation): Handle
-       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
-
-2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * config/tc-aarch64.c (reloc_table_entry): Generate
-       BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
-       (md_apply_fix, aarch64_force_relocation): Handle
-       BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
-       (reloc_table): Likewise.
-       (parse_address_main): Use ld_literal_type.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
-       (reloc_table): Likewise.
-       (parse_address_main): Use adr_type.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * config/tc-avr.c: Add elf32-avr.h include.
-       (struct avr_property_record_link): New structure.
-       (avr_output_property_section_header): New function.
-       (avr_record_size): New function.
-       (avr_output_property_record): New function.
-       (avr_create_property_section): New function.
-       (avr_handle_align): New function.
-       (exclude_section_from_property_tables): New function.
-       (create_record_for_frag): New function.
-       (append_records_for_section): New function.
-       (avr_create_and_fill_property_section): New function.
-       (avr_post_relax_hook): New function.
-       * config/tc-avr.h (md_post_relax_hook): Define.
-       (avr_post_relax_hook): Declare.
-       (HANDLE_ALIGN): Define.
-       (avr_handle_align): Declare.
-       (strut avr_frag_data): New structure.
-       (TC_FRAG_TYPE): Define.
-
-2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
-       cortex-a72.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-v850.c (soft_float): New variable.
-       (v850_data_8): New variable.
-       (md_show_usage): Add -msoft-float/-mhard-float.
-       (md_parse_option): Likewise.
-       (md_begin): Set the default value of soft_float.
-       (v850_md_end): New function.  Creates a note section.
-       * config/tc-v850.h (md_end): Define.
-       * doc/c-v850.texi: Document -msoft-float/-mhard-float.
-
-2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
-
-       * config/tc-h8300.c (line_separater_chars): Add a version for
-       h8300-linux that includes a separator.
-       (default_mach): New variable.
-       (md_main): Use it.
-       (md_longopts): Add '--march' option.
-       (md_parse_option): Parse the new option.
-       * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
-       * configure.tgt: Add h8300-*-linux
-       * doc/c-h8300.texi: Document --march.
-
-2015-02-23  Nick Clifton  <nickc@redhat.com>
-
-       PR 17940
-       * dwarf2dbg.c (out_header): When generating dwarf sections use
-       real symbols not temps for the start and end symbols.
-       * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
-       adjustments to relocations in debug sections.
-       (TC_LINKRELAX_FIXUP): Likewise.
-
-2015-02-19  Alan Modra  <amodra@gmail.com>
-
-       * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
-       * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
-
-2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
-
-2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-arm.c: Add support for Cortex-A72.
-
-2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
-
-       * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
-       of as_warn for deprecation messages.
-       (encode_arm_addr_mode_2): Likewise.
-       (check_obsolete): Likewise.
-       (do_rd_rm_rn): Likewise.
-       (do_co_reg): Likewise.
-       (do_setend): Likewise.
-       (do_t_mov_cmp): Likewise.
-       (do_neon_ldr_str): Likewise.
-       (opcode_lookup): Likewise.
-       (if_fsm_post_encode): Likewise.
-       (md_assemble): Likewise.
-
-2015-02-06  Jan Beulich  <jbeulich@suse.com>
-
-       * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
-       (cfi_change_reg_numbers): Also do nothing for CFI_label.
-       (cfi_pseudo_table): Also handle .cfi_label when not supporting
-       CFI directives.
-
-2015-02-05  Alan Modra  <amodra@gmail.com>
-
-       * config/tc-msp430.c (md_assemble): Correct size passed to
-       extract_cmd.  Remove index check.
-
-2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
-       * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
-
-2015-02-04  Nick Clifton  <nickc@redhat.com>
-
-       * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
-       these instructions.
-
-2015-02-03  Renlin Li  <renlin.li@arm.com>
-
-       * doc/c-aarch64.texi (.arch): Document the directive.
-       (.arch_extension): Likewise.
-
-2015-02-03  Nick Clifton  <nickc@redhat.com>
-
-       * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * Makefile.am: Add FT32 files.
-       * config/tc-ft32.c: New file.
-       * config/tc-ft32.h: New file.
-       * configure.tgt: Add FT32 support.
-       * Makefile.in: Regenerate.
-       * po/POTFILES.in: Regenerate.
-
-2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-
-       * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
-       of instruction la to a symbol.
-
-2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-
-       * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
-       section name.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
-       * write.c (get_frag_for_reloc): Allow match just past end of frag.
-
-2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * config/tc-s390.c (struct pd_reg): Remove.
-       (pre_defined_registers): Remove.
-       (REG_NAME_CNT): Remove.
-       (reg_name_search): Calculate the register number instead of doing
-       a lookup.
-       (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
-       reg_name_search signature.
-       (s390_parse_cpu): Support the new arch string z13.
-       (s390_insert_operand): Support for vector registers with the extra
-       field for the fifth bit of each vector register operand.
-       (md_gather_operand): Adjust to the new handling of optional
-       parameters.
-
-       * doc/as.texinfo: Document the z13 cpu string.
-
-2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
-       #0, restoring previous behaviour.
-
-2015-01-12  Jan Beulich  <jbeulich@suse.com>
-
-       * dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
-       (cfi_pseudo_table): Add "cfi_label".
-       (output_cfi_insn): Handle CFI_label.
-       (select_cie_for_fde): Als terminate CIE when encountering
-       CFI_label.
-       * dw2gencfi.h (cfi_add_label): Declare.
-       (struct cfi_insn_data): New member "sym_name".
-       (CFI_label): New.
-       * read.c (read_symbol_name): Drop "static".
-       * read.h (read_symbol_name): Declare.
-
-2015-01-12  Jan Beulich  <jbeulich@suse.com>
-
-       * config/tc-arm.c (do_neon_shl_imm): Check immediate range.
-       (do_neon_qshl_imm): Likewise.
-
-2015-01-12  Alan Modra  <amodra@gmail.com>
-
-       * read.c (s_altmacro, s_reloc): Make definition static.
-
-2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
-       diff fixups.
-
-2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
-
-       * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
-       X-Gene 2.
-       * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
-
-2015-01-07  Jan Beulich <jbeulich@suse.com>
-
-       * config/tc-arm.c (struct arm_option_extension_value_table):
-       Split field "value" into fields "merge_value" and "clear_value".
-       (arm_extensions): Adjust initializer accordingly.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       * as.c (parse_args): Just print current year.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/gas/ChangeLog-2015 b/gas/ChangeLog-2015
new file mode 100644 (file)
index 0000000..8b4af36
--- /dev/null
@@ -0,0 +1,2043 @@
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (arm_ext_v6t2_v8m): New feature for instructions
+       shared between ARMv6T2 and ARMv8-M.
+       (move_or_literal_pool): Check mov.w/mvn and movw availability against
+       arm_ext_v6t2 and arm_ext_v6t2_v8m respectively instead of checking
+       arm_arch_t2.
+       (do_t_branch): Error out for wide conditional branch instructions if
+       targetting ARMv8-M Baseline.
+       (non_v6t2_wide_only_insn): Add the logic for new wide-only instructions
+       in ARMv8-M Baseline.
+       (wide_insn_ok): New function.
+       (md_assemble): Use wide_insn_ok instead of non_v6t2_wide_only_insn and
+       adapt error message for unsupported wide instruction to ARMv8-M
+       Baseline.
+       (insns): Reorganize instructions shared by ARMv8-M Baseline and
+       ARMv6t2 architecture.
+       (arm_cpus): Set feature bit ARM_EXT2_V6T2_V8M for marvell-pj4 and
+       marvell-whitney cores.
+       (arm_archs): Define armv8-m.base architecture.
+       (cpu_arch_ver): Define ARM_ARCH_V8M_BASE architecture version.
+       (aeabi_set_public_attributes): Add logic to set Tag_CPU_arch to 17 for
+       ARMv8-M Mainline.  Set Tag_DIV_use for ARMv8-M Baseline as well.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (arm_ext_m): Include ARMv8-M.
+       (arm_ext_v8m): New feature for ARMv8-M.
+       (arm_ext_atomics): New feature for ARMv8 atomics.
+       (do_tt): New encoding function for TT* instructions.
+       (insns): Add new entries for ARMv8-M specific instructions and
+       reorganize the ones shared by ARMv8-M Mainline and ARMv8-A.
+       (arm_archs): Define armv8-m.main architecture.
+       (cpu_arch_ver): Define ARM_ARCH_V8M_MAIN architecture version and
+       clarify the ordering rule.
+       (aeabi_set_public_attributes): Use TAG_CPU_ARCH_* macro to refer to
+       Tag_CPU_arch values for ARMv7e-M detection.  Add logic to keep setting
+       Tag_CPU_arch to ARMv8-A for -march=all.  Also set Tag_CPU_arch_profile
+       to 'A' if extension bit for atomic instructions is set, unless it is
+       ARMv8-M.  Set Tag_THUMB_ISA_use to 3 for ARMv8-M.  Set Tag_DIV_use to 0
+       for ARMv8-M Mainline.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (move_or_literal_pool): Check mov.w, mvm and movw
+       availability against arm_ext_v6t2 instead of checking arm_arch_t2,
+       fixing comments along the way.
+       (handle_it_state): Check arm_ext_v6t2 instead of arm_arch_t2 to
+       generate IT instruction.
+       (t1_isa_t32_only_insn): New function.
+       (md_assemble): Use above new function to check for invalid wide
+       instruction for CPU Thumb ISA and to determine what Thumb extension
+       bit is necessary for that instruction.
+       (md_apply_fix): Use arm_ext_v6t2 instead of arm_arch_t2 to decide if
+       branch is out of range.
+
+2015-12-21  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/19386
+       * doc/as.texinfo (Strings): Prepend a space to index entries that
+       start with a backslash.  This works around a problem in the pdf
+       generator.
+
+2015-12-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (optimize_imm): Store 32-bit immediate in
+       64-bit only for 64-bit BFD.
+       (optimize_disp): Optimize 64-bit displacement to 32-bit only
+       for 64-bit BFD.
+
+2015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * config/tc-arm.c (aeabi_set_public_attributes): Adjust
+       TAG_ARCH_profile for armv8-a.
+
+2015-12-16 Mickael Guene <mickael.guene@st.com>
+
+       * doc/c-arm.texi: Add documentation about new directives
+       * config/tc-arm.c (group_reloc_table): Add mapping between gas
+       syntax and new relocations.
+       (do_t_add_sub): Keep new relocations for add operand.
+       (do_t_mov_cmp): Keep new relocations for mov operand.
+       (insns): Use 'shifter operand with possible group relocation'
+       operand parse code for movs operand.
+       (md_apply_fix): Implement mov and add encoding when new
+       relocations on them.
+       (tc_gen_reloc): Add new relocations.
+       (arm_fix_adjustable): Since offset has a limited range ([0:255])
+       we disable adjust_reloc_syms() for new relocations.
+
+2015-12-15  Nick Clifton  <nickc@redhat.com>
+
+       * doc/c-msp430.texi (MSP430 Options): Remove references to a
+       non-existant silicon errata.
+       * config/tc-msp430.c: Likewise.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (parse_neon_type_for_operand): Adjust to
+       take into account new vector type 2H.
+       (vectype_to_qualifier): Likewise.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (vectype_to_qualifier): Calculate operand
+       qualifier from per-type base and offet.
+
+2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * config/rx-defs.h(rx_cpu_type): Add RXV2 type.
+       * config/tc-rx.c(cpu_type_list): New type lookup table.
+       (md_parse_option): Use lookup table for choose cpu.
+       (md_show_usage): Add rxv2 for mcpu option.
+       * doc/c-rx.texi: Likewise.
+       * config/rx-parse.y: Add v2 instructions and ACC register.
+       (rx_check_v2): check v2 type.
+
+2015-12-14  Jan Beulich  <jbeulich@suse.com>
+
+       * dw2gencfi.c (dot_cfi_label): Free "name".
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_hint_opt_hsh): New.
+       (parse_barrier_psb): New.
+       (parse_operands): Add case for AARCH64_OPND_BARRIER_PSB.
+       (md_begin): Set up aarch64_hint_opt_hsh.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_features): Add "profile".
+       * doc/c-aarch64.texi (AArch64 Extensions): Add "profile".
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (parse_sys_ins_reg): Add check of
+       architectural support for system register.
+
+2015-12-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * doc/c-sparc.texi (Sparc-Regs): Document the %dN and %qN notation
+       for floating-point registers.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc.
+
+2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-arc.c (md_parse_option): Return 1 in order to accept
+       dummy arguments.
+
+2015-12-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c (sparc_ip): Support %dN and %qN notation for
+       double and quad-precision floating-point registers.
+
+2015-12-09  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rx.c (rx_relax_frag): Fix compile time warning.
+
+2015-12-08  Jan Beulich  <jbeulich@suse.com>
+
+       * read.c (in_bss): New.
+       (do_align): Use it to also warn for non-zero fill in .bss.
+       (do_org): Likewise.
+       (s_space): Likewise.
+       (s_fill): Error on bad use in .bss/.struct.
+       (float_cons): Likewise.
+       (emit_leb128_expr): Likewise.
+       (emit_expr_with_reloc): Defer handling use inside .struct. Also
+       error on non-zero item added to .bss.
+       (stringer_append_char): Error on non-zero character.
+
+2015-12-08  Jan Beulich  <jbeulich@suse.com>
+
+       * read.c (stringer): Move absolute section check up. Return
+       right away.
+
+2015-12-08  Jan Beulich  <jbeulich@suse.com>
+
+       * config/obj-elf.c (elf_file_symbol): Tighten condition for
+       moving BSF_FILE symbols.
+
+2015-12-08  DJ Delorie  <dj@redhat.com>
+
+       * config/rl78-parse.y: Make all branches relaxable via
+       rl78_linkrelax_branch().
+       * config/tc-rl78.c (rl78_linkrelax_branch): Mark all relaxable
+       branches with relocs.
+       (options): Add OPTION_NORELAX.
+       (md_longopts): Add -mnorelax.
+       (md_parse_option): Support OPTION_NORELAX.
+       (op_type_T): Add bh, sk, call, and br.
+       (rl78_opcode_type): Likewise.
+       (rl78_relax_frag): Fix not-relaxing logic.  Add sk.
+       (md_convert_frag): Fix relocation handling.
+       (tc_gen_reloc): Strip relax relocs when not linker relaxing.
+       (md_apply_fix): Defer overflow handling for anything that needs a
+       PLT, to the linker.
+       * config/tc-rl78.h (TC_FORCE_RELOCATION): Force all relocations to
+       the linker when linker relaxing.
+       * doc/c-rl78.texi (norelax): Add.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_apply_fix): Localize variables.  Reduce casts.
+
+2015-12-04  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/19276
+       * config/tc-arm.h (SUB_SEGMENT_ALIGN): Do not define for COFF/PE
+       targets.
+
+2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/tc-arc.c (arc_option): Sets all internal gas options when
+       parsing .cpu directive.
+       (declare_register_set): Declare all 64 registers.
+       (md_section_align): Refactor.
+       (md_pcrel_from_section): Remove assert.
+       (pseudo_operand_match): Fix pseudo operand match.
+       (find_reloc): Use flags filed, extend matching.
+       * config/tc-arc.h (TC_VALIDATE_FIX): Don't fixup any PLT
+       relocation.
+
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * config/aout_gnu.h: Invoke aout N_* macros with pointer to
+       struct internal_exec.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_features): Add "fp16".
+       * doc/c-aarch64.texi (Architecture Extensions): Add "fp16".
+
+2015-11-24  Christophe Monat <christophe.monat@st.com>
+
+       * config/tc-arm.c (move_or_literal_pool): Do not transform ldr
+       ri,=imm into movs when ri is a high register in T1.
+
+2015-11-20  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+       * po/uk.po: Updated Ukraninan translation.
+       * po/zh_CN.po: New simplified Chinese translation.
+       * configure.ac (ALL_LINGUAS): Add zh_CN.
+       * configure: Regenerate.
+
+2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c (arm_archs): Add "armv8.2-a".
+       * doc/c-arm.texi (-march): Add "armv8.2-a".
+
+2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_archs): Add "armv8.2-a".
+       * doc/c-aarch64.texi (-march): Likewise.
+
+2015-11-19  Alan Modra  <amodra@gmail.com>
+
+       * read.c (output_big_leb128): Describe "sign" parameter.
+
+2015-11-19  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define only for ELF.
+
+2015-11-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/tc-microblaze.c (parse_imm): Add an offsetT cast.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.26.
+
+2015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add cortex-a35.
+       * doc/c-aarch64.texi (-mcpu=): Likewise.
+
+2015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Likewise.
+       * doc/c-arm.texi (-mcpu=): Likewise.
+
+2015-11-12  Matthew Wahab  <matthew.wahab@arm.com>
+
+       PR gas/19217
+       * config/tc-arm.c (move_or_literal_pool): Remove redundant feature
+       check.  Fix some code formatting.  Drop use of MOVT.  Add some
+       comments.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
+       * doc/c-ppc.texi (PowerPC-Opts):  Likewise.
+       * config/tc-ppc.c (md_show_usage): Likewise.
+       (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
+       (md_apply_fix): Likewise.
+       (ppc_handle_align): Handle power9's group ending nop.
+
+2015-11-09  Jim Wilson  <jim.wilson@linaro.org>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
+       * config/tc-arm.c (arm_cpus): Likewise.
+       * doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
+
+2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * read.c (parse_bitfield_cons): Fix left shift of negative value.
+       * config/tc-xstormy16.c (md_section_align): Likewise.
+       * config/tc-xgate.c (md_section_align): Likewise.
+       * config/tc-visium.c (md_section_align): Likewise.
+       * config/tc-v850.c (md_section_align): Likewise.
+       * config/tc-tic6x.c (md_section_align): Likewise.
+       * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
+       (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
+       * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
+       * config/tc-score.c (s3_section_align): Likewise.
+       * config/tc-score7.c (s7_section_align): Likewise.
+       * config/tc-s390.c (md_section_align): Likewise.
+       * config/tc-rx.c (md_section_align): Likewise.
+       * config/tc-rl78.c (md_section_align): Likewise.
+       * config/tc-ppc.c (md_section_align): Likewise.
+       * config/tc-or1k.c (md_section_align): Likewise.
+       * config/tc-nds32.c (md_section_align): Likewise.
+       * config/tc-mt.c (md_section_align): Likewise.
+       * config/tc-msp430.c (md_section_align): Likewise.
+       * config/tc-mn10300.c (md_section_align): Likewise.
+       * config/tc-mn10200.c (md_section_align): Likewise.
+       * config/tc-mips.c (md_section_align): Likewise.
+       * config/tc-microblaze.c (parse_imm): Likewise.
+       * config/tc-mep.c (md_section_align): Likewise.
+       * config/tc-m68k.c (md_section_align): Likewise.
+       * config/tc-m68hc11.c (md_section_align): Likewise.
+       * config/tc-m32r.c (md_section_align): Likewise.
+       * config/tc-m32c.c (md_section_align): Likewise.
+       * config/tc-lm32.c (md_section_align): Likewise.
+       * config/tc-iq2000.c (md_section_align): Likewise.
+       * config/tc-ip2k.c (md_section_align): Likewise.
+       * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
+       * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
+       * config/tc-i386.c (md_section_align): Likewise.
+       * config/tc-i370.c (md_section_align): Likewise.
+       * config/tc-frv.c (md_section_align): Likewise.
+       * config/tc-fr30.c (md_section_align): Likewise.
+       * config/tc-epiphany.c (md_section_align): Likewise.
+       * config/tc-d30v.c (md_section_align): Likewise.
+       * config/tc-d10v.c (md_section_align): Likewise.
+       * config/tc-cr16.c (l_cons): Likewise.
+       * config/tc-bfin.c (md_section_align): Likewise.
+       * config/tc-arm.c (md_section_align): Likewise.
+       * config/tc-arc.c (md_section_align): Likewise.
+       * config/bfin-parse.y (expr_1): Likewise.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx-parse.y: Allow zero value for 5-bit displacements.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rx.c (parse_rx_section): Align parameter provides a
+       multiple of n argument, not a power of n argument.
+
+2015-10-29  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-aarch64.c (elf64_aarch64_target_format): Select the
+       cloudabi format if the TARGET_OS is cloudabi.
+
+2015-10-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
+       arm_ext_v6_dsp.
+
+2015-10-28  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/tc-arc.c (tokenize_arguments): Avoid creating unused
+       symbols when parsing relocation types.
+       (md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
+       relocation.
+       (arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
+
+2015-10-27  Jim Wilson  <jim.wilson@linaro.org>
+
+       * config/tc-arm.c (selected_cpu_name): Increase length of array to
+       accomodate "Samsung Exynos M1".
+       (arm_parse_cpu): Add assertion and length check to prevent
+       overfilling selected_cpu_name.
+
+2015-10-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
+       (OPTION_SILICON_ERRATA): Define.
+       (OPTION_SILICON_WARN): Define.
+       (md_parse_opton): Handle silicon errata options.
+       (md_longopts): Add silicon errata options.
+       (ms_show_usage): Report silicon errata options.
+       (msp430_srcoperand): Handle silicon errata.
+       (msp430_operands): Likewise. Improve nop insertion.
+       (msp430_fix_adjustable): Update warning generation.
+       * doc/c-msp430.texi: Document silicon errata options.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Properly check
+       --enable-compressed-debug-sections={yes,all}.
+       * configure: Regenerated.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/19109
+       * configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
+       * configure: Regenerated.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Handle
+       BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
+       (tc_gen_reloc): Likewise.
+       (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
+       BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
+       * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
+       true for BFD_RELOC_X86_64_GOTPCRELX and
+       BFD_RELOC_X86_64_REX_GOTPCRELX.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Handle
+       BFD_RELOC_386_GOT32X.
+       (tc_gen_reloc): Likewise.
+       (match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
+       (output_disp): Check for "call/jmp *mem", "mov mem, %reg",
+       "test %reg, mem" and "binop mem, %reg" where binop is one of
+       adc, add, and, cmp, or, sbb, sub, xor instructions.  Set
+       fx_tcbit if the REX prefix is generated.  Set fx_tcbit2 if
+       BFD_RELOC_386_GOT32X should be generated.
+       (i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
+       is set.
+
+2015-10-21  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/19109
+       * configure.ac: Restore --enable-compressed-debug-sections, with
+       options of all, none or gas.
+       Do not enable compressed debug sections by default for x86 Linux
+       targets.
+       * configure: Regenerate.
+
+2015-10-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/19109
+       * NEWS: Update --enable-compressed-debug-sections=.
+       * configure.ac: Remove --enable-compressed-debug-sections.
+       (DEFAULT_FLAG_COMPRESS_DEBUG): Check
+       --enable-compressed-debug-sections={all,gas} instead of
+       --enable-compressed-debug-sections.  For x86 Linux targets,
+       default to compressing debug sections.
+       * configure: Regenerated.
+
+2015-10-19  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/19109
+       * configure.ac: Add option --enable-compressed-debug-sections.
+       This sets the default behaviour for compressing debug sections.
+       * as.c (flag_compress_debug): Define and initialise to
+       COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
+       (show_usage): Indicate whether --no-compress-debug-sections
+       or --compress-debug-sections is the default.
+       * config/tc-i386.c (flag_compress_debug): Delete definition.
+       * doc/as.texinfo (--nocompress-debug-sectionas): Update
+       description.
+       * NEWS: Announce the new feature.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2015-10-12  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-msp430.c (msp430_mcu_names): Rename to
+       msp430_mcu_data.  Add fields for the ISA and hardware multiply
+       support.  Update with information from the latest devices.csv
+       file.
+       (md_parse_option): Make use of the new array.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
+       for align and fill records.
+       (avr_handle_align): Record fill information for align frags.
+       (create_record_for_frag): Add next frag assertion, use correct
+       address for align records.
+
+2015-10-10  Alan Modra  <amodra@gmail.com>
+
+       PR gas/19113
+       * read.c (next_char_of_string): Mask char after escape.  Use
+       CHAR_MASK rather than 0xff.
+
+2015-10-07  Yao Qi  <yao.qi@linaro.org>
+
+       * config/tc-aarch64.c (md_begin): Access field 'name' rather
+       than 'template'.
+
+2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/tc-arc.c: Revamped file for ARC support.
+       * config/tc-arc.h: Likewise.
+       * doc/as.texinfo: Add new ARC options.
+       * doc/c-arc.texi: Likewise.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (s_tlsdescadd): New.
+       (s_tlsdescldr): New.
+       (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
+       (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
+       BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
+       (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
+       AARCH64_TLSDESC_OFF_G0_NC.
+       (md_apply_fix): Likewise.
+       (aarch64_force_relocation): Likewise.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): Add two entries for
+       gottprel_g0_nc and gottprel_g1.
+       (process_movw_reloc_info): Add support.
+       (md_apply_fix): Likewise.
+       (aarch64_force_relocation): Likewise.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
+       (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
+       (md_apply_fix): Likewise.
+       (aarch64_force_relocation): Likewise.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
+       (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
+       (md_apply_fix): Likewise.
+       (aarch64_force_relocation): Likewise.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifier
+       gotoff_g0_nc.
+       (process_movw_reloc_info): Support gotoff_g0_nc.
+       (md_apply_fix): Likewise.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifier
+       gotoff_g1.
+       (process_movw_reloc_info): Support newly added modifier.
+       (md_apply_fix): Likewise.
+
+2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * doc/c-s390.texi: Add documentation.
+       Add missing code markup.
+       * config/tc-s390.c (current_flags): New static variable.
+       (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
+       (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
+       Fix indentation.
+       (md_parse_option): Call s390_parse_cpu with the new signature.
+       (s390_machine): Likewise.
+       Keep track of current_flags.
+       Simplify code a bit.
+       undefine MAX_HISTORY at end of function.
+       (s390_machinemode): undefine MAX_HISTORY at end of function.
+       Update an error message.
+
+2015-08-11  Peter Zotov  <whitequark@whitequark.org>
+
+       PR ld/18759
+       * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
+       relative relocs.
+       * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
+
+2015-09-25  Ryo ONODERA  <ryo_on@yk.rim.or.jp>
+
+       PR 18994
+       * configure.ac (nds32): Don't use bash == in tests.
+       * configure: Regenerate.
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
+
+2015-09-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rx.c (nop_7): Recode using MAX.
+
+2015-09-05  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
+       the latest gcc's warning.
+
+2015-08-27  Alan Modra  <amodra@gmail.com>
+
+       PR gas/18581
+       * config/tc-aarch64.h (TC_START_LABEL): Redefine.
+       * config/tc-arm.c (tc_start_label_without_colon): Delete params.
+       Use input_line_pointer directly.
+       * config/tc-arm.h (TC_START_LABEL): Redefine.
+       (TC_START_LABEL_WITHOUT_COLON): Redefine.
+       (tc_start_label_without_colon): Update prototype.
+       * config/tc-bfin.c (bfin_start_label): Delete ptr param.  Check
+       for NUL instead.
+       * config/tc-bfin.h (bfin_start_label): Update prototype.
+       (TC_START_LABEL): Redefine.
+       * config/tc-d30v.h (TC_START_LABEL): Redefine.
+       * config/tc-fr30.c (restore_colon): Rewrite.
+       (fr30_is_colon_insn): Add nul_char param.  Return int.  Bump
+       i_l_p over quote.  Update restore_colon calls.
+       * config/tc-fr30.h (TC_START_LABEL): Redefine.
+       (fr30_is_colon_insn): Update prototype.
+       * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
+       * config/tc-m32c.h (TC_START_LABEL): Redefine.
+       (m32c_is_colon_insn): Update prototype.
+       * config/tc-m32r.h (TC_START_LABEL): Redefine.
+       * config/tc-mep.h (TC_START_LABEL): Redefine.
+       * config/tc-nds32.h (TC_START_LABEL): Redefine.
+       * config/tc-tic54x.c (tic54x_start_label): Replace params with
+       nul_char and next_char.  Step over trailing quote.
+       * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
+       (tic54x_start_label): Update prototype.
+       * read.c (TC_START_LABEL): Redefine.  Update invocation.
+       (TC_START_LABEL_WITHOUT_COLON): Update invocation.
+       * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
+       and restore if calling s_set.  Don't restore delim again.
+
+2015-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR gas/18581
+       * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
+       call to where input line used to be restored.
+       * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
+       line restore.
+       * config/tc-tilepro.c (parse_reg_expression): Add regname var.
+
+2015-08-26  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18842
+       * configure.ac (AS_CHECK_DECLS): Add asprintf.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c (priv_reg_table): New privileged register
+       %pmcdper.
+
+2015-08-21  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18581
+       * expr.c (get_symbol_end): Rename to get_symbol_name.  Add a
+       return parameter pointing to the start of the symbol.  Allow
+       symbol names enclosed in double quotes.
+       (restore_line_pointer): New function.  Replace the NUL character
+       inserted into the input stream with the given character.  If the
+       character was a double quote, advance the input pointer.
+       * expr.h (get_symbol_end): Delete.
+       (get_symbol_name): Add prototype.
+       (restore_line_pointer): Prototype.
+       * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
+       * doc/as.texinfo (Symbol Intro): Document that symbol names can
+       now be enclosed in double quotes.
+       * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
+       Use restore_line_pointer to replace the NUL in the input stream.
+       Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
+       Check for the use of double quoted symbol names.
+       * expr.c: Likewise.
+       * config/obj-aout.c: Likewise.
+       * config/obj-coff-seh.c: Likewise.
+       * config/obj-coff.c: Likewise.
+       * config/obj-elf.c: Likewise.
+       * config/obj-evax.c: Likewise.
+       * config/obj-macho.c: Likewise.
+       * config/obj-som.c: Likewise.
+       * config/tc-alpha.c: Likewise.
+       * config/tc-arc.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-dlx.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i386-intel.c: Likewise.
+       * config/tc-i386.c: Likewise.
+       * config/tc-i960.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-iq2000.c: Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-m68hc11.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-microblaze.c: Likewise.
+       * config/tc-mips.c: Likewise.
+       * config/tc-mmix.c: Likewise.
+       * config/tc-mn10200.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-nios2.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-score.c: Likewise.
+       * config/tc-score7.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-tic6x.c: Likewise.
+       * config/tc-tilegx.c: Likewise.
+       * config/tc-tilepro.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-xtensa.c: Likewise.
+       * config/tc-z80.c: Likewise.
+       * dw2gencfi.c: Likewise.
+       * dwarf2dbgc.: Likewise.
+       * ecoff.c: Likewise.
+       * read.c: Likewise.
+       * stabs.c: Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation types support for
+       dtprel_lo12.
+       (ldst_lo12_determine_real_reloc_type): Support
+       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
+       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
+       BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
+       (parse_operands): Likewise.
+       (md_apply_fix): Likewise.
+       (aarch64_force_relocation): Likewise.
+       (process_movw_reloc_info): Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers,
+       "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
+       "dtprel_g1_nc", "dtprel_g2".
+       (md_apply_fix): Support new relocation types.
+       (aarch64_force_relocation): Likewise.
+       (process_movw_reloc_info): Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
+       (aarch64_force_relocation): Likewise.
+
+2015-08-17  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-arm.c (s_align): Delete.
+       (md_pseudo_table): Use s_align_ptwo for "align".
+       * config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
+       * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
+
+2015-08-13  Alan Modra  <amodra@gmail.com>
+
+       * expr.c (operand): Rewrite handling of operands starting with "0f".
+       If atof_generic only parses "-" or "+", treat as expression.
+
+2015-08-13  Alan Modra  <amodra@gmail.com>
+           DJ Delorie  <dj@redhat.com>
+
+       * expr.c (integer_constant): Return O_absent expression if eol.
+       (operand): For targets with both LOCAL_LABELS_FB and
+       NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
+       digits as a local label reference.  Correct handling of 0b prefix.
+       If a suffix is not allowed, error on 0B.
+
+2015-08-13  Alan Modra  <amodra@gmail.com>
+
+       * doc/as.texinfo (Local Labels): Allowed range of N in local
+       labels is non-negative integers, not positive integers.
+
+2015-08-12  David Weatherford  <weath@cadence.com>
+
+       * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
+       New structures.
+       (xtensa_maybe_create_literal_pool_frag): New function.
+       (litpool_seg_list, auto_litpools, auto_litpool_limit)
+       (litpool_buf, litpool_slotbuf): New static variables.
+       (option_auto_litpools, option_no_auto_litpools)
+       (option_auto_litpool_limit): New enum identifiers.
+       (md_longopts): Add entries for auto-litpools, no-auto-litpools
+       and auto-litpool-limit.
+       (md_parse_option): Handle option_auto_litpools,
+       option_no_auto_litpools and option_auto_litpool_limit.
+       (md_show_usage): Add help for --[no-]auto-litpools and
+       --auto-litpool-limit.
+       (xtensa_mark_literal_pool_location): Record a place for literal
+       pool with a call to xtensa_maybe_create_literal_pool_frag.
+       (get_literal_pool_location): Find highest priority literal pool
+       or convert candidate to literal pool when auto-litpools are used.
+       (xg_assemble_vliw_tokens): Create literal pool after jump
+       instruction.
+       (xtensa_check_frag_count): Create candidate literal pool every
+       auto_litpool_limit frags.
+       (xtensa_relax_frag): Add jump around literals to non-empty
+       literal pool.
+       (xtensa_move_literals): Estimate literal pool addresses and move
+       unreachable literals closer to their users, converting candidate
+       to literal pool if needed.
+       (xtensa_switch_to_non_abs_literal_fragment): Only emit error
+       about missing .literal_position in case auto-litpools are not
+       used.
+       * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
+       state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
+       * doc/as.texinfo (Xtensa options):  Document --auto-litpools and
+       --no-auto-litpools options.
+       * doc/c-xtensa.texi (Xtensa options): Likewise.
+
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * config/tc-mips.c (move_register): Change to use 'or' only.
+       (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
+       use or for move.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers
+       "dtprel_lo12".
+       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
+       (aarch64_force_relocation): Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
+       (aarch64_force_relocation): Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
+       (aarch64_force_relocation): Likewise.
+
+2015-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18765
+       * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
+       compile time warnings about constant expressions being shifted
+       into bit 31.
+       (do_iwmmxt_wldstd): Likewise.
+       (do_iwmmxt_wrwrwr_or_imm5): Likewise.
+       (md_assemble): Likewise.
+
+       PR gas/18574
+       * config/tc-msp430.c (msp430_operands): Rewrite if statements to
+       remove redundant checks.
+       (md_apply_fix): Likewise.
+
+       PR gas/18677
+       * config/tc-mmix.c (md_assemble): Fix typo checking operands with
+       a numeric constant value.
+
+       PR gas/18678
+       * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
+
+       PR gas/18679
+       * config/xtensa-relax.c (same_operand_name): Fix typo.
+
+2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
+       0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
+
+2015-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * doc/c-aarch64.texi (.xword): Document directive.
+
+2015-08-03  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
+       fix typo in its entry: @kindex -> @item.
+
+2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
+
+       * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
+       * doc/c-mips.texi: Document m5100 and m5101 for -march=.
+
+2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
+
+       * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
+       * doc/c-mips.text: Document -march=interaptiv.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rl78.c (rl78_abs_sym): New local variable.
+       (md_begin): Initialise the new symbol.
+       (OPIMM): Define the value to be relative to the new symbol and not
+       the absolute section symbol.
+
+2015-07-22  Alan Modra  <amodra@gmail.com>
+
+       PR gas/18687
+       * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
+       loop.  Don't drop lines at end of file lacking a newline, add a
+       newline instead.  Ensure partial_size is zero whenever
+       partial_where is NULL.  Adjust buffer size for extra char.
+       (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
+
+2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * NEWS: Mention corrected spelling of armv6kz.
+       * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
+       ARM_ARCH_V6KZ.
+       (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
+       * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
+
+2015-07-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
+       (aarch64_force_relocation): Ditto.
+
+2015-07-16  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
+       * doc/c-arm.texi (-mfpu=): Likewise.  Correct the entry for
+       neon-fp-armv8.1.
+
+2015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
+       not support ARM mode" error messages.
+
+2015-07-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (flag_compress_debug): Replace
+       COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * as.c (parse_args): Make --compress-debug-sections and
+       --compress-debug-sections=zlib the same as
+       --compress-debug-sections=zlib-gabi.
+       * doc/as.texinfo: Change --compress-debug-sections and
+       --compress-debug-sections=zlib to zlib-gabi.
+
+2015-07-09  Catherine Moore  <clm@codesourcery.com>
+
+       * config/tc-mips.c (check_fpabi):  Handle
+       VAL_GNU_MIPS_ABI_FP_NAN2008.
+
+2015-07-08  Ciro Santilli  <ciro.santilli@gmail.com>
+
+       * doc/as.texinfo: Clarify case requirements for pseudo ops.
+
+2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
+
+       * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
+       32 bit PC relative and update offset if the fixup is pc-relative.
+       * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
+       relocs.
+
+2015-07-03  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
+       * doc/c-ppc.texi (PowerPC-Opts): Likewise.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * config/tc-nios2.c (nios2_min_align): New.
+       (nop): Replace with....
+       (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
+       (nios2_align): Handle alignment on 2-byte boundaries when CDX
+       instructions may be present.
+       (s_nios2_align): Adjust reference to nop.
+       (CDXBRANCH, IS_CDXBRANCH): New.
+       (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
+       (nios2_relax_subtype_size): Handle 2-byte CDX branches.
+       (nios2_relax_frag): Likewise.
+       (md_convert_frag): Handle R2 encodings.
+       (nios2_check_overflow): Check that low-order bits are zero
+       before applying rightshift from howto.
+       (nios2_check_overflow): Correct negative overflow calculation.
+       (nios2_diagnose_overflow): Handle signed_immed12_overflow.  Issue
+       generic overflow messages for miscellaneous instruction formats.
+       (md_apply_fix): Recognize new R2 relocations.  For pc_relative
+       relocations, store fixup in *valP.
+       (nios2_reglist_mask, nios2_reglist_dir): New.
+       (nios2_parse_reglist): New.
+       (nios2_parse_base_register): New.
+       (nios2_assemble_expression): Handle constant expressions designated
+       by BFD_RELOC_NONE.
+       (nios2_assemble_reg3): New.
+       (nios2_assemble_arg_c): Handle R2 instruction formats.
+       (nios2_assemble_arg_d): Likewise.
+       (nios2_assemble_arg_s): Likewise.
+       (nios2_assemble_arg_t): Likewise.
+       (nios2_assemble_arg_D): New.
+       (nios2_assemble_arg_S): New.
+       (nios2_assemble_arg_T): New.
+       (nios2_assemble_arg_i): Handle R2 instruction formats.
+       (nios2_assemble_arg_I): New.
+       (nios2_assemble_arg_u): Handle R2 instruction formats.
+       (nios2_assemble_arg_U): New.
+       (nios2_assemble_arg_V): New.
+       (nios2_assemble_arg_W): New.
+       (nios2_assemble_arg_X): New.
+       (nios2_assemble_arg_Y): New.
+       (nios2_assemble_arg_o): Handle R2 instruction formats.
+       (nios2_assemble_arg_O): New.
+       (nios2_assemble_arg_P): New.
+       (nios2_assemble_arg_j): Handle R2 instruction formats.
+       (nios2_assemble_arg_k): New.
+       (nios2_assemble_arg_l): Handle R2 instruction formats.
+       (nios2_assemble_arg_m): Likewise.
+       (nios2_assemble_arg_M): New.
+       (nios2_assemble_arg_N): New.
+       (nios2_assemble_arg_e): New.
+       (nios2_assemble_arg_f): New.
+       (nios2_assemble_arg_g): New.
+       (nios2_assemble_arg_h): New.
+       (nios2_assemble_arg_R): New.
+       (nios2_assemble_arg_B): New.
+       (nios2_assemble_args): Handle new argument letters.
+       (nios2_consume_arg): Likewise.
+       (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
+       in error message.
+       (nios2_ps_insn_info_structs): Add nop.n.
+       (output_ubranch): Handle CDX branches.
+       (output_cbranch): Likewise.
+       (output_call): Handle R2 encodings.
+       (output_movia): Likewise.
+       (md_begin): Initialize nios2_min_align.
+       (md_assemble): Align to nios2_min_align.  Adjust nios2_min_align
+       if a 16-bit instruction is seen.
+       (nios2_cons_align): Use appropriate nop pattern.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * config/tc-nios2.c: Adjust includes.
+       (OPTION_MARCH): Define.
+       (md_longopts): Add -march option.
+       (nios2_architecture): New.
+       (nios2_use_arch): New.
+       (md_parse_option): Handle OPTION_MARCH.
+       (md_show_usage): Document -march.
+       (md_begin): Set arch in BFD.
+       (nios2_elf_final_processing): New.
+       * config/tc-nios2.h (elf_tc_final_processing): Define.
+       (nios2_elf_final_processing): New.
+       * doc/c-nios2.texi (-march): Add documentation.
+
+2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
+
+       * config/tc-i386.c (cpu_arch): Add .mwaitx.
+       (process_immext): Check operands for monitorx/mwaitx instructions.
+       * doc/c-i386.texi: Document mwaitx.
+
+2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
+       COMPRESS_DEBUG_GNU_ZLIB.
+       * config/tc-i386.c (flag_compress_debug): Likewise.
+
+2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
+
+2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
+       Allow for optional operands without insert functions.
+
+2015-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18541
+       * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
+       mode against a nearby symbol.
+
+2015-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18481
+       * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
+       in the same case as BFD_RELOC_ARM_TLS_IS32.
+
+2015-06-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (is_double_a_single): Make conditional upon the
+       availablity of a 64-bit type.  Use this type for the argument and
+       mantissa.
+       (double_to_single): Likewise.
+       * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
+       the constant value, if available.  Generate a 64-bit value from a
+       bignum if supported.  Only perform the second optimization for
+       PR 18500 if the 64-bit type is available.
+
+2015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
+
+       PR gas/18500
+       * config/tc-arm.c (is_double_a_single): New function.
+       (double_to_single): New function.
+       (move_or_literal_pool): Add support for converting VLDR to VMOV.
+
+       PR gas/18499
+       * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
+       to MOV.w or MVN.w for Thumb2.
+
+2015-06-17  Nicolas Pitre <nico@linaro.org>
+
+       * as.c (show_usage): Document --sectname-subst.
+       (parse_args): Add --sectname-subst.
+       * as.h (flag_sectname_subst): New.
+       * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
+       * doc/as.texinfo: Document it.
+
+2015-06-15  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifier.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
+       (aarch64_force_relocation): Ditto
+
+2015-06-13  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
+       out_debug_aranges depends on it.
+       (out_debug_aranges): Track size of header to properly pad header
+       for address alignment.
+
+2015-06-11  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR gas/18427
+       * config/tc-hppa.c (last_label_symbol): Declare.
+       (pa_get_label): Return last label in current space/segment or NULL.
+       (pa_define_label): Record last label and add to root.
+       (pa_undefine_label): Remove last label from root.
+
+2015-06-08  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rx.c (rx_op): Correct handling of integer bignums.
+
+2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * NEWS: Mention ARMv8.1 support in the Aarch64 port.
+       * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
+       * doc/c-aarch64.texi (-march): Add "armv8.1-a".
+
+2015-06-04  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
+       when available.
+
+2015-06-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-h8300.c (md_section_align): Fix compile time warning
+       about left shifting a negative value.
+
+2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c (arm_archs): Add "armv8.1-a".
+       * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
+       * NEWS: Mention ARMv8.1 support.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c (arm_ext_pan): New.
+       (do_setpan): New, encode an ARM SETPAN instruction.
+       (do_t_setpan): New, encode a Thumb SETPAN instruction.
+       (insns): Add "setpan".
+       (arm_extensions): Add "pan".
+       * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
+       extensions.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_features): Add "rdma".
+       * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_features): Add "lor".
+       * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
+       architecture extensions.
+
+2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
+       support.  Fix whitespace.
+       (parse_operands): Update for parse_sys_reg changes.
+       (aarch64_features): Add "pan".
+       * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
+       (aarch64_force_relocation): Ditto.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+       (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
+       (aarch64_force_relocation): Ditto.
+
+2015-05-28  Catherine Moore  <clm@codesourcery.com>
+           Bernd Schmidt <bernds@codesourcery.com>
+           Paul Brook <paul@codesourcery.com>
+
+       * config/tc-alpha.c (all_cfi_sections): Declare.
+       (s_alpha_ent): Initialize all_cfi_sections.
+       (alpha_elf_md_end): Invoke cfi_set_sections.
+       * config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
+       (s_ehword): Use BFD_RELOC_32_PCREL.
+       (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
+       (mips_cfi_reloc_for_encoding): New function.
+       * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
+       (DWARF2_FDE_RELOC_ENCODING): Define.
+       (tc_cfi_reloc_for_encoding): Define.
+       (mips_cfi_reloc_for_encoding): Define.
+       (tc_compact_eh_opcode_stop): Define.
+       (tc_compact_eh_opcode_pad): Define.
+       * doc/as.texinfo: Document Compact EH extensions.
+       * doc/internals.texi: Likewise.
+       * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
+       (tc_cfi_reloc_for_encoding): Provide default.
+       (compact_eh): Declare.
+       (emit_expr_encoded): New function.
+       (get_debugseg_name): Add Compact EH support.
+       (alloc_debugseg_item): Likewise.
+       (cfi_set_sections): New function.
+       (dot_cfi_fde_data): New function.
+       (dot_cfi_personality_id): New function.
+       (dot_cfi_inline_lsda): New function.
+       (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
+       and cfi_inline_lsda.
+       (dot_cfi_personality): Add Compact EH support.
+       (dot_cfi_lsda): Likewise.
+       (dot_cfi_sections): Likewise.
+       (dot_cfi_startproc): Likewise.
+       (get_cfi_seg): Likewise.
+       (output_compact_unwind_data): New function.
+       (output_cfi_insn): Add Compact EH support.
+       (output_cie): Likewise.
+       (output_fde): Likewise.
+       (cfi_finish): Likewise.
+       (cfi_emit_eh_header): New function.
+       (output_eh_header): New function.
+       * dw2gencfi.h (cfi_set_sections): Declare.
+       (SUPPORT_COMPACT_EH): Define.
+       (MULTIPLE_FRAME_SECTIONS): Define.
+       New enumeration to describe the Compact EH header format.
+       (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
+       eh_data, eh_loc and sections.
+       (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
+       CFI_EMIT_eh_frame_compact): Define.
+
+2015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xtensa_move_literals): Check that
+       search_frag is non-NULL. Report error if literal frag is not
+       found.
+
+2015-05-22  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18446
+       * read.c (output_big_sleb128): Use U suffix to prevent compile
+       time warning.
+
+2015-05-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
+       labels alphabetically.
+       (md_apply_fix): Ditto.
+       (aarch64_force_relocation): Ditto.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * config/tc-i386.c (OPTION_MAMD64): New.
+       (OPTION_MINTEL64): Likewise.
+       (md_longopts): Add -mamd64 and -mintel64.
+       (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
+       (md_show_usage): Add -mamd64 and -mintel64.
+       * doc/c-i386.texi: Document -mamd64 and -mintel64.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (shared): New.
+       (OPTION_MSHARED): Likewise.
+       (elf_symbol_resolved_in_segment_p): Add relocation argument.
+       Check PLT relocations and shared.
+       (md_estimate_size_before_relax): Pass fragP->fr_var to
+       elf_symbol_resolved_in_segment_p.
+       (md_longopts): Add -mshared.
+       (md_show_usage): Likewise.
+       (md_parse_option): Handle OPTION_MSHARED.
+       * doc/c-i386.texi: Document -mshared.
+
+2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * write.c (compress_debug): Don't write the zlib header, which
+       is handled by bfd_update_compression_header.
+
+2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
+       closer than J_RANGE / 2 to jump frag.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
+       * config/tc-i386.c (i386_mach): Support iamcu.
+       (i386_target_format): Likewise.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add iamcu.
+       (i386_align_code): Handle PROCESSOR_IAMCU.
+       (i386_arch): Likewise.
+       (i386_mach): Likewise.
+       (i386_target_format): Likewise.
+       (valid_iamcu_cpu_flags): New function.
+       (check_cpu_arch_compatible): Only allow Intel MCU instructions
+       when targeting Intel MCU.
+       (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
+       are valid for Intel MCU.
+       (md_parse_option): Likewise.
+       * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
+       (processor_type): Add PROCESSOR_IAMCU.
+       * doc/c-i386.texi: Document iamcu.
+
+2015-05-08  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18347
+       * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
+       * config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
+       the symbol name checking code to here from...
+       (md_undefined_symbo): ... here.
+
+2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
+       (md_estimate_size_before_relax): Use it.
+
+2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c: Typo in comment fixed.
+
+2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
+       condition codes
+       * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
+
+2015-05-06  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Dollar Local Labels): Note that these are only
+       supported on some targets.
+
+2015-05-06  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
+
+2015-05-05  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
+       symbols.
+
+2015-05-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
+       (msp430_make_init_symbols): New function.
+       (msp430_section): Call it.
+       (msp430_frob_section): Likewise.
+
+2015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
+       (struct cached_fixup, struct fixup_cache): New structures.
+       (fixup_order, xtensa_make_cached_fixup),
+       (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
+       (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
+       (xtensa_add_cached_fixup): New functions.
+       (xtensa_relax_frag): Cache fixups pointing at potentially
+       oversized jumps at the beginning of every relaxation pass. Only
+       check subset of this cache in the reach of single jump from the
+       trampoline frag currently being relaxed.
+
+2015-05-01  Nick Clifton  <nickc@redhat.com>
+
+       * config/rl78-parse.y (MULU): Remove ISA_G14.
+       (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
+
+2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
+       * config/tc-i386.h (md_end): Likewise.
+       (i386_elf_emit_arch_note): Likewise.
+
+2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt: Support i386-*-elf*.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * config/rl78-defs.h (rl78_isa_g10): New.
+       (rl78_isa_g13): New.
+       (rl78_isa_g14): New.
+       * config/rl78-parse.y (ISA_G10): New.
+       (ISA_G13): New.
+       (ISA_G14): New.
+       (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
+       * config/tc-rl78.c (rl78_isa_g10): New.
+       (rl78_isa_g13): New.
+       (rl78_isa_g14): New.
+
+2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (i386_target_format): Use "else if" on
+       cpu_arch_isa.
+
+2015-04-30  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18347
+       * config/tc-arm.c (md_undefined_symbol): Issue a warning message
+       (if enabled) when the user creates a symbol with the same name as
+       an ARM instruction.
+       (flag_warn_syms): New static variable.
+       (arm_opts): Add mwarn-syms and mno-warn-syms.
+       * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
+       options.
+
+       PR gas/18353
+       * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 18256
+       * config/tc-arm.c (encode_arm_cp_address): Issue an error message
+       if the operand is neither a register nor a vector.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
+       times if the expression is not constant and the target uses linker
+       relaxation.
+
+2015-04-28  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
+
+2015-04-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 18313
+       * cond.c (s_if): Stop compile time warning about stopc being used
+       before it is set.
+       (s_ifc): Likewise.
+
+2015-04-27  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
+       section.
+       (md_assemble): Likewise, move the align code outside the loop.
+
+2015-04-24  Jim Wilson  <jim.wilson@linaro.org>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
+       for thunderx.
+
+2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config/tc-arm.h (arm_min): New function.
+       (SUB_SEGMENT_ALIGN): Define.
+
+2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * config/tc-mips.c (macro): State the recommended way of creating
+       32-bit or 64-bit addresses.
+
+2015-04-23  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (match_mem_size): Also allow no size
+       specification when broadcasting.
+
+2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/as.texinfo (Bundle directives): Shorten menu entry and
+       use @subsection.
+       (CFI directives): Use @subsection.
+       (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
+       * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
+
+2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * config/tc-avr.c (create_record_for_frag): Rename link to
+       prop_rec_link.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention
+       --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * as.h (compressed_debug_section_type): Removed.
+
+2015-04-14  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
+       (TC_FORCE_RELOCATION_SUB_SAME): Define.
+       (DWARF2_USE_FIXED_ADVANCE_PC): Define.
+
+2015-04-10  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18198
+       * doc/c-arm.texi (ARM Options): Add a note about the interaction of
+       the -EB option with the linker's --be8 option.
+
+2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
+
+       * doc/c-rx.texi: Fix markup typos in last change.
+
+2015-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
+       (md_longopts): Add -mno-allow-string-insns.
+       (md_parse_option): Handle -mno-allow-string-insns.
+       (md_show_usage): Mention -mno-allow-string-insns.
+       (rx_note_string_insn_use): New function.  Produces an error
+       message if a string insn is used when it is not allowed.
+       * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
+       (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
+       * config/rx-defs.h (rx_note_string_insn_use): Prototype.
+       * doc/c-rx.texi: Document -mno-allow-string-insns.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * as.c (show_usage): Update --compress-debug-sections.
+       (std_longopts): Use optional_argument on compress-debug-sections.
+       (parse_args): Handle
+       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
+       * as.h (compressed_debug_section_type): New.
+       (flag_compress_debug): Change type to compressed_debug_section_type.
+       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
+       * write.c (compress_debug): Set BFD_COMPRESS_GABI for
+       --compress-debug-sections=zlib-gabi.  Call
+       bfd_get_compression_header_size to get compression header size.
+       Don't rename section name for --compress-debug-sections=zlib-gabi.
+       * config/tc-i386.c (compressed_debug_section_type): Set to
+       COMPRESS_DEBUG_ZLIB.
+       * doc/as.texinfo: Document
+       --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
+
+2015-04-07  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
+       (s_aarch64_inst): Likewise.
+       (md_assemble): Likewise.
+
+2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * write.c (compress_debug): Use bfd_putb64 to write uncompressed
+       section size.
+
+2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * write.c (compress_debug): Don't write the zlib header if
+       compressed section size is the same as before compression.
+
+2015-04-02  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18189
+       * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
+       min and max parameters.  Sign extend values before testing.
+
+2015-04-02  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
+       (mapping_state_2): Don't emit MAP_DATA here.
+       (s_aarch64_inst): Align frag during state transition.
+       (md_assemble): Likewise.
+
+2015-04-02  Ed Maste  <emaste@freebsd.org>
+
+       * config/tc-aarch64.c (set_error_kind): Delete.
+       (set_error_message): Delete.
+
+2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
+
+       * config/tc-aarch64.c: Add support for Samsung Exynos M1.
+       * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
+
+2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
+
+       * config/tc-arm.c: Add support for Samsung Exynos M1.
+       * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-03-31  Ed Schouten  <ed@nuxi.nl>
+
+       * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Revert the AM_ZLIB change.
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ZLIBINC): New.
+       (AM_CFLAGS): Add $(ZLIBINC).
+       * as.c: (show_usage): Don't check HAVE_ZLIB_H.
+       (parse_args): Likewise.
+       * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
+       (compress_init): Don't check HAVE_ZLIB_H.
+       (compress_data): Likewise.
+       (compress_finish): Likewise.
+       * configure.ac (AM_ZLIB): Removed.
+       (zlibinc): New.  AC_SUBST.
+       Add --with-system-zlib.
+       * Makefile.in: Regenerated.
+       * config.in: Likewise.
+       * configure: Likewise.
+       * doc/Makefile.in: Likewise.
+
+2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_flags_set): Removed.
+
+2015-03-25  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
+       code.
+       (mapping_state_2): Emit first MAP_DATA symbol here.
+
+2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/18087
+       * write.c (compress_debug): Don't write the zlib header if
+       compression didn't make the section smaller.
+
+2015-03-24  Terry Guo  <terry.guo@arm.com>
+
+       * config/tc-arm.c (no_cpu_selected): Use new macro to compare
+       features.
+       (parse_psr): Likewise.
+       (do_t_mrs): Likewise.
+       (do_t_msr): Likewise.
+       (static const arm_feature_set arm_ext_*): Defined with new macros.
+       (static const arm_feature_set arm_cext_*): Likewise.
+       (static const arm_feature_set fpu_fpa_ext_*): Likewise.
+       (static const arm_feature_set fpu_vfp_ext_*): Likewise.
+       (deprecated_coproc_regs): Likewise.
+       (UL_BARRIER): Likewise.
+       (barrier_opt_names): Likewise.
+       (arm_cpus): Likewise.
+       (arm_extensions): Likewise.
+
+2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (i386_align_code): Limit multi-byte nop
+       instructions to 10 bytes.
+
+2015-03-19  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rl78.c (enum options): Add G13 and G14.
+       (md_longopts): Add -mg13 and -mg14.
+       (md_parse_option): Handle -mg13 and -mg14.
+       (md_show_usage): List -mg13 and -mg14.
+       * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
+
+2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18087
+       * doc/as.texinfo: Note that when gas compresses debug sections the
+       compression is only performed if it makes the section smaller.
+       * write.c (compress_debug): Do not compress a debug section if
+       doing so would make it larger.
+
+2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
+
+       * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
+       (i386_align_code): Add PROCESSOR_ZNVER cases.
+       * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
+       * doc/c-i386.texi: Add znver1 and clzero.
+
+2015-03-16  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2dbg.c (out_header): Remove spurious #if 1.
+
+2015-03-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
+       number 31.
+
+2015-03-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
+
+2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
+       * doc/c-mips.texi: Document i6400 -march option.
+
+2015-03-12  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/17444
+       * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
+       to arm_apply_sym_value.  Update prototype.
+       * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
+       Do not apply the value if the symbol is in a different segment to
+       the current segment.
+
+2015-03-11  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
+       (md_apply_fix): Report an error on data-only fixups used with insns.
+
+2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/tc-s390.c (md_gather_operands): Check for valid
+       length field operands.
+
+2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
+
+       * config/tc-arm.c (parse_operands): Fix bug setting writeback
+       values for '^' on OP_REGLSTs.
+       (do_push_pop): Add new writeback constraint.
+
+2015-03-10  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
+       (mapping_state_2): Emit first MAP_DATA symbol here.
+
+2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (mapping_state): Set minimum alignment for
+       code sections.
+
+2015-03-10  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/17852
+       * config/tc-arm.c (md_begin): Ensure that selected_cpu is
+       initialised when CPU_DEFAULT is defined.
+
+2015-03-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-v850.c (md_parse_option): Fix code to set or clear
+       EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
+       -m8byte-align and -m4byte-align command line options.
+
+2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR gas/17843
+       * config/tc-aarch64.c (process_movw_reloc_info): Allow
+       R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
+       for MOVK.
+
+2015-02-28  Alan Modra  <amodra@gmail.com>
+
+       * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
+       end to their alignment.
+
+2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/tc-aarch64.c (reloc_table_entry): Generate
+       BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
+       (md_apply_fix, aarch64_force_relocation): Handle
+       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
+
+2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/tc-aarch64.c (reloc_table_entry): Generate
+       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
+       (md_apply_fix, aarch64_force_relocation): Handle
+       BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
+
+2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/tc-aarch64.c (reloc_table_entry): Generate
+       BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
+       (md_apply_fix, aarch64_force_relocation): Handle
+       BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
+       (reloc_table): Likewise.
+       (parse_address_main): Use ld_literal_type.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
+       (reloc_table): Likewise.
+       (parse_address_main): Use adr_type.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-avr.c: Add elf32-avr.h include.
+       (struct avr_property_record_link): New structure.
+       (avr_output_property_section_header): New function.
+       (avr_record_size): New function.
+       (avr_output_property_record): New function.
+       (avr_create_property_section): New function.
+       (avr_handle_align): New function.
+       (exclude_section_from_property_tables): New function.
+       (create_record_for_frag): New function.
+       (append_records_for_section): New function.
+       (avr_create_and_fill_property_section): New function.
+       (avr_post_relax_hook): New function.
+       * config/tc-avr.h (md_post_relax_hook): Define.
+       (avr_post_relax_hook): Declare.
+       (HANDLE_ALIGN): Define.
+       (avr_handle_align): Declare.
+       (strut avr_frag_data): New structure.
+       (TC_FRAG_TYPE): Define.
+
+2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
+       cortex-a72.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-v850.c (soft_float): New variable.
+       (v850_data_8): New variable.
+       (md_show_usage): Add -msoft-float/-mhard-float.
+       (md_parse_option): Likewise.
+       (md_begin): Set the default value of soft_float.
+       (v850_md_end): New function.  Creates a note section.
+       * config/tc-v850.h (md_end): Define.
+       * doc/c-v850.texi: Document -msoft-float/-mhard-float.
+
+2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * config/tc-h8300.c (line_separater_chars): Add a version for
+       h8300-linux that includes a separator.
+       (default_mach): New variable.
+       (md_main): Use it.
+       (md_longopts): Add '--march' option.
+       (md_parse_option): Parse the new option.
+       * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
+       * configure.tgt: Add h8300-*-linux
+       * doc/c-h8300.texi: Document --march.
+
+2015-02-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 17940
+       * dwarf2dbg.c (out_header): When generating dwarf sections use
+       real symbols not temps for the start and end symbols.
+       * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
+       adjustments to relocations in debug sections.
+       (TC_LINKRELAX_FIXUP): Likewise.
+
+2015-02-19  Alan Modra  <amodra@gmail.com>
+
+       * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
+       * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
+
+2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
+
+2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c: Add support for Cortex-A72.
+
+2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
+       of as_warn for deprecation messages.
+       (encode_arm_addr_mode_2): Likewise.
+       (check_obsolete): Likewise.
+       (do_rd_rm_rn): Likewise.
+       (do_co_reg): Likewise.
+       (do_setend): Likewise.
+       (do_t_mov_cmp): Likewise.
+       (do_neon_ldr_str): Likewise.
+       (opcode_lookup): Likewise.
+       (if_fsm_post_encode): Likewise.
+       (md_assemble): Likewise.
+
+2015-02-06  Jan Beulich  <jbeulich@suse.com>
+
+       * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
+       (cfi_change_reg_numbers): Also do nothing for CFI_label.
+       (cfi_pseudo_table): Also handle .cfi_label when not supporting
+       CFI directives.
+
+2015-02-05  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-msp430.c (md_assemble): Correct size passed to
+       extract_cmd.  Remove index check.
+
+2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
+       * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
+
+2015-02-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
+       these instructions.
+
+2015-02-03  Renlin Li  <renlin.li@arm.com>
+
+       * doc/c-aarch64.texi (.arch): Document the directive.
+       (.arch_extension): Likewise.
+
+2015-02-03  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * Makefile.am: Add FT32 files.
+       * config/tc-ft32.c: New file.
+       * config/tc-ft32.h: New file.
+       * configure.tgt: Add FT32 support.
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
+       of instruction la to a symbol.
+
+2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
+       section name.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
+       * write.c (get_frag_for_reloc): Allow match just past end of frag.
+
+2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/tc-s390.c (struct pd_reg): Remove.
+       (pre_defined_registers): Remove.
+       (REG_NAME_CNT): Remove.
+       (reg_name_search): Calculate the register number instead of doing
+       a lookup.
+       (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
+       reg_name_search signature.
+       (s390_parse_cpu): Support the new arch string z13.
+       (s390_insert_operand): Support for vector registers with the extra
+       field for the fifth bit of each vector register operand.
+       (md_gather_operand): Adjust to the new handling of optional
+       parameters.
+
+       * doc/as.texinfo: Document the z13 cpu string.
+
+2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
+       #0, restoring previous behaviour.
+
+2015-01-12  Jan Beulich  <jbeulich@suse.com>
+
+       * dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
+       (cfi_pseudo_table): Add "cfi_label".
+       (output_cfi_insn): Handle CFI_label.
+       (select_cie_for_fde): Als terminate CIE when encountering
+       CFI_label.
+       * dw2gencfi.h (cfi_add_label): Declare.
+       (struct cfi_insn_data): New member "sym_name".
+       (CFI_label): New.
+       * read.c (read_symbol_name): Drop "static".
+       * read.h (read_symbol_name): Declare.
+
+2015-01-12  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-arm.c (do_neon_shl_imm): Check immediate range.
+       (do_neon_qshl_imm): Likewise.
+
+2015-01-12  Alan Modra  <amodra@gmail.com>
+
+       * read.c (s_altmacro, s_reloc): Make definition static.
+
+2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
+       diff fixups.
+
+2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
+
+       * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
+       X-Gene 2.
+       * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
+
+2015-01-07  Jan Beulich <jbeulich@suse.com>
+
+       * config/tc-arm.c (struct arm_option_extension_value_table):
+       Split field "value" into fields "merge_value" and "clear_value".
+       (arm_extensions): Adjust initializer accordingly.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       * as.c (parse_args): Just print current year.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
deleted file mode 100644 (file)
index 145ab85..0000000
+++ /dev/null
@@ -1,1709 +0,0 @@
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * gas/arm/archv8m-base.d: New file.
-       * gas/arm/attr-march-armv8m.base.d: Likewise.
-       * gas/arm/armv8m.base-idiv.d: Likewise.
-       * gas/arm/any-armv8m.d: Adapt to deal with ARMv8-M Baseline.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * gas/arm/archv8m.s: New file.
-       * gas/arm/archv8m-main.d: Likewise.
-       * gas/arm/attr-march-armv8m.main.d: Likewise.
-       * gas/arm/any-armv8m.s: Likewise.
-       * gas/arm/any-armv8m.d: Likewise.
-
-2015-12-24  Andre Vieira  <andre.simoesdiasvieira@arm.com>
-
-       * gas/arm/automatic-bw.d: New.
-       * gas/arm/automatic-bw.s: New.
-       * gas/arm/automatic-cbz.d: New.
-       * gas/arm/automatic-cbz.s: New.
-       * gas/arm/automatic-clrex.d: New.
-       * gas/arm/automatic-clrex.s: New.
-       * gas/arm/automatic-lda.d: New.
-       * gas/arm/automatic-lda.s: New.
-       * gas/arm/automatic-ldaex.d: New.
-       * gas/arm/automatic-ldaex.s: New.
-       * gas/arm/automatic-ldaexb.d: New.
-       * gas/arm/automatic-ldaexb.s: New.
-       * gas/arm/automatic-ldrex.d: New.
-       * gas/arm/automatic-ldrex.s: New.
-       * gas/arm/automatic-ldrexd.d: New.
-       * gas/arm/automatic-ldrexd.s: New.
-       * gas/arm/automatic-movw.d: New.
-       * gas/arm/automatic-movw.s: New.
-       * gas/arm/automatic-sdiv.d: New.
-       * gas/arm/automatic-sdiv.s: New.
-       * gas/arm/automatic-strexb.d: New.
-       * gas/arm/automatic-strexb.s: New.
-
-2015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-
-       * gas/arm/armv8a-automatic-hlt.d: New test.
-       * gas/arm/armv8a-automatic-hlt.s: New test.
-       * gas/arm/armv8a-automatic-lda.d: New test.
-       * gas/arm/armv8a-automatic-lda.s: New test.
-
-2015-12-16  Mickael Guene <mickael.guene@st.com>
-
-       * gas/arm/adds-thumb1-reloc-local.d: New
-       * gas/arm/adds-thumb1-reloc-local.s: New
-       * gas/arm/movs-thumb1-reloc-local.d: New
-       * gas/arm/movs-thumb1-reloc-local.s: New
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16: Add tests for Adv.SIMD scalar shift
-       by immediate instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD across lanes
-       instructions.
-       * gas/aarch64/illegal.d: Update expected output.
-       * gas/aarch64/illegal.s: Replace tests for illegal use of 'h'
-       specifier.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD Scalar
-       Pairwise instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD modified
-       immediate instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD across lanes
-       instructions.
-       * gas/aarch64/illegal.d: Update expected output.
-       * gas/aarch64/illegal.s: Replace test for illegal use of 'h' specifier.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for scalar indexed element
-       instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for vector indexed element
-       instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for scalar two register misc.
-       instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for vector two register
-       misc. instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: Update expected output.
-       * gas/aarch64/advsimd-fp16.s: Add tests for scalar three register
-       same instructions.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/advsimd-fp16.d: New.
-       * gas/aarch64/advsimd-fp16.s: New.
-
-2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * gas/rx/emaca.d: New.
-       * gas/rx/emaca.sm: New.
-       * gas/rx/emsba.d: New.
-       * gas/rx/emsba.sm: New.
-       * gas/rx/emula.d: New.
-       * gas/rx/emula.sm: New.
-       * gas/rx/fadd.d: Add new pattern.
-       * gas/rx/fadd.sm: Add new pattern.
-       * gas/rx/fmul.d: Add new pattern.
-       * gas/rx/fmul.sm: Add new pattern.
-       * gas/rx/fsqrt.d: New.
-       * gas/rx/fsqrt.sm: New.
-       * gas/rx/fsub.d: Add new pattern.
-       * gas/rx/fsub.sm: Add new pattern.
-       * gas/rx/ftou.d: New.
-       * gas/rx/ftou.sm: New.
-       * gas/rx/maclh.d: New.
-       * gas/rx/maclh.sm: New.
-       * gas/rx/maclo.d: Add new pattern.
-       * gas/rx/maclo.sm: Add new pattern.
-       * gas/rx/macros.inc: Add new register.
-       * gas/rx/movco.d: New.
-       * gas/rx/movco.sm: New.
-       * gas/rx/movli.d: New.
-       * gas/rx/movli.sm: New.
-       * gas/rx/msbhi.d: New.
-       * gas/rx/msbhi.sm: New.
-       * gas/rx/msblh.d: New.
-       * gas/rx/msblh.sm: New.
-       * gas/rx/msblo.d: New.
-       * gas/rx/msblo.sm: New.
-       * gas/rx/mullh.d: New.
-       * gas/rx/mullh.sm: New.
-       * gas/rx/mvfacgu.d: New.
-       * gas/rx/mvfacgu.sm: New.
-       * gas/rx/mvfachi.d: Add new pattern.
-       * gas/rx/mvfachi.sm: Add new pattern.
-       * gas/rx/mvfaclo.d: Add new pattern.
-       * gas/rx/mvfaclo.sm: Add new pattern.
-       * gas/rx/mvfacmi.d: Add new pattern.
-       * gas/rx/mvfacmi.sm: Add new pattern.
-       * gas/rx/mvfc.d: Add new pattern.
-       * gas/rx/mvtacgu.d: New.
-       * gas/rx/mvtacgu.sm: New.
-       * gas/rx/mvtc.d: Add new pattern.
-       * gas/rx/popc.d: Add new pattern.
-       * gas/rx/pushc.d: Add new pattern.
-       * gas/rx/racl.d: New.
-       * gas/rx/racl.sm: New.
-       * gas/rx/racw.d: Add new pattern.
-       * gas/rx/racw.sm: Add new pattern.
-       * gas/rx/rdacl.d: New.
-       * gas/rx/rdacl.sm: New.
-       * gas/rx/rdacw.d: New.
-       * gas/rx/rdacw.sm: New.
-       * gas/rx/rx.exp: Add option.
-       * gas/rx/stnz.d: Add new pattern.
-       * gas/rx/stnz.sm: Add new pattern.
-       * gas/rx/stz.d: Add new pattern.
-       * gas/rx/stz.sm: Add new pattern.
-       * gas/rx/utof.d: New.
-       * gas/rx/utof.sm: New.
-
-2015-12-12  Alan Modra  <amodra@gmail.com>
-
-       * gas/sh/tlsd.s: Use .tdata not .tbss.
-       * gas/sh/tlsnopic.s: Likewise.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/system-2.d: Enable the statistical profiling
-       extension.  Update the expected output.
-       * gas/aarch64/system-2.s: Add tests for PSB CSYNC.
-       * gas/aarch64/system.d: Update the expected output.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/sysreg-2.s: Add tests for the statistical profiling
-       system registers.
-       * gas/aarch64/sysreg-2.d: Enable the statistical profiling
-       extension and update the expected output.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/sysreg-2.d: Update for new tests for AT S1E1RP and
-       AT S1E1WP.
-       * gas/aarch64/sysreg-2.s: Add tests for AT S1E1RP and AT S1E1WP.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/sysreg-2.d: Add tests for dc instruction.
-       * gas/aarch64/sysreg-2.s: Add uses of dc instruction.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/uao-directive.d: New.
-       * gas/aarch64/uao.d: New.
-       * gas/aarch64/uao.s: New.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/sysreg-2.d: Add tests for new registers.
-       * gas/aarch64/sysreg-2.s: Likewise.  Also replace some spaces with
-       tabs.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/system-2.d: New.
-       * gas/aarch64/system-2.s: New.
-       * gas/aarch64/system.d: Adjust expected output for HINT 16.
-
-2015-12-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Run ospke and x86-64-ospke.
-       * gas/i386/ospke.d: New file.
-       * gas/i386/ospke.s: Likewise.
-       * gas/i386/x86-64-ospke.d: Likewise.
-
-2015-12-09  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/elf/file.d: Allow arbitrary entries at the beginning of
-       the symbol table.
-       * gas/elf/file-2.d: Likewise.
-
-2015-12-08  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/elf/bad-bss.d, gas/elf/bad-bss.err: New.
-       * gas/elf/bss.d, gas/elf/bss.s: New.
-       * gas/elf/elf.exp: Run new tests.
-
-2015-12-08  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/elf/file-2.s, gas/elf/file-2.d: New.
-       * gas/elf/elf.exp: Run new test.
-       * gas/elf/file.d: Adjust expectations.
-       * gas/i386/ilp32/elf/file.d: Likewise.
-
-2015-12-04  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/19276
-       * gas/arm/align64.d: Skip for COFF/PE targets.
-       * gas/arm/bundle-lock.d: Adjust for COFF/PE targets.
-
-2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * gas/arc/bic.d: Update test.
-       * gas/arc/add_s-err.s: New file.
-       * gas/arc/cpu-warn1.s: Likewise.
-       * gas/arc/pcl-relocs.d: Likewise.
-       * gas/arc/pcl-relocs.s: Likewise.
-       * gas/arc/pcrel-relocs.d: Likewise.
-       * gas/arc/pcrel-relocs.s: Likewise.
-       * gas/arc/pic-relocs.d: Likewise.
-       * gas/arc/pic-relocs.s: Likewise.
-       * gas/arc/plt-relocs.d: Likewise.
-       * gas/arc/plt-relocs.s: Likewise.
-       * gas/arc/pseudos.d: Likewise.
-       * gas/arc/pseudos.s: Likewise.
-       * gas/arc/sda-relocs.d: Likewise.
-       * gas/arc/sda-relocs.s: Likewise.
-       * gas/arc/sda-relocs2.d: Likewise.
-       * gas/arc/sda-relocs2.s: Likewise.
-       * gas/arc/tls-relocs.d: Likewise.
-       * gas/arc/tls-relocs.s: Likewise.
-
-2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
-
-       * gas/arm/armv8-a.d: <ldaexh>: Rename mismatched mnemonics ...
-       <ldah>: ... to this.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/float-fp16.d: New.
-       * gas/aarch64/float-fp16.s: New.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/alias-2.d: Add tests for REV.
-       * gas/aarch64/alias-2.s: Likewise.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/alias-2.d: New.
-       * gas/aarch64/alias-2.s: New.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/sysreg-2.d: New.
-       * gas/aarch64/sysreg-2.s: New.
-
-2015-11-24  Christophe Monat <christophe.monat@st.com>
-
-       * gas/arm/thumb2_ldr_immediate_armv6t2.s: Added high register
-       tests.
-       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Accounted for new test
-       cases.
-       * gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: New.
-       * gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: New.
-
-2015-11-24  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/arm/armv7e-m+fpv5-d16.d: Skip test for *-*-pe, *-wince-* and
-       for *-*-coff targets.
-       * gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
-       * gas/arm/blx-bl-convert.d: Likewise.
-       * gas/arm/ldst-offset0.d: Likewise.
-       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
-       * gas/arm/armv8-a+pan.s: Adjust test to make it
-       valid for non-ELF targets.
-       * gas/arm/wince.d: Add assembler option "-mccs".
-       * gas/arm/wince_inst.d: Update expected output.
-
-2015-11-20  Maciej W. Rozycki  <macro@imgtec.com>
-
-       * gas/mips/nan-legacy-1.d: Remove MIPS ABI flags match patterns.
-       * gas/mips/nan-legacy-2.d: Likewise.
-       * gas/mips/nan-legacy-3.d: Likewise.
-       * gas/mips/nan-legacy-4.d: Likewise.
-       * gas/mips/nan-legacy-5.d: Likewise.
-
-2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/virthostext-directive.d: New.
-       * gas/aarch64/virthostext.d: New.
-       * gas/aarch64/virthostext.s: New.
-
-2015-11-20  Matthew Wahab  <matthew.wahab@foss.arm.com>
-
-       * gas/arm/mapshort-elf.d: Fix typo in exclusion list.
-
-2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/pan-illegal.d: New.
-       * gas/aarch64/pan-illegal.l: New.
-       * gas/aarch64/pan.s: Add tests for invalid immediates.
-
-2015-11-19  Alan Modra  <amodra@gmail.com>
-
-       * gas/ppc/altivec3.d: Allow for padding at end of section.
-       * gas/ppc/power9.d: Likewise.
-
-2015-11-12  Matthew Wahab  <matthew.wahab@arm.com>
-
-       PR gas/19217
-       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Update expected output.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * gas/ppc/altivec3.s: New test.
-       * gas/ppc/altivec3.d: Likewise.
-       * gas/ppc/vsx3.s: Likewise.
-       * gas/ppc/vsx3.d: Likewise.
-       * gas/ppc/power9.s: Likewise.
-       * gas/ppc/power9.d: Likewise.
-       * gas/ppc/ppc.exp: Run them.
-       * gas/ppc/power8.s <lxvx, lxvd2x, stxvx, stxvd2x>: Add new tests.
-       * gas/ppc/power8.d: Likewise.
-       * gas/ppc/vsx.s: <lxvx, stxvx>: Rename invalid mnemonics ...
-       <lxvd2x, stxvd2x>: ...to this.
-       * gas/ppc/vsx.d: Likewise.
-
-2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * gas/all/test-gen.c (random_order_16s, random_order_24s)
-       (random_order_32s): Fix left shift of negative value.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * gas/rx/max.d: Update expected disassembly.
-       * gas/rx/nod.d: Likewise.
-       * gas/rx/nop.sm: Add tests of more NOP instructions.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * gas/rx/mov.sm: Add tests for zero offset indirect moves.
-       * gas/rx/mov.d: Update expected output.
-
-2015-10-28  Andre Vieira  <andre.simoesdiasvieira@arm.com>
-
-       * gas/arm/pinsn.s: New.
-       * gas/arm/pinsn.d: Likewise.
-
-2015-10-27  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/19159
-       * gas/rl78/pr19159.s: New test source file.
-       * gas/rl78/pr19159.d: New test case.
-       * gas/rl78/rl78.exp: Run the new test.
-
-2015-10-27  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/19158
-       * gas/rl78/pr19158.s: New test source file.
-       * gas/rl78/pr19158.d: New test case.
-       * gas/rl78/rl78.exp: Run the new test.
-
-2015-10-27  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/19157
-       * gas/rl78: New directory.
-       * gas/rl78/rl78.exp: New test driver.
-       * gas/rl78/pr19157.s: New test source file.
-       * gas/rl78/pr19157.d: New test case.
-
-2015-10-22  Nick Clifton  <nickc@redhat.com>
-
-       * gas/msp430/errata_fixes.s: New test source file.
-       * gas/msp430/errata_fixes.d: New test control file.
-       * gas/msp430/errata_warns.s: New test source file.
-       * gas/msp430/errata_warns.d: New test control file.
-       * gas/msp430/errata_warns.l: New test message file.
-       * gas/msp430/msp430.exp: Run the new tests.
-       * gas/msp430/bad.l: Update expected warning messages
-       * gas/msp430/msp430.exp: Run the new tests.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Run x86-64-gotpcrel.
-       * gas/i386/x86-64-gotpcrel.d: New file.
-       * gas/i386/x86-64-gotpcrel.s: Likewise.
-       * gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
-       * gas/i386/x86-64-localpic.d: Replace R_X86_64_GOTPCREL with
-       R_X86_64_REX_GOTPCRELX.
-       * gas/i386/ilp32/x86-64-localpic.d: Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/got.d: New file.
-       * gas/i386/got.s: Likewise.
-       * gas/i386/i386.exp: Run got.
-       * gas/i386/localpic.d: Replace R_386_GOT32 with R_386_GOT32X.
-       * gas/i386/mixed-mode-reloc32.d: Likewise.
-       * gas/i386/reloc32.d: Likewise.
-
-2015-10-22  Alan Modra  <amodra@gmail.com>
-
-       PR gas/18500
-       * gas/arm/vfpv2-ldr_immediate.d: Use parentheses, not brackets,
-       to select alternatives.
-       * gas/arm/vfpv3-ldr_immediate.d: Likewise.
-       * gas/arm/vfpv3xd-ldr_immediate.d: Likewise.
-
-2015-10-21  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18500
-       * gas/arm/vfpv3xd-ldr_immediate.d: Update test for big-endian ARM
-       toolchains.
-       * gas/arm/vfpv3-ldr_immediate.d: Likewise.
-       * gas/arm/vfpv2-ldr_immediate.d: Likewise.
-
-2015-10-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * gas/s390/esa-g5.d: Use odd GPR for the second operand.
-       * gas/s390/esa-g5.s: Likewise.
-       * gas/s390/esa-z9-109.d: Likewise.
-       * gas/s390/esa-z9-109.s: Likewise.
-
-2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * gas/avr/avr-prop-1.s: Use fill in some cases.
-       * gas/avr/avr-prop-1.d: Update expected results.
-
-2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * gas/arc/adc.s: Update test for ARCv1/ARCv2.
-       * gas/arc/adc.d: Expected output.
-       * gas/arc/add.s: Update test for ARCv1/ARCv2.
-       * gas/arc/add.d: Expected output.
-       * gas/arc/and.s: Update test for ARCv1/ARCv2.
-       * gas/arc/and.d: Expected output.
-       * gas/arc/arc.exp: Cleanup.
-       * gas/arc/asl.s: Update test for ARCv1/ARCv2.
-       * gas/arc/asl.d: Expected output.
-       * gas/arc/asr.s: Update test for ARCv1/ARCv2.
-       * gas/arc/asr.d: Expected output.
-       * gas/arc/b.s: Update test for ARCv1/ARCv2.
-       * gas/arc/b.d: Expected output.
-       * gas/arc/bic.s: Update test for ARCv1/ARCv2.
-       * gas/arc/bic.d: Expected output.
-       * gas/arc/bl.s: Update test for ARCv1/ARCv2.
-       * gas/arc/bl.d: Expected output.
-       * gas/arc/brk.s: Update test for ARCv1/ARCv2.
-       * gas/arc/brk.d: Expected output.
-       * gas/arc/extb.s: Update test for ARCv1/ARCv2.
-       * gas/arc/extb.d: Expected output.
-       * gas/arc/extw.s: Update test for ARCv1/ARCv2.
-       * gas/arc/extw.d: Expected output.
-       * gas/arc/flag.d: Update output for ARCv1/ARCv2.
-       * gas/arc/j.s: Update test for ARCv1/ARCv2.
-       * gas/arc/j.d: Expected output.
-       * gas/arc/jl.s: Update test for ARCv1/ARCv2.
-       * gas/arc/jl.d: Expected output.
-       * gas/arc/ld.s: Update test for ARCv1/ARCv2.
-       * gas/arc/ld.d: Expected output.
-       * gas/arc/ld2.s: Update test for ARCv1/ARCv2.
-       * gas/arc/ld2.d: Expected output.
-       * gas/arc/lp.s: Update test for ARCv1/ARCv2.
-       * gas/arc/lp.d: Expected output.
-       * gas/arc/lsr.s: Update test for ARCv1/ARCv2.
-       * gas/arc/lsr.d: Expected output.
-       * gas/arc/mov.s: Update test for ARCv1/ARCv2.
-       * gas/arc/mov.d: Expected output.
-       * gas/arc/nop.s: Update test for ARCv1/ARCv2.
-       * gas/arc/nop.d: Expected output.
-       * gas/arc/or.s: Update test for ARCv1/ARCv2.
-       * gas/arc/or.d: Expected output.
-       * gas/arc/rlc.s: Update test for ARCv1/ARCv2.
-       * gas/arc/rlc.d: Expected output.
-       * gas/arc/ror.s: Update test for ARCv1/ARCv2.
-       * gas/arc/ror.d: Expected output.
-       * gas/arc/rrc.s: Update test for ARCv1/ARCv2.
-       * gas/arc/rrc.d: Expected output.
-       * gas/arc/sbc.s: Update test for ARCv1/ARCv2.
-       * gas/arc/sbc.d: Expected output.
-       * gas/arc/sexb.s: Update test for ARCv1/ARCv2.
-       * gas/arc/sexb.d: Expected output.
-       * gas/arc/sexw.s: Update test for ARCv1/ARCv2.
-       * gas/arc/sexw.d: Expected output.
-       * gas/arc/sleep.s: Update test for ARCv1/ARCv2.
-       * gas/arc/sleep.d: Expected output.
-       * gas/arc/st.s: Update test for ARCv1/ARCv2.
-       * gas/arc/st.d: Expected output.
-       * gas/arc/sub.s: Update test for ARCv1/ARCv2.
-       * gas/arc/sub.d: Expected output.
-       * gas/arc/swi.d: Update expected output for ARCv1/ARCv2.
-       * gas/arc/warn.exp: Cleanup
-       * gas/arc/xor.s: Update test for ARCv1/ARCv2.
-       * gas/arc/xor.d: Expected output.
-       * gas/arc/alias.d: Removed.
-       * gas/arc/alias.s: Likewise.
-       * gas/arc/branch.d: Likewise.
-       * gas/arc/branch.s: Likewise.
-       * gas/arc/insn3.d: Likewise.
-       * gas/arc/insn3.s: Likewise.
-       * gas/arc/math.d: Likewise.
-       * gas/arc/math.s: Likewise.
-       * gas/arc/sshift.d: Likewise.
-       * gas/arc/sshift.s: Likewise.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-tlsdesc_off_g0_nc.d: New.
-       * gas/aarch64/reloc-tlsdesc_off_g0_nc.s: New.
-       * gas/aarch64/reloc-tlsdesc_off_g1.d: New.
-       * gas/aarch64/reloc-tlsdesc_off_g1.s: New.
-       * gas/aarch64/tls-desc.d: New.
-       * gas/aarch64/tls-desc.s: New.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-gottprel_g0_nc.d: New.
-       * gas/aarch64/reloc-gottprel_g0_nc.s: New.
-       * gas/aarch64/reloc-gottprel_g1.d: New.
-       * gas/aarch64/reloc-gottprel_g1.s: New.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-tlsgd_g0_nc.d: New.
-       * gas/aarch64/reloc-tlsgd_g0_nc.s: New.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-tlsgd_g1.s: New.
-       * gas/aarch64/reloc-tlsgd_g1.s: New.
-
-2015-10-02  Renlin Li <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-gotoff_g0_nc.s: New.
-       * gas/aarch64/reloc-gotoff_g0_nc.d: New.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-gotoff_g1.s: New.
-       * gas/aarch64/reloc-gotoff_g1.d: New.
-
-2015-09-30  Alan Modra  <amodra@gmail.com>
-
-       * gas/ppc/ppc.exp (e500-ill): Pass -me500.
-       * gas/ppc/e500-ill.s: Remove .machine.
-       * gas/ppc/e500-ill.l: Remove line numbers.
-
-2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * gas/s390/s390.exp: Add new tests.
-       * gas/s390/machine-parsing-1.s: New test file.
-       * gas/s390/machine-parsing-1.l: Likewise.
-       * gas/s390/machine-parsing-2.s: Likewise.
-       * gas/s390/machine-parsing-2.l: Likewise.
-       * gas/s390/machine-parsing-3.s: Likewise.
-       * gas/s390/machine-parsing-3.l: Likewise.
-       * gas/s390/machine-parsing-4.s: Likewise.
-       * gas/s390/machine-parsing-4.l: Likewise.
-       * gas/s390/machine-parsing-5.s: Likewise.
-       * gas/s390/machine-parsing-5.l: Likewise.
-       * gas/s390/machine-parsing-6.s: Likewise.
-       * gas/s390/machine-parsing-6.l: Likewise.
-
-2015-09-28  Tom Rix  <tom@bumblecow.com>
-
-       * gas/ppc/e500-ill.s: New testcase for illegal ppc e500 ops.
-       * gas/ppc/e500-ill.l: Expected results.
-       * gas/ppc/ppc.exp: Run it.
-
-2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * gas/sparc/wrpr.s: Test writing to the privileged %pmcdper
-       register.
-       * gas/sparc/wrpr.d: ...and the expected result.
-       * gas/sparc/rdpr.s: Test reading from the privileged %pmcdper
-       register.
-       * gas/sparc/rdpr.d: ...and the expected result.
-
-2015-08-25  Simon Dardis  <Simon.Dardis@imgtec.com>
-
-       * gas/mips/micromips32-move.d: Update expected disassembly.
-       * gas/mips/move.d: Likewise.
-       * gas/mips/move.s: Fix for some MIPS configurations.
-
-2015-08-24  Jan Stancek  <jstancek@redhat.com>
-
-       * gas/i386/intel.s: Add test of disassembly of a potential
-       three byte instuction at the end of a function.
-       * gas/i386/intel.d: Update expected disassembly.
-
-2015-08-21  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18581
-       * gas/all/byte.d: Disable this test.  Quoted expressions
-       are now allowed in .byte directives.
-       * gas/all/quoted-sym-names.s: New test.
-       * gas/all/quoted-sym-names.d: Expected output.
-       * gas/all/gas.exp: Run the new test.
-
-2015-08-21  Alexander Fomin  <alexander.fomin@intel.com>
-
-       PR binutils/18257
-       * gas/i386/disassem.s: Add mask instructions with invalid ModR/M byte.
-       * gas/i386/x86-64-disassem.s: Likewise.
-       * gas/i386/disassem.d: Updated.
-       * gas/i386/x86-64-disassem.d: Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-dtprel-lo12-ldst8.s: New testcase.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst8.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst16.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst16.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst32.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst32.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst64.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst64.s: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst8.d: New expectation file.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst8.d: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst16.d: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst16.d: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst32.d: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst32.d: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12-ldst64.d: Likewise.
-       * gas/aarch64/reloc-dtprel-lo12_nc-ldst64.d: Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-dtprel_g0.s: New testcase.
-       * gas/aarch64/reloc-dtprel_g0-ilp32.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g0_nc.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g0_nc-ilp32.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g1.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g1-ilp32.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g1_nc.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g2.s: Likewise.
-       * gas/aarch64/reloc-dtprel_hi12.s: Likewise.
-       * gas/aarch64/reloc-dtprel_hi12-ilp32.s: Likewise.
-       * gas/aarch64/reloc-dtprel_g0.d: New expectation file.
-       * gas/aarch64/reloc-dtprel_g0-ilp32.d: Likewise.
-       * gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
-       * gas/aarch64/reloc-dtprel_g0_nc-ilp32.d: Likewise.
-       * gas/aarch64/reloc-dtprel_g1.d: Likewise.
-       * gas/aarch64/reloc-dtprel_g1-ilp32.d: Likewise.
-       * gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
-       * gas/aarch64/reloc-dtprel_g2.d: Likewise.
-       * gas/aarch64/reloc-dtprel_hi12.d: Likewise.
-       * gas/aarch64/reloc-dtprel_hi12-ilp32.d: Likewise.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-dtprel_lo12_nc.s: New testcase.
-       * gas/aarch64/reloc-dtprel_lo12_nc-ilp32.s: Likewise.
-       * gas/aarch64/reloc-dtprel_lo12_nc.d: New expectation file.
-       * gas/aarch64/reloc-dtprel_lo12_nc-ilp32.d: Likewise.
-
-2015-08-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>
-
-       * gas/arm/nops.d: New.
-       * gas/arm/nops.s: New.
-       * gas/arm/inst.d: Changed expectation file for 26-bit teq,
-       tst, cmn and cmp.
-
-2015-08-12  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * gas/xtensa/all.exp: Add auto-litpools to the list of xtensa
-       tests.
-       * gas/xtensa/auto-litpools.s: New file: auto-litpools test.
-       * gas/xtensa/auto-litpools.s: New file: auto-litpools test
-       result pattern.
-
-2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
-
-       * gas/mips/elf-rel23.d: Update test.
-       * gas/mips/elf-rel23.d: Ditto.
-       * gas/mips/elf-rel23a.d: Ditto.
-       * gas/mips/elf-rel23b.d: Ditto.
-       * gas/mips/elf_e_flags1.d: Ditto.
-       * gas/mips/elf_e_flags2.d: Ditto.
-       * gas/mips/elf_e_flags3.d: Ditto.
-       * gas/mips/elf_e_flags4.d: Ditto.
-       * gas/mips/loc-swap-dis.d: Ditto.
-       * gas/mips/micromips-insn32.d: Ditto.
-       * gas/mips/micromips-noinsn32.d: Ditto.
-       * gas/mips/micromips-trap.d: Ditto.
-       * gas/mips/micromips.d: Ditto.
-       * gas/mips/mips-abi32-pic.d: Ditto.
-       * gas/mips/mips-abi32.d: Ditto.
-       * gas/mips/mips-gp32-fp32-pic.d: Ditto.
-       * gas/mips/mips-gp32-fp32.d: Ditto.
-       * gas/mips/mips-gp32-fp64-pic.d: Ditto.
-       * gas/mips/mips-gp32-fp64.d: Ditto.
-       * gas/mips/mips-gp64-fp32-pic.d: Ditto.
-       * gas/mips/mips-gp64-fp32.d: Ditto.
-       * gas/mips/mips-gp64-fp64-pic.d: Ditto.
-       * gas/mips/mips-gp64-fp64.d: Ditto.
-       * gas/mips/mipsr6@loc-swap-dis.d: Ditto.
-       * gas/mips/tls-o32.d: Ditto.
-       * gas/mips/uld2-eb.d: Ditto.
-       * gas/mips/uld2-el.d: Ditto.
-       * gas/mips/ulw2-eb-ilocks.d: Ditto.
-       * gas/mips/ulw2-eb.d: Ditto.
-       * gas/mips/ulw2-el-ilocks.d: Ditto.
-       * gas/mips/ulw2-el.d: Ditto.
-       * gas/mips/move.d: New test.
-       * gas/mips/move.s: Ditto.
-       * gas/mips/micromips32-move.d: Ditto.
-       * gas/mips/micromips32-move.s: Ditto.
-       * gas/mips/mips.exp: Run the new tests.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-dtprel_lo12-1.s: New testcase.
-       * gas/aarch64/reloc-dtprel_lo12-ilp32-1.s: Likewise.
-       * gas/aarch64/reloc-dtprel_lo12-1.d: New expectation file.
-       * gas/aarch64/reloc-dtprel_lo12-ilp32-1.d: Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-tlsldm_lo12_nc-1.s: New testcase.
-       * gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.s: Likewise.
-       * gas/aarch64/reloc-tlsldm_lo12_nc-1.d: New expectation file.
-       * gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.d: Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-tlsldm-page-1.s: New testcase.
-       * gas/aarch64/reloc-tlsldm-page-ilp32-1.s: Likewise.
-       * gas/aarch64/reloc-tlsldm-page-1.d: New expectation file.
-       * gas/aarch64/reloc-tlsldm-page-ilp32-1.d: Likewise.
-
-2015-08-10  Robert Suchanek  <robert.suchanek@imgtec.com>
-
-       * gas/mips/r6.s: Add tests for "sigrie".
-       * gas/mips/r6.d: Check for "sigrie".
-       * gas/mips/r6-n32.d: Likewise.
-       * gas/mips/r6-n64.d: Likewise.
-
-2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/13571
-       * gas/i386/i386.exp: Run i386-intel and x86_64-intel.
-       * gas/i386/i386-intel.d: New file.
-       * gas/i386/x86_64-intel.d: Likewise.
-
-2015-07-24  Nick Clifton  <nickc@redhat.com>
-
-       * gas/all/struct.d: Allow for extra symbols in the output.
-       * gas/macros/test1.d: Likewise.
-       * gas/elf/elf.exp: Add an rl78 machine.
-       * gas/elf/sections2e-rl78: New file.
-
-2015-07-22  Alexander Fomin  <alexander.fomin@intel.com>
-
-       PR binutils/18631
-       * gas/i386avx512dq-intel.d: Replace "QWORD" with "DWORD" in
-       vcvtt?ps2u?qq instructions disassembly regexes.
-       Add disassembly regex for new test.
-       * gas/i386/avx512dq.d: Likewise.
-       * gas/i386/avx512dq_vl-intel.d: Likewise.
-       * gas/i386/avx512dq_vl.d: Likewise.
-       * gas/i386/x86-64-avx512dq-intel.d: Likewise.
-       * gas/i386/x86-64-avx512dq.d: Likewise.
-       * gas/i386/x86-64-avx512dq_vl-intel.d: Likewise.
-       * gas/i386/x86-64-avx512dq_vl.d: Likewise.
-       * gas/i386/avx512dq.s: Add new test for Intel syntax with memory
-       operand and broadcasting enabled.
-       * gas/i386/avx512dq_vl.s: Likewise.
-       * gas/i386/x86-64-avx512dq.s: Likewise.
-       * gas/i386/x86-64-avx512dq_vl.s: Likewise.
-
-2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/arm/attr-march-armv6kz.d: New.
-       * gas/arm/attr-march-armv6kzt2.d: New.
-
-2015-07-16  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-tlsldm-1.s: New testcase.
-       * gas/aarch64/reloc-tlsldm-ilp32-1.s: Ditto.
-       * gas/aarch64/reloc-tlsldm-1.d: New expectation file.
-       * gas/aarch64/reloc-tlsldm-ilp32-1.d: Ditto.
-
-2015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
-
-       * gas/arm/arch7em-bad.l: Update expected errors.
-       * gas/arm/arch7m-bad.l: Likewise.
-       * gas/arm/arm-idiv-bad.l: Likewise.
-       * gas/arm/arm7-bad.l: Likewise.
-       * gas/arm/armv1-bad.l: Likewise.
-       * gas/arm/thumb-w-bad.l: Likewise.
-
-2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/dw2-compress-1.d: Updated to accept .debug_* sections.
-
-2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
-
-       * gas/avr/pc-relative-reloc.d: New test for 32 bit pc relative reloc.
-       * gas/avr/per-function-debugline.s: New test source.
-
-2015-07-03  Alan Modra  <alan@squeak.grove.modra.org>
-
-       * gas/ppc/titan.d: Correct mfmcsrr0 disassembly.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * gas/nios2/add-r2.d: New.
-       * gas/nios2/align_fill-r2.d: New.
-       * gas/nios2/align_text-r2.d: New.
-       * gas/nios2/aligned_text-r2.d: New.
-       * gas/nios2/and-r2.d: New.
-       * gas/nios2/andc.d: New.
-       * gas/nios2/andc.s: New.
-       * gas/nios2/bmx.d: New.
-       * gas/nios2/bmx.s: New.
-       * gas/nios2/branch-r2.d: New.
-       * gas/nios2/break-r2.d: New.
-       * gas/nios2/bret-r2.d: New.
-       * gas/nios2/cache-r2.d: New.
-       * gas/nios2/cache-r2.s: New.
-       * gas/nios2/call-r2.d: New.
-       * gas/nios2/call26-r2.d: New.
-       * gas/nios2/call26_noat-r2.d: New.
-       * gas/nios2/call_noat-r2.d: New.
-       * gas/nios2/cdx_add.d: New.
-       * gas/nios2/cdx_add.s: New.
-       * gas/nios2/cdx_and.d: New.
-       * gas/nios2/cdx_and.s: New.
-       * gas/nios2/cdx_break.d: New.
-       * gas/nios2/cdx_break.s: New.
-       * gas/nios2/cdx_callr.d: New.
-       * gas/nios2/cdx_callr.s: New.
-       * gas/nios2/cdx_jmpr.d: New.
-       * gas/nios2/cdx_jmpr.s: New.
-       * gas/nios2/cdx_ldbu.d: New.
-       * gas/nios2/cdx_ldbu.s: New.
-       * gas/nios2/cdx_ldhu.d: New.
-       * gas/nios2/cdx_ldhu.s: New.
-       * gas/nios2/cdx_ldw.d: New.
-       * gas/nios2/cdx_ldw.s: New.
-       * gas/nios2/cdx_ldwsp.d: New.
-       * gas/nios2/cdx_ldwsp.s: New.
-       * gas/nios2/cdx_mov.d: New.
-       * gas/nios2/cdx_mov.s: New.
-       * gas/nios2/cdx_neg.d: New.
-       * gas/nios2/cdx_neg.s: New.
-       * gas/nios2/cdx_not.d: New.
-       * gas/nios2/cdx_not.s: New.
-       * gas/nios2/cdx_or.d: New.
-       * gas/nios2/cdx_or.s: New.
-       * gas/nios2/cdx_pop.d: New.
-       * gas/nios2/cdx_pop.s: New.
-       * gas/nios2/cdx_push.d: New.
-       * gas/nios2/cdx_push.s: New.
-       * gas/nios2/cdx_relax.d: New.
-       * gas/nios2/cdx_relax.s: New.
-       * gas/nios2/cdx_ret.d: New.
-       * gas/nios2/cdx_ret.s: New.
-       * gas/nios2/cdx_sll.d: New.
-       * gas/nios2/cdx_sll.s: New.
-       * gas/nios2/cdx_spaddi.d: New.
-       * gas/nios2/cdx_spaddi.s: New.
-       * gas/nios2/cdx_spdeci.d: New.
-       * gas/nios2/cdx_spdeci.s: New.
-       * gas/nios2/cdx_srl.d: New.
-       * gas/nios2/cdx_srl.s: New.
-       * gas/nios2/cdx_stb.d: New.
-       * gas/nios2/cdx_stb.s: New.
-       * gas/nios2/cdx_sth.d: New.
-       * gas/nios2/cdx_sth.s: New.
-       * gas/nios2/cdx_stw.d: New.
-       * gas/nios2/cdx_stw.s: New.
-       * gas/nios2/cdx_stwsp.d: New.
-       * gas/nios2/cdx_stwsp.s: New.
-       * gas/nios2/cdx_sub.d: New.
-       * gas/nios2/cdx_sub.s: New.
-       * gas/nios2/cdx_trap.d: New.
-       * gas/nios2/cdx_trap.s: New.
-       * gas/nios2/cdx_xor.d: New.
-       * gas/nios2/cdx_xor.s: New.
-       * gas/nios2/cmp-r2.d: New.
-       * gas/nios2/comments-r2.d: New.
-       * gas/nios2/complex-r2.d: New.
-       * gas/nios2/ctl-r2.d: New.
-       * gas/nios2/custom-r2.d: New.
-       * gas/nios2/eni.d: New.
-       * gas/nios2/eni.s: New.
-       * gas/nios2/etbt-r2.d: New.
-       * gas/nios2/flushda-r2.d: New.
-       * gas/nios2/jmp-r2.d: New.
-       * gas/nios2/ldb-r2.d: New.
-       * gas/nios2/ldb-r2.s: New.
-       * gas/nios2/ldh-r2.d: New.
-       * gas/nios2/ldh-r2.s: New.
-       * gas/nios2/ldw-r2.d: New.
-       * gas/nios2/ldw-r2.s: New.
-       * gas/nios2/ldwm.d: New.
-       * gas/nios2/ldwm.s: New.
-       * gas/nios2/lineseparator-r2.d: New.
-       * gas/nios2/movia-r2.d: New.
-       * gas/nios2/mpx.d: New.
-       * gas/nios2/mpx.s: New.
-       * gas/nios2/mul-r2.d: New.
-       * gas/nios2/nop-r2.d: New.
-       * gas/nios2/nop-r2.s: New.
-       * gas/nios2/nor-r2.d: New.
-       * gas/nios2/or-r2.d: New.
-       * gas/nios2/rdprs-r2.d: New.
-       * gas/nios2/rdprs-r2.s: New.
-       * gas/nios2/registers-r2.d: New.
-       * gas/nios2/ret-r2.d: New.
-       * gas/nios2/rotate-r2.d: New.
-       * gas/nios2/stb-r2.d: New.
-       * gas/nios2/stb-r2.s: New.
-       * gas/nios2/sth-r2.d: New.
-       * gas/nios2/sth-r2.s: New.
-       * gas/nios2/stw-r2.d: New.
-       * gas/nios2/stw-r2.s: New.
-       * gas/nios2/stwm.d: New.
-       * gas/nios2/stwm.s: New.
-       * gas/nios2/sub-r2.d: New.
-       * gas/nios2/sync-r2.d: New.
-       * gas/nios2/trap-r2.d: New.
-       * gas/nios2/tret-r2.d: New.
-       * gas/nios2/wrpie.d: New.
-       * gas/nios2/wrpie.s: New.
-       * gas/nios2/wrprs-r2.d: New.
-       * gas/nios2/xor-r2.d: New.
-
-2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
-
-       * gas/i386/i386.exp: Add new mwaitx test cases.
-       * gas/i386/mwaitx.s: New.
-       * gas/i386/mwaitx-bdver4.d: New.
-       * gas/i386/x86-64-mwaitx.s: New.
-       * gas/i386/x86-64-mwaitx-bdver4.d: New.
-       * gas/i386/mwaitx-reg.s: New.
-       * gas/i386/mwaitx-reg.l: New.
-       * gas/i386/x86-64-mwaitx-reg.l: New.
-       * gas/i386/x86-64-mwaitx-reg.s: New.
-       * gas/i386/arch-13.s: Updated.
-       * gas/i386/arch-13.d: Updated.
-       * gas/i386/arch-13-znver1.d: Updated.
-       * gas/i386/x86-64-arch-3.s: Updated.
-       * gas/i386/x86-64-arch-3.d: Updated.
-       * gas/i386/x86-64-arch-3-znver1.d: Updated.
-
-2015-06-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/ia64/psn.d: Updated.
-       * gas/ia64/xdata-ilp32.d: Likewise.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/mmix/loc-3.d: Updated.
-       * gas/mmix/loc-5.d: Likewise.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/18451
-       * gas/elf/elf.exp: Run strtab.
-       * gas/elf/strtab.d: New file.
-       * gas/elf/strtab.s: Likewise.
-
-2015-06-22  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * gas/ppc/e6500.s <sync>: Fix invalid test.
-       * gas/ppc/e6500.d: Likewise.
-
-2015-06-22  Nick Clifton  <nickc@redhat.com>
-
-       * gas/arm/backslash-at.s: Add extra .byte directives so that the
-       foo symbol does not appear to point half way through an
-       instruction.
-       * gas/arm/backslash-at.d: Update expected disassembly.
-       * gas/i386/ilp32/x86-64-opcode-inval-intel.d: Likewise.
-       * gas/i386/ilp32/x86-64-opcode-inval.d: Likewise.
-       * gas/i386/x86-64-opcode-inval-intel.d: Likewise.
-       * gas/i386/x86-64-opcode-inval.d: Likewise.
-
-2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * gas/ppc/power8.d: Fixup rfebb test results.
-       * gas/ppc/a2.s: Fix invalid mfcr test.
-       * gas/ppc/a2.d: Likewise.
-
-2015-06-18  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18541
-       * gas/arm/thumb.s: Add test of ADR against a nearby symbol.
-       * gas/arm/thumb.d: Update expected output.
-       * gas/arm/thumb-eabi.d: Likewise.
-
-2015-06-18  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18481
-       * gas/arm/tls.s: Add tests of the tpoff pseudo with a local
-       symbol.
-       * gas/arm/tls.d: Update expected output.
-
-2015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
-
-       PR gas/18500
-       * gas/arm/vfpv2-ldr_immediate.s: New test case.
-       * gas/arm/vfpv2-ldr_immediate.d: Expected disassembly.
-       * gas/arm/vfpv3-ldr_immediate.s: New test case.
-       * gas/arm/vfpv3-ldr_immediate.d: Expected disassembly.
-       * gas/arm/vfpv3xd-ldr_immediate.s: New test case.
-       * gas/arm/vfpv3xd-ldr_immediate.d: Expected disassembly.
-
-       PR gas/18499
-       * gas/arm/thumb2_ldr_immediate_armv6.s: New test case.
-       * gas/arm/thumb2_ldr_immediate_armv6.d: Expected disassembly.
-       * gas/arm/thumb2_ldr_immediate_armv6t2.s: New test case.
-       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Expected disassembly.
-
-2015-06-16  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * sysreg.d: Add id_mmfr4_el1, update expected output.
-       * sysreg.s: Add id_mmfr4_el1.
-
-2015-06-15  Renlin Li  <renlin.li@arm.com>
-
-       * gas/aarch64/reloc-insn.s: Update test
-       * gas/aarch64/reloc-insn.d: Update expected result.
-
-2015-06-13  Mark Wielaard  <mjw@redhat.com>
-
-       * gas/aarch64/dwarf.d: New.
-       * gas/aarch64/dwarf.s: New.
-
-2015-06-04  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * gas/ppc/a2.d: Fixup test case due to new extended mnemonic.
-       * gas/ppc/power4.s <hwsync, lwsync, ptesync, sync>: Add tests.
-       * gas/ppc/power4.d: Likewise.
-
-2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/arm/armv8-a+rdma.d: New.
-       * gas/arm/armv8-a+rdma.s: New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/arm/armv8-a+pan.d: New.
-       * gas/arm/armv8-a+pan.s: New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/rdma-directive.d: New.
-       * gas/aarch64/rdma.d: New.
-       * gas/aarch64/rdma.s: New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/lor-directive.d: New.
-       * gas/aarch64/lor.d: New.
-       * gas/aarch64/lor.s: New
-
-2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/pan-directive.d: New.
-       * gas/aarch64/pan.d: New.
-       * gas/aarch64/pan.s: New
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/ilp32-basic.s: New testcase.
-       * gas/aarch64/ilp32-basic.d: Ditto.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/reloc-insn.s: New testcase.
-       * gas/aarch64/reloc-insn.d: Ditto.
-
-2015-06-01  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/i386/avx512f.s: Adjust operand order for Intel syntax
-       vcvt{,u}si2ss.
-       * gas/i386/x86-64-avx512f.s: Adjust operand order for Intel
-       syntax vcvt{,u}si2s{d,s}.
-
-2015-06-01  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/i386/avx512f-intel.d: Adjust expectations on operand order.
-       * gas/i386/evex-lig256-intel.d: Likewise.
-       * gas/i386/evex-lig512-intel.d: Likewise.
-       * gas/i386/x86-64-avx512f-intel.d: Likewise.
-       * gas/i386/x86-64-evex-lig256-intel.d: Likewise.
-       * gas/i386/x86-64-evex-lig512-intel.d: Likewise.
-
-2015-05-28  Catherine Moore  <clm@codesourcery.com>
-           Bernd Schmidt <bernds@codesourcery.com>
-
-       * gas/mips/mips.exp: Run new tests.
-       * gas/mips/compact-eh-1.s: New file.
-       * gas/mips/compact-eh-2.s: New file.
-       * gas/mips/compact-eh-3.s: New file.
-       * gas/mips/compact-eh-4.s: New file.
-       * gas/mips/compact-eh-5.s: New file.
-       * gas/mips/compact-eh-6.s: New file.
-       * gas/mips/compact-eh-7.s: New file.
-       * gas/mips/compact-eh-eb-1.d: New file.
-       * gas/mips/compact-eh-eb-2.d: New file.
-       * gas/mips/compact-eh-eb-3.d: New file.
-       * gas/mips/compact-eh-eb-4.d: New file.
-       * gas/mips/compact-eh-eb-5.d: New file.
-       * gas/mips/compact-eh-eb-6.d: New file.
-       * gas/mips/compact-eh-eb-7.d: New file.
-       * gas/mips/compact-eh-el-1.d: New file.
-       * gas/mips/compact-eh-el-2.d: New file.
-       * gas/mips/compact-eh-el-3.d: New file.
-       * gas/mips/compact-eh-el-4.d: New file.
-       * gas/mips/compact-eh-el-5.d: New file.
-       * gas/mips/compact-eh-el-6.d: New file.
-       * gas/mips/compact-eh-el-7.d: New file.
-       * gas/mips/compact-eh-err1.l: New file.
-       * gas/mips/compact-eh-err1.s: New file.
-       * gas/mips/compact-eh-err2.l: New file.
-       * gas/mips/compact-eh-err2.s: New file.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * gas/i386/i386.exp: Run x86-64-branch-2 and x86-64-branch-3.
-       * gas/i386/x86-64-branch.d: Also pass -Mintel64 to objdump.
-       * gas/i386/ilp32/x86-64-branch.d: Likewise.
-       * gas/i386/x86-64-branch-2.d: New file.
-       * gas/i386/x86-64-branch-2.s: Likewise.
-       * gas/i386/x86-64-branch-3.l: Likewise.
-       * gas/i386/x86-64-branch-3.s: Likewise.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Don't run pcrel for ELF targets.  Run
-       pcrel-elf, relax-4 and x86-64-relax-3 for ELF targets.
-       * gas/i386/pcrel-elf.d: New file.
-       * gas/i386/relax-4.d: Likewise.
-       * gas/i386/x86-64-relax-3.d: Likewise.
-       * gas/i386/relax-3.d: Pass -mshared to assembler.  Updated.
-       * gas/i386/x86-64-relax-2.d: Likewise.
-       * gas/i386/relax-3.s: Add test for PLT relocation.
-
-2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * gas/ppc/power4.d: Add a slbia test.
-       * gas/ppc/power4.s: Likewise.
-       * gas/ppc/power6.d: Add slbia and tlbie tests.
-       * gas/ppc/power6.s: Likewise.
-       * gas/ppc/power7.d: Remove wait tests. Add a tlbie test.
-       * gas/ppc/power7.s: Likewise.
-
-2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
-
-       * gas/xtensa/trampoline.s: Add regression testcase.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Run iamcu-1, iamcu-2, iamcu-3, iamcu-inval-1,
-       iamcu-inval-2 and iamcu-inval-3.
-       * gas/i386/iamcu-1.d: New file.
-       * gas/i386/iamcu-1.s: Likewise.
-       * gas/i386/iamcu-2.d: Likewise.
-       * gas/i386/iamcu-2.s: Likewise.
-       * gas/i386/iamcu-3.d: Likewise.
-       * gas/i386/iamcu-3.s: Likewise.
-       * gas/i386/iamcu-inval-1.l: Likewise.
-       * gas/i386/iamcu-inval-1.s: Likewise.
-       * gas/i386/iamcu-inval-2.l: Likewise.
-       * gas/i386/iamcu-inval-2.s: Likewise.
-       * gas/i386/iamcu-inval-3.l: Likewise.
-       * gas/i386/iamcu-inval-3.s: Likewise.
-
-2015-05-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * gas/i386/i386.exp: Run x86-64-jump.
-       * gas/i386/x86-64-branch.d: Updated.
-       * gas/i386/ilp32/x86-64-branch.d: Likewise.
-       * gas/i386/x86-64-branch.s: Add tests for the operand size prefix
-       with call, jmp and jb.
-       * gas/i386/x86-64-jump.d: New file.
-       * gas/i386/x86-64-jump.s: Likewise.
-
-2015-05-08  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18347
-       * gas/arm/pr18347.s: Add tests of other symbol assignments which
-       should not generate the warning.
-       * gas/arm/pr18347.l: Update expected output.
-
-2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Run relax-3 and x86-64-relax-2.
-       * gas/i386/relax-3.d: New file.
-       * gas/i386/relax-3.s: Likewise.
-       * gas/i386/x86-64-relax-2.d: Likewise.
-
-2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * gas/sparc/natural-32.d: Test ldn, ldna, stn, stna, slln, srln,
-       sran, casn, casna and clrn.
-       * gas/sparc/natural-32.s: Likewise.
-       * gas/sparc/natural.s: Likewise.
-       * gas/sparc/natural.d: Likewise.
-
-2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-
-       * gas/sparc/natural.s: New file.
-       * gas/sparc/natural-32.s: Likewise.
-       * gas/sparc/natural.d: Likewise.
-       * gas/sparc/natural-32.d: Likewise.
-       * gas/sparc/sparc.exp (sparc_elf_setup): Run the tests natural and
-       natural-32.
-
-2015-05-06  Renlin Li  <renlin.li@arm.com>
-
-       * gas/aarch64/codealign_1.s: New.
-       * gas/aarch64/codealign_1.d: New.
-
-2015-05-05  Renlin Li  <renlin.li@arm.com>
-
-       * gas/aarch64/mapping_5.d: New.
-       * gas/aarch64/mapping_5.s: New.
-       * gas/aarch64/mapping_6.d: New.
-       * gas/aarch64/mapping_6.s: New.
-
-2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Run note.
-       * gas/i386/note.d: New file.
-       * gas/i386/note.s: Likewise.
-
-2015-04-30  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18347
-       * gas/arm/pr18347.s: New file: Test case.
-       * gas/arm/pr18347.l: New file: Expected assembler output.
-       * gas/arm/pr18347.d: New file: Test driver.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18265
-       * gas/arm/pr18256.s: New file: Test case.
-       * gas/arm/pr18256.l: New file: Expected assembler output.
-       * gas/arm/pr18256.d: New file: Test driver.
-
-2015-04-28  Renlin Li  <renlin.li@arm.com>
-
-       * gas/arm/thumb2_vpool_be.d: Adjust the desired output.
-       * gas/arm/vldconst_be.d: Ditto.
-
-2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * gas/ppc/a2.s: Fixup test case due to dcbt/dcbtst embedded operand
-       ordering change.
-       * gas/ppc/a2.d: Likewise.
-       * gas/ppc/476.d: Likewise.
-       * gas/ppc/booke.s: Remove invalid 3 operand dcbt tests.
-       * gas/ppc/booke.d: Likewise.
-       * gas/ppc/power7.s: Remove lbarx, lharx, stbcx., sthcx., waitrsv
-       and waitimpl tests.
-       * gas/ppc/power7.d: Likewise.
-
-2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * doc/as.texinfo: Document Tag_GNU_S390_ABI_Vector.
-
-2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * gas/s390/zarch-z13.d: Fix tests for VFCE, VLDE, VFSQ, WFK, and
-       WFC.
-       * gas/s390/zarch-z13.s: Likewise.
-
-2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
-
-       * gas/arm/align64.d: Delete trailing padding NOPs.
-
-2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * gas/mips/dla-warn.l: New file.
-       * gas/mips/dla-warn.s: New file.
-       * gas/mips/la-warn.l: New file.
-       * gas/mips/la-warn.s: New file.
-       * gas/mips/mips.exp: Run new tests.
-
-2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * gas/mips/mips.exp: Require o32 for r6-branch-constraints.
-
-2015-04-23  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/i386/avx512dq.d: Add 'z' suffix to vfpclassp{d,s} non-
-       register, non-broadcast cases.
-       * gas/i386/x86-64-avx512dq.d: Likewise.
-       * gas/i386/avx512dq_vl.d: Add 'x' and 'y' suffixes to
-       vcvt{,u}qq2ps and vfpclassp{d,s} non-register, non-broadcast
-       cases.
-       * gas/i386/x86-64-avx512dq_vl.d: Likewise.
-       * gas/i386/avx512f_vl.d: Add 'x' and 'y' suffixes to
-       vcvt{,t}pd2{,u}dq and vcvtpd2ps non-register, non-broadcast
-       cases.
-       * gas/i386/x86-64-avx512f_vl.d: Likewise.
-
-2015-04-23  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/i386/avx512dq.s: Drop 'z' suffix from vfpclassp{d,s} in
-       some AT&T and all Intel cases.
-       * gas/i386/x86-64-avx512dq.s: Likewise.
-       * gas/i386/avx512dq_vl.s: Drop 'x' and 'y' suffixes from
-       vcvt{,u}qq2ps and vfpclassp{d,s} in some AT&T and all Intel
-       cases.
-       * gas/i386/x86-64-avx512dq_vl.s: Likewise.
-       * gas/i386/avx512f_vl.s: Drop 'x' and 'y' suffixes from
-       vcvt{,t}pd2{,u}dq and vcvtpd2ps in some AT&T and all Intel
-       cases.
-       * gas/i386/x86-64-avx512f_vl.s: Likewise.
-
-2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/ilp32/x86-64-unwind.d: Don't hardcode offset of
-       .shstrtab section.
-       * gas/i386/x86-64-unwind.d: Likewise.
-       * gas/ia64/alias-ilp32.d: Likewise.
-       * gas/ia64/alias.d: Likewise.
-       * gas/ia64/group-1.d: Likewise.
-       * gas/ia64/group-2.d: Likewise.
-       * gas/ia64/secname-ilp32.d: Likewise.
-       * gas/ia64/secname.d: Likewise.
-       * gas/ia64/unwind-ilp32.d: Likewise.
-       * gas/ia64/unwind.d: Likewise.
-       * gas/mmix/bspec-1.d: Likewise.
-       * gas/mmix/byte-1.d: Likewise.
-       * gas/mmix/loc-1.d: Likewise.
-       * gas/mmix/loc-2.d: Likewise.
-       * gas/mmix/loc-3.d: Likewise.
-       * gas/mmix/loc-4.d: Likewise.
-       * gas/mmix/loc-5.d: Likewise.
-       * gas/tic6x/scomm-directive-4.d: Likewise.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/17898
-       * gas/i386/prefix.s: Add rdrand/rdseed prefix tests.
-       * gas/i386/prefix.d: Updated.
-
-2015-04-15  Renlin Li  <renlin.li@arm.com>
-
-       * gas/arm/arch7em.d: Adjust required ssat and ssat16 immediate field.
-       * gas/arm/thumb32.d: Likewise.
-
-2015-04-14  Nick Clifton  <nickc@redhat.com>
-
-       * gas/lns/lns.exp: Add RL78 to list of targets using
-       DW_LNS_fixed_advance_pc.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/dw2-compressed-1.d: New file.
-       * gas/i386/dw2-compressed-2.d: Likewise.
-       * gas/i386/dw2-compressed-3.d: Likewise.
-       * gas/i386/x86-64-dw2-compressed-2.d: Likewise.
-       * gas/i386/i386.exp: Run dw2-compressed-2, dw2-compressed-1,
-       dw2-compressed-3 and x86-64-dw2-compressed-2.
-
-2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lib/gas-defs.exp (run_dump_test): Remove is_zlib_supported check.
-
-2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * gas/i386/i386.exp: Don't run nops-1-bdver1, nops-1-bdver2,
-       nops-1-bdver3, nops-1-bdver4, nops-1-znver1, nops-1-btver1
-       nops-1-btver2, x86-64-nops-1-nocona, x86-64-nops-1-bdver1,
-       x86-64-nops-1-bdver2, x86-64-nops-1-bdver3, x86-64-nops-1-bdver4,
-       x86-64-nops-1-znver1, x86-64-nops-1-btver1 nor
-       x86-64-nops-1-btver2.
-       * gas/i386/nops-1-core2.d: Updated.
-       * gas/i386/nops-1-k8.d: Likewise.
-       * gas/i386/nops-4a-i686.d: Likewise.
-       * gas/i386/nops-5-i686.d: Likewise.
-       * gas/i386/nops-5.d: Likewise.
-       * gas/i386/nops-6.d: Likewise.
-       * gas/i386/x86-64-nops-1-core2.d: Likewise.
-       * gas/i386/x86-64-nops-1-g64.d: Likewise.
-       * gas/i386/x86-64-nops-1-k8.d: Likewise.
-       * gas/i386/x86-64-nops-1.d: Likewise.
-       * gas/i386/x86-64-nops-2.d: Likewise.
-       * gas/i386/x86-64-nops-3.d: Likewise.
-       * gas/i386/x86-64-nops-4-core2.d: Likewise.
-       * gas/i386/x86-64-nops-4-k8.d: Likewise.
-       * gas/i386/x86-64-nops-4.d: Likewise.
-       * gas/i386/x86-64-nops-5-k8.d: Likewise.
-       * gas/i386/x86-64-nops-5.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-1.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-2.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-3.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-4.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-5.d: Likewise.
-       * gas/i386/nops-1-bdver1.d: Removed.
-       * gas/i386/nops-1-bdver2.d: Likewise.
-       * gas/i386/nops-1-bdver3.d: Likewise.
-       * gas/i386/nops-1-bdver4.d: Likewise.
-       * gas/i386/nops-1-btver1.d: Likewise.
-       * gas/i386/nops-1-btver2.d: Likewise.
-       * gas/i386/nops-1-znver1.d: Likewise.
-       * gas/i386/x86-64-nops-1-bdver1.d: Likewise.
-       * gas/i386/x86-64-nops-1-bdver2.d: Likewise.
-       * gas/i386/x86-64-nops-1-bdver3.d: Likewise.
-       * gas/i386/x86-64-nops-1-bdver4.d: Likewise.
-       * gas/i386/x86-64-nops-1-btver1.d: Likewise.
-       * gas/i386/x86-64-nops-1-btver2.d: Likewise.
-       * gas/i386/x86-64-nops-1-nocona.d: Likewise.
-       * gas/i386/x86-64-nops-1-znver1.d: Likewise.
-       * gas/i386/ilp32/x86-64-nops-1-nocona.d: Likewise.
-
-2015-03-19  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/18087
-       * gas/i386/dw2-compress-1.d: Allow the test to pass regardless of
-       whether the .debug_info section was compressed on not.
-
-2015-03-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/18087
-       * gas/i386/dw2-compress-1.d: Revert the last change.
-       * gas/i386/dw2-compress-3.d: New.
-       * gas/i386/dw2-compress-3.s: Likewise.
-       * gas/i386/i386.exp: Run dw2-compress-3 for ELF targets.
-
-2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18087
-       * gas/i386/dw2-compress-1.d: Do not expect the .debug_abbrev or
-       .debug_info sections to be compressed.
-
-2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
-
-       * gas/i386/i386.exp: Add new znver1 test cases.
-       * gas/i386/arch-13-znver1.d: New.
-       * gas/i386/arch-13.d: New.
-       * gas/i386/arch-13.s: New.
-       * gas/i386/clzero.d: New.
-       * gas/i386/clzero.s: New.
-       * gas/i386/nops-1-znver1.d: New.
-       * gas/i386/x86-64-arch-3-znver1.d: New.
-       * gas/i386/x86-64-arch-3.d: New.
-       * gas/i386/x86-64-arch-3.s: New.
-       * gas/i386/x86-64-clzero.d: New.
-       * gas/i386/x86-64-nops-1-znver1.d: New.
-
-2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * gas/mips/mips.exp: Added branch constraints testcase.
-       * gas/mips/r6-branch-constraints.s: New test.
-       * gas/mips/r6-branch-constraints.l: New test.
-
-2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * gas/mips/r6.s: Add evp and dvp instructions.
-       * gas/mips/r6.d: Likewise.
-       * gas/mips/r6-n32.d: Likewise.
-       * gas/mips/r6-n64.d: Likewise.
-
-2015-03-13  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/diagnostic.s: New testcases.
-       * gas/aarch64/diagnostic.l: New error match.
-
-2015-03-13  Jiong Wang  <jiong.wang@arm.com>
-
-       * gas/aarch64/tail_padding.s: New testcase.
-       * gas/aarch64/tail_padding.d: New expectation file.
-
-2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * gas/s390/zarch-z13.d: Add more z13 instructions.
-       * gas/s390/zarch-z13.s: Likewise.
-
-2015-03-05  Renlin Li  <renlin.li@arm.com>
-
-       * gas/arm/dis-data.d: Adjust the desired output.
-       * gas/arm/dis-data2.d: Ditto.
-
-2015-03-10  Renlin Li  <renlin.li@arm.com>
-
-       * gas/aarch64/ldst-reg-uns-imm.d: Adjust expected output.
-       * gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
-       * gas/aarch64/reloc-insn.d: Likewise.
-
-2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/aarch64/codealign.d: Add test for code section alignment.
-       * gas/aarch64/codealign.s: New file.
-
-2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
-
-       PR gas/17843
-       * gas/aarch64/tls.s, gas/aarch64/tls.d: Add test for
-       R_AARCH64_TLSLE_MOVW_TPREL_G0/R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
-       sequence.
-
-2015-02-28  Alan Modra  <amodra@gmail.com>
-
-       * gas/sparc/pcrel.d: Update for changed padding in data sections.
-       * gas/sparc/pcrel64.d: Likewise.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * gas/aarch64/diagnostic.s: Add LDR test.
-       * gas/aarch64/diagnostic.l: Likewise.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * gas/aarch64/diagnostic.s: Add ADR test.
-       * gas/aarch64/diagnostic.l: Likewise.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * gas/avr/avr-prop-1.d: New file.
-       * gas/avr/avr-prop-1.s: New file.
-
-2015-02-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-           Oleg Endo  <olegendo@gcc.gnu.org>
-
-       * gas/sh/arch/arch.exp: Replace dead code to generate expected .s files
-       with ...
-       * gas/sh/arch/sh-opc-gen-as.pl: ... this new script.
-       * gas/sh/arch/arch_expected.txt: Regenerate.
-       * gas/sh/arch/sh-dsp.s: Likewise.
-       * gas/sh/arch/sh-opc-gen-as.pl: Likewise.
-       * gas/sh/arch/sh.s: Likewise.
-       * gas/sh/arch/sh2.s: Likewise.
-       * gas/sh/arch/sh2a-nofpu-or-sh3-nommu.s: Likewise.
-       * gas/sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Likewise.
-       * gas/sh/arch/sh2a-nofpu.s: Likewise.
-       * gas/sh/arch/sh2a-or-sh3e.s: Likewise.
-       * gas/sh/arch/sh2a-or-sh4.s: Likewise.
-       * gas/sh/arch/sh2a.s: Likewise.
-       * gas/sh/arch/sh2e.s: Likewise.
-       * gas/sh/arch/sh3-dsp.s: Likewise.
-       * gas/sh/arch/sh3-nommu.s: Likewise.
-       * gas/sh/arch/sh3.s: Likewise.
-       * gas/sh/arch/sh3e.s: Likewise.
-       * gas/sh/arch/sh4-nofpu.s: Likewise.
-       * gas/sh/arch/sh4-nommu-nofpu.s: Likewise.
-       * gas/sh/arch/sh4.s: Likewise.
-       * gas/sh/arch/sh4a-nofpu.s: Likewise.
-       * gas/sh/arch/sh4a.s: Likewise.
-       * gas/sh/arch/sh4al-dsp.s: Likewise.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * gas/elf/elf.exp: Add special version of the section2 test for
-       the V850.
-       * gas/elf/section2.e-v850: New file.
-
-2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
-
-       * gas/arm/armv1.l: Remove 'Warning: ' from expected messages
-       for deprecations.
-       * gas/arm/armv8-a-bad.l: Likewise.
-       * gas/arm/armv8-a-it-bad.l: Likewise.
-       * gas/arm/depr-swp.l: Likewise.
-       * gas/arm/ldsgeb.l: Likewise.
-       * gas/arm/ldsgeh.l: Likewise.
-       * gas/arm/thumb2_bad_reg.l: Likewise.
-       * gas/arm/thumb32.l: Likewise.
-       * gas/arm/udf.l: Likewise.
-       * gas/arm/vstr-arm-bad.l: Likewise.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * gas/ft32/ft32.exp: New file.
-       * gas/ft32/insn.d: New file.
-       * gas/ft32/insn.s: New file.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       * gas/all/none.s,
-       * gas/all/none.d: New test.
-       * gas/all/gas.exp: Run it.
-
-2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * gas/s390/esa-g5.d: Add a variant without the optional operand.
-       * gas/s390/esa-g5.s: Likewise.
-       * gas/s390/esa-z9-109.d: Likewise.
-       * gas/s390/esa-z9-109.s: Likewise.
-       * gas/s390/zarch-z9-109.d: Likewise.
-       * gas/s390/zarch-z9-109.s: Likewise.
-       * gas/s390/zarch-z10.d: For variants with a zero optional argument
-       it is not dumped by objdump anymore.
-       * gas/s390/zarch-zEC12.d: Likewise.
-
-       * gas/s390/zarch-z13.d: New file.
-       * gas/s390/zarch-z13.s: New file.
-       * gas/s390/s390.exp: Run the test for the z13 files.
-
-2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * gas/arm/ual-vcmp.s: Add vcmp, vcmpe with #0x0 operand.
-       * gas/ual/vcmp.d: Update expected output.
-       * gas/ual/vcmp-zero-bad.l: Likewise
-
-2015-01-12  Jan Beulich  <jbeulich@suse.com>
-
-       gas/cfi/cfi-label.d, gas/cfi/cfi-label.s: New.
-       gas/cfi/cfi.exp: Run new tests.
-
-2015-01-12  Jan Beulich  <jbeulich@suse.com>
-
-       * gas/arm/neon-addressing-bad.s: Add test for invalid VSHL,
-       VQSHL, and VQSHLU immediates.
-       * gas/arm/neon-addressing-bad.l: Update accordingly.
-
-2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * gas/avr/large-debug-line-table.d: New file.
-       * gas/avr/large-debug-line-table.s: New file.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/gas/testsuite/ChangeLog-2015 b/gas/testsuite/ChangeLog-2015
new file mode 100644 (file)
index 0000000..145ab85
--- /dev/null
@@ -0,0 +1,1709 @@
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gas/arm/archv8m-base.d: New file.
+       * gas/arm/attr-march-armv8m.base.d: Likewise.
+       * gas/arm/armv8m.base-idiv.d: Likewise.
+       * gas/arm/any-armv8m.d: Adapt to deal with ARMv8-M Baseline.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gas/arm/archv8m.s: New file.
+       * gas/arm/archv8m-main.d: Likewise.
+       * gas/arm/attr-march-armv8m.main.d: Likewise.
+       * gas/arm/any-armv8m.s: Likewise.
+       * gas/arm/any-armv8m.d: Likewise.
+
+2015-12-24  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gas/arm/automatic-bw.d: New.
+       * gas/arm/automatic-bw.s: New.
+       * gas/arm/automatic-cbz.d: New.
+       * gas/arm/automatic-cbz.s: New.
+       * gas/arm/automatic-clrex.d: New.
+       * gas/arm/automatic-clrex.s: New.
+       * gas/arm/automatic-lda.d: New.
+       * gas/arm/automatic-lda.s: New.
+       * gas/arm/automatic-ldaex.d: New.
+       * gas/arm/automatic-ldaex.s: New.
+       * gas/arm/automatic-ldaexb.d: New.
+       * gas/arm/automatic-ldaexb.s: New.
+       * gas/arm/automatic-ldrex.d: New.
+       * gas/arm/automatic-ldrex.s: New.
+       * gas/arm/automatic-ldrexd.d: New.
+       * gas/arm/automatic-ldrexd.s: New.
+       * gas/arm/automatic-movw.d: New.
+       * gas/arm/automatic-movw.s: New.
+       * gas/arm/automatic-sdiv.d: New.
+       * gas/arm/automatic-sdiv.s: New.
+       * gas/arm/automatic-strexb.d: New.
+       * gas/arm/automatic-strexb.s: New.
+
+2015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * gas/arm/armv8a-automatic-hlt.d: New test.
+       * gas/arm/armv8a-automatic-hlt.s: New test.
+       * gas/arm/armv8a-automatic-lda.d: New test.
+       * gas/arm/armv8a-automatic-lda.s: New test.
+
+2015-12-16  Mickael Guene <mickael.guene@st.com>
+
+       * gas/arm/adds-thumb1-reloc-local.d: New
+       * gas/arm/adds-thumb1-reloc-local.s: New
+       * gas/arm/movs-thumb1-reloc-local.d: New
+       * gas/arm/movs-thumb1-reloc-local.s: New
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16: Add tests for Adv.SIMD scalar shift
+       by immediate instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD across lanes
+       instructions.
+       * gas/aarch64/illegal.d: Update expected output.
+       * gas/aarch64/illegal.s: Replace tests for illegal use of 'h'
+       specifier.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD Scalar
+       Pairwise instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD modified
+       immediate instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD across lanes
+       instructions.
+       * gas/aarch64/illegal.d: Update expected output.
+       * gas/aarch64/illegal.s: Replace test for illegal use of 'h' specifier.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for scalar indexed element
+       instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for vector indexed element
+       instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for scalar two register misc.
+       instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for vector two register
+       misc. instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: Update expected output.
+       * gas/aarch64/advsimd-fp16.s: Add tests for scalar three register
+       same instructions.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/advsimd-fp16.d: New.
+       * gas/aarch64/advsimd-fp16.s: New.
+
+2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * gas/rx/emaca.d: New.
+       * gas/rx/emaca.sm: New.
+       * gas/rx/emsba.d: New.
+       * gas/rx/emsba.sm: New.
+       * gas/rx/emula.d: New.
+       * gas/rx/emula.sm: New.
+       * gas/rx/fadd.d: Add new pattern.
+       * gas/rx/fadd.sm: Add new pattern.
+       * gas/rx/fmul.d: Add new pattern.
+       * gas/rx/fmul.sm: Add new pattern.
+       * gas/rx/fsqrt.d: New.
+       * gas/rx/fsqrt.sm: New.
+       * gas/rx/fsub.d: Add new pattern.
+       * gas/rx/fsub.sm: Add new pattern.
+       * gas/rx/ftou.d: New.
+       * gas/rx/ftou.sm: New.
+       * gas/rx/maclh.d: New.
+       * gas/rx/maclh.sm: New.
+       * gas/rx/maclo.d: Add new pattern.
+       * gas/rx/maclo.sm: Add new pattern.
+       * gas/rx/macros.inc: Add new register.
+       * gas/rx/movco.d: New.
+       * gas/rx/movco.sm: New.
+       * gas/rx/movli.d: New.
+       * gas/rx/movli.sm: New.
+       * gas/rx/msbhi.d: New.
+       * gas/rx/msbhi.sm: New.
+       * gas/rx/msblh.d: New.
+       * gas/rx/msblh.sm: New.
+       * gas/rx/msblo.d: New.
+       * gas/rx/msblo.sm: New.
+       * gas/rx/mullh.d: New.
+       * gas/rx/mullh.sm: New.
+       * gas/rx/mvfacgu.d: New.
+       * gas/rx/mvfacgu.sm: New.
+       * gas/rx/mvfachi.d: Add new pattern.
+       * gas/rx/mvfachi.sm: Add new pattern.
+       * gas/rx/mvfaclo.d: Add new pattern.
+       * gas/rx/mvfaclo.sm: Add new pattern.
+       * gas/rx/mvfacmi.d: Add new pattern.
+       * gas/rx/mvfacmi.sm: Add new pattern.
+       * gas/rx/mvfc.d: Add new pattern.
+       * gas/rx/mvtacgu.d: New.
+       * gas/rx/mvtacgu.sm: New.
+       * gas/rx/mvtc.d: Add new pattern.
+       * gas/rx/popc.d: Add new pattern.
+       * gas/rx/pushc.d: Add new pattern.
+       * gas/rx/racl.d: New.
+       * gas/rx/racl.sm: New.
+       * gas/rx/racw.d: Add new pattern.
+       * gas/rx/racw.sm: Add new pattern.
+       * gas/rx/rdacl.d: New.
+       * gas/rx/rdacl.sm: New.
+       * gas/rx/rdacw.d: New.
+       * gas/rx/rdacw.sm: New.
+       * gas/rx/rx.exp: Add option.
+       * gas/rx/stnz.d: Add new pattern.
+       * gas/rx/stnz.sm: Add new pattern.
+       * gas/rx/stz.d: Add new pattern.
+       * gas/rx/stz.sm: Add new pattern.
+       * gas/rx/utof.d: New.
+       * gas/rx/utof.sm: New.
+
+2015-12-12  Alan Modra  <amodra@gmail.com>
+
+       * gas/sh/tlsd.s: Use .tdata not .tbss.
+       * gas/sh/tlsnopic.s: Likewise.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/system-2.d: Enable the statistical profiling
+       extension.  Update the expected output.
+       * gas/aarch64/system-2.s: Add tests for PSB CSYNC.
+       * gas/aarch64/system.d: Update the expected output.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/sysreg-2.s: Add tests for the statistical profiling
+       system registers.
+       * gas/aarch64/sysreg-2.d: Enable the statistical profiling
+       extension and update the expected output.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/sysreg-2.d: Update for new tests for AT S1E1RP and
+       AT S1E1WP.
+       * gas/aarch64/sysreg-2.s: Add tests for AT S1E1RP and AT S1E1WP.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/sysreg-2.d: Add tests for dc instruction.
+       * gas/aarch64/sysreg-2.s: Add uses of dc instruction.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/uao-directive.d: New.
+       * gas/aarch64/uao.d: New.
+       * gas/aarch64/uao.s: New.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/sysreg-2.d: Add tests for new registers.
+       * gas/aarch64/sysreg-2.s: Likewise.  Also replace some spaces with
+       tabs.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/system-2.d: New.
+       * gas/aarch64/system-2.s: New.
+       * gas/aarch64/system.d: Adjust expected output for HINT 16.
+
+2015-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Run ospke and x86-64-ospke.
+       * gas/i386/ospke.d: New file.
+       * gas/i386/ospke.s: Likewise.
+       * gas/i386/x86-64-ospke.d: Likewise.
+
+2015-12-09  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/elf/file.d: Allow arbitrary entries at the beginning of
+       the symbol table.
+       * gas/elf/file-2.d: Likewise.
+
+2015-12-08  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/elf/bad-bss.d, gas/elf/bad-bss.err: New.
+       * gas/elf/bss.d, gas/elf/bss.s: New.
+       * gas/elf/elf.exp: Run new tests.
+
+2015-12-08  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/elf/file-2.s, gas/elf/file-2.d: New.
+       * gas/elf/elf.exp: Run new test.
+       * gas/elf/file.d: Adjust expectations.
+       * gas/i386/ilp32/elf/file.d: Likewise.
+
+2015-12-04  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/19276
+       * gas/arm/align64.d: Skip for COFF/PE targets.
+       * gas/arm/bundle-lock.d: Adjust for COFF/PE targets.
+
+2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * gas/arc/bic.d: Update test.
+       * gas/arc/add_s-err.s: New file.
+       * gas/arc/cpu-warn1.s: Likewise.
+       * gas/arc/pcl-relocs.d: Likewise.
+       * gas/arc/pcl-relocs.s: Likewise.
+       * gas/arc/pcrel-relocs.d: Likewise.
+       * gas/arc/pcrel-relocs.s: Likewise.
+       * gas/arc/pic-relocs.d: Likewise.
+       * gas/arc/pic-relocs.s: Likewise.
+       * gas/arc/plt-relocs.d: Likewise.
+       * gas/arc/plt-relocs.s: Likewise.
+       * gas/arc/pseudos.d: Likewise.
+       * gas/arc/pseudos.s: Likewise.
+       * gas/arc/sda-relocs.d: Likewise.
+       * gas/arc/sda-relocs.s: Likewise.
+       * gas/arc/sda-relocs2.d: Likewise.
+       * gas/arc/sda-relocs2.s: Likewise.
+       * gas/arc/tls-relocs.d: Likewise.
+       * gas/arc/tls-relocs.s: Likewise.
+
+2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gas/arm/armv8-a.d: <ldaexh>: Rename mismatched mnemonics ...
+       <ldah>: ... to this.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/float-fp16.d: New.
+       * gas/aarch64/float-fp16.s: New.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/alias-2.d: Add tests for REV.
+       * gas/aarch64/alias-2.s: Likewise.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/alias-2.d: New.
+       * gas/aarch64/alias-2.s: New.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/sysreg-2.d: New.
+       * gas/aarch64/sysreg-2.s: New.
+
+2015-11-24  Christophe Monat <christophe.monat@st.com>
+
+       * gas/arm/thumb2_ldr_immediate_armv6t2.s: Added high register
+       tests.
+       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Accounted for new test
+       cases.
+       * gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: New.
+       * gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: New.
+
+2015-11-24  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/arm/armv7e-m+fpv5-d16.d: Skip test for *-*-pe, *-wince-* and
+       for *-*-coff targets.
+       * gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
+       * gas/arm/blx-bl-convert.d: Likewise.
+       * gas/arm/ldst-offset0.d: Likewise.
+       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
+       * gas/arm/armv8-a+pan.s: Adjust test to make it
+       valid for non-ELF targets.
+       * gas/arm/wince.d: Add assembler option "-mccs".
+       * gas/arm/wince_inst.d: Update expected output.
+
+2015-11-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * gas/mips/nan-legacy-1.d: Remove MIPS ABI flags match patterns.
+       * gas/mips/nan-legacy-2.d: Likewise.
+       * gas/mips/nan-legacy-3.d: Likewise.
+       * gas/mips/nan-legacy-4.d: Likewise.
+       * gas/mips/nan-legacy-5.d: Likewise.
+
+2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/virthostext-directive.d: New.
+       * gas/aarch64/virthostext.d: New.
+       * gas/aarch64/virthostext.s: New.
+
+2015-11-20  Matthew Wahab  <matthew.wahab@foss.arm.com>
+
+       * gas/arm/mapshort-elf.d: Fix typo in exclusion list.
+
+2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/pan-illegal.d: New.
+       * gas/aarch64/pan-illegal.l: New.
+       * gas/aarch64/pan.s: Add tests for invalid immediates.
+
+2015-11-19  Alan Modra  <amodra@gmail.com>
+
+       * gas/ppc/altivec3.d: Allow for padding at end of section.
+       * gas/ppc/power9.d: Likewise.
+
+2015-11-12  Matthew Wahab  <matthew.wahab@arm.com>
+
+       PR gas/19217
+       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Update expected output.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * gas/ppc/altivec3.s: New test.
+       * gas/ppc/altivec3.d: Likewise.
+       * gas/ppc/vsx3.s: Likewise.
+       * gas/ppc/vsx3.d: Likewise.
+       * gas/ppc/power9.s: Likewise.
+       * gas/ppc/power9.d: Likewise.
+       * gas/ppc/ppc.exp: Run them.
+       * gas/ppc/power8.s <lxvx, lxvd2x, stxvx, stxvd2x>: Add new tests.
+       * gas/ppc/power8.d: Likewise.
+       * gas/ppc/vsx.s: <lxvx, stxvx>: Rename invalid mnemonics ...
+       <lxvd2x, stxvd2x>: ...to this.
+       * gas/ppc/vsx.d: Likewise.
+
+2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * gas/all/test-gen.c (random_order_16s, random_order_24s)
+       (random_order_32s): Fix left shift of negative value.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * gas/rx/max.d: Update expected disassembly.
+       * gas/rx/nod.d: Likewise.
+       * gas/rx/nop.sm: Add tests of more NOP instructions.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * gas/rx/mov.sm: Add tests for zero offset indirect moves.
+       * gas/rx/mov.d: Update expected output.
+
+2015-10-28  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gas/arm/pinsn.s: New.
+       * gas/arm/pinsn.d: Likewise.
+
+2015-10-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/19159
+       * gas/rl78/pr19159.s: New test source file.
+       * gas/rl78/pr19159.d: New test case.
+       * gas/rl78/rl78.exp: Run the new test.
+
+2015-10-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/19158
+       * gas/rl78/pr19158.s: New test source file.
+       * gas/rl78/pr19158.d: New test case.
+       * gas/rl78/rl78.exp: Run the new test.
+
+2015-10-27  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/19157
+       * gas/rl78: New directory.
+       * gas/rl78/rl78.exp: New test driver.
+       * gas/rl78/pr19157.s: New test source file.
+       * gas/rl78/pr19157.d: New test case.
+
+2015-10-22  Nick Clifton  <nickc@redhat.com>
+
+       * gas/msp430/errata_fixes.s: New test source file.
+       * gas/msp430/errata_fixes.d: New test control file.
+       * gas/msp430/errata_warns.s: New test source file.
+       * gas/msp430/errata_warns.d: New test control file.
+       * gas/msp430/errata_warns.l: New test message file.
+       * gas/msp430/msp430.exp: Run the new tests.
+       * gas/msp430/bad.l: Update expected warning messages
+       * gas/msp430/msp430.exp: Run the new tests.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Run x86-64-gotpcrel.
+       * gas/i386/x86-64-gotpcrel.d: New file.
+       * gas/i386/x86-64-gotpcrel.s: Likewise.
+       * gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
+       * gas/i386/x86-64-localpic.d: Replace R_X86_64_GOTPCREL with
+       R_X86_64_REX_GOTPCRELX.
+       * gas/i386/ilp32/x86-64-localpic.d: Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/got.d: New file.
+       * gas/i386/got.s: Likewise.
+       * gas/i386/i386.exp: Run got.
+       * gas/i386/localpic.d: Replace R_386_GOT32 with R_386_GOT32X.
+       * gas/i386/mixed-mode-reloc32.d: Likewise.
+       * gas/i386/reloc32.d: Likewise.
+
+2015-10-22  Alan Modra  <amodra@gmail.com>
+
+       PR gas/18500
+       * gas/arm/vfpv2-ldr_immediate.d: Use parentheses, not brackets,
+       to select alternatives.
+       * gas/arm/vfpv3-ldr_immediate.d: Likewise.
+       * gas/arm/vfpv3xd-ldr_immediate.d: Likewise.
+
+2015-10-21  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18500
+       * gas/arm/vfpv3xd-ldr_immediate.d: Update test for big-endian ARM
+       toolchains.
+       * gas/arm/vfpv3-ldr_immediate.d: Likewise.
+       * gas/arm/vfpv2-ldr_immediate.d: Likewise.
+
+2015-10-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * gas/s390/esa-g5.d: Use odd GPR for the second operand.
+       * gas/s390/esa-g5.s: Likewise.
+       * gas/s390/esa-z9-109.d: Likewise.
+       * gas/s390/esa-z9-109.s: Likewise.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gas/avr/avr-prop-1.s: Use fill in some cases.
+       * gas/avr/avr-prop-1.d: Update expected results.
+
+2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * gas/arc/adc.s: Update test for ARCv1/ARCv2.
+       * gas/arc/adc.d: Expected output.
+       * gas/arc/add.s: Update test for ARCv1/ARCv2.
+       * gas/arc/add.d: Expected output.
+       * gas/arc/and.s: Update test for ARCv1/ARCv2.
+       * gas/arc/and.d: Expected output.
+       * gas/arc/arc.exp: Cleanup.
+       * gas/arc/asl.s: Update test for ARCv1/ARCv2.
+       * gas/arc/asl.d: Expected output.
+       * gas/arc/asr.s: Update test for ARCv1/ARCv2.
+       * gas/arc/asr.d: Expected output.
+       * gas/arc/b.s: Update test for ARCv1/ARCv2.
+       * gas/arc/b.d: Expected output.
+       * gas/arc/bic.s: Update test for ARCv1/ARCv2.
+       * gas/arc/bic.d: Expected output.
+       * gas/arc/bl.s: Update test for ARCv1/ARCv2.
+       * gas/arc/bl.d: Expected output.
+       * gas/arc/brk.s: Update test for ARCv1/ARCv2.
+       * gas/arc/brk.d: Expected output.
+       * gas/arc/extb.s: Update test for ARCv1/ARCv2.
+       * gas/arc/extb.d: Expected output.
+       * gas/arc/extw.s: Update test for ARCv1/ARCv2.
+       * gas/arc/extw.d: Expected output.
+       * gas/arc/flag.d: Update output for ARCv1/ARCv2.
+       * gas/arc/j.s: Update test for ARCv1/ARCv2.
+       * gas/arc/j.d: Expected output.
+       * gas/arc/jl.s: Update test for ARCv1/ARCv2.
+       * gas/arc/jl.d: Expected output.
+       * gas/arc/ld.s: Update test for ARCv1/ARCv2.
+       * gas/arc/ld.d: Expected output.
+       * gas/arc/ld2.s: Update test for ARCv1/ARCv2.
+       * gas/arc/ld2.d: Expected output.
+       * gas/arc/lp.s: Update test for ARCv1/ARCv2.
+       * gas/arc/lp.d: Expected output.
+       * gas/arc/lsr.s: Update test for ARCv1/ARCv2.
+       * gas/arc/lsr.d: Expected output.
+       * gas/arc/mov.s: Update test for ARCv1/ARCv2.
+       * gas/arc/mov.d: Expected output.
+       * gas/arc/nop.s: Update test for ARCv1/ARCv2.
+       * gas/arc/nop.d: Expected output.
+       * gas/arc/or.s: Update test for ARCv1/ARCv2.
+       * gas/arc/or.d: Expected output.
+       * gas/arc/rlc.s: Update test for ARCv1/ARCv2.
+       * gas/arc/rlc.d: Expected output.
+       * gas/arc/ror.s: Update test for ARCv1/ARCv2.
+       * gas/arc/ror.d: Expected output.
+       * gas/arc/rrc.s: Update test for ARCv1/ARCv2.
+       * gas/arc/rrc.d: Expected output.
+       * gas/arc/sbc.s: Update test for ARCv1/ARCv2.
+       * gas/arc/sbc.d: Expected output.
+       * gas/arc/sexb.s: Update test for ARCv1/ARCv2.
+       * gas/arc/sexb.d: Expected output.
+       * gas/arc/sexw.s: Update test for ARCv1/ARCv2.
+       * gas/arc/sexw.d: Expected output.
+       * gas/arc/sleep.s: Update test for ARCv1/ARCv2.
+       * gas/arc/sleep.d: Expected output.
+       * gas/arc/st.s: Update test for ARCv1/ARCv2.
+       * gas/arc/st.d: Expected output.
+       * gas/arc/sub.s: Update test for ARCv1/ARCv2.
+       * gas/arc/sub.d: Expected output.
+       * gas/arc/swi.d: Update expected output for ARCv1/ARCv2.
+       * gas/arc/warn.exp: Cleanup
+       * gas/arc/xor.s: Update test for ARCv1/ARCv2.
+       * gas/arc/xor.d: Expected output.
+       * gas/arc/alias.d: Removed.
+       * gas/arc/alias.s: Likewise.
+       * gas/arc/branch.d: Likewise.
+       * gas/arc/branch.s: Likewise.
+       * gas/arc/insn3.d: Likewise.
+       * gas/arc/insn3.s: Likewise.
+       * gas/arc/math.d: Likewise.
+       * gas/arc/math.s: Likewise.
+       * gas/arc/sshift.d: Likewise.
+       * gas/arc/sshift.s: Likewise.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-tlsdesc_off_g0_nc.d: New.
+       * gas/aarch64/reloc-tlsdesc_off_g0_nc.s: New.
+       * gas/aarch64/reloc-tlsdesc_off_g1.d: New.
+       * gas/aarch64/reloc-tlsdesc_off_g1.s: New.
+       * gas/aarch64/tls-desc.d: New.
+       * gas/aarch64/tls-desc.s: New.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-gottprel_g0_nc.d: New.
+       * gas/aarch64/reloc-gottprel_g0_nc.s: New.
+       * gas/aarch64/reloc-gottprel_g1.d: New.
+       * gas/aarch64/reloc-gottprel_g1.s: New.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-tlsgd_g0_nc.d: New.
+       * gas/aarch64/reloc-tlsgd_g0_nc.s: New.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-tlsgd_g1.s: New.
+       * gas/aarch64/reloc-tlsgd_g1.s: New.
+
+2015-10-02  Renlin Li <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-gotoff_g0_nc.s: New.
+       * gas/aarch64/reloc-gotoff_g0_nc.d: New.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-gotoff_g1.s: New.
+       * gas/aarch64/reloc-gotoff_g1.d: New.
+
+2015-09-30  Alan Modra  <amodra@gmail.com>
+
+       * gas/ppc/ppc.exp (e500-ill): Pass -me500.
+       * gas/ppc/e500-ill.s: Remove .machine.
+       * gas/ppc/e500-ill.l: Remove line numbers.
+
+2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * gas/s390/s390.exp: Add new tests.
+       * gas/s390/machine-parsing-1.s: New test file.
+       * gas/s390/machine-parsing-1.l: Likewise.
+       * gas/s390/machine-parsing-2.s: Likewise.
+       * gas/s390/machine-parsing-2.l: Likewise.
+       * gas/s390/machine-parsing-3.s: Likewise.
+       * gas/s390/machine-parsing-3.l: Likewise.
+       * gas/s390/machine-parsing-4.s: Likewise.
+       * gas/s390/machine-parsing-4.l: Likewise.
+       * gas/s390/machine-parsing-5.s: Likewise.
+       * gas/s390/machine-parsing-5.l: Likewise.
+       * gas/s390/machine-parsing-6.s: Likewise.
+       * gas/s390/machine-parsing-6.l: Likewise.
+
+2015-09-28  Tom Rix  <tom@bumblecow.com>
+
+       * gas/ppc/e500-ill.s: New testcase for illegal ppc e500 ops.
+       * gas/ppc/e500-ill.l: Expected results.
+       * gas/ppc/ppc.exp: Run it.
+
+2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * gas/sparc/wrpr.s: Test writing to the privileged %pmcdper
+       register.
+       * gas/sparc/wrpr.d: ...and the expected result.
+       * gas/sparc/rdpr.s: Test reading from the privileged %pmcdper
+       register.
+       * gas/sparc/rdpr.d: ...and the expected result.
+
+2015-08-25  Simon Dardis  <Simon.Dardis@imgtec.com>
+
+       * gas/mips/micromips32-move.d: Update expected disassembly.
+       * gas/mips/move.d: Likewise.
+       * gas/mips/move.s: Fix for some MIPS configurations.
+
+2015-08-24  Jan Stancek  <jstancek@redhat.com>
+
+       * gas/i386/intel.s: Add test of disassembly of a potential
+       three byte instuction at the end of a function.
+       * gas/i386/intel.d: Update expected disassembly.
+
+2015-08-21  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18581
+       * gas/all/byte.d: Disable this test.  Quoted expressions
+       are now allowed in .byte directives.
+       * gas/all/quoted-sym-names.s: New test.
+       * gas/all/quoted-sym-names.d: Expected output.
+       * gas/all/gas.exp: Run the new test.
+
+2015-08-21  Alexander Fomin  <alexander.fomin@intel.com>
+
+       PR binutils/18257
+       * gas/i386/disassem.s: Add mask instructions with invalid ModR/M byte.
+       * gas/i386/x86-64-disassem.s: Likewise.
+       * gas/i386/disassem.d: Updated.
+       * gas/i386/x86-64-disassem.d: Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-dtprel-lo12-ldst8.s: New testcase.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst8.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst16.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst16.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst32.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst32.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst64.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst64.s: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst8.d: New expectation file.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst8.d: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst16.d: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst16.d: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst32.d: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst32.d: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12-ldst64.d: Likewise.
+       * gas/aarch64/reloc-dtprel-lo12_nc-ldst64.d: Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-dtprel_g0.s: New testcase.
+       * gas/aarch64/reloc-dtprel_g0-ilp32.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g0_nc.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g0_nc-ilp32.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g1.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g1-ilp32.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g1_nc.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g2.s: Likewise.
+       * gas/aarch64/reloc-dtprel_hi12.s: Likewise.
+       * gas/aarch64/reloc-dtprel_hi12-ilp32.s: Likewise.
+       * gas/aarch64/reloc-dtprel_g0.d: New expectation file.
+       * gas/aarch64/reloc-dtprel_g0-ilp32.d: Likewise.
+       * gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
+       * gas/aarch64/reloc-dtprel_g0_nc-ilp32.d: Likewise.
+       * gas/aarch64/reloc-dtprel_g1.d: Likewise.
+       * gas/aarch64/reloc-dtprel_g1-ilp32.d: Likewise.
+       * gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
+       * gas/aarch64/reloc-dtprel_g2.d: Likewise.
+       * gas/aarch64/reloc-dtprel_hi12.d: Likewise.
+       * gas/aarch64/reloc-dtprel_hi12-ilp32.d: Likewise.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-dtprel_lo12_nc.s: New testcase.
+       * gas/aarch64/reloc-dtprel_lo12_nc-ilp32.s: Likewise.
+       * gas/aarch64/reloc-dtprel_lo12_nc.d: New expectation file.
+       * gas/aarch64/reloc-dtprel_lo12_nc-ilp32.d: Likewise.
+
+2015-08-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gas/arm/nops.d: New.
+       * gas/arm/nops.s: New.
+       * gas/arm/inst.d: Changed expectation file for 26-bit teq,
+       tst, cmn and cmp.
+
+2015-08-12  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * gas/xtensa/all.exp: Add auto-litpools to the list of xtensa
+       tests.
+       * gas/xtensa/auto-litpools.s: New file: auto-litpools test.
+       * gas/xtensa/auto-litpools.s: New file: auto-litpools test
+       result pattern.
+
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * gas/mips/elf-rel23.d: Update test.
+       * gas/mips/elf-rel23.d: Ditto.
+       * gas/mips/elf-rel23a.d: Ditto.
+       * gas/mips/elf-rel23b.d: Ditto.
+       * gas/mips/elf_e_flags1.d: Ditto.
+       * gas/mips/elf_e_flags2.d: Ditto.
+       * gas/mips/elf_e_flags3.d: Ditto.
+       * gas/mips/elf_e_flags4.d: Ditto.
+       * gas/mips/loc-swap-dis.d: Ditto.
+       * gas/mips/micromips-insn32.d: Ditto.
+       * gas/mips/micromips-noinsn32.d: Ditto.
+       * gas/mips/micromips-trap.d: Ditto.
+       * gas/mips/micromips.d: Ditto.
+       * gas/mips/mips-abi32-pic.d: Ditto.
+       * gas/mips/mips-abi32.d: Ditto.
+       * gas/mips/mips-gp32-fp32-pic.d: Ditto.
+       * gas/mips/mips-gp32-fp32.d: Ditto.
+       * gas/mips/mips-gp32-fp64-pic.d: Ditto.
+       * gas/mips/mips-gp32-fp64.d: Ditto.
+       * gas/mips/mips-gp64-fp32-pic.d: Ditto.
+       * gas/mips/mips-gp64-fp32.d: Ditto.
+       * gas/mips/mips-gp64-fp64-pic.d: Ditto.
+       * gas/mips/mips-gp64-fp64.d: Ditto.
+       * gas/mips/mipsr6@loc-swap-dis.d: Ditto.
+       * gas/mips/tls-o32.d: Ditto.
+       * gas/mips/uld2-eb.d: Ditto.
+       * gas/mips/uld2-el.d: Ditto.
+       * gas/mips/ulw2-eb-ilocks.d: Ditto.
+       * gas/mips/ulw2-eb.d: Ditto.
+       * gas/mips/ulw2-el-ilocks.d: Ditto.
+       * gas/mips/ulw2-el.d: Ditto.
+       * gas/mips/move.d: New test.
+       * gas/mips/move.s: Ditto.
+       * gas/mips/micromips32-move.d: Ditto.
+       * gas/mips/micromips32-move.s: Ditto.
+       * gas/mips/mips.exp: Run the new tests.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-dtprel_lo12-1.s: New testcase.
+       * gas/aarch64/reloc-dtprel_lo12-ilp32-1.s: Likewise.
+       * gas/aarch64/reloc-dtprel_lo12-1.d: New expectation file.
+       * gas/aarch64/reloc-dtprel_lo12-ilp32-1.d: Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-tlsldm_lo12_nc-1.s: New testcase.
+       * gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.s: Likewise.
+       * gas/aarch64/reloc-tlsldm_lo12_nc-1.d: New expectation file.
+       * gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.d: Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-tlsldm-page-1.s: New testcase.
+       * gas/aarch64/reloc-tlsldm-page-ilp32-1.s: Likewise.
+       * gas/aarch64/reloc-tlsldm-page-1.d: New expectation file.
+       * gas/aarch64/reloc-tlsldm-page-ilp32-1.d: Likewise.
+
+2015-08-10  Robert Suchanek  <robert.suchanek@imgtec.com>
+
+       * gas/mips/r6.s: Add tests for "sigrie".
+       * gas/mips/r6.d: Check for "sigrie".
+       * gas/mips/r6-n32.d: Likewise.
+       * gas/mips/r6-n64.d: Likewise.
+
+2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/13571
+       * gas/i386/i386.exp: Run i386-intel and x86_64-intel.
+       * gas/i386/i386-intel.d: New file.
+       * gas/i386/x86_64-intel.d: Likewise.
+
+2015-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * gas/all/struct.d: Allow for extra symbols in the output.
+       * gas/macros/test1.d: Likewise.
+       * gas/elf/elf.exp: Add an rl78 machine.
+       * gas/elf/sections2e-rl78: New file.
+
+2015-07-22  Alexander Fomin  <alexander.fomin@intel.com>
+
+       PR binutils/18631
+       * gas/i386avx512dq-intel.d: Replace "QWORD" with "DWORD" in
+       vcvtt?ps2u?qq instructions disassembly regexes.
+       Add disassembly regex for new test.
+       * gas/i386/avx512dq.d: Likewise.
+       * gas/i386/avx512dq_vl-intel.d: Likewise.
+       * gas/i386/avx512dq_vl.d: Likewise.
+       * gas/i386/x86-64-avx512dq-intel.d: Likewise.
+       * gas/i386/x86-64-avx512dq.d: Likewise.
+       * gas/i386/x86-64-avx512dq_vl-intel.d: Likewise.
+       * gas/i386/x86-64-avx512dq_vl.d: Likewise.
+       * gas/i386/avx512dq.s: Add new test for Intel syntax with memory
+       operand and broadcasting enabled.
+       * gas/i386/avx512dq_vl.s: Likewise.
+       * gas/i386/x86-64-avx512dq.s: Likewise.
+       * gas/i386/x86-64-avx512dq_vl.s: Likewise.
+
+2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/arm/attr-march-armv6kz.d: New.
+       * gas/arm/attr-march-armv6kzt2.d: New.
+
+2015-07-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-tlsldm-1.s: New testcase.
+       * gas/aarch64/reloc-tlsldm-ilp32-1.s: Ditto.
+       * gas/aarch64/reloc-tlsldm-1.d: New expectation file.
+       * gas/aarch64/reloc-tlsldm-ilp32-1.d: Ditto.
+
+2015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * gas/arm/arch7em-bad.l: Update expected errors.
+       * gas/arm/arch7m-bad.l: Likewise.
+       * gas/arm/arm-idiv-bad.l: Likewise.
+       * gas/arm/arm7-bad.l: Likewise.
+       * gas/arm/armv1-bad.l: Likewise.
+       * gas/arm/thumb-w-bad.l: Likewise.
+
+2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/dw2-compress-1.d: Updated to accept .debug_* sections.
+
+2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
+
+       * gas/avr/pc-relative-reloc.d: New test for 32 bit pc relative reloc.
+       * gas/avr/per-function-debugline.s: New test source.
+
+2015-07-03  Alan Modra  <alan@squeak.grove.modra.org>
+
+       * gas/ppc/titan.d: Correct mfmcsrr0 disassembly.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * gas/nios2/add-r2.d: New.
+       * gas/nios2/align_fill-r2.d: New.
+       * gas/nios2/align_text-r2.d: New.
+       * gas/nios2/aligned_text-r2.d: New.
+       * gas/nios2/and-r2.d: New.
+       * gas/nios2/andc.d: New.
+       * gas/nios2/andc.s: New.
+       * gas/nios2/bmx.d: New.
+       * gas/nios2/bmx.s: New.
+       * gas/nios2/branch-r2.d: New.
+       * gas/nios2/break-r2.d: New.
+       * gas/nios2/bret-r2.d: New.
+       * gas/nios2/cache-r2.d: New.
+       * gas/nios2/cache-r2.s: New.
+       * gas/nios2/call-r2.d: New.
+       * gas/nios2/call26-r2.d: New.
+       * gas/nios2/call26_noat-r2.d: New.
+       * gas/nios2/call_noat-r2.d: New.
+       * gas/nios2/cdx_add.d: New.
+       * gas/nios2/cdx_add.s: New.
+       * gas/nios2/cdx_and.d: New.
+       * gas/nios2/cdx_and.s: New.
+       * gas/nios2/cdx_break.d: New.
+       * gas/nios2/cdx_break.s: New.
+       * gas/nios2/cdx_callr.d: New.
+       * gas/nios2/cdx_callr.s: New.
+       * gas/nios2/cdx_jmpr.d: New.
+       * gas/nios2/cdx_jmpr.s: New.
+       * gas/nios2/cdx_ldbu.d: New.
+       * gas/nios2/cdx_ldbu.s: New.
+       * gas/nios2/cdx_ldhu.d: New.
+       * gas/nios2/cdx_ldhu.s: New.
+       * gas/nios2/cdx_ldw.d: New.
+       * gas/nios2/cdx_ldw.s: New.
+       * gas/nios2/cdx_ldwsp.d: New.
+       * gas/nios2/cdx_ldwsp.s: New.
+       * gas/nios2/cdx_mov.d: New.
+       * gas/nios2/cdx_mov.s: New.
+       * gas/nios2/cdx_neg.d: New.
+       * gas/nios2/cdx_neg.s: New.
+       * gas/nios2/cdx_not.d: New.
+       * gas/nios2/cdx_not.s: New.
+       * gas/nios2/cdx_or.d: New.
+       * gas/nios2/cdx_or.s: New.
+       * gas/nios2/cdx_pop.d: New.
+       * gas/nios2/cdx_pop.s: New.
+       * gas/nios2/cdx_push.d: New.
+       * gas/nios2/cdx_push.s: New.
+       * gas/nios2/cdx_relax.d: New.
+       * gas/nios2/cdx_relax.s: New.
+       * gas/nios2/cdx_ret.d: New.
+       * gas/nios2/cdx_ret.s: New.
+       * gas/nios2/cdx_sll.d: New.
+       * gas/nios2/cdx_sll.s: New.
+       * gas/nios2/cdx_spaddi.d: New.
+       * gas/nios2/cdx_spaddi.s: New.
+       * gas/nios2/cdx_spdeci.d: New.
+       * gas/nios2/cdx_spdeci.s: New.
+       * gas/nios2/cdx_srl.d: New.
+       * gas/nios2/cdx_srl.s: New.
+       * gas/nios2/cdx_stb.d: New.
+       * gas/nios2/cdx_stb.s: New.
+       * gas/nios2/cdx_sth.d: New.
+       * gas/nios2/cdx_sth.s: New.
+       * gas/nios2/cdx_stw.d: New.
+       * gas/nios2/cdx_stw.s: New.
+       * gas/nios2/cdx_stwsp.d: New.
+       * gas/nios2/cdx_stwsp.s: New.
+       * gas/nios2/cdx_sub.d: New.
+       * gas/nios2/cdx_sub.s: New.
+       * gas/nios2/cdx_trap.d: New.
+       * gas/nios2/cdx_trap.s: New.
+       * gas/nios2/cdx_xor.d: New.
+       * gas/nios2/cdx_xor.s: New.
+       * gas/nios2/cmp-r2.d: New.
+       * gas/nios2/comments-r2.d: New.
+       * gas/nios2/complex-r2.d: New.
+       * gas/nios2/ctl-r2.d: New.
+       * gas/nios2/custom-r2.d: New.
+       * gas/nios2/eni.d: New.
+       * gas/nios2/eni.s: New.
+       * gas/nios2/etbt-r2.d: New.
+       * gas/nios2/flushda-r2.d: New.
+       * gas/nios2/jmp-r2.d: New.
+       * gas/nios2/ldb-r2.d: New.
+       * gas/nios2/ldb-r2.s: New.
+       * gas/nios2/ldh-r2.d: New.
+       * gas/nios2/ldh-r2.s: New.
+       * gas/nios2/ldw-r2.d: New.
+       * gas/nios2/ldw-r2.s: New.
+       * gas/nios2/ldwm.d: New.
+       * gas/nios2/ldwm.s: New.
+       * gas/nios2/lineseparator-r2.d: New.
+       * gas/nios2/movia-r2.d: New.
+       * gas/nios2/mpx.d: New.
+       * gas/nios2/mpx.s: New.
+       * gas/nios2/mul-r2.d: New.
+       * gas/nios2/nop-r2.d: New.
+       * gas/nios2/nop-r2.s: New.
+       * gas/nios2/nor-r2.d: New.
+       * gas/nios2/or-r2.d: New.
+       * gas/nios2/rdprs-r2.d: New.
+       * gas/nios2/rdprs-r2.s: New.
+       * gas/nios2/registers-r2.d: New.
+       * gas/nios2/ret-r2.d: New.
+       * gas/nios2/rotate-r2.d: New.
+       * gas/nios2/stb-r2.d: New.
+       * gas/nios2/stb-r2.s: New.
+       * gas/nios2/sth-r2.d: New.
+       * gas/nios2/sth-r2.s: New.
+       * gas/nios2/stw-r2.d: New.
+       * gas/nios2/stw-r2.s: New.
+       * gas/nios2/stwm.d: New.
+       * gas/nios2/stwm.s: New.
+       * gas/nios2/sub-r2.d: New.
+       * gas/nios2/sync-r2.d: New.
+       * gas/nios2/trap-r2.d: New.
+       * gas/nios2/tret-r2.d: New.
+       * gas/nios2/wrpie.d: New.
+       * gas/nios2/wrpie.s: New.
+       * gas/nios2/wrprs-r2.d: New.
+       * gas/nios2/xor-r2.d: New.
+
+2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
+
+       * gas/i386/i386.exp: Add new mwaitx test cases.
+       * gas/i386/mwaitx.s: New.
+       * gas/i386/mwaitx-bdver4.d: New.
+       * gas/i386/x86-64-mwaitx.s: New.
+       * gas/i386/x86-64-mwaitx-bdver4.d: New.
+       * gas/i386/mwaitx-reg.s: New.
+       * gas/i386/mwaitx-reg.l: New.
+       * gas/i386/x86-64-mwaitx-reg.l: New.
+       * gas/i386/x86-64-mwaitx-reg.s: New.
+       * gas/i386/arch-13.s: Updated.
+       * gas/i386/arch-13.d: Updated.
+       * gas/i386/arch-13-znver1.d: Updated.
+       * gas/i386/x86-64-arch-3.s: Updated.
+       * gas/i386/x86-64-arch-3.d: Updated.
+       * gas/i386/x86-64-arch-3-znver1.d: Updated.
+
+2015-06-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/ia64/psn.d: Updated.
+       * gas/ia64/xdata-ilp32.d: Likewise.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/mmix/loc-3.d: Updated.
+       * gas/mmix/loc-5.d: Likewise.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/18451
+       * gas/elf/elf.exp: Run strtab.
+       * gas/elf/strtab.d: New file.
+       * gas/elf/strtab.s: Likewise.
+
+2015-06-22  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gas/ppc/e6500.s <sync>: Fix invalid test.
+       * gas/ppc/e6500.d: Likewise.
+
+2015-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * gas/arm/backslash-at.s: Add extra .byte directives so that the
+       foo symbol does not appear to point half way through an
+       instruction.
+       * gas/arm/backslash-at.d: Update expected disassembly.
+       * gas/i386/ilp32/x86-64-opcode-inval-intel.d: Likewise.
+       * gas/i386/ilp32/x86-64-opcode-inval.d: Likewise.
+       * gas/i386/x86-64-opcode-inval-intel.d: Likewise.
+       * gas/i386/x86-64-opcode-inval.d: Likewise.
+
+2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gas/ppc/power8.d: Fixup rfebb test results.
+       * gas/ppc/a2.s: Fix invalid mfcr test.
+       * gas/ppc/a2.d: Likewise.
+
+2015-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18541
+       * gas/arm/thumb.s: Add test of ADR against a nearby symbol.
+       * gas/arm/thumb.d: Update expected output.
+       * gas/arm/thumb-eabi.d: Likewise.
+
+2015-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18481
+       * gas/arm/tls.s: Add tests of the tpoff pseudo with a local
+       symbol.
+       * gas/arm/tls.d: Update expected output.
+
+2015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
+
+       PR gas/18500
+       * gas/arm/vfpv2-ldr_immediate.s: New test case.
+       * gas/arm/vfpv2-ldr_immediate.d: Expected disassembly.
+       * gas/arm/vfpv3-ldr_immediate.s: New test case.
+       * gas/arm/vfpv3-ldr_immediate.d: Expected disassembly.
+       * gas/arm/vfpv3xd-ldr_immediate.s: New test case.
+       * gas/arm/vfpv3xd-ldr_immediate.d: Expected disassembly.
+
+       PR gas/18499
+       * gas/arm/thumb2_ldr_immediate_armv6.s: New test case.
+       * gas/arm/thumb2_ldr_immediate_armv6.d: Expected disassembly.
+       * gas/arm/thumb2_ldr_immediate_armv6t2.s: New test case.
+       * gas/arm/thumb2_ldr_immediate_armv6t2.d: Expected disassembly.
+
+2015-06-16  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * sysreg.d: Add id_mmfr4_el1, update expected output.
+       * sysreg.s: Add id_mmfr4_el1.
+
+2015-06-15  Renlin Li  <renlin.li@arm.com>
+
+       * gas/aarch64/reloc-insn.s: Update test
+       * gas/aarch64/reloc-insn.d: Update expected result.
+
+2015-06-13  Mark Wielaard  <mjw@redhat.com>
+
+       * gas/aarch64/dwarf.d: New.
+       * gas/aarch64/dwarf.s: New.
+
+2015-06-04  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gas/ppc/a2.d: Fixup test case due to new extended mnemonic.
+       * gas/ppc/power4.s <hwsync, lwsync, ptesync, sync>: Add tests.
+       * gas/ppc/power4.d: Likewise.
+
+2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/arm/armv8-a+rdma.d: New.
+       * gas/arm/armv8-a+rdma.s: New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/arm/armv8-a+pan.d: New.
+       * gas/arm/armv8-a+pan.s: New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/rdma-directive.d: New.
+       * gas/aarch64/rdma.d: New.
+       * gas/aarch64/rdma.s: New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/lor-directive.d: New.
+       * gas/aarch64/lor.d: New.
+       * gas/aarch64/lor.s: New
+
+2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/pan-directive.d: New.
+       * gas/aarch64/pan.d: New.
+       * gas/aarch64/pan.s: New
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/ilp32-basic.s: New testcase.
+       * gas/aarch64/ilp32-basic.d: Ditto.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/reloc-insn.s: New testcase.
+       * gas/aarch64/reloc-insn.d: Ditto.
+
+2015-06-01  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/i386/avx512f.s: Adjust operand order for Intel syntax
+       vcvt{,u}si2ss.
+       * gas/i386/x86-64-avx512f.s: Adjust operand order for Intel
+       syntax vcvt{,u}si2s{d,s}.
+
+2015-06-01  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/i386/avx512f-intel.d: Adjust expectations on operand order.
+       * gas/i386/evex-lig256-intel.d: Likewise.
+       * gas/i386/evex-lig512-intel.d: Likewise.
+       * gas/i386/x86-64-avx512f-intel.d: Likewise.
+       * gas/i386/x86-64-evex-lig256-intel.d: Likewise.
+       * gas/i386/x86-64-evex-lig512-intel.d: Likewise.
+
+2015-05-28  Catherine Moore  <clm@codesourcery.com>
+           Bernd Schmidt <bernds@codesourcery.com>
+
+       * gas/mips/mips.exp: Run new tests.
+       * gas/mips/compact-eh-1.s: New file.
+       * gas/mips/compact-eh-2.s: New file.
+       * gas/mips/compact-eh-3.s: New file.
+       * gas/mips/compact-eh-4.s: New file.
+       * gas/mips/compact-eh-5.s: New file.
+       * gas/mips/compact-eh-6.s: New file.
+       * gas/mips/compact-eh-7.s: New file.
+       * gas/mips/compact-eh-eb-1.d: New file.
+       * gas/mips/compact-eh-eb-2.d: New file.
+       * gas/mips/compact-eh-eb-3.d: New file.
+       * gas/mips/compact-eh-eb-4.d: New file.
+       * gas/mips/compact-eh-eb-5.d: New file.
+       * gas/mips/compact-eh-eb-6.d: New file.
+       * gas/mips/compact-eh-eb-7.d: New file.
+       * gas/mips/compact-eh-el-1.d: New file.
+       * gas/mips/compact-eh-el-2.d: New file.
+       * gas/mips/compact-eh-el-3.d: New file.
+       * gas/mips/compact-eh-el-4.d: New file.
+       * gas/mips/compact-eh-el-5.d: New file.
+       * gas/mips/compact-eh-el-6.d: New file.
+       * gas/mips/compact-eh-el-7.d: New file.
+       * gas/mips/compact-eh-err1.l: New file.
+       * gas/mips/compact-eh-err1.s: New file.
+       * gas/mips/compact-eh-err2.l: New file.
+       * gas/mips/compact-eh-err2.s: New file.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * gas/i386/i386.exp: Run x86-64-branch-2 and x86-64-branch-3.
+       * gas/i386/x86-64-branch.d: Also pass -Mintel64 to objdump.
+       * gas/i386/ilp32/x86-64-branch.d: Likewise.
+       * gas/i386/x86-64-branch-2.d: New file.
+       * gas/i386/x86-64-branch-2.s: Likewise.
+       * gas/i386/x86-64-branch-3.l: Likewise.
+       * gas/i386/x86-64-branch-3.s: Likewise.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Don't run pcrel for ELF targets.  Run
+       pcrel-elf, relax-4 and x86-64-relax-3 for ELF targets.
+       * gas/i386/pcrel-elf.d: New file.
+       * gas/i386/relax-4.d: Likewise.
+       * gas/i386/x86-64-relax-3.d: Likewise.
+       * gas/i386/relax-3.d: Pass -mshared to assembler.  Updated.
+       * gas/i386/x86-64-relax-2.d: Likewise.
+       * gas/i386/relax-3.s: Add test for PLT relocation.
+
+2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gas/ppc/power4.d: Add a slbia test.
+       * gas/ppc/power4.s: Likewise.
+       * gas/ppc/power6.d: Add slbia and tlbie tests.
+       * gas/ppc/power6.s: Likewise.
+       * gas/ppc/power7.d: Remove wait tests. Add a tlbie test.
+       * gas/ppc/power7.s: Likewise.
+
+2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * gas/xtensa/trampoline.s: Add regression testcase.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Run iamcu-1, iamcu-2, iamcu-3, iamcu-inval-1,
+       iamcu-inval-2 and iamcu-inval-3.
+       * gas/i386/iamcu-1.d: New file.
+       * gas/i386/iamcu-1.s: Likewise.
+       * gas/i386/iamcu-2.d: Likewise.
+       * gas/i386/iamcu-2.s: Likewise.
+       * gas/i386/iamcu-3.d: Likewise.
+       * gas/i386/iamcu-3.s: Likewise.
+       * gas/i386/iamcu-inval-1.l: Likewise.
+       * gas/i386/iamcu-inval-1.s: Likewise.
+       * gas/i386/iamcu-inval-2.l: Likewise.
+       * gas/i386/iamcu-inval-2.s: Likewise.
+       * gas/i386/iamcu-inval-3.l: Likewise.
+       * gas/i386/iamcu-inval-3.s: Likewise.
+
+2015-05-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * gas/i386/i386.exp: Run x86-64-jump.
+       * gas/i386/x86-64-branch.d: Updated.
+       * gas/i386/ilp32/x86-64-branch.d: Likewise.
+       * gas/i386/x86-64-branch.s: Add tests for the operand size prefix
+       with call, jmp and jb.
+       * gas/i386/x86-64-jump.d: New file.
+       * gas/i386/x86-64-jump.s: Likewise.
+
+2015-05-08  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18347
+       * gas/arm/pr18347.s: Add tests of other symbol assignments which
+       should not generate the warning.
+       * gas/arm/pr18347.l: Update expected output.
+
+2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Run relax-3 and x86-64-relax-2.
+       * gas/i386/relax-3.d: New file.
+       * gas/i386/relax-3.s: Likewise.
+       * gas/i386/x86-64-relax-2.d: Likewise.
+
+2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * gas/sparc/natural-32.d: Test ldn, ldna, stn, stna, slln, srln,
+       sran, casn, casna and clrn.
+       * gas/sparc/natural-32.s: Likewise.
+       * gas/sparc/natural.s: Likewise.
+       * gas/sparc/natural.d: Likewise.
+
+2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+
+       * gas/sparc/natural.s: New file.
+       * gas/sparc/natural-32.s: Likewise.
+       * gas/sparc/natural.d: Likewise.
+       * gas/sparc/natural-32.d: Likewise.
+       * gas/sparc/sparc.exp (sparc_elf_setup): Run the tests natural and
+       natural-32.
+
+2015-05-06  Renlin Li  <renlin.li@arm.com>
+
+       * gas/aarch64/codealign_1.s: New.
+       * gas/aarch64/codealign_1.d: New.
+
+2015-05-05  Renlin Li  <renlin.li@arm.com>
+
+       * gas/aarch64/mapping_5.d: New.
+       * gas/aarch64/mapping_5.s: New.
+       * gas/aarch64/mapping_6.d: New.
+       * gas/aarch64/mapping_6.s: New.
+
+2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Run note.
+       * gas/i386/note.d: New file.
+       * gas/i386/note.s: Likewise.
+
+2015-04-30  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18347
+       * gas/arm/pr18347.s: New file: Test case.
+       * gas/arm/pr18347.l: New file: Expected assembler output.
+       * gas/arm/pr18347.d: New file: Test driver.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18265
+       * gas/arm/pr18256.s: New file: Test case.
+       * gas/arm/pr18256.l: New file: Expected assembler output.
+       * gas/arm/pr18256.d: New file: Test driver.
+
+2015-04-28  Renlin Li  <renlin.li@arm.com>
+
+       * gas/arm/thumb2_vpool_be.d: Adjust the desired output.
+       * gas/arm/vldconst_be.d: Ditto.
+
+2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gas/ppc/a2.s: Fixup test case due to dcbt/dcbtst embedded operand
+       ordering change.
+       * gas/ppc/a2.d: Likewise.
+       * gas/ppc/476.d: Likewise.
+       * gas/ppc/booke.s: Remove invalid 3 operand dcbt tests.
+       * gas/ppc/booke.d: Likewise.
+       * gas/ppc/power7.s: Remove lbarx, lharx, stbcx., sthcx., waitrsv
+       and waitimpl tests.
+       * gas/ppc/power7.d: Likewise.
+
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * doc/as.texinfo: Document Tag_GNU_S390_ABI_Vector.
+
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * gas/s390/zarch-z13.d: Fix tests for VFCE, VLDE, VFSQ, WFK, and
+       WFC.
+       * gas/s390/zarch-z13.s: Likewise.
+
+2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
+
+       * gas/arm/align64.d: Delete trailing padding NOPs.
+
+2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * gas/mips/dla-warn.l: New file.
+       * gas/mips/dla-warn.s: New file.
+       * gas/mips/la-warn.l: New file.
+       * gas/mips/la-warn.s: New file.
+       * gas/mips/mips.exp: Run new tests.
+
+2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * gas/mips/mips.exp: Require o32 for r6-branch-constraints.
+
+2015-04-23  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/i386/avx512dq.d: Add 'z' suffix to vfpclassp{d,s} non-
+       register, non-broadcast cases.
+       * gas/i386/x86-64-avx512dq.d: Likewise.
+       * gas/i386/avx512dq_vl.d: Add 'x' and 'y' suffixes to
+       vcvt{,u}qq2ps and vfpclassp{d,s} non-register, non-broadcast
+       cases.
+       * gas/i386/x86-64-avx512dq_vl.d: Likewise.
+       * gas/i386/avx512f_vl.d: Add 'x' and 'y' suffixes to
+       vcvt{,t}pd2{,u}dq and vcvtpd2ps non-register, non-broadcast
+       cases.
+       * gas/i386/x86-64-avx512f_vl.d: Likewise.
+
+2015-04-23  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/i386/avx512dq.s: Drop 'z' suffix from vfpclassp{d,s} in
+       some AT&T and all Intel cases.
+       * gas/i386/x86-64-avx512dq.s: Likewise.
+       * gas/i386/avx512dq_vl.s: Drop 'x' and 'y' suffixes from
+       vcvt{,u}qq2ps and vfpclassp{d,s} in some AT&T and all Intel
+       cases.
+       * gas/i386/x86-64-avx512dq_vl.s: Likewise.
+       * gas/i386/avx512f_vl.s: Drop 'x' and 'y' suffixes from
+       vcvt{,t}pd2{,u}dq and vcvtpd2ps in some AT&T and all Intel
+       cases.
+       * gas/i386/x86-64-avx512f_vl.s: Likewise.
+
+2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/ilp32/x86-64-unwind.d: Don't hardcode offset of
+       .shstrtab section.
+       * gas/i386/x86-64-unwind.d: Likewise.
+       * gas/ia64/alias-ilp32.d: Likewise.
+       * gas/ia64/alias.d: Likewise.
+       * gas/ia64/group-1.d: Likewise.
+       * gas/ia64/group-2.d: Likewise.
+       * gas/ia64/secname-ilp32.d: Likewise.
+       * gas/ia64/secname.d: Likewise.
+       * gas/ia64/unwind-ilp32.d: Likewise.
+       * gas/ia64/unwind.d: Likewise.
+       * gas/mmix/bspec-1.d: Likewise.
+       * gas/mmix/byte-1.d: Likewise.
+       * gas/mmix/loc-1.d: Likewise.
+       * gas/mmix/loc-2.d: Likewise.
+       * gas/mmix/loc-3.d: Likewise.
+       * gas/mmix/loc-4.d: Likewise.
+       * gas/mmix/loc-5.d: Likewise.
+       * gas/tic6x/scomm-directive-4.d: Likewise.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/17898
+       * gas/i386/prefix.s: Add rdrand/rdseed prefix tests.
+       * gas/i386/prefix.d: Updated.
+
+2015-04-15  Renlin Li  <renlin.li@arm.com>
+
+       * gas/arm/arch7em.d: Adjust required ssat and ssat16 immediate field.
+       * gas/arm/thumb32.d: Likewise.
+
+2015-04-14  Nick Clifton  <nickc@redhat.com>
+
+       * gas/lns/lns.exp: Add RL78 to list of targets using
+       DW_LNS_fixed_advance_pc.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/dw2-compressed-1.d: New file.
+       * gas/i386/dw2-compressed-2.d: Likewise.
+       * gas/i386/dw2-compressed-3.d: Likewise.
+       * gas/i386/x86-64-dw2-compressed-2.d: Likewise.
+       * gas/i386/i386.exp: Run dw2-compressed-2, dw2-compressed-1,
+       dw2-compressed-3 and x86-64-dw2-compressed-2.
+
+2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/gas-defs.exp (run_dump_test): Remove is_zlib_supported check.
+
+2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Don't run nops-1-bdver1, nops-1-bdver2,
+       nops-1-bdver3, nops-1-bdver4, nops-1-znver1, nops-1-btver1
+       nops-1-btver2, x86-64-nops-1-nocona, x86-64-nops-1-bdver1,
+       x86-64-nops-1-bdver2, x86-64-nops-1-bdver3, x86-64-nops-1-bdver4,
+       x86-64-nops-1-znver1, x86-64-nops-1-btver1 nor
+       x86-64-nops-1-btver2.
+       * gas/i386/nops-1-core2.d: Updated.
+       * gas/i386/nops-1-k8.d: Likewise.
+       * gas/i386/nops-4a-i686.d: Likewise.
+       * gas/i386/nops-5-i686.d: Likewise.
+       * gas/i386/nops-5.d: Likewise.
+       * gas/i386/nops-6.d: Likewise.
+       * gas/i386/x86-64-nops-1-core2.d: Likewise.
+       * gas/i386/x86-64-nops-1-g64.d: Likewise.
+       * gas/i386/x86-64-nops-1-k8.d: Likewise.
+       * gas/i386/x86-64-nops-1.d: Likewise.
+       * gas/i386/x86-64-nops-2.d: Likewise.
+       * gas/i386/x86-64-nops-3.d: Likewise.
+       * gas/i386/x86-64-nops-4-core2.d: Likewise.
+       * gas/i386/x86-64-nops-4-k8.d: Likewise.
+       * gas/i386/x86-64-nops-4.d: Likewise.
+       * gas/i386/x86-64-nops-5-k8.d: Likewise.
+       * gas/i386/x86-64-nops-5.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-1.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-2.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-3.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-4.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-5.d: Likewise.
+       * gas/i386/nops-1-bdver1.d: Removed.
+       * gas/i386/nops-1-bdver2.d: Likewise.
+       * gas/i386/nops-1-bdver3.d: Likewise.
+       * gas/i386/nops-1-bdver4.d: Likewise.
+       * gas/i386/nops-1-btver1.d: Likewise.
+       * gas/i386/nops-1-btver2.d: Likewise.
+       * gas/i386/nops-1-znver1.d: Likewise.
+       * gas/i386/x86-64-nops-1-bdver1.d: Likewise.
+       * gas/i386/x86-64-nops-1-bdver2.d: Likewise.
+       * gas/i386/x86-64-nops-1-bdver3.d: Likewise.
+       * gas/i386/x86-64-nops-1-bdver4.d: Likewise.
+       * gas/i386/x86-64-nops-1-btver1.d: Likewise.
+       * gas/i386/x86-64-nops-1-btver2.d: Likewise.
+       * gas/i386/x86-64-nops-1-nocona.d: Likewise.
+       * gas/i386/x86-64-nops-1-znver1.d: Likewise.
+       * gas/i386/ilp32/x86-64-nops-1-nocona.d: Likewise.
+
+2015-03-19  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18087
+       * gas/i386/dw2-compress-1.d: Allow the test to pass regardless of
+       whether the .debug_info section was compressed on not.
+
+2015-03-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/18087
+       * gas/i386/dw2-compress-1.d: Revert the last change.
+       * gas/i386/dw2-compress-3.d: New.
+       * gas/i386/dw2-compress-3.s: Likewise.
+       * gas/i386/i386.exp: Run dw2-compress-3 for ELF targets.
+
+2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18087
+       * gas/i386/dw2-compress-1.d: Do not expect the .debug_abbrev or
+       .debug_info sections to be compressed.
+
+2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
+
+       * gas/i386/i386.exp: Add new znver1 test cases.
+       * gas/i386/arch-13-znver1.d: New.
+       * gas/i386/arch-13.d: New.
+       * gas/i386/arch-13.s: New.
+       * gas/i386/clzero.d: New.
+       * gas/i386/clzero.s: New.
+       * gas/i386/nops-1-znver1.d: New.
+       * gas/i386/x86-64-arch-3-znver1.d: New.
+       * gas/i386/x86-64-arch-3.d: New.
+       * gas/i386/x86-64-arch-3.s: New.
+       * gas/i386/x86-64-clzero.d: New.
+       * gas/i386/x86-64-nops-1-znver1.d: New.
+
+2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * gas/mips/mips.exp: Added branch constraints testcase.
+       * gas/mips/r6-branch-constraints.s: New test.
+       * gas/mips/r6-branch-constraints.l: New test.
+
+2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * gas/mips/r6.s: Add evp and dvp instructions.
+       * gas/mips/r6.d: Likewise.
+       * gas/mips/r6-n32.d: Likewise.
+       * gas/mips/r6-n64.d: Likewise.
+
+2015-03-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/diagnostic.s: New testcases.
+       * gas/aarch64/diagnostic.l: New error match.
+
+2015-03-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * gas/aarch64/tail_padding.s: New testcase.
+       * gas/aarch64/tail_padding.d: New expectation file.
+
+2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * gas/s390/zarch-z13.d: Add more z13 instructions.
+       * gas/s390/zarch-z13.s: Likewise.
+
+2015-03-05  Renlin Li  <renlin.li@arm.com>
+
+       * gas/arm/dis-data.d: Adjust the desired output.
+       * gas/arm/dis-data2.d: Ditto.
+
+2015-03-10  Renlin Li  <renlin.li@arm.com>
+
+       * gas/aarch64/ldst-reg-uns-imm.d: Adjust expected output.
+       * gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
+       * gas/aarch64/reloc-insn.d: Likewise.
+
+2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/aarch64/codealign.d: Add test for code section alignment.
+       * gas/aarch64/codealign.s: New file.
+
+2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR gas/17843
+       * gas/aarch64/tls.s, gas/aarch64/tls.d: Add test for
+       R_AARCH64_TLSLE_MOVW_TPREL_G0/R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
+       sequence.
+
+2015-02-28  Alan Modra  <amodra@gmail.com>
+
+       * gas/sparc/pcrel.d: Update for changed padding in data sections.
+       * gas/sparc/pcrel64.d: Likewise.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * gas/aarch64/diagnostic.s: Add LDR test.
+       * gas/aarch64/diagnostic.l: Likewise.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * gas/aarch64/diagnostic.s: Add ADR test.
+       * gas/aarch64/diagnostic.l: Likewise.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gas/avr/avr-prop-1.d: New file.
+       * gas/avr/avr-prop-1.s: New file.
+
+2015-02-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+           Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * gas/sh/arch/arch.exp: Replace dead code to generate expected .s files
+       with ...
+       * gas/sh/arch/sh-opc-gen-as.pl: ... this new script.
+       * gas/sh/arch/arch_expected.txt: Regenerate.
+       * gas/sh/arch/sh-dsp.s: Likewise.
+       * gas/sh/arch/sh-opc-gen-as.pl: Likewise.
+       * gas/sh/arch/sh.s: Likewise.
+       * gas/sh/arch/sh2.s: Likewise.
+       * gas/sh/arch/sh2a-nofpu-or-sh3-nommu.s: Likewise.
+       * gas/sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Likewise.
+       * gas/sh/arch/sh2a-nofpu.s: Likewise.
+       * gas/sh/arch/sh2a-or-sh3e.s: Likewise.
+       * gas/sh/arch/sh2a-or-sh4.s: Likewise.
+       * gas/sh/arch/sh2a.s: Likewise.
+       * gas/sh/arch/sh2e.s: Likewise.
+       * gas/sh/arch/sh3-dsp.s: Likewise.
+       * gas/sh/arch/sh3-nommu.s: Likewise.
+       * gas/sh/arch/sh3.s: Likewise.
+       * gas/sh/arch/sh3e.s: Likewise.
+       * gas/sh/arch/sh4-nofpu.s: Likewise.
+       * gas/sh/arch/sh4-nommu-nofpu.s: Likewise.
+       * gas/sh/arch/sh4.s: Likewise.
+       * gas/sh/arch/sh4a-nofpu.s: Likewise.
+       * gas/sh/arch/sh4a.s: Likewise.
+       * gas/sh/arch/sh4al-dsp.s: Likewise.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * gas/elf/elf.exp: Add special version of the section2 test for
+       the V850.
+       * gas/elf/section2.e-v850: New file.
+
+2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gas/arm/armv1.l: Remove 'Warning: ' from expected messages
+       for deprecations.
+       * gas/arm/armv8-a-bad.l: Likewise.
+       * gas/arm/armv8-a-it-bad.l: Likewise.
+       * gas/arm/depr-swp.l: Likewise.
+       * gas/arm/ldsgeb.l: Likewise.
+       * gas/arm/ldsgeh.l: Likewise.
+       * gas/arm/thumb2_bad_reg.l: Likewise.
+       * gas/arm/thumb32.l: Likewise.
+       * gas/arm/udf.l: Likewise.
+       * gas/arm/vstr-arm-bad.l: Likewise.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * gas/ft32/ft32.exp: New file.
+       * gas/ft32/insn.d: New file.
+       * gas/ft32/insn.s: New file.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       * gas/all/none.s,
+       * gas/all/none.d: New test.
+       * gas/all/gas.exp: Run it.
+
+2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * gas/s390/esa-g5.d: Add a variant without the optional operand.
+       * gas/s390/esa-g5.s: Likewise.
+       * gas/s390/esa-z9-109.d: Likewise.
+       * gas/s390/esa-z9-109.s: Likewise.
+       * gas/s390/zarch-z9-109.d: Likewise.
+       * gas/s390/zarch-z9-109.s: Likewise.
+       * gas/s390/zarch-z10.d: For variants with a zero optional argument
+       it is not dumped by objdump anymore.
+       * gas/s390/zarch-zEC12.d: Likewise.
+
+       * gas/s390/zarch-z13.d: New file.
+       * gas/s390/zarch-z13.s: New file.
+       * gas/s390/s390.exp: Run the test for the z13 files.
+
+2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gas/arm/ual-vcmp.s: Add vcmp, vcmpe with #0x0 operand.
+       * gas/ual/vcmp.d: Update expected output.
+       * gas/ual/vcmp-zero-bad.l: Likewise
+
+2015-01-12  Jan Beulich  <jbeulich@suse.com>
+
+       gas/cfi/cfi-label.d, gas/cfi/cfi-label.s: New.
+       gas/cfi/cfi.exp: Run new tests.
+
+2015-01-12  Jan Beulich  <jbeulich@suse.com>
+
+       * gas/arm/neon-addressing-bad.s: Add test for invalid VSHL,
+       VQSHL, and VQSHLU immediates.
+       * gas/arm/neon-addressing-bad.l: Update accordingly.
+
+2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gas/avr/large-debug-line-table.d: New file.
+       * gas/avr/large-debug-line-table.s: New file.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/gold/ChangeLog b/gold/ChangeLog
deleted file mode 100644 (file)
index 1767933..0000000
+++ /dev/null
@@ -1,18139 +0,0 @@
-2015-12-17  Peter Collingbourne  <pcc@google.com>
-
-       PR gold/18780
-       * arm.cc (Target_arm::do_make_data_plt): Choose PLT generator based
-       on value of --long-plt flag.
-       (Output_data_plt_arm_standard::do_get_plt_entry_size): Moved to
-       Output_data_plt_arm_short.
-       (Output_data_plt_arm_standard::do_fill_plt_entry): Likewise.
-       (Output_data_plt_arm_standard::plt_entry): Likewise.
-       (Output_data_plt_arm_standard::do_fill_first_plt_entry): Fix
-       variable reference.
-       (Output_data_plt_arm_short): New class.
-       (Output_data_plt_arm_short::do_fill_plt_entry): Error out on too large
-       PLT offsets instead of asserting.
-       (Output_data_plt_arm_long): New class.
-       * options.h (General_options): Define --long-plt flag.
-
-2015-12-16  Roland McGrath  <mcgrathr@google.com>
-
-       PR ld/17473
-       * binary.cc: Move #include "safe-ctype.h" to be last #include.
-
-2015-12-13  Cary Coutant  <ccoutant@gmail.com>
-
-       * object.h (Object::get_output_view): remove const from return type.
-       (Object::do_get_output_view): Likewise.
-       (Sized_relobj_file::do_get_output_view): Likewise.
-       * reloc.cc (Sized_relobj_file::do_get_output_view): Likewise.
-
-2015-12-11  Cary Coutant  <ccoutant@gmail.com>
-
-       * target.h (Target::calls_non_split): Add prelocs, reloc_count
-       parameters.
-       (Target::do_calls_non_split): Likewise.
-       * target.cc (Target::do_calls_non_split): Likewise.
-       * reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Adjust
-       call to Target::calls_non_split.
-       * i386.cc (Target_i386::do_calls_non_split): Add prelocs, reloc_count
-       parameters.
-       * powerpc.cc (Target_powerpc::do_calls_non_split): Likewise.
-       * x86_64.cc (Target_x86_64::do_calls_non_split): Likewise.
-
-2015-12-11  Cary Coutant  <ccoutant@gmail.com>
-
-       * object.cc (Sized_relobj_file::Sized_relobj_file): Initialize
-       output_views_.
-       * object.h (Object::get_output_view): New function.
-       (Object::do_get_output_view): New function.
-       (Sized_relobj_file::do_get_output_view): New function.
-       (Sized_relobj_file::output_views_): New data member.
-       * reloc.cc: (Sized_relobj_file::do_relocate): Store pointer to
-       output views in class object.
-       (Sized_relobj_file::do_get_output_view): New function.
-
-2015-12-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19317
-       * symtab.cc (Symbol_table::add_from_relobj): Don't complain
-       plugin needed to handle slim lto object for relocatable link.
-
-2015-12-09  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Relocate::relocate): New constant
-       d_offset.  Use throughout.
-       (Target_powerpc::relocate_relocs): Likewise.
-
-2015-12-09  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Edit ELFv2
-       entry code.
-       (Target_powerpc::relocate_relocs): Edit relocs to suit.
-
-2015-12-09  Alan Modra  <amodra@gmail.com>
-
-       * object.h (struct Relocate_info): Add "rr".
-       * reloc.h (Relocatable_relocs::set_strategy): New accessor.
-       * reloc.cc (Sized_relobj_file::do_relocate_sections): Init
-       relinfo.rr for relocate_section and relocate_relocs.
-       * powerpc.cc (relocate): Add rel_type and preloc parameters.
-       Delete rela and r_type params, instead recalculate these from
-       preloc.
-       (relocate_relocs): Delete Relocatable_relocs* param, instead
-       use relinfo->rr.
-       * aarch64.cc: Likewise.
-       * arm.cc: Likewise.
-       * i386.cc: Likewise.
-       * mips.cc: Likewise.
-       * s390.cc: Likewise.
-       * sparc.cc: Likewise.
-       * target.h: Likewise.
-       * tilegx.cc: Likewise.
-       * x86_64.cc: Likewise.
-       * testsuite/testfile.cc: Likewise.
-       * target-reloc.h (relocate_section): Adjust to suit.
-       (apply_relocation, relocate_relocs): Likewise.
-
-2015-12-07  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (add_2_2_12, ld_2_12, lis_2): Define.
-       (Target_powerpc::Scan::local, global): Handle R_PPC64_ENTRY.
-       (Target_powerpc::Relocate::relocate): Edit code at R_PPC64_ENTRY.
-
-2015-12-03  Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
-
-       * object.cc (Sized_relobj::do_for_all_local_got_entries): Use
-       Local_got_entry_key for searching in local_got_offsets_.
-       * object.h (class Local_got_entry_key): New class.
-       (Relobj::local_has_got_offset): New overloaded method.
-       (Relobj::local_got_offset): Likewise.
-       (Relobj::set_local_got_offset): Likewise.
-       (Relobj::do_local_has_got_offset): Add addend argument.
-       (Relobj::do_local_got_offset): Likewise.
-       (Relobj::do_set_local_got_offset): Likewise.
-       (Sized_relobj::do_local_has_got_offset): Add addend argument, and use
-       Local_got_entry_key for searching through local_got_offsets_.
-       (Sized_relobj::do_local_got_offset): Likewise.
-       (Sized_relobj::do_set_local_got_offset): Likewise.
-       (Sized_relobj::Local_got_offsets): Change type of the key from
-       unsigned int to Local_got_entry_key, and add hash and equal_to.
-       * output.cc (Got_entry::write): Take addend into account for
-       calculating value of the local symbol for GOT.
-       (Output_data_got::add_local): New definition of overloaded method.
-       (Output_data_got::add_local_with_rel): Likewise.
-       (Output_data_got::add_local_pair_with_rel): Likewise.
-       * output.h (Output_data_got::add_local): New declaration of overloaded
-       method.
-
-2015-11-25  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/19291
-       * object.cc (Sized_relobj_file::write_local_symbols): If relocatable,
-       subtract section address from symbol value.
-
-2015-11-25  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Output_data_got_powerpc::Output_data_got_powerpc): Align
-       to 256 byte boundary.
-
-2015-11-19  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Scan::get_reference_flags): Correct
-       GOT16 and TOC16 relocs to RELATIVE_REF.
-
-2015-11-14  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/19244
-       PR gold/18548
-       * symtab.cc (Symbol_table::do_define_in_output_data): Check for forced
-       local symbols only for predefined symbols.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * powerpc.cc (Powerpc_relocate_functions::addr16_dq): New function.
-       (Powerpc_relocate_functions::addr16dx_ha): Likewise.
-       (Target_powerpc::Scan::local): Handle R_POWERPC_REL16DX_HA.
-       (Target_powerpc::Scan::global): Likewise.
-       (Target_powerpc::Relocate::relocate): Likewise.
-
-2015-11-09  Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
-
-       * layout.h (Layout::is_debug_info_section): Recognize .pdr debug
-       sections.
-
-2015-11-09  Cary Coutant  <ccoutant@gmail.com>
-           Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
-
-       * copy-relocs.h (Copy_relocs::copy_reloc): Replace reloc parameter
-       with type, offset, addend.
-       (Copy_relocs::save): Likewise.
-       * copy-relocs.cc (Copy_relocs::copy_reloc): Likewise.
-       (Copy_relocs::save): Likewise.
-       * aarch64.cc (Target_aarch64::copy_reloc): Pass r_type, r_offset,
-       and r_addend to Copy_relocs::copy_reloc.
-       * arm.cc (Target_arm::copy_reloc): Likewise.
-       * i386.cc (Target_i386::copy_reloc): Likewise.
-       * mips.cc (Target_mips::copy_reloc): Likewise.
-       * powerpc.cc (Target_powerpc::copy_reloc): Likewise.
-       * s390.cc (Target_s390::copy_reloc): Likewise.
-       * sparc.cc (Target_sparc::copy_reloc): Likewise.
-       * tilegx.cc (Target_tilegx::copy_reloc): Likewise.
-       * x86_64.cc (Target_x86_64::copy_reloc): Likewise.
-
-2015-11-05  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/19119
-       PR gold/19172
-       PR gold/19197
-       Revert commit 6457197210144f50a696097c0d308d81d46d5510:
-       2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
-               * options.h (General_options): Remove "obsolete" from -m.
-               * parameters.cc (set_parameters_target): Check if input target
-               is compatible with output emulation set by "-m emulation".
-
-2015-11-05  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/19163
-       * aarch64.cc (Target_aarch64::Relocate::relocate): Don't apply
-       certain relocations if --no-apply-dynamic-relocs is set.
-       * options.h (--apply-dynamic-relocs): New aarch64-specific option.
-
-2015-11-03  Alan Modra  <amodra@gmail.com>
-
-       * po/POTFILES.in: Regenerate.
-
-2015-10-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: New (simplified) Chinese translation.
-
-2015-10-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/19184
-       * incremental.cc (Got_plt_view_info): Add got_entry_size.
-       (Local_got_offset_visitor::visit): Replace got_entry_size_
-       with info_.got_entry_size.
-       (Local_got_offset_visitor::got_entry_size_): Removed.
-       (Global_got_offset_visitor::visit): Replace got_entry_size_
-       with info_.got_entry_size.
-       (Global_got_offset_visitor::got_entry_size_): Removed.
-       (Output_section_incremental_inputs::write_got_plt): Initialize
-       view_info.got_entry_size.
-       * target.h (Sized_target::got_entry_size): New virtual function.
-       * x86_64.cc (Target_x86_64::got_entry_size): New function.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       * testsuite/binary_test.cc: Add __attribute__((aligned(1))).
-       * testsuite/script_test_12a.c: Likewise.
-       * testsuite/script_test_1a.cc: Likewise.
-       * testsuite/script_test_2.cc: Likewise.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       * testsuite/debug_msg.sh: Accept more fuzz in line numbers.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       PR gold/18959
-       * stringpool.cc (Stringpool_template::new_key_offset): Align all
-       strings, even zero-length.
-       (Stringpool_template::set_string_offsets): Likewise.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       * s390.cc: New file.
-       * Makefile.am (TARGETSOURCES): Add s390.cc.
-       (ALL_TARGETOBJS): Add s390.o.
-       * Makefile.in: Regenerate.
-       * configure.ac: Add s390 support.
-       * configure: Regenerate.
-       * configure.tgt: Add s390-*-* and s390x-*-*.
-       * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Add s390
-       support.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       * archive.cc (Archive::sym64name): New const.
-       (Archive::setup): Add support for SYM64 armap.
-       (Archive::read_armap): Likewise.
-       (Archive::interpret_header): Likewise.
-       (Archive::const_iterator::read_next_header): Likewise.
-       * archive.h (Archive::sym64name): New const.
-       (Archive::read_armap): Add mapsize template parameter.
-
-2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
-
-       * dynobj.cc (Dynobj::create_elf_hash_table): Create hash table with
-       target-specific entry size.
-       (Dynobj::sized_create_elf_hash_table): Add size template parameter.
-       * dynobj.h (Dynobj::sized_create_elf_hash_table): Likewise.
-       * layout.cc (Layout::create_dynamic_symtab): Set entsize to
-       hash_entry_size.
-       * target.h (Target::hash_entry_size): New method.
-       (Target::Target_info::hash_entry_size): New data member.
-
-       * aarch64.cc (Target_aarch64::aarch64_info): Add hash_entry_size.
-       * arm.cc (Target_arm::arm_info): Likewise.
-       (Target_arm_nacl::arm_nacl_info): Likewise.
-       * i386.cc (Target_i386::i386_info): Likewise.
-       (Target_i386_nacl::i386_nacl_info): Likewise.
-       (Target_iamcu::iamcu_info): Likewise.
-       * mips.cc (Target_mips::mips_info): Likewise.
-       (Target_mips_nacl::mips_nacl_info): Likewise.
-       * powerpc.cc (Target_powerpc::powerpc_info): Likewise.
-       * sparc.cc (Target_sparc::sparc_info): Likewise.
-       * tilegx.cc (Target_tilegx::tilegx_info): Likewise.
-       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
-       (Target_x86_64_nacl::x86_64_nacl_info): Likewise.
-       * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
-
-2015-10-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/19177
-       * i386.cc (Target_i386::Relocate::relocate): Check R_386_GOT32
-       and R_386_GOT32X relocations without base register.
-
-2015-10.27  Han Shen  <shenhan@google.com>
-
-       PR gold/19042 - unsupported reloc 311/312.
-
-       * aarch64.cc (Target_aarch64::Scan::local): Add support for
-       reloc 311/312.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
-       Treat R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX the same
-       as R_X86_64_GOTPCREL.
-       (Target_x86_64<size>::Scan::local): Likewise.
-       (Target_x86_64<size>::Scan::possible_function_pointer_reloc):
-       Likewise.
-       (Target_x86_64<size>::Scan::global): Likewise.
-       (Target_x86_64<size>::Relocate::relocate): Likewise.
-       (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.cc (Target_i386::Scan::get_reference_flags(): Treat
-       R_386_GOT32X the same as R_386_GOT32.
-       (Target_i386::Scan::local): Likewise.
-       (Target_i386::Scan::possible_function_pointer_reloc): Likewise.
-       (Target_i386::Scan::global): Likewise.
-       (Target_i386::Relocate::relocate): Likewise.
-       (Target_i386::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2015-10-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (x86_64_mov_to_lea11): Replace
-       x86_64_mov_to_lea1.o with x86_64_mov_to_lea2.o.
-       (x86_64_mov_to_lea12): Replace x86_64_mov_to_lea2.o with
-       x86_64_mov_to_lea1.o.
-       * testsuite/Makefile.in: Regenerated.
-
-2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/19119
-       * options.h (General_options): Remove "obsolete" from -m.
-       * parameters.cc (set_parameters_target): Check if input target
-       is compatible with output emulation set by "-m emulation".
-
-2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/19118
-       * i386.cc (Target_iamcu): New class.
-       (Target_selector_iamcu): Likewise.
-       (Target_iamcu::iamcu_info): New variable.
-       (target_selector_iamcu): Likewise.
-
-2015-10-07  Andreas Schwab  <schwab@suse.de>
-
-       * aarch64.cc (aarch64_info): Set abi_pagesize to 64K.
-
-2015-10-06  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18855
-       * sparc.cc (Sparc_relocate_functions::gdop_hix22): Remove addend
-       parameter.
-       (Sparc_relocate_functions::gdop_lox10): Likewise.
-       (Target_sparc::Relocate::relocate): Use addend when computing
-       symbol value for R_SPARC_GOTDATA_OP*.
-
-2015-09-07  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18930
-       PR gold/18886
-       * resolve.cc (Symbol::override_base): Don't convert IFUNC symbols here.
-       * symtab.cc (Symbol_table::add_from_dynobj): Convert them here instead.
-
-2015-09-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/18886
-       * resolve.cc (Symbol::override_base): Turn IFUNC symbols from
-       shared libraries into normal FUNC symbols.
-       * symtab.cc (Symbol_table::sized_write_symbol): Assert IFUNC
-       symbols aren't from shared libraries.
-
-2015-09-02  Alan Modra  <amodra@gmail.com>
-
-       PR 18878
-       * powerpc.cc (Target_powerpc): Add savres_section_ and accessor.
-       (Target_powerpc::Branch_info::make_stub): Determine whether long
-       branch stub is for save/restore function.
-       (Branch_stub_ent): Add save_res_, and extra parm to constructor.
-       (Stub_table): Add need_save_res_.
-       (Stub_table:clear_stubs): Clear need_save_res_.
-       (Stub_table:set_address_and_size): Add save/restore section size.
-       (Stub_table::add_long_branch_entry): Add save_res param.  Set
-       need_save_res_, but don't add space for save/restore stubs.
-       (Stub_table::find_long_branch_entry): Return offset to local copy
-       of save/restore func.
-       (Stub_table::do_write): Don't output save/restore stubs.  Instead
-       copy the save/restore functions.
-       (Output_data_save_res:contents): New accessor.
-       (Target_powerpc::define_save_restore_funcs): Set savres_section_.
-
-2015-08-25  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18847
-       * script-sections.cc (Memory_region::set_address): New method.
-       (Script_sections::find_memory_region): Add explicit_only parameter.
-       (Output_section_definition::set_section_addresses): Handle case where
-       script specifies both address and vma region.
-       * script-sections.h (Script_sections::find_memory_region): Add
-       explicit_only parameter.
-
-2015-08-25  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18859
-       * object.cc (Input_objects::add_object): Store objects in a map,
-       indexed by soname; update as-needed flag when necessary.
-       * object.h (Object::clear_as_needed): New method.
-       (Input_objects::so_names_): Change from set to map.
-
-2015-08-25  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/14746
-       * expression.cc (Expression::Expression_eval_info): Add
-       is_valid_pointer field.
-       (Expression::eval_maybe_dot): Add is_valid_pointer parameter.
-       Adjust all callers.
-       (Addr_expression::value_from_output_section): Check whether address
-       is valid.
-       * script.cc (Symbol_assignment::set_if_absolute): Defer assignment
-       if evaluation failed due to address that is not yet valid.
-       * script.h: (Expression::eval_maybe_dot): Add is_valid_pointer
-       parameter.
-
-2015-08-25  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18866
-       PR gold/18703
-       * symtab.cc (Symbol_table): Reorder conditions to avoid internal error.
-
-2015-08-20  Alan Modra  <amodra@gmail.com>
-
-       PR gold/18846
-       * target-reloc.h (relocate_relocs <RELOC_ADJUST_FOR_SECTION_RELA>):
-       Subtract os->address() from addend.
-       * powerpc.cc (relocate_relocs): Likewise.
-
-2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
-
-       * mips.cc (plt0_entry_o32, plt0_entry_n32, plt0_entry_n64,
-       lazy_stub_normal_1, lazy_stub_normal_1_n64,
-       lazy_stub_normal_2, lazy_stub_normal_2_n64, lazy_stub_big,
-       lazy_stub_big_n64, lazy_stub_micromips32_normal_1_n64,
-       lazy_stub_micromips32_normal_2_n64, lazy_stub_micromips32_big,
-       lazy_stub_micromips32_big_n64): Update to use 'or' for move instead
-       of 'addu/daddu'.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-26  Doug Kwan  <dougkwan@google.com>
-
-       * testsuite/arm_unaligned_reloc.{s,sh}: Make test less sensitive to
-       disassembler output format.
-
-2015-07-23  Ian Coolidge  <icoolidge@google.com>
-       Plumb --pic-veneer option for gold.
-
-       * arm.cc (Reloc_stub::stub_type_for_reloc): Plumb to stub
-       generation.
-       * options.h (General_options): Add --pic-veneer option.
-
-2015-07-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/18663
-       * testsuite/Makefile.am (script_test_1_SOURCES): Set to
-       script_test_1a.cc script_test_1b.cc.
-       (script_test_11_r.o): Replace script_test_11.o with
-       script_test_11a.o script_test_11b.o.
-       (script_test_11.o): Removed.
-       (script_test_11a.o): New.
-       (script_test_11b.o): Likewise.
-       * testsuite/Makefile.in: Regenerated.
-       * testsuite/script_test_1.h: New file.
-       * testsuite/script_test_1b.cc: Likewise.
-       * testsuite/script_test_11.h: Likewise.
-       * testsuite/script_test_11b.c: Likewise.
-       * testsuite/script_test_1.cc: Renamed to ...
-       * testsuite/script_test_1a.cc: This.
-       Include "script_test_1.h".
-       (main): Call check_int and check_ptr.
-       * testsuite/script_test_11.c: Renamed to ...
-       * testsuite/script_test_11a.c: This.
-       Include "script_test_11.h".
-       (main): Call ptr_equal.
-
-2015-07-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/18628
-       * testsuite/ifuncdep2.c (global): Change protected to hidden.
-       * testsuite/ifuncmod1.c (global): Likewise.
-       * testsuite/ifuncmod5.c (global): Likewise.
-
-2015-07-22  Alan Modra  <amodra@gmail.com>
-
-       * aarch64.cc (try_fix_erratum_843419_optimized): Warning fix.
-
-2015-07-21  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18548
-       * symtab.cc (Symbol_table::do_define_in_output_data): Check for
-       forced local symbol even when oldsym != NULL.
-       (Symbol_table::do_define_in_output_segment): Likewise.
-       (Symbol_table::do_define_as_constant): Likewise.
-
-2015-07-21  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18698
-       * archive.cc (Library_base::should_include_member): Don't use entry
-       point for relocatable links, or if target is not yet valid.
-       * parameters.cc (Parameters::entry): Check target_valid().
-
-2015-07-20  Han Shen  <shenhan@google.com>
-
-       Optimize erratum 843419 fix.
-
-       * aarch64.cc (AArch64_insn_utilities::is_adr): New method.
-       (AArch64_insn_utilities::aarch64_adr_encode_imm): New method.
-       (AArch64_insn_utilities::aarch64_adrp_decode_imm): New method.
-       (E843419_stub): New sub-class of Erratum_stub.
-       (AArch64_relobj::try_fix_erratum_843419_optimized): New method.
-       (AArch64_relobj::section_needs_reloc_stub_scanning): Try optimized fix.
-       (AArch64_relobj::create_erratum_stub): Add 1 argument.
-       (Target_aarch64::scan_erratum_843419_span): Pass in adrp insn offset.
-
-2015-07-20  Han Shen  <shenhan@google.com>
-
-       Fix arm elf header flags wrt hardfp bit.
-
-       * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view.
-
-2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/18689
-       * layout.cc (Layout::layout): Clear the SHF_COMPRESSED flag bit
-       from input group section for relocatable link.
-       * testsuite/Makefile.am (check_SCRIPTS): Add pr18689.sh.
-       (check_DATA): Add pr18689.stdout.
-       (MOSTLYCLEANFILES): Add pr18689a.o pr18689b.o.
-       (pr18689.stdout): New rule.
-       (pr18689a.o): Likewise.
-       (pr18689b.o): Likewise.
-       (pr18689.o): Likewise.
-       * testsuite/pr18689.c: New file.
-       * testsuite/pr18689.sh: Likewise.
-       * testsuite/Makefile.in: Regenerated.
-
-2015-07-20  Yiran Wang  <yiran@google.com>
-       Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/15574
-       * resolve.cc (Symbol_table): Remove warning about references
-       from shared objects to hidden symbols.
-       * testsuite/Makefile.am (hidden_test): Add hidden_test.syms.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/hidden_test.sh: Check dynamic symbol table; update
-       expected error messages.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * compressed_output.cc (Output_compressed_section::set_final_data_size):
-       Make --compress-debug-sections=zlib the same as
-       --compress-debug-sections=zlib-gabi.
-       * testsuite/Makefile.am (flagstest_compress_debug_sections.check):
-       Expect ".debug_.*" with the SHF_COMPRESSED bit, instead of
-       ".zdebug_".
-       * testsuite/Makefile.in: Regenerated.
-
-2015-07-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/18322
-       * compressed_output.cc (zlib_compress): Add argument for
-       compression header size.  Set header size to compression header
-       size if it isn't 0.  Don't write out the zlib header here.
-       (Output_compressed_section::set_final_data_size): Support
-       zlib-gnu and zlib-gabi compressions.  Pass compression header
-       size to zlib_compress and write out compression header.  Set
-       the SHF_COMPRESSED bit for zlib-gabi compression.  Otherwise
-       clear the SHF_COMPRESSED bit
-       * options.h (compress_debug_sections): Add zlib-gnu and
-       zlib-gabi.
-       * output.h (Output_section::set_flags): New.
-       * testsuite/Makefile.am (check_PROGRAMS): Add
-       flagstest_compress_debug_sections_none,
-       flagstest_compress_debug_sections_gnu and
-       flagstest_compress_debug_sections_gabi.
-       (check_DATA): Add flagstest_compress_debug_sections_none.stdout.
-       flagstest_compress_debug_sections.stdout,
-       flagstest_compress_debug_sections.cmp,
-       flagstest_compress_debug_sections.check,
-       flagstest_compress_debug_sections_gnu.stdout,
-       flagstest_compress_debug_sections_gnu.cmp,
-       flagstest_compress_debug_sections_gnu.check,
-       flagstest_compress_debug_sections_gabi.stdout,
-       flagstest_compress_debug_sections_gabi.cmp and
-       flagstest_compress_debug_sections_gabi.check.
-       (flagstest_compress_debug_sections_none): New.
-       (flagstest_compress_debug_sections_none.stdout): Likewise.
-       (flagstest_compress_debug_sections.stdout): Likewise.
-       (flagstest_compress_debug_sections.check): Likewise.
-       (flagstest_compress_debug_sections.cmp): Likewise.
-       (flagstest_compress_debug_sections_gnu): Likewise.
-       (flagstest_compress_debug_sections_gnu.stdout): Likewise.
-       (flagstest_compress_debug_sections_gnu.check): Likewise.
-       (flagstest_compress_debug_sections_gnu.cmp): Likewise.
-       (flagstest_compress_debug_sections_gabi): Likewise.
-       (flagstest_compress_debug_sections_gabi.stdout): Likewise.
-       (flagstest_compress_debug_sections_gnu.check): Likewise.
-       (flagstest_compress_debug_sections_gnu.cmp): Likewise.
-       * testsuite/Makefile.in: Regenerated.
-
-2015-07-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/18321
-       * compressed_output.h (decompress_input_section): Add arguments
-       for ELF class, big endian and sh_flags.
-       * compressed_output.cc (decompress_input_section): Likewise.
-       Support the SHF_COMPRESSED section.
-       * dynobj.h (Dynobj): Add elfsize and is_big_endian member
-       functions.
-       * plugin.h (Pluginobj): Likewise.
-       * layout.cc (Layout::get_output_section_flags): Also clear the
-       SHF_COMPRESSED bit.
-       * object.h (Compressed_section_info): Add flag to store sh_flags.
-       (Object): Add pure virtual elfsize and is_big_endian member
-       functions.
-       * object.cc (need_decompressed_section): Don't skip the ".zdebug"
-       prefix here.
-       (build_compressed_section_map): Check SHF_COMPRESSED for
-       uncompressed size.  Store sh_flags in Compressed_section_info.
-       Pass size, big_endian and sh_flags to decompress_input_section.
-       Skip the ".debug"/".zdebug" prefix when passing section name to
-       need_decompressed_section.
-       (Sized_relobj_file<size, big_endian>::do_find_special_section):
-       Don't check ".zdebug_*" sections.
-       (Object::decompressed_section_contents): Pass ELF class, big
-       endian and sh_flags to decompress_input_section.
-       * reloc.cc (Sized_relobj_file<size, big_endian>::write_sections):
-       Likewise.
-       * testsuite/Makefile.am (check_DATA): Add
-       debug_msg_cdebug_gabi.err and gdb_index_test_2_gabi.stdout.
-       (MOSTLYCLEANFILES): Add debug_msg_cdebug_gabi.err and
-       gdb_index_test_2_gabi.stdout.
-       (debug_msg_cdebug_gabi.o): New.
-       (odr_violation1_cdebug_gabi.o): Likewise.
-       (odr_violation2_cdebug_gabi.o): Likewise.
-       (debug_msg_cdebug_gabi.err): Likewise.
-       (check_SCRIPTS): Add gdb_index_test_2_gabi.sh.
-       (gdb_index_test_cdebug_gabi.o): Likewise.
-       (gdb_index_test_2_gabi): Likewise.
-       (gdb_index_test_2_gabi.stdout): Likewise.
-       * testsuite/gdb_index_test_2_gabi.sh: New file.
-       * testsuite/Makefile.in: Regenerated.
-
-2015-07-09  Han Shen  <shenhan@google.com>
-
-       Use "gold_info" instead of "gold_warning" for erratum fix.
-
-       * aarch64.cc (Target_aarch64::scan_erratum_843419_span): Use
-       'gold_info'.
-       (Target_aarch64::scan_erratum_835769_span): USe 'gold_info'.
-
-2015-07-09  Han Shen  <shenhan@google.com>
-
-       Drop missing symbol warning for arm/aarch64.
-
-       * aarch64.cc (AArch64_relobj::scan_errata): Drop missing symbol warning.
-       * arm.cc (Arm_relobj::scan_section_for_cortex_a8_erratum): Drop missing
-       symbol warning.
-
-2015-07-07  Han Shen  <shenhan@google.com>
-
-       Make gold aarch64 accept long form of mapping symbols.
-
-       * aarch64.cc (AArch64_relobj::do_count_local_symbols): Make legal
-       of mapping symbols.
-
-2015-06-29  Doug Kwan  <dougkwan@google.com>
-
-       * testsuite/arm_bl_out_of_range.s: Align stub table so that it appears
-       at address expected by test.
-       * testsuite/arm_cortex_a8_b.s: Ditto.
-       * testsuite/arm_cortex_a8_b_cond.s: Ditto.
-       * testsuite/arm_cortex_a8_bl.s: Ditto.
-       * testsuite/arm_cortex_a8_blx.s: Ditto.
-       * testsuite/arm_cortex_a8_local.s: Ditto.
-       * testsuite/arm_fix_v4bx.s: Ditto.
-       * testsuite/arm_unaligned_reloc.s: Ditto.
-       * testsuite/thumb_bl_out_of_range.s: Ditto.
-       * testsuite/thumb_bl_out_of_range_local.s: Ditto.
-       * testsuite/thumb_blx_out_of_range.s: Ditto.
-
-2015-06-29  Han Shen  <shenhan@google.com>
-
-       Patch for erratum 843419 internal error.
-
-       * aarch64.cc (Erratum_stub::Insn_utilities): New typedef.
-       (Erratum_stub::update_erratum_insn): New method.
-       (Stub_table::relocate_stubs): Modified to place relocated insn.
-       (AArch64_relobj::fix_errata): Modified gold_assert.
-
-2015-06-12  Han Shen  <shenhan@google.com>
-
-       Fix erratum 835769.
-
-       * aarch64.cc (AArch64_insn_utilities::BYTES_PER_INSN): Move
-       defintion outside class definition.
-       (AArch64_insn_utilities::AARCH64_ZR): New static constant.
-       (AArch64_insn_utilities::aarch64_op31): New member.
-       (AArch64_insn_utilities::aarch64_ra): New member.
-       (AArch64_insn_utilities::aarch64_mac): New member.
-       (AArch64_insn_utilities::aarch64_mlxl): New member.
-       (ST_E_835769): New global enum member.
-       (Stub_table::relocate_stubs): Add 835769 handler.
-       (Stub_template_repertoire::Stub_template_repertoire): Install new
-       stub type.
-       (AArch64_relobj::scan_errata): This func is renamed from
-       scan_erratum_843419.
-       (AArch64_relobj::do_count_local_symbols): Add 835769 handler.
-       (AArch64_relobj::do_relocate_sections): Add 835769 handler.
-       (AArch64_relobj::scan_sections_for_stubs): Add 835769 handler.
-       (Target_aarch64::scan_erratum_835769_span): New method.
-       (Target_aarch64::create_erratum_stub): New method.
-       (Target_aarch64::is_erratum_835769_sequence): New method.
-       (Target_aarch64::scan_erratum_843419_sequence): Move part of the
-       code into create_erratum_stub.
-       * options.h (fix_cortex_a53_835769): New option.
-
-2015-06-11  Cary Coutant  <ccoutant@gmail.com>
-
-       * aarch64.cc (Erratum_stub::STUB_ADDR_ALIGN): Move initialization
-       outside class body.
-       (Reloc_stub::STUB_ADDR_ALIGN): Likewise.
-
-2015-06-11  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/17731
-       * layout.cc (corresponding_uncompressed_section_name): New function.
-       (Layout::choose_output_section): Call it.
-       * layout.h (corresponding_uncompressed_section_name): New function.
-       * script-sections.cc (Input_section_info::set_section_name): Check
-       for compressed debug section (.zdebug style).
-
-2015-06-11  Jing Yu  <jingyu@google.com>
-
-       * testsuite/Makefile.am: Add -O0 for script_test_12 test.
-       * testsuite/Makefile.in: Regenerate.
-
-2015-06-11  Davide Italiano  <dccitaliano@gmail.com>
-
-       * gold.h (is_cident): Correct typo.
-
-2015-06-10  Han Shen  <shenhan@google.com>
-       Patch for erratum-843419 (2 of 2 - fix erratum occurrences).
-
-       Now fixing for 843419 is fully functional.
-
-       The first part of the erratum fix CL is here -
-       https://sourceware.org/ml/binutils/2015-04/msg00229.html
-
-       * aarch64.cc(global enum): New constants representing stub types.
-       (Stub_template): New POD struct.
-       (Stub_template_repertoire): New class.
-       (Stub_base): New class.
-       (Erratum_stub): New class.
-       (Reloc_stub): Refactored to be a subclass of Stub_base.
-       (Reloc_stub::Stub_type): Removed.
-       (Reloc_stub::offset): Moved to Stub_base.
-       (Reloc_stub::set_offset): Moved to Stub_base.
-       (Reloc_stub::destination_address): Moved to Stub_base.
-       (Reloc_stub::set_destination_address): Moved to Stub_base.
-       (Reloc_stub::reset_destination_address): Moved to Stub_base.
-       (Reloc_stub::stub_type): Renamed and moved to Stub_base.
-       (Reloc_stub::stub_size): Renamed and moved to Stub_base.
-       (Reloc_stub::stub_insns): Renamed and moved to Stub_base.
-       (Reloc_stub::write): Moved to Stub_base.
-       (Reloc_stub::invalid_offset): Moved to Stub_base.
-       (Reloc_stub::invalid_address): Moved to Stub_base.
-       (Reloc_stub::stub_type_): Renamed and moved to Stub_base.
-       (Reloc_stub::stub_insns_): Moved to Stub_base.
-       (Reloc_stub::offset_): Moved to Stub_base.
-       (Reloc_stub::destination_address_): Moved to Stub_base.
-       (Stub_table::The_aarch64_relobj): New typedef.
-       (Stub_table::The_erratum_stub): New typedef.
-       (Stub_table::The_erratum_stub_less): New typedef.
-       (Stub_table::The_erratum_stub_set): New typedef.
-       (Stub_table::The_erratum_stub_set_iter): New typedef.
-       (Stub_table::empty): Added emptiness testing for erratum stubs.
-       (Stub_table::add_erratum_stub): New method to add an erratum stub.
-       (Stub_table::find_erratum_stub): New method.
-       (Stub_table::find_erratum_stubs_for_input_section): New method.
-       (Stub_table::erratum_stub_address): New method.
-       (Stub_table::update_date_size_changed_p): Modified to handle erratum stubs.
-       (Stub_table::do_addralign): Modified to handle erratum stubs.
-       (Stub_table::erratum_stubs_): New member.
-       (Stub_table::erratum_stub_size_): New member.
-       (Stub_table::relocate_stubs): Modified to handle erratum stubs.
-       (Stub_table::do_write): Modified to handle erratum stubs.
-       (AArch64_relobj::The_erratum_stub): New typedef.
-       (AArch64_relobj::Erratum_stub_set_iter): New typedef.
-       (AArch64_relobj::fix_errata): New method.
-       (Target_aarch64::The_reloc_stub_type): Removed.
-       (Target_aarch64::The_erratum_stub): New typede.
-       (AArch64_relocate_functions::construct_b): New method.
-
-2015-06-08  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: New French Translation.
-
-2015-06-07  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18288
-       * resolve.cc (symbol_to_bits): Remove type parameter; adjust all
-       callers. Don't use STT_COMMON to check for common symbols.
-       (Symbol_table::resolve): Warn if relocatable object has STT_COMMON
-       symbol that's not in a common section.
-       * symtab.h (Symbol::is_common): Don't use STT_COMMON to check for
-       common symbols.
-
-2015-06-04  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/18200
-       * Makefile.am (diststuff): Add target.
-       * Makefile.in: Regenerate.
-
-2015-06-04  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/17498
-       * object.cc (Sized_relobj_file::do_count_local_symbols): Discard
-       temporary locals in merge sections.
-       * options.cc (General_options::parse_discard_all): New method.
-       (General_options::parse_discard_locals): New method.
-       (General_options::parse_discard_none): New method.
-       (General_options::General_options): Initialize discard_locals_.
-       * options.h (--discard-all): Convert to special option.
-       (--discard-locals): Likewise.
-       (--discard-none): New option.
-       (General_options::discard_all): New method.
-       (General_options::discard_locals): New method.
-       (General_options::discard_sec_merge): New method.
-       (General_options::Discard_locals): New enum.
-       (General_options::discard_locals_): New data member.
-
-2015-06-03  Cary Coutant  <cary@google.com>
-
-       * script-sections.cc (Script_sections::Script_sections): Initialize
-       segments_created_.
-       (Script_sections::create_note_and_tls_segments): Set flag when
-       segments are created.
-       (Script_sections::expected_segment_count): Count PT_INTERP.
-       (Script_sections::attach_sections_using_phdrs_clause): Set flag when
-       segments are created.
-       * script-sections.h (Script_sections::segments_created_): New data
-       member.
-
-2015-06-03  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/15370
-       * script-sections.cc
-       (Output_section_element_input::set_section_addresses): When there
-       are several patterns with no sort spec, put all sections in the same
-       bin.
-       * testsuite/Makefile.am (script_test_12): New testcase.
-       (script_test_12i): New testcase.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/script_test_12.t: New test linker script.
-       * testsuite/script_test_12i.t: New test linker script.
-       * testsuite/script_test_12a.c: New test source file.
-       * testsuite/script_test_12b.c: New test source file.
-
-2015-06-02  Cary Coutant  <ccoutant@gmail.com>
-
-       * nacl.h (Sniff_file): Switch parameters to get_view to get an
-       aligned view.
-
-2015-06-03  Cary Coutant  <ccoutant@gmail.com>
-
-       PR gold/17819
-       * gold.cc (queue_final_tasks): When --build-id=tree, queue a
-       separate task to schedule the build id computation.
-       * layout.cc (Hash_task::Hash_task): Remove build_id_blocker,
-       add Output_file and offset.
-       (Hash_task::run): Get and release the input views.
-       (Hash_task::is_runnable): Always return NULL (always runnable).
-       (Layout::queue_build_id_tasks): Remove.
-       (Layout::write_build_id): Add array_of_hashes and size_of_hashes
-       parameters; use them instead of class members.
-       (Build_id_task_runner::run): New function.
-       (Close_task_runner::run): Pass array_of_hashes and size_of_hashes
-       to write_build_id.
-       * layout.h (Layout::queue_build_id_tasks): Remove.
-       (Layout::write_build_id): Add array_of_hashes and size_of_hashes
-       parameters.
-       (Layout::array_of_hashes_): Remove.
-       (Layout::size_of_array_of_hashes_): Remove.
-       (Layout::input_view_): Remove.
-       (Build_id_task_runner): New class.
-       (Close_task_runner::Close_task_runner): Add array_of_hashes and
-       size_of_hashes parameters.
-       (Close_task_runner::array_of_hashes_): New data member.
-       (Close_task_runner::size_of_hashes_): New data member.
-       * testsuite/Makefile.am
-       (flagstest_compress_debug_sections_and_build_id_tree): New test.
-       * testsuite/Makefile.in: Regenerate.
-
-2015-06-01  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * merge.cc (get_input_merge_map): Update for data structure change.
-       (get_or_make_input_merge_map): Update for data structure change.
-       * merge.h (Object_merge_map): Use a std::vector<std::pair>> instead of
-       a std::map. Remove first_shnum_, first_map_, second_shnum_, second_map_.
-
-2015-05-16  Alan Modra  <amodra@gmail.com>
-
-       * reloc.cc (Sized_relobj_file::find_functions): Use function_location.
-       * powerpc.cc (Target_powerpc::do_calls_non_split): New function.
-       (addi_12_1, addis_2_12, addis_12_1, cmpld_7_12_0): New constants.
-       (lis_0): Rename from lis_0_0.
-
-2015-04-29  Cary Coutant  <cary@google.com>
-           Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * gc.h (Garbage_collection::is_section_garbage): Change Object*
-       to Relobj*.
-       (Garbage_collection::add_reference): Likewise.
-       (Garbage_collection::gc_process_relocs): Likewise. Don't push
-       object/shndx pair onto *secvec for dynamic objects. Don't follow
-       relocations pointing to dynamic objects for GC.
-       * icf.cc (Icf::find_identical_sections): Change Object* to Relobj*.
-       (Icf::unfold_section): Likewise.
-       (Icf::is_section_folded): Likewise.
-       (Icf::get_folded_section): Likewise.
-       * icf.h: (Icf::get_folded_section): Likewise.
-       (Icf::unfold_section): Likewise.
-       (Icf::is_section_folded): Likewise.
-       (Icf::section_has_function_pointers): Likewise.
-       (Icf::set_section_has_function_pointers): Likewise.
-       * object.h (Section_id): Likewise.
-       (Const_section_id): Likewise.
-       * output.cc (Output_section::update_section_layout): Likewise.
-       * output.h: (Output_section_lookup_maps::find_relaxed_input_section):
-       Likewise.
-       * plugin.cc (update_section_order): Likewise.
-       (unique_segment_for_sections): Likewise.
-       * powerpc.cc (Powerpc_relobj::add_reference): Likewise.
-       (Target_powerpc::do_gc_add_reference): Likewise.
-       (Target_powerpc::gc_process_relocs): Likewise.
-       (Target_powerpc::do_gc_add_reference): Likewise.
-       * symtab.cc (Symbol_table::is_section_folded): Likewise.
-       (Symbol_table::gc_mark_symbol): Likewise.
-       * symtab.h: (Symbol_table::is_section_folded): Likewise.
-       * target.h: (Sized_target::gc_add_reference): Likewise.
-       (Sized_target::do_gc_add_reference): Likewise.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       * po/fi.po: Updated Finnish translation.
-
-2015-04-28  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::do_dynsym_value): Use Address rather
-       than unsigned int for find_global_entry result temp.  Compare
-       against invalid_address.
-       (Target_powerpc::do_plt_address_for_global): Likewise.
-       (Target_powerpc::Relocate::relocate): Likewise.  Don't assert
-       on plt call stub existence for debug info.  Do assert for plt
-       and global entry stub existence if an alloc section.
-
-2015-04-28  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Don't assert
-       on missing global entry stub due to bogus debug info.
-
-2015-04-27  Han Shen  <shenhan@google.com>
-
-       * options.h (--fix-cortex-a53-843419): Rename option.
-       * aarch64.cc (AArch64_relobj::do_count_local_symbols): Use renamed
-       option.
-       (AArch64_relobj::scan_sections_for_stubs): Use renamed option.
-
-2015-04-27  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       PR gold/18327
-       * output.cc (Output_section::is_input_address_mapped): Assume a missing
-       entry is mapped.
-       * testsuite/Makefile.am: Add the eh_test test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/eh_test_a.cc: New test.
-       * testsuite/eh_test_b.cc: New test.
-
-2015-04-23  Sriraman Tallam  <tmsriram@google.com>
-
-       * options.h (--weak-unresolved-symbols): New option.
-       * symtab.cc (Symbol_table::sized_write_globals): Change symbol
-       binding to weak with new option.
-       * symtab.h (is_weak_undefined): Check for new option.
-       (is_strong_undefined): Check for new option.
-       * testsuite/Makefile.am (weak_unresolved_symbols_test): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/weak_unresolved_symbols_test.cc: New file.
-
-2015-04-20  Ian Coolidge  <icoolidge@google.com>
-
-       * symtab.cc (Symbol::should_add_dynsym_entry): Return true for
-       GNU_UNIQUE.
-
-2015-04-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * gc.cc (Garbage_collection::do_transitive_closure): Use back and
-       push_back.
-       * gc.h (Garbage_collection): Use a std::vector instead of a std::queue.
-       * object.cc (Sized_relobj_file::do_layout): Use push_back.
-       * powerpc.cc (process_gc_mark): Use push_back.
-       (Target_powerpc::do_gc_mark_symbol): Use push_back.
-       * symtab.cc (Symbol_table::gc_mark_symbol): Use push_back.
-
-2015-04-16  Han Shen  <shenhan@google.com>
-
-       * aarch64.cc (AArch64_insn_utilities): New utility class.
-       (AArch64_relobj::Mapping_symbol_position): New struct.
-       (AArch64_relobj::Mapping_symbol_info): New typedef.
-       (AArch64_relobj::do_count_local_symbols): New function overriding
-       parent's implementation.
-       (AArch64_relobj::mapping_symbol_info_): New member
-       (AArch64_relobj::scan_erratum_843419): New method.
-       (Target_aarch64::scan_erratum_843419_span): New method.
-       (Target_aarch64::is_erratum_843419_sequence): New method.
-       * options.h (fix_cortex_a53): New option.
-
-2015-04-09  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.cc (Symbol::final_value_is_known): Check for TLS symbol
-       in a PIE link.
-       * testsuite/Makefile.am (tls_pie_test.sh): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/tls_pie_test.sh: New.
-
-2015-04-09  Cary Coutant  <ccoutant@google.com>
-
-       * debug.h (DEBUG_LOCATION): New.
-       (DEBUG_ALL): Include DEBUG_LOCATION.
-       (debug_string_to_enum): Add DEBUG_LOCATION.
-       * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Fix debug
-       output to print correct context.
-       (Sized_dwarf_line_info::do_addr2line): Add debug output. Return
-       up to 4 more locations at the beginning of the function.
-       * symtab.cc (Symbol_table::detect_odr_violations): Get canonical
-       result before sorting list of line numbers.
-       * testsuite/debug_msg.sh: Allow range of line numbers for
-       canonical results on optimized code.
-
-2015-04-07  HC Yen <hc.yen@mediatek.com>
-
-       Add AArch32 support for gold linker.
-       * arm.cc: Add V8 arch combine table.
-
-2015-04-06  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * aarch64.cc (do_reloc_addend): Fix signature to match the parent one.
-
-2015-04-06  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * gc.cc (Garbage_collection::do_transitive_closure): Avoid a call
-       to find by using the return value of insert.
-
-2015-04-06  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * gc.cc (Garbage_collection::do_transitive_closure): Avoid a copy
-       constructor call.
-
-2015-04-06  Ilya Tocar  <ilya.tocar@intel.com>
-
-       PR gold/17641
-       * x86_64.cc (Target_x86_64::can_convert_mov_to_lea): New.
-       (Target_x86_64::Scan::local): Don't create GOT entry, when we
-       can convert mov to lea.
-       (Target_x86_64::Scan::global): Ditto.
-       (Target_x86_64::Relocate::relocate): Convert mov foo@GOTPCREL(%rip),
-       %reg to lea foo(%rip), %reg if possible.
-       * testsuite/Makefile.am (x86_64_mov_to_lea): New test.
-       * testsuite/x86_64_mov_to_lea1.s: New.
-       * testsuite/x86_64_mov_to_lea2.s: Ditto.
-       * testsuite/x86_64_mov_to_lea3.s: Ditto.
-       * testsuite/x86_64_mov_to_lea4.s: Ditto.
-       * testsuite/x86_64_mov_to_lea.sh: Ditto.
-
-2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-04-01  Ilya Tocar  <ilya.tocar@intel.com>
-
-       PR gold/17640
-       * i386.cc (Target_i386::can_convert_mov_to_lea): New.
-       (Target_i386::Scan::local): Don't create GOT entry, when we
-       can convert GOT to GOTOFF.
-       (Target_i386::Scan::global): Ditto.
-       (Target_i386::Relocate::relocate): Convert  mov foo@GOT(%reg), %reg to
-       lea foo@GOTOFF(%reg), %reg if possible.
-       * testsuite/Makefile.am (i386_mov_to_lea): New test.
-       * testsuite/i386_mov_to_lea1.s: New.
-       * testsuite/i386_mov_to_lea2.s: Ditto.
-       * testsuite/i386_mov_to_lea3.s: Ditto.
-       * testsuite/i386_mov_to_lea4.s: Ditto.
-       * testsuite/i386_mov_to_lea5.s: Ditto.
-       * testsuite/i386_mov_to_lea.sh: Ditto.
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (ZLIB): New.
-       (ZLIBINC): Likewise.
-       (AM_CFLAGS): Add $(ZLIBINC).
-       (AM_CXXFLAGS): Likewise.
-       (ldadd_varldadd_var): Add $(ZLIB).
-       (incremental_dump_LDADD): Likewise.
-       (dwp_LDADD): Likewise.
-       * compressed_output.cc: Don't check HAVE_ZLIB_H to include
-       <zlib.h>.
-       (zlib_compress): Don't check HAVE_ZLIB_H.
-       (zlib_decompress): Likewise.
-       * options.h (compress_debug_sections): Likewise.
-       * configure.ac (AM_CONDITIONAL): Removed.
-       * testsuite/Makefile.am (ZLIB): New.
-       (LDADD): Add $(ZLIB).
-       Don't check HAVE_ZLIB.
-       * Makefile.in: Regenerated.
-       * config.in: Likewise.
-       * configure: Likewise.
-       * testsuite/Makefile.in: Likewise.
-
-2015-03-30  Jing Yu  <jingyu@google.com>
-
-       * aarch64-reloc.def: New TLSLD_ADD_DTPREL_HI12,
-       TLSLD_ADD_DTPREL_LO12_NC.
-       * aarch64.cc (Target_aarch64::define_tls_base_symbol): Always let
-       _TLS_MODULE_BASE_ point to the start of tls segment.
-       (Target_aarch64::optimize_tls_reloc): Add cases for
-       R_AARCH64_TLSLD_ADD_DTPREL_HI12 and
-       R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
-       (Target_aarch64::Scan::local): Likewise.
-       (Target_aarch64::Scan::global): Likewise.
-       (Target_aarch64::Relocate::relocate): Likewise.
-       (Target_aarch64::Relocate::relocate_tls): Likewise. And remove
-       subtracting tls segment size from symbol value for TLSLD_*_DTPREL
-       relocations.
-
-2015-03-27  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * merge.cc (Object_merge_map::add_mapping): call
-       Object_merge_map::Input_merge_map::add_mapping.
-       (Object_merge_map::Input_merge_map::add_mapping): New.
-       (Output_merge_data::do_add_input_section): Call
-       get_or_make_input_merge_map before a loop.
-       (Output_merge_string<Char_type>::finalize_merged_data): Call
-       get_or_make_input_merge_map before a loop.
-       * merge.h (Object_merge_map): Make Input_merge_map public.
-       * object.cc (Relobj::add_merge_mapping): Use get_or_create_merge_map.
-       (Relobj::get_or_create_merge_map): New.
-       * object.h (Relobj::get_or_create_merge_map): New.
-
-2015-03-24  Alan Modra  <amodra@gmail.com>
-
-       PR 18147
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Don't report
-       relocation errors for branches to strong undefined symbols.
-
-2015-03-23  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * merge.cc (Object_merge_map::get_input_merge_map): Make it const.
-       (Object_merge_map::is_merge_section_for): Remove.
-       (Object_merge_map::find_merge_section): New.
-       * merge.h (Object_merge_map::is_merge_section_for): Remove.
-       (Object_merge_map::find_merge_section): New.
-       (Object_merge_map::get_input_merge_map): Add a const version.
-       * object.cc (Relobj::is_merge_section_for): Remove.
-       (Relobj::find_merge_section): New.
-       * object.h (Relobj::is_merge_section_for): Remove.
-       (Relobj::find_merge_section): New.
-       * output.cc
-       (Output_section::Input_section::is_merge_section_for): Remove.
-       (Output_section::add_merge_input_section): Don't call
-       add_merge_input_section.
-       (Output_section::find_merge_section): Return const. Use
-       object->find_merge_section.
-       (Output_section::build_lookup_maps): Don't build a map for
-       merge sections.
-       (Output_section::is_input_address_mapped): Return false if
-       section is not found.
-       (Output_section::find_starting_output_address): Use
-       find_merge_section instead of is_merge_section_for.
-       (Output_section::add_script_input_section):  Don't build a map for
-       merge sections.
-       * output.h (Output_section_lookup_maps::merge_sections_by_id_): Remove.
-       (Output_section_lookup_maps::find_merge_section): Remove.
-       (Output_section_lookup_maps::add_merge_input_section) Remove.
-       (Output_section::find_merge_section): Return const.
-
-2015-03-22  Cary Coutant  <cary@google.com>
-
-       PR gold/18106
-       * i386.cc (Target_i386::Relocate::tls_gd_to_ie): Fix support for
-       non-SIB form of lea, with nop after the call.
-
-2015-03-21  Cary Coutant  <cary@google.com>
-
-       PR gold/14217
-       * output.cc (Output_segment::is_first_section_relro): Don't ignore
-       .tdata section.
-       (Output_segment::set_section_addresses): Don't align size of relro
-       segment for .tbss.
-
-2015-03-21  Cary Coutant  <cary@google.com>
-
-       PR gold/18010
-       * stringpool.cc (Stringpool_template): Don't optimize if section
-       alignment is greater than sizeof(char).
-
-2015-03-21  Cary Coutant  <cary@google.com>
-
-       PR gold/18048
-       * script-c.h (script_include_directive): Add first_token parameter.
-       * script.cc (script_include_directive): Add first_token parameter, and
-       pass it to read_script_file.
-       * yyscript.y (PARSING_SECTIONS_BLOCK, PARSING_SECTION_CMDS)
-       (PARSING_MEMORY_DEF): New tokens.
-       (top): Add new productions for INCLUDE files.
-       (file_cmd): Replace file_or_sections_cmd with copy of its productions.
-       Pass PARSING_LINKER_SCRIPT to script_include_directive.
-       (section_block_cmd): Likewise; pass PARSING_SECTIONS_BLOCK.
-       (section_cmd): Pass PARSING_SECTION_CMDS.
-       (file_or_sections_cmd): Remove.
-       (memory_def): Pass PARSING_MEMORY_DEF.
-       * testsuite/Makefile.am (memory_test_2): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/memory_test_inc.t: New script file.
-       * testsuite/memory_test_inc_1.t.src: New script file.
-       * testsuite/memory_test_inc_2.t.src: New script file.
-       * testsuite/memory_test_inc_3.t.src: New script file.
-
-2015-03-21  Cary Coutant  <cary@google.com>
-
-       * dwp.cc (Sized_relobj_dwo::do_section_contents): Delete.
-       (Sized_relobj_dwo::setup): Build compressed section map.
-       (Sized_relobj_dwo::do_decompressed_section_contents): Delete.
-       * dynobj.cc (Sized_dynobj::base_read_symbols): Build compressed
-       section map.
-       * object.cc (Sized_relobj_file::Sized_relobj_file): Remove
-       compressed_sections_ field.
-       (build_compressed_section_map): Take Object instead of
-       Sized_relobj_file parameter; add decompress_if_needed parameter.
-       (Sized_relobj_file::do_find_special_sections): Store compressed
-       section map in parent Object.
-       (Sized_relobj_file::do_decompressed_section_contents): Move
-       implementation to Object::decompressed_section_contents.
-       (Sized_relobj_file::do_discard_decompressed_sections): Move
-       implementation to Object::discard_decompressed_sections.
-       * object.h (build_compressed_section_map): Declare.
-       (Object::Object): Add compressed_sections_ field.
-       (Object::section_is_compressed): Move implementation here.
-       (Object::decompressed_section_contents): De-virtualize.
-       (Object::discard_decompressed_sections): De-virtualize.
-       (Object::do_section_is_compressed): Delete.
-       (Object::do_decompressed_section_contents): Delete.
-       (Object::set_compressed_sections): New method.
-       (Object::compressed_sections): New method.
-       (Object::compressed_sections_): New data member.
-       (Compressed_section_info, Compressed_section_map): Move to top of file.
-       (Sized_relobj_file::do_section_is_compressed): Delete.
-       (Sized_relobj_file::do_decompressed_section_contents): Delete.
-       (Sized_relobj_file::do_discard_decompressed_sections): Delete.
-       (Sized_relobj_file::compressed_sections_): Move to Object class.
-
-2015-03-21  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/18152
-       * gold.cc (queue_middle_tasks): Finalize .eh_frame after laying out
-       deferred objects.
-
-2015-03-11  Cary Coutant  <ccoutant@google.com>
-
-       * options.cc (General_options::finalize): Don't allow -z relro
-       with incremental linking.
-       * testsuite/Makefile.am (incremental_test): Add -z norelro.
-       (incremental_test_2): Likewise.
-       (incremental_test_3): Likewise.
-       (incremental_test_4): Likewise.
-       (incremental_test_5): Likewise.
-       (incremental_test_6): Likewise.
-       (incremental_copy_test): Likewise.
-       (incremental_common_test_1): Likewise.
-       (incremental_comdat_test_1): Likewise.
-       * testsuite/Makefile.in: Regenerate.
-
-2015-03-09  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/14675
-       * ehframe.cc (Eh_frame::add_ehframe_input_section): Change return type;
-       return enum indicating whether .eh_frame section is empty, optimizable,
-       unrecognized, or an end marker. Adjust explicit instantiations.
-       * ehframe.h (Eh_frame::Eh_frame_section_disposition): New enum type.
-       (Eh_frame::add_ehframe_input_section): Change return type.
-       * gold.cc (queue_middle_tasks): Call Layout::finalize_eh_frame_section.
-       * layout.cc (Layout::layout_eh_frame): Don't add optimized sections
-       to the .eh_frame output section until we see the end marker.
-       (Layout::finalize_eh_frame_section): New.
-       * layout.h: (Layout::finalize_eh_frame_section): New.
-
-2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * output.cc (Relobj::initialize_input_to_output_map<size>):
-       Remove typename on elfcpp::Elf_types<size>::Elf_Addr.
-
-2015-03-04  Cary Coutant  <ccoutant@google.com>
-
-       * parameters.cc (Parameters::set_target_once): Call
-       Target::select_as_default_target just once from here...
-       (set_parameters_target): ...instead of from here.
-
-2015-03-04  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * ehframe.cc (Cie::set_output_offset): Pass in and use a
-       Output_section_data instead of a Merge_map.
-       (Eh_frame::Eh_frame): Don't initialize merge_map_.
-       (Eh_frame::read_cie): Use add_merge_mapping instead of
-       Merge_map::add_mapping.
-       (Eh_frame::read_fde): Ditto.
-       (Eh_frame::set_final_data_size): Use this instead of this->merge_map_.
-       (Eh_frame::do_output_offset): Use merge_output_offset istead of
-       merge_map_->get_output_offset.
-       (Eh_frame::do_is_merge_section_for): Delete.
-       * ehframe.h (Fde::add_mapping): Pass in and use a Output_section_data
-       instead of a Merge_map.
-       (Cie::set_output_offset): Pass in a Output_section_data instead of a
-       Merge_map.
-       (Eh_frame::do_is_merge_section_for): Delete.
-       (Eh_frame::merge_map_): Delete.
-       * merge.cc (Object_merge_map::get_or_make_input_merge_map): Pass in
-       and use a Output_section_data instead of a Merge_map.
-       (Object_merge_map::add_mapping): Ditto.
-       (Object_merge_map::get_output_offset): Remove the merge_map argument.
-       (Object_merge_map::is_merge_section_for): Pass in and use a
-       Output_section_data instead of a Merge_map.
-       (Merge_map): Delete.
-       (Output_merge_base::do_output_offset): Use merge_output_offset instead
-       of merge_map_.get_output_offset.
-       (Output_merge_base::do_is_merge_section_for): Delete.
-       (Output_merge_data::do_add_input_section): Use
-       object->add_merge_mapping instead of add_mapping.
-       (Output_merge_string<Char_type>::finalize_merged_data): Ditto.
-       * merge.h (Merge_map): Delete forward declaration.
-       (Object_merge_map::add_mapping): Pass in and use a Output_section_data
-       instead of a Merge_map.
-       (Object_merge_map::get_output_offset): Remove the merge_map argument.
-       (Object_merge_map::is_merge_section_for): Pass in and use a
-       Output_section_data instead of a Merge_map.
-       (Input_merge_map::Object_merge_map::merge_map): Replace with
-       output_data.
-       (Object_merge_map::get_or_make_input_merge_map): Pass in and use a
-       Output_section_data instead of a Merge_map.
-       (Merge_map): Delete.
-       (Output_merge_base::Output_merge_base): Don't initialize merge_map_.
-       (Output_merge_base::do_is_merge_section_for): Delete.
-       (Output_merge_base::add_mapping): Delete.
-       (Output_merge_base::merge_map_): Delete.
-       * object.cc (Relobj::initialize_input_to_output_map): New.
-       (Relobj::initialize_input_to_output_map): New.
-       (Relobj::merge_output_offset): New.
-       (Relobj::is_merge_section_for): New.
-       (Relobj::initialize_input_to_output_map): Instantiate for 32 and 64
-       bits.
-       * object.h (Relobj::merge_map): Delete.
-       (initialize_input_to_output_map): New.
-       (set_merge_map): Delete.
-       (add_merge_mapping): New.
-       (merge_output_offset): New.
-       (is_merge_section_for): New.
-       * output.cc (Output_section::Input_section::is_merge_section_for):
-       Use object->is_merge_section_for.
-       * output.h (Output_section_data::is_merge_section_for): Delete.
-       (Output_section_data::do_is_merge_section_for): Delete.
-       * reloc.cc (Merged_symbol_value<size>::initialize_input_to_output_map):
-       Use object->initialize_input_to_output_map.
-       (Merged_symbol_value<size>::value_from_output_section): Use
-       object->merge_output_offset.
-
-2015-03-02  Peter Collingbourne  <pcc@google.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       * output.cc (Output_section::add_merge_input_section): Do not
-       attempt to merge sections with an entsize of 0.
-
-2015-03-02  Khem Raj  <raj.khem@gmail.com>
-
-       * attributes.h (class Output_attributes_section_data ): Add
-       do_print_to_mapfile function.
-
-2015-02-24  Alan Modra  <amodra@gmail.com>
-
-       PR 18010
-       * powerpc.cc (Powerpc_relocate_functions::addr16_ds): Always
-       complain if value is not a multiple of four.
-       (Target_powerpc::Relocate::relocate): Correct handling of
-       R_POWERPC_GOT_TPREL16 and R_POWERPC_GOT_TPREL16_LO for ppc64.
-
-2015-02-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac (default_size): Set to 32 for x32.
-       * configure: Regenerated.
-
-2015-02-18  Alan Modra  <amodra@gmail.com>
-
-       PR 17954
-       * powerpc.cc (Global_symbol_visitor_opd::operator()): Set default
-       visibility.
-
-2015-02-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * gc.h (Garbage_collection::add_reference): Don't use find.
-
-2015-02-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * object.cc (write_local_symbols): avoid std::vector copy.
-
-2015-02-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * merge.cc (get_output_offset): Use upper_bound instead of lower_bound.
-
-2015-02-09  Mark Wielaard  <mjw@redhat.com>
-
-       * gdb-index.cc (Gdb_index_info_reader::visit_top_die): Recognize
-       DW_LANG_Fortran03 and DW_LANG_Fortran08.
-
-2015-02-16  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/13577
-       PR gold/16992
-       * layout.cc (Layout::finish_dynamic_section): Don't set DT_SYMBOLIC or
-       DF_SYMBOLIC if --dynamic-list option is used.
-       * options.cc (General_options::finalize): --dynamic-list is not
-       mutually exclusive with -Bsymbolic.
-       * symtab.h (Symbol::is_preemptible): Don't exclude dynamic symbols not
-       listed in --dynamic-list.
-       * testsuite/Makefile.am (dynamic_list_lib2.so): Add
-       -Bsymbolic-functions.
-       * testsuite/Makefile.in: Regenerate.
-
-2015-02-16  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17971
-       * incremental.cc: Remove redundant include of "output.h".
-
-2015-02-12  Jing Yu  <jingyu@google.com>
-
-       * aarch64-reloc.def (TLSLE_MOVW_TPREL_G2, TLSLE_MOVW_TPREL_G1,
-       TLSLE_MOVW_TPREL_G1_NC, TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC,):
-       New relocation.
-       * aarch64.cc (Target_aarch64::Scan::local): Add cases for new
-       TLSLE_MOVW_* relocations.
-       (Target_aarch64::Scan::global): Likewise.
-       (Target_aarch64::Relocate::relocate): Likewise.
-       (Target_aarch64::Relocate::relocate_tls): Add cases and handlings
-       for new TLSLE_MOVW_* relocations.
-
-2015-02-11  Will Newton  <will.newton@linaro.org>
-
-       PR gold/13321
-       * arm.cc (Target_arm::make_plt_section): Create an ARM
-       state mapping symbol at the start of the PLT.
-
-2015-02-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (two_file_shared_2_pic_1_test_DEPENDENCIES):
-       Replace two_file_shared_2.so with two_file_shared_1.so.
-       * testsuite/Makefile.in: Regenerated.
-
-2015-02-09  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add libweak_undef_2.a,
-       plugin_test_thin.a and defsym_test.
-       * testsuite/Makefile.in: Regenerate.
-
-2015-02-04  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * merge.cc (do_add_input_section): Combine loop epilogue into main loop
-       body.
-
-2015-02-04  Peter Collingbourne  <pcc@google.com>
-
-       * plugin.cc (Pluginobj::get_symbol_resolution_info): Resolve
-       forwarding symbols when computing symbol resolution info for plugins.
-       * plugin.h (Plugin_manager::symtab): New method.
-       (Pluginobj::get_symbol_resolution_info): Add symtab parameter.
-
-2015-02-03  Cary Coutant  <ccoutant@google.com>
-           Peter Collingbourne  <pcc@google.com>
-
-       PR gold/15660
-       * archive.cc (Thin_archive_object_unlocker): New class.
-       (Archive::include_member): Unlock external members of thin archives.
-       * testsuite/Makefile.am (plugin_test_1): Rename .syms files.
-       (plugin_test_2): Likewise.
-       (plugin_test_3): Likewise.
-       (plugin_test_4): Likewise.
-       (plugin_test_5): Likewise.
-       (plugin_test_6): Likewise.
-       (plugin_test_7): Likewise.
-       (plugin_test_8): Likewise.
-       (plugin_test_9): Likewise.
-       (plugin_test_10): Likewise.
-       (plugin_test_11): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test.c (claim_file_hook): Check for parallel .syms
-       file to decide whether to claim file.
-       (all_symbols_read_hook): Likewise.
-       * testsuite/plugin_test_1.sh: Adjust expected output.
-       * testsuite/plugin_test_2.sh: Likewise.
-       * testsuite/plugin_test_3.sh: Likewise.
-       * testsuite/plugin_test_6.sh: Likewise.
-       * testsuite/plugin_test_tls.sh: Likewise.
-       * testsuite/plugin_test_11.sh: New testcase.
-
-2015-02-03  Cary Coutant  <ccoutant@google.com>
-
-       * descriptors.cc (Descriptors::open): Set artificially-low limit for
-       file descriptors when debugging enabled. Add debug output.
-       (Descriptors::release): Add debug output.
-       (Descriptors::close_some_descriptor): Likewise.
-       (Descriptors::close_all): Likewise.
-       * fileread.cc (File_read::lock): Likewise.
-       (File_read::unlock): Likewise.
-
-2015-02-02  Cary Coutant  <ccoutant@google.com>
-
-       * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for
-       executable output file.
-
-2015-01-22  Han Shen  <shenhan@google.com>
-
-       * arm.cc (Target_arm::Target_arm): Add initialization for new members.
-       (Target_arm::do_plt_address_for_global): New method.
-       (Target_arm::do_plt_address_for_local): New method.
-       (Target_arm::rel_irelative_section): New method.
-       (Target_arm::make_data_plt): Add more parameters for plt ctor.
-       (Target_arm::do_make_data_plt): Add more parameters for plt ctor.
-       (Target_arm::Scan::symbol_needs_plt_entry): Add ifunc support.
-       (Target_arm::Scan::reloc_needs_plt_for_ifunc): Add ifunc support.
-       (Target_arm::Scan::check_non_pic): Add ifunc support.
-       (Target_arm::Scan::local): Add ifunc support.
-       (Target_arm::Scan::global): Add ifunc support.
-       (Target_arm::make_plt_section): New method.
-       (Target_arm::make_plt_entry): Change to call to make_plt_section.
-       (Target_arm::make_local_ifunc_plt_entry): New method.
-       (Target_arm::got_irelative_): New member.
-       (Target_arm::rel_irelative_): New member.
-       (Target_arm::got_section): Add creation for got_irelative_.
-       (Target_arm::rel_dyn_section): Add creation for rel_irelative_.
-       (Target_arm::Relocate::relocate): Properly set local ifunc address.
-       (Target_arm::do_dynsym_value): Properly set global ifunc address.
-       (Target_arm::scan_reloc_for_stub): Properly set global ifunc address.
-       (Output_data_plt_arm::IRelative_data): New type.
-       (Output_data_plt_arm::Output_data_plt_arm): Add more parameters.
-       (Output_data_plt_arm::add_entry): Add more parameters.
-       (Output_data_plt_arm::add_relocation): New method.
-       (Output_data_plt_arm::add_local_ifunc_entry): New method.
-       (Output_data_plt_arm::rel_irelative): New method.
-       (Output_data_plt_arm::entry_count): Modified.
-       (Output_data_plt_arm::address_for_global): New method.
-       (Output_data_plt_arm::address_for_local): New method.
-       (Output_data_plt_arm::set_final_data_size): Add irelative_count_.
-       (Output_data_plt_arm::insert_irelative_data): New method.
-       (Output_data_plt_arm::irelative_rel_): New member.
-       (Output_data_plt_arm::got_): New member.
-       (Output_data_plt_arm::got_irelative_): New member.
-       (Output_data_plt_arm::irelative_count_): New member.
-       (Output_data_plt_arm::IRelative_data_vec): New typedef.
-       (Output_data_plt_arm::irelative_data_vec_): New member.
-       (Output_data_plt_arm::do_write): Write out irelative entries.
-       (Output_data_plt_arm_standard::Output_data_plt_arm_standard): Add
-       more parameters to ctor.
-       (Output_data_plt_arm_nacl::Output_data_plt_arm_nacl): Add
-       more parameters to ctor.
-       * output.h (Output_data_reloc::add_local_relative): New method.
-       * aarch64.cc (Output_data_plt_aarch64): Fixed typo in comment.
-
-2015-01-29  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Correct GOT_TLSLD
-       and GOT_TLSGD to LE optimization.
-
-2015-01-28  Cary Coutant  <ccoutant@google.com>
-
-       * x86_64.cc (Target_x86_64::Scan::global): Allow IE-to-LE optimization
-       for undef TLS symbols.
-       (Target_x86_64::Relocate::relocate_tls): Likewise.
-       (Target_x86_64::Relocate::tls_ie_to_le): Likewise.
-
-2015-01-25  Cary Coutant  <ccoutant@google.com>
-
-       * output.cc (Output_segment::set_section_addresses): Fix calculation
-       of size of relro segment.
-
-2015-01-22  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Scan::local <got relocs>): Correct
-       condition for need of ifunc plt entry.
-       (Target_powerpc::Scan::global <got relocs>): Likewise.
-
-2015-01-14  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * mips.cc (reloc_high): Add r_sym.
-       (Mips_relocate_functions::relhi16): Add r_sym parameter. Pass r_sym to
-       reloc_high constructor.
-       (Mips_relocate_functions::relgot16_local): Likewise.
-       (Mips_relocate_functions::rello16): Add r_sym parameter. Use r_sym and
-       r_type to decide whether LO16 matches HI16.
-       (Target_mips::Relocate::relocate): Pass r_sym to calls to relhi16,
-       rello16 and relgot16_local.
-
-2015-01-09  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::set_segment_offsets): Don't align start of segment
-       unless alignment is larger than page size.
-
-2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17729
-       * configure.ac (DEFAULT_TARGET_X86_64): Don't set for x32.
-       (DEFAULT_TARGET_X32): Set for x32.
-       * x86_64.cc (cmp_insn_32): New.
-       (lea_r10_insn_32): Likewise.
-       (lea_r11_insn_32): Likewise.
-       (cmp_insn_64): Likewise.
-       (lea_r10_insn_64): Likewise.
-       (lea_r11_insn_64): Likewise.
-       (Target_x86_64<size>::do_calls_non_split): Handle x32.
-       * testsuite/Makefile.am (check_SCRIPTS): Add split_x32.sh.
-       (check_DATA): Add split_x32 files.
-       (split_x32_[1234n].o): New targets.
-       (split_x32_[124]): New targets.
-       (split_x32_[1234r].stdout): New targets.
-       * testsuite/split_x32.sh: New file.
-       * testsuite/split_x32_1.s: Likewise.
-       * testsuite/split_x32_2.s: Likewise.
-       * testsuite/split_x32_3.s: Likewise.
-       * testsuite/split_x32_4.s: Likewise.
-       * testsuite/split_x32_n.s: Likewise.
-       * configure: Regenerated.
-       * testsuite/Makefile.in: Likewise.
-
-2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/17809
-       * x86_64.cc (Target_x86_64<size>::Relocate::tls_ie_to_le): Handle
-       x32.
-
-2015-01-02  Alan Modra  <amodra@gmail.com>
-
-       * version.cc (print_version): Just print current year.
-       * dwp.cc (print_version): Likewise.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-12-25  Alan Modra  <amodra@gmail.com>
-
-       * arm.cc (Target_arm::do_adjust_elf_header): Provide namespace on
-       new enums.
-       (Target_arm::merge_object_attributes, ): Likewise.
-
-2014-12-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.cc (Target_arm::do_adjust_elf_header): Set e_flags in ELF header
-       as hard float only when Tag_ABI_VFP_args is 1, using new enum value
-       AEABI_VFP_args_vfp to check that.
-       (Target_arm::merge_object_attributes): Handle new Tag_ABI_VFP_args
-       value and replace hardcoded values by enum values.
-
-2014-12-22  Cary Coutant  <ccoutant@google.com>
-
-       * powerpc.cc (Target_powerpc::relocate): Fix overflow check.
-
-2014-12-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/14608
-       * testsuite/debug_msg.cc (SometimesInlineFunction): Changed
-       to "return i * i * 3;".
-
-2014-12-16  Cary Coutant  <ccoutant@google.com>
-
-       * mapfile.cc (Mapfile::print_input_section): Print uncompressed sizes.
-       (Mapfile::print_output_data): Use current_data_size() to avoid
-       assert for sections requiring postprocessing; if address is not valid,
-       print 0.
-       (Mapfile::print_output_section): Use current_data_size(); print note
-       that addresses and sizes are before compression.
-
-2014-12-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
-       Cast current_group_size to unsigned long when reporting error.
-
-2014-12-10  Jing Yu  <jingyu@google.com>
-
-       * aarch64.cc (Target_aarch64): Add new variable stub_group_size_.
-       (AArch64_relocate_functions::maybe_apply_stub): Add new parameter.
-       Update error message.
-       (Target_aarch64::do_relax): Use absolute value of option
-       stub_group_size. Replace local variable with class member
-       stub_group_size_.
-
-2014-12-04  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Branch_info::make_stub): Ignore
-       addend of PLTREL24 reloc when not generating a plt stub.  Make
-       max_branch_offset an "Address".
-       (Stub_table::can_reach_stub): Make max_branch_offset an "Address".
-       (Target_powerpc::Relocate::relocate): Likewise.
-
-2014-12-04  Alan Modra  <amodra@gmail.com>
-
-       PR 17670
-       * symtab.cc (Symbol::set_undefined): Remove assertion.
-       * powerpc.cc (Target_powerpc::symval_for_branch): Don't assert
-       on symbols defined in discarded sections, instead return false.
-       Rearrange params, update all callers.
-       (Target_powerpc::Branch_info::make_stub): Don't make stubs for
-       branches to syms in discarded sections.
-       (Global_symbol_visitor_opd::operator()): Set discarded opd syms
-       undefined and flag as discarded.
-       (Target_powerpc::Relocate::relocate): Localize variable.
-
-2014-12-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/17675
-       * testsuite/Makefile.am (pie_copyrelocs_test_CXXFLAGS): New.
-       * testsuite/Makefile.in: Regenerated.
-
-2014-12-03  Alan Modra  <amodra@gmail.com>
-
-       PR 17566
-       * powerpc.cc (Target_powerpc::Scan::local): Use add_local_section
-       when adding dynamic relocations against section symbols.
-
-2014-12-01  Dimitry Ivanov <dimitry@google.com>
-
-       * layout.cc (Layout::finish_dynamic_section): When '-z global'
-       is specified set DF_1_GLOBAL in DT_FLAGS_1 flags.
-       * options.h (General_options): New -z option (global).
-
-2014-12-01  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17578
-       * layout.cc (Layout::layout_gnu_stack): Don't warn when -z execstack
-       is given.
-       (Layout::create_executable_stack_info): Warn when -z noexecstack is
-       given but some inputs require executable stack.
-
-2014-11-26  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (gdb_sections): Keep .debug_gdb_scripts and
-       .debug_str_offsets; strip .debug_gnu_pubnames and
-       .debug_gnu_pubtypes.
-       (lines_only_debug_sections): Strip all four new sections.
-
-2014-11-26  Jing Yu  <jingyu@google.com>
-
-       * aarch64.cc (Relocate::tls_desc_gd_to_ie): Set ldr target
-       register to be x0 when to relax TLSDESC_LD64_LO12.
-
-2014-11-26  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (struct Stub_table_owner): New.
-       (Powerpc_relobj): Rename stub_table_ to stub_table_index_, an
-       unsigned int vector.  Update all references.
-       (powerpc_relobj::set_stub_table): Take an unsigned int param
-       rather than a Stub_table.  Update callers.
-       (Powerpc_relobj::clear_stub_table): New function.
-       (Target_powerpc): Add relax_failed_, relax_fail_count_ and
-       stub_group_size_ vars.
-       (Target_powerpc::new_stub_table): Delete.
-       (max_branch_delta): New function, extracted from..
-       (Target_powerpc::Relocate::relocate): ..here..
-       (Target_powerpc::Branch_info::make_stub): ..and here.  Return
-       status on whether stub created successfully.
-       (Stub_control::Stub_control): Add "no_size_errors" param.  Move
-       default sizing to..
-       (Target_powerpc::do_relax): ..here.  Init stub_group_size_ and
-       reduce on relax failure.
-       (Target_powerpc::group_sections): Add "no_size_errors" param.
-       Use stub_group_size_.  Set up group info in a temp vector,
-       before building Stub_table vector.  Account for input sections
-       possibly already converted to relaxed sections.
-       (Stub_table::init): Delete.  Merge into..
-       (Stub_table::Stub_table): ..here.
-       (Stub_table::can_reach_stub): New function.
-       (Stub_table::add_plt_call_entry): Add "from" parameter and
-       return true iff stub could be reached.
-       (Stub_table::add_long_branch_entry): Similarly.  Add "r_type"
-       param too.
-       (Stub_table::clear_stubs): Add "all" param.
-
-2014-11-26  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Stub_control::set_output_and_owner): New function.
-       (Target_powerpc::group_sections): Use it.
-
-2014-11-25  Cary Coutant  <ccoutant@google.com>
-
-       * binary.cc (Binary_to_elf::sized_convert): Add size to _start symbol.
-       (Binary_to_elf::write_symbol): Add st_size parameter.
-       * binary.h (Binary_to_elf::write_symbol): Add st_size parameter.
-
-2014-11-25  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17639
-       * object.cc (Sized_relobj_file): Initialize is_deferred_layout_.
-       (Sized_relobj_file::do_layout): Handle deferred sections properly
-       during GC pass 1. Don't add reloc sections to deferred list twice.
-       * object.h (Sized_relobj_file::is_deferred_layout): New function.
-       (Sized_relobj_file::is_deferred_layout_): New data member.
-
-2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/17619
-       * x86_64.cc (Output_data_plt_x86_64_standard<size>::do_fill_plt_entry):
-       Check PC-relative offset overflow in PLT entry.
-
-2014-11-21  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Correct test
-       for undefined weaks.
-
-2014-11-20  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Stub_control::Stub_control): Init stub14_group_size_
-       from --stub-group-size parameter divided by 1024.
-       (Powerpc_relocate_functions::rela, rela_ua): Add fieldsize
-       template parameter.  Update all uses.
-       (Target_powerpc::Relocate::relocate): Rename has_plt_value to
-       has_stub_value.  Set for long branches.  Don't report overflow for
-       branch to undefined weak symbols.  Print info message on
-       overflowing branch to stub.
-
-2014-11-20  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::do_relax): Add __go_go to thread_starters.
-
-2014-11-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (Target_x86_64<size>::Scan::global): Don't make PLT
-       entry for R_X86_64_GOTPLT64.
-       (Target_x86_64<size>::Relocate::relocate): Update comments for
-       R_X86_64_GOTPLT64.
-
-2014-11-06  Evgeniy Dushistov  <dushistov@mail.ru>
-
-       * plugin.cc: use lock to searialize calls of Plugin_manager::claim_file
-       * plugin.h: add lock definition
-
-2014-10-29  Han Shen  <shenhan@google.com>
-           Jing Yu   <jingyu@google.com>
-
-       * aarch64-reloc.def: Add LD_PREL_LO12, ADR_PREL_LO21,
-       TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC, TLSLD_MOVW_DTPREL_G1,
-       TLSLD_MOVW_DTPREL_G0_NC. Change property of TLS relocations to
-       Symbol::TLS_REF.
-       * aarch64.cc (Target_aarch64::do_can_check_for_function_pointers): New
-       method.
-       (Target_aarch64::reloc_needs_plt_for_ifunc): New method.
-       (Target_aarch64::tls_ld_to_le): New method.
-       (Target_aarch64::aarch64_info): Enable can_icf_inline_merge_sections
-       for 64bit targets.
-       (Output_data_plt_aarch64::irelative_rel_): New data member.
-       (Output_data_plt_aarch64::add_entry): Add irelative entries to plt.
-       (Output_data_plt_aarch64::add_local_ifunc_entry): New method.
-       (Output_data_plt_aarch64::add_relocation): New method.
-       (Output_data_plt_aarch64::do_write): Add gold_assert on got_irelative
-       offset. Add got_irelative size to got size.
-       (AArch64_relocate_functions): Typedef AArch64_valtype. Replace long
-       type string with the new typename.
-       (AArch64_relocate_functions::update_adr): Replace parameter x with
-       immed.
-       (AArch64_relocate_functions::update_movnz): Correct wrong val mask.
-       (AArch64_relocate_functions::reloc_common): New method.
-       (AArch64_relocate_funcsions::rela_general): Extract common part out
-       into reloc_common method.
-       (AArch64_relocate_functions::rela_general): Likewise.
-       (AArch64_relocate_functions::pcrela_general): Likewise.
-       (AArch64_relocate_functions::adr): New method.
-       (AArch64_relocate_functions::adrp): Calculate immed before calling
-       update_adr.
-       (AArch64_relocate_functions::adrp): Likewise.
-       (AArch64_relocate_functions::movnz): Cast x to SignedW type when
-       comparing x to 0. Calculate immed from ~x when x < 0.
-       (Target_aarch64::optimize_tls_reloc): Add new cases for
-       TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC, TLSLD_MOVW_DTPREL_G1,
-       TLSLD_MOVW_DTPREL_G0_NC.
-       (Target_aarch64::possible_function_pointer_reloc): Implement this
-       method.
-       (Target_aarch64::Scan::local_reloc_may_be_function_pointer): Update
-       comment.
-       (Target_aarch64::Scan::local): Add codes to handle STT_GNU_IFUNC
-       symbol. Add cases for TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC,
-       TLSLD_MOVW_DTPREL_G1, TLSLD_MOVW_DTPREL_G0_NC.
-       (Target_aarch64::Scan::global): Add codes to handle STT_GNU_IFUNC
-       symbol. Add cases for TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC,
-       TLSLD_MOVW_DTPREL_G1, TLSLD_MOVW_DTPREL_G0_NC.
-       (Target_aarch64::make_plt_entry): Call add_entry with two more
-       parameters.
-       (Target_aarch64::make_local_ifunc_plt_entry): New method.
-       (Target_aarch64::Relocate::relocate): Add cases for LD_PREL_LO19,
-       ADR_PREL_LO21, TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC,
-       TLSLD_MOVW_DTPREL_G1, TLSLD_MOVW_DTPREL_G0_NC.
-       (Target_aarch64::Relocate::relocate_tls): Add cases for
-       TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC, TLSLD_MOVW_DTPREL_G1,
-       TLSLD_MOVW_DTPREL_G0_NC.
-       * testsuite/icf_safe_so_test.cc: Correct test comment.
-       * testsuite/icf_safe_test.sh: Add AArch64 arch.
-
-2014-10-22  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (do_relax): Add gcc-4.9 libgomp functions to
-       thread_starter.
-
-2014-10-18  Andreas Schwab  <schwab@linux-m68k.org>
-
-       * configure.tgt (targ_extra_obj) [aarch64*-*]: Define.
-
-2014-10-17  Cary Coutant  <ccoutant@google.com>
-
-       * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
-       Add "typename" keyword.
-
-2014-10-15  Han Shen  <shenhan@google.com>
-           Jing Yu   <jingyu@google.com>
-
-       Patch for gold aarch64 backend to support relaxation.
-       * aarch64-reloc.def: Change format.
-       * aarch64.cc (class Reloc_stub): New class.
-       (class Stub_table): New class.
-       (class AArch64_relobj): New class.
-       (class AArch64_input_section): New class.
-       (class AArch64_output_section): New class.
-       (Target_aarch64::new_stub_table): New method.
-       (Target_aarch64::new_aarch64_input_section): New method.
-       (Target_aarch64::find_aarch64_input_section): New method.
-       (Target_aarch64::scan_section_for_stubs): New method.
-       (Target_aarch64::scan_reloc_section_for_stubs): New method.
-       (Target_aarch64::relocate_stub): New method.
-       (Target_aarch64::current_target): New method.
-       (Target_aarch64::do_make_elf_object): New method.
-       (Target_aarch64::do_may_relax): New method.
-       (Target_aarch64::do_relax): New method.
-       (Target_aarch64::group_sections): New method.
-       (Target_aarch64::scan_reloc_for_stub): New method.
-       (Target_aarch64::do_make_output_section): New method.
-       (Target_aarch64::stub_tables_): New data member.
-       (Target_aarch64::aarch64_input_section_map_): New data member.
-       (AArch64_relocate_functions::maybe_apply_stub): New method.
-
-2014-09-30  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17432
-       * resolve.cc (Symbol_table::resolve): Fix local shadowing error.
-
-2014-09-30  Kito Cheng  <kito@0xlab.org>
-
-       PR gold/13597
-       * layout.cc (Layout::create_dynamic_symtab): Build gnu-style
-       hash table before sysv-style hash table.
-
-2014-09-29  Sriraman Tallam  <tmsriram@google.com>
-
-       * options.h (--pic-executable): Add negative to alias to -no-pie.
-
-2014-09-26  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/16773
-       * object.cc (Sized_relobj_file): Compute value of section symbols
-       for TLS sections the same as TLS symbols.
-
-2014-09-25  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17432
-       * resolve.cc (Symbol_table::resolve): Override common placeholder
-       symbols, but adjust sizes.
-       * symtab.cc (Symbol_table::add_from_object): Don't add placeholder
-       symbols to common lists.
-
-2014-09-24  Alan Modra  <amodra@gmail.com>
-
-       * po/POTFILES.in: Regenerate.
-
-2014-09-23  Taiju Tsuiki  <tzik@google.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       PR gold/14860
-       * gold.cc (queue_final_tasks): Add Write_sections_task as a blocker
-       on input_sections_blocker.
-       * layout.cc (Write_sections_task::locks): Unblock
-       input_sections_blocker_.
-       * layout.h (Write_sections_task::Write_sections_task): Add
-       input_sections_blocker.
-       * testsuite/Makefile.am (exception_x86_64_bnd_test): Add gcctestdir/ld
-       to DEPENDENCIES.
-       * testsuite/Makefile.in: Regenerate.
-
-2014-09-18  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * testsuite/Makefile.am (plugin_test_10): New test.
-       * testsuite/Makefile.in: Regenerate
-       * testsuite/plugin_common_test_2.c (c1): Align to 8.
-       * testsuite/plugin_test_10.sh: New file.
-
-2014-09-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-
-       * plugin.cc (Sized_pluginobj::do_add_symbols): Ignore isym->size.
-       * resolve.cc (Symbol_table::resolve): Don't override common symbols
-       during the replacement phase.
-
-2014-09-17  Han Shen  <shenhan@google.com>
-           Jing Yu  <jingyu@google.com>
-
-       * aarch64-reloc.def: Add TLSGD_ADR_PAGE21, TLSGD_ADD_LO12_NC,
-       TLSDESC_ADR_PAGE21, TLSDESC_LD64_LO12, TLSDESC_ADD_LO12, TLSDESC_CALL.
-       * aarch64.cc (Target_aarch64): Add data members
-       got_irelative_, got_tlsdesc_, rela_irelative_, got_mod_index_offset_,
-       tlsdesc_reloc_info_, tls_base_symbol_defined_. Initialize them in
-       constructor.
-       (Target_aarch64::do_reloc_symbol_index): New method.
-       (Target_aarch64::do_reloc_addend): New method.
-       (Target_aarch64::add_tlsdesc_info): New method.
-       (Target_aarch64::do_dynsym_value): New method.
-       (Target_aarch64::do_make_data_plt): Add new parameters: got,
-       got_irelative. Pass them to Output_data_plt_aarch64_standard.
-       (Target_aarch64::make_data_plt): Add new parameters: got,
-       got_irelative. Pass them to do_make_data_plt.
-       (Target_aarch64::Relocate): Add skip_call_tls_get_addr_ variable.
-       (Target_aarch64::Relocate:tls_gd_to_le): New method.
-       (Target_aarch64::Relocate:tls_ie_to_le): New method.
-       (Target_aarch64::Relocate:tls_desc_gd_to_le): New method.
-       (Target_aarch64::Relocate:tls_desc_gd_to_ie): New method.
-       (Target_aarch64::got_tlsdesc_section): New method.
-       (Target_aarch64::make_local_ifunc_plt_entry): New method.
-       (Target_aarch64::define_tls_base_symbol): New method.
-       (Target_aarch64::reserve_tlsdesc_entries): New method.
-       (Target_aarch64::got_mod_index_entry): New method.
-       (Target_aarch64::rela_tlsdesc_section): New method.
-       (Target_aarch64::rela_irelative_section): New method.
-       (Target_aarch64::Tlsdesc_info): New struct.
-       (Target_aarch64::got_section): Create .got.plt space for IRELATIVE
-       relocations and tlsdesc relocations.
-       (Target_aarch64::optimize_tls_reloc): Implement method.
-       (Output_data_plt_aarch64): Add member variables: tlsdesc_rel_, got_,
-       got_irelative_, irelative_count_, tlsdesc_got_offset_. Initialize them
-       in constructor.
-       (Output_data_plt_aarch64::reserve_tlsdesc_entry): New method.
-       (Output_data_plt_aarch64::has_tlsdesc_entry): New method.
-       (Output_data_plt_aarch64::get_tlsdesc_got_offset): New method.
-       (Output_data_plt_aarch64::get_tlsdesc_plt_offset): New method.
-       (Output_data_plt_aarch64::rela_tlsdesc): New method.
-       (Output_data_plt_aarch64::rela_irelative): New method.
-       (Output_data_plt_aarch64::entry_count): Count IRELATIVE relocations.
-       (Output_data_plt_aarch64::first_plt_entry_offset): Add const attribute.
-       (Output_data_plt_aarch64::get_plt_tlsdesc_entry_size): New method.
-       (Output_data_plt_aarch64::fill_tlsdesc_entry): New method.
-       (Output_data_plt_aarch64::do_get_plt_tlsdesc_entry_size): New method.
-       (Output_data_plt_aarch64::do_fill_tlsdesc_entry): New method.
-       (Output_data_plt_aarch64_standard): New member variables:
-       plt_tlsdesc_entry_size, tlsdesc_plt_entry.
-       (Output_data_plt_aarch64_standard::Output_data_plt_aarch64_standard):
-       New parameter: got, got_irelative.
-       (Output_data_plt_aarch64_standard::do_get_plt_entry_size): New method.
-       (Output_data_plt_aarch64_standard::do_fill_tlsdesc_entry): New method.
-       (Output_data_plt_aarch64::do_write): Replace got_address with
-       gotplt_address. Add irelative_count_ to count. Write tlsdesc entry.
-       (AArch64_relocate_functions::update_movnz): New method.
-       (AArch64_relocate_functions): Correct format.
-       (AArch64_relocate_functions::movnz): New method.
-       (Target_aarch64::Scan::local): Correct format. Move r_sym, got to
-       before the switch. Add new cases to switch.
-       Check ie_to_le relaxation on tlsie relocations. Add code handling
-       tlsgd tlsdesc cases.
-       (Target_aarch64::Scan::global): Move arp to front. Do copy_reloc when
-       needed. Add new cases to switch. Insert dynamic RELATIVE relocation
-       when needed. Add code handling tlsgd, tlsie, tlsdesc cases.
-       Call reloc_name_in_error_message to print unsupported reloc.
-       (Target_aarch64::make_plt_section): Pass got_ and got_irelative_ to
-       make_data_plt.
-       (Target_aarch64::do_finalize_sections): Emit relocs to save COPY
-       relocs. Fill in some more dynamic tags.
-       (Target_aarch64::Relocate::relocate): Handle tlsgd, tlsdesc relocs.
-       Skip call tls_get_addr when tlsgd is relaxed.
-       (Target_aarch64::Relocate::relocate_tls): Correct format. Add code
-       handling tlsgd, tlsdesc relocs, and tls gd->le, ie->le, tlsdesc->le,
-       tlsdesc->ie relaxation.
-
-2014-09-03  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * mips.cc (Target_mips_nacl): New class.
-       (Target_selector_mips_nacl): New class.
-       (target_selector_mips32): Rename from target_selector_mips32be and use
-       Target_selector_mips_nacl instead of Target_selector_mips.
-       (target_selector_mips32el): Rename from target_selector_mips32 and use
-       Target_selector_mips_nacl instead of Target_selector_mips.
-       (target_selector_mips64): Rename from target_selector_mips64be and use
-       Target_selector_mips_nacl instead of Target_selector_mips.
-       (target_selector_mips64el): Rename from target_selector_mips64 and use
-       Target_selector_mips_nacl instead of Target_selector_mips.
-       (Target_mips::mips_info): Add const attribute.
-
-2014-09-02  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.cc (Sized_relobj_dwo::do_section_name): Add const attribute.
-       * dynobj.h (Sized_dynobj::do_section_name): Likewise.
-       * incremental.cc (Sized_relobj_incr::do_section_name): Likewise.
-       (Sized_incr_dynobj::do_section_name): Likewise.
-       * incremental.h (Sized_relobj_incr::do_section_name): Likewise.
-       (Sized_incr_dynobj::do_section_name): Likewise.
-       * object.h (Object::section_name): Likewise.
-       (Object::do_section_name): Likewise.
-       (Sized_relobj_file::do_section_name): Likewise.
-       * plugin.cc (Sized_pluginobj::do_section_name): Likewise.
-       * plugin.h (Sized_pluginobj::do_section_name): Likewise.
-
-2014-09-02  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/17005
-       * ehframe.cc (Fde::write): Add output_offset parameter.
-       (Cie::write): Likewise.
-       (Eh_frame::set_final_data_size): Account for offset within output
-       section.
-       (Eh_frame::do_sized_write): Likewise.
-       * ehframe.h (Fde::write): Add output_offset parameter.
-       (Cie::write): Likewise.
-       * output.cc (Output_section::Input_section_sort_entry): Remove
-       section_has_name_; add output_section_name parameter. Use
-       output section name for non-input sections.
-       (Output_section::Input_section_sort_entry::section_has_name): Remove.
-       (Output_section::Input_section_sort_entry::section_has_name_): Remove.
-       (Output_section::Input_section_sort_compare): Remove logic for
-       sections without names.
-       (Output_section::Input_section_sort_init_fini_compare): Likewise.
-       (Output_section::Input_section_sort_section_prefix_special_ordering_compare):
-       Likewise.
-       (Output_section::Input_section_sort_section_name_compare): Likewise.
-
-2014-08-29 Han Shen <shenhan@google.com>
-          Jing Yu <jingyu@google.com>
-
-       * aarch64-reloc-property.cc
-       (AArch64_reloc_property_table::reloc_name_in_error_message): Fix bug in
-       reference reloc property in the table.
-       * aarch64-reloc.def: Add TLSLE reloc types and fix some errors in
-       3 other entries.
-       * aarch64.cc: (Output_data_got_aarch64::add_static_reloc):
-       2 new overloaded methods.
-       (Output_data_got_aarch64::do_write): Add code to write out
-       static relocs.
-       (class Output_data_got_aarch64::Static_reloc): New class to wrap
-       static relocs.
-       (Output_data_got_aarch64::static_relocs): New vector to
-       hold static relocs.
-       (Target_aarch64::TCB_SIZE): New const static memeber.
-       (Target_aarch64::tcb_size): New method.
-       (Target_aarch64::Relocate::relocate): Add code handling new reloc types.
-       (Target_aarch64::Relocate::relocate_tls): New method.
-       (Target_aarch64::Scan::local): Add code handling new reloc types.
-       (Target_aarch64::Scan::global): Add code handling new reloc types.
-
-2014-08-13  Sriraman Tallam  <tmsriram@google.com>
-
-       * options.h (-no-pie): Add option.
-
-2014-08-08  Jing Yu  <jingyu@google.com>
-           Han Shen  <shenhan@google.com>
-
-       * Makefile.am (HFILES): Add aarch64-reloc-property.h.
-       (DEFFILES): add aarch64-reloc.def.
-       (TARGETSOURCES): Add aarch64-reloc-property.cc.
-       (ALL_TARGETOBJS): Add aarch64-reloc-property.$(OBJEXT).
-       * Makefile.in: Regenerate.
-       * aarch64-reloc-property.cc: New file.
-       * aarch64-reloc-property.h: New file.
-       * aarch64-reloc.def: New file.
-       * aarch64.cc: Include aarch64-reloc-property.h. Replace spaces
-       with tab to make the format consistent.
-       (Output_data_got_aarch64::symbol_table_): New method.
-       (Target_aarch64::do_plt_address_for_global): New method.
-       (Target_aarch64::do_plt_address_for_local): New method.
-       (Target_aarch64::do_select_as_default_target): New method.
-       (Target_aarch64::do_make_data_plt): New method.
-       (Target_aarch64::make_data_plt): New method.
-       (Output_data_plt_aarch64::has_irelative_section): New method.
-       (Output_data_plt_aarch64::address_for_global): New method.
-       (Output_data_plt_aarch64::address_for_local): New method.
-       (Output_data_plt_aarch64::irelative_rel_): New parameter.
-       (Output_data_plt_aarch64::add_entry): Implement contents.
-       (Output_data_plt_aarch64::set_final_data_size): Fix typo.
-       (Output_data_plt_aarch64::do_write): Remove useless got_base. Set
-       the got_pov entry to plt0.
-       (Output_data_plt_aarch64_standard::do_fill_first_plt_entry):
-       Implement contents.
-       (Output_data_plt_aarch64_standard::do_fill_plt_entry): Implement.
-       (AArch64_howto): New struct.
-       (aarch64_howto[]): New static const array.
-       (AArch64_relocate_functions): New class.
-       (Target_aarch64::Scan::get_reference_flags): Remove method.
-       (Target_aarch64::Scan::local): Implement to support a few relocations.
-       (Target_aarch64::Scan::global): Implement to support a few relocations.
-       (Target_aarch64::make_plt_section): Implement contents.
-       (Target_aarch64::make_plt_entry): Implement contents.
-       (Target_aarch64::do_finalize_sections): Implement contents.
-       (Target_aarch64::Relocate::relocate): Implement a few relocations.
-       (Target_aarch64::relocate_section): Implement contents.
-
-2014-08-06  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/defsym_test.sh: Allow ppc64le localentry annotation.
-
-2014-08-06  Alan Modra  <amodra@gmail.com>
-
-       PR 13227
-       * symtab.cc (Symbol_table::add_from_relobj): Warn on __gnu_lto_slim.
-
-2014-07-21  Sriraman Tallam  <tmsriram@google.com>
-
-       * object.cc (Relobj::is_section_name_included): Add
-       ".rodata.nptl_version" to not garbage collect this section.
-
-2014-07-08  Cary Coutant  <ccoutant@google.com>
-
-       * expression.cc (struct Expression::Expression_eval_info): Add
-       new fields type_pointer, vis_pointer, and nonvis_pointer.
-       (Expression::eval_maybe_dot): Add type_pointer, vis_pointer, and
-       nonvis_pointer parameters. Adjust all calls.
-       (Symbol_expression::value): Update type, visibility, and nonvis bits
-       in caller.
-       * script.cc (Symbol_assignment::sized_finalize): Update type,
-       visibility, and remaining st_other bits for new symbol.
-       * script.h: (Expression::eval_maybe_dot): Add type_pointer,
-       vis_pointer, and nonvis_pointer parameters.
-       * symtab.h (Symbol::set_type): New method.
-
-       * testsuite/Makefile.am (defsym_test): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/defsym_test.c: New file.
-       * testsuite/defsym_test.sh: New file.
-
-2014-07-08  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/15639
-       * dynobj.h (Sized_dynobj::base_read_symbols): New method.
-       * dynobj.cc (Sized_dynobj::do_read_symbols): Move body to...
-       (Sized_dynobj::base_read_symbols): ...new method.
-       * object.h (Sized_relobj_file::base_read_symbols): New method.
-       * object.cc (Sized_relobj_file::do_read_symbols): Move body to...
-       (Sized_relobj_file::base_read_symbols): ...new method.
-       * arm.cc (Arm_relobj::do_read_symbols): Call base_read_symbols.
-       * mips.cc: (Mips_relobj::do_read_symbols): Likewise.
-       * powerpc.cc (Powerpc_dynobj::do_read_symbols): Likewise.
-
-2014-07-04  Alan Modra  <amodra@gmail.com>
-
-       * po/POTFILES.in: Regenerate.
-
-2014-07-02  Jing Yu  <jingyu@google.com>
-
-       * aarch64.cc: New file
-       * Makefile.am (TARGETSOURCES): Add aarch64.cc
-       (ALL_TARGETOBJS): Add aarch64.$(OBJEXT)
-       * Makefile.in: Regenerate.
-       * configure.tgt: Add entries for aarch64*.
-       * configure.ac:  Likewise.
-       * configure: Likewise.
-
-2014-06-27  Alan Modra  <amodra@gmail.com>
-
-       * symtab.cc (Symbol::should_add_dynsym_entry): Don't make inline.
-
-2014-06-24  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.cc (Dwo_file::read): Allow files with no .debug_types
-       sections.
-       (Dwo_file::sized_read_unit_index): Likewise.
-
-2014-06-23  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * mips.cc: New file.
-       * Makefile.am (TARGETSOURCES): Add mips.cc
-       (ALL_TARGETOBJS): Add mips.$(OBJEXT)
-       * configure.tgt: Add entries for mips*.
-       * configure.ac: Likewise.
-       * Makefile.in: Regenerate.
-       * configure: Likewise.
-
-2014-06-09  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_pubnames_table::read_header): Check that
-       unit_length is within section bounds.
-
-2014-06-09  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/16980
-       * layout.cc (Layout::print_to_mapfile): Print unattached sections in
-       map.
-
-2014-06-07  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (relocate): Treat field of cmpli insn as a bitfield.
-
-2014-06-06  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.h (Dwarf_pubnames_table): Remove output_section_offset_.
-       * dwarf_reader.cc (Dwarf_pubnames_table::read_section): Likewise.
-       (Dwarf_pubnames_table::read_header): Likewise.
-       * layout.cc (gdb_fast_lookup_sections): Add .debug_gnu_pubnames and
-       .debug_gnu_pubtypes.
-
-2014-06-05  Joel Brobecker  <brobecker@adacore.com>
-
-       * Makefile.am (CONFIG_STATUS_DEPENDENCIES): New.
-       * Makefile.in, configure: Regenerate.
-
-2014-06-03  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (addis_12_2): Define.
-       (Stub_table::do_write): Support fusion on ELFv2 stubs.
-
-2014-06-03  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/plugin_test.c (parse_readelf_line): Skip non-visibility
-       st_other output.
-
-2014-06-02  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::local_reloc_may_be_function_pointer):
-       Only ignore relocs on ELFv1.
-       (Target_powerpc::global_reloc_may_be_function_pointer): Likewise.
-
-2014-05-30  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (ehdr_start_test_4): Fix typo in -B option.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/ehdr_start_test_4.sh: Look for "U" instead of "w".
-
-2014-05-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/16945
-       * x86_64.cc (Target_x86_64::Relocate::relocate): Use signed int
-       for got_offset.  Properly get GOT address for R_X86_64_PLTOFF64.
-
-2014-05-15  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (do_plt_fde_location): Handle zero length .glink.
-       Compare FDE contents with DW_CFA_nop rather than 0.
-
-2014-05-13  Sriraman Tallam  <tmsriram@google.com>
-
-       * symtab.h (may_need_copy_reloc): Remove check for position independent
-       code.
-       * x86_64.cc (Target_x86_64<size>::Scan::global): Add check for no
-       position independence before pc absolute may_need_copy_reloc call.
-       Add check for executable output befor pc relative may_need_copy_reloc
-       call.
-       * i386.cc: Ditto.
-       * arm.cc: Ditto.
-       * sparc.cc: Ditto.
-       * tilegx.cc: Ditto.
-       * powerpc.cc: Add check for no position independence before
-       may_need_copy_reloc calls.
-       * testsuite/pie_copyrelocs_test.cc: New file.
-       * testsuite/pie_copyrelocs_shared_test.cc: New file.
-       * Makefile.am (pie_copyrelocs_test): New test.
-       * Makefile.in: Regenerate.
-
-2014-05-08  Martin Liška  <mliska@suse.cz>
-
-       * output.cc (Sized_relobj_file::do_layout): Fix typo in info message.
-
-2014-05-06  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/16900
-       * i386.cc (Output_data_got_plt_i386): New class.
-       (Output_data_plt_i386::Output_data_plt_i386): Change type of got_plt
-       parameter. Change all callers.
-       (Output_data_plt_i386::layout_): Remove.
-       (Output_data_plt_i386::got_plt_): Change type.
-       (Target_i386::got_plt_): Change type. Change all references.
-       (Target_i386::got_section): Create instance of new class.
-       (Output_data_got_plt_i386::do_write): New function.
-       * x86_64.cc (Output_data_got_plt_x86_64): New class.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64): Change type of got_plt
-       parameter. Change all callers.
-       (Output_data_plt_x86_64::layout_): Remove.
-       (Output_data_plt_x86_64::got_plt_): Change type.
-       (Target_x86_64::got_plt_): Change type. Change all references.
-       (Target_x86_64::got_section): Create instance of new class.
-       (Output_data_got_plt_x86_64::do_write): New function.
-       (Output_data_plt_x86_64::do_write): Don't write reserved words in GOT.
-       (Target_x86_64<size>::init_got_plt_for_update): Create instance of new
-       class.
-
-2014-05-05  Cary Coutant  <ccoutant@google.com>
-
-       * gdb-index.cc (Gdb_index_info_reader): Don't complain about language
-       if we have pubnames/pubtypes.
-
-2014-05-02  Cary Coutant  <ccoutant@google.com>
-
-       * defstd.cc (in_segment): Define __ehdr_start here...
-       * layout.cc (Layout::finalize): ...Instead of here.  Set the
-       output segment when known.
-       * resolve.cc (Symbol::override_base_with_special): Remember
-       the original binding.
-       * symtab.cc (Symbol::set_output_segment): New function.
-       (Symbol::set_undefined): New function.
-       * symtab.h (Symbol::is_weak_undefined): Check original undef
-       binding.
-       (Symbol::is_strong_undefined): New function.
-       (Symbol::set_output_segment): New function.
-       (Symbol::set_undefined): New function.
-       * target-reloc.h (is_strong_undefined): Remove.
-       (issue_undefined_symbol_error): Call Symbol::is_weak_undefined.
-       Check for hidden undefs.
-       (relocate_section): Call Symbol::is_strong_undefined.
-
-       * testsuite/Makefile.am (ehdr_start_test_1)
-       (ehdr_start_test_2, ehdr_start_test_3)
-       (ehdr_start_test_4, ehdr_start_test_5): New test cases.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/ehdr_start_def.cc: New source file.
-       * testsuite/ehdr_start_test.cc: New source file.
-       * testsuite/ehdr_start_test.t: New linker script.
-       * testsuite/ehdr_start_test_4.sh: New shell script.
-
-2014-04-23  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/16870
-       * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.
-
-2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * layout.cc (Layout::include_section): Allow a target to decide
-       whether to include a section.
-       * target.h (Target::should_include_section): New function.
-       (Target::do_should_include_section): New function.
-
-2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * copy-relocs.cc (Copy_relocs::Copy_reloc_entry::emit): Remove and
-       inline into ...
-       (Copy_relocs::emit): ... here.
-       * copy-relocs.h (Copy_reloc_entry): Change from class to struct.
-       (Copy_reloc_entry::make_copy_reloc): Change from private to protected.
-       (Copy_reloc_entry::entries_): Change from private to protected.
-
-2014-04-02  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.cc (get_section_contents): Replace copies of reloc
-       vectors with const references.
-
-2014-04-02  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac (HAVE_PUBNAMES): Use C instead of C++.
-       (HAVE_NO_USE_LINKER_PLUGIN): Check for -fno-use-linker-plugin.
-       * configure: Regenerate.
-       * testsuite/Makefile.am (OPT_NO_PLUGINS): New macro for
-       -fno-use-linker-plugin.
-       (LINK1, CXXLINK1): Add it to the link command.
-       * testsuite/Makefile.in: Regenerate.
-
-2014-03-12  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.in: Regenerate.
-
-2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * symtab.h (Symbol::set_nonvis): New function.
-
-2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * symtab.cc (Sized_symbol<32>::init_output_data):
-       Instantiate the template.
-       (Sized_symbol<64>::init_output_data): Likewise.
-
-2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * symtab.cc (Symbol_table::sized_write_globals): Allow a target to
-       adjust dynamic symbol value.
-       * target.h (Target::adjust_dyn_symbol): New function.
-       (Target::do_adjust_dyn_symbol): New function.
-
-2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * output.cc (Output_data_dynamic::Dynamic_entry::write):
-       Get the value of DYNAMIC_CUSTOM dynamic entry.
-       * output.h (Output_data_dynamic::add_custom): New function.
-       (Dynamic_entry::Dynamic_entry): New constructor for DYNAMIC_CUSTOM
-       dynamic entry.
-       (enum Dynamic_entry::Classification): Add DYNAMIC_CUSTOM.
-       * target.h (Target::dynamic_tag_custom_value): New function.
-       (Target::do_dynamic_tag_custom_value): New function.
-
-2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * symtab.cc (Symbol_table::set_dynsym_indexes): Allow a target to set
-       dynsym indexes.
-       * target.h (Target::has_custom_set_dynsym_indexes): New function.
-       (Target::do_has_custom_set_dynsym_indexes): New function.
-       (Target::set_dynsym_indexes): New function.
-       (Target::do_set_dynsym_indexes): New function.
-
-2014-03-07  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relocate_functions::Overflow_check): Add
-       CHECK_UNSIGNED, CHECK_LOW_INSN, CHECK_HIGH_INSN.
-       (Powerpc_relocate_functions::has_overflow_unsigned): New function.
-       (Powerpc_relocate_functions::has_overflow_bitfield,
-       overflowed): Use the above.
-       (Target_powerpc::Relocate::relocate): Correct overflow checking
-       for a number of relocations.  Modify overflow test for 16-bit
-       fields in instructions to signed/unsigned according to whether
-       the field takes a signed or unsigned value.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Scan::local, global): Support
-       R_PPC64_ADDR64_LOCAL.
-       (Target_powerpc::Relocate::relocate): Likewise.
-
-2014-03-03  Alan Modra  <amodra@gmail.com>
-
-       * dwp.cc (print_version): Update copyright year to current.
-
-2014-02-10  Alan Modra  <amodra@gmail.com>
-
-       * po/gold.pot: Regenerate.
-
-2014-02-06  Cary Coutant  <ccoutant@google.com>
-
-       Fix problem where -u is ignored when a weak undef is seen.
-
-       * archive.cc (Library_base::should_include_member): Reorder
-       code to check for -u option if a weak undef has already been seen.
-       * testsuite/Makefile.am (weak_undef_test_2): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/weak_undef_file3.cc: New file.
-       * testsuite/weak_undef_file4.cc: New file.
-       * testsuite/weak_undef_test_2.cc: New file.
-
-2014-02-05  Cary Coutant  <ccoutant@google.com>
-
-       Fix issues with gold undefined symbol diagnostics.
-
-       PR binutils/15435
-       * errors.cc (Errors::undefined_symbol): Move undef vtable symbol
-       check to here.
-       * target-reloc.h (is_strong_undefined): New function.
-       (relocate_section): Move undef vtable symbol check from here.
-       Check for is_strong_undefined.
-
-2014-02-05  Cary Coutant  <ccoutant@google.com>
-
-       Fix problems with the --dynamic-list option.
-
-       PR gold/13577
-       * options.cc (General_options::parse_dynamic_list):
-       Set have_dynamic_list_.
-       (General_options::General_options): Initialize have_dynamic_list_.
-       (General_options::finalize): Turn off -Bsymbolic and
-       -Bsymbolic-functions if --dynamic-list provided.
-       * options.h (General_options::have_dynamic_list): New function.
-       (General_options::have_dynamic_list_): New data member.
-       * symtab.h (Symbol::is_preemptible): Handle --dynamic-list
-       correctly.
-
-       PR gold/16530
-       * symtab.cc (Symbol_table::add_from_relobj): If symbol is named
-       in --dynamic-list, mark it.
-
-       * testsuite/Makefile.am (gc_dynamic_list_test.sh): New test case.
-       (dynamic_list_2): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/dynamic_list_2.cc: New file.
-       * testsuite/dynamic_list_2.t: New file.
-       * testsuite/dynamic_list_lib1.cc: New file.
-       * testsuite/dynamic_list_lib2.cc: New file.
-       * testsuite/gc_dynamic_list_test.c: New file.
-       * testsuite/gc_dynamic_list_test.sh: New file.
-       * testsuite/gc_dynamic_list_test.t: New file.
-
-2014-01-28  Cary Coutant  <ccoutant@google.com>
-
-       Add .gdb_index version 7 support.
-
-       * dwarf_reader.cc: include <utility> (for make_pair).
-       (Dwarf_abbrev_table::do_read_abbrevs): Check for compressed
-       debug sections.
-       (Dwarf_ranges_table::read_ranges_table): Likewise.
-       (Dwarf_pubnames_table::read_section): Check for GNU-style
-       sections, and for compressed debug sections.
-       (Dwarf_pubnames_table::read_header): Compute end address of table.
-       (Dwarf_pubnames_table::next_name): Return flag_byte.  Check
-       for end of list by offset, not by offset == 0.
-       (Dwarf_info_reader::do_read_string_table): Check for compressed
-       debug sections.
-       * dwarf_reader.h (Dwarf_pubnames_table::Dwarf_pubnames_table):
-       Initialize new data members.
-       (Dwarf_pubnames_table::next_name): return flag_byte.
-       (Dwarf_pubnames_table::end_of_table_): New data member.
-       (Dwarf_pubnames_table::is_gnu_style_): New data member.
-       * gdb-index.cc (gdb_index_version): Update to version 7.
-       (Gdb_index_info_reader::read_pubtable): Read flag_byte.
-       (Gdb_index_info_reader::read_pubnames_and_pubtypes): Don't
-       read skeleton type unit DIEs.
-       (Gdb_index::add_symbol): Add flag_byte; adjust all callers.
-       (Gdb_index::do_write): Write flag_byte.
-       * gdb-index.h (Gdb_index::add_symbol): Add flags parameter.
-       (Gdb_index::Cu_vector): Store flags along with cu indexes.
-       * testsuite/gdb_index_test_3.sh: Allow versions 4-7.
-       * testsuite/gdb_index_test_comm.sh: Likewise.
-
-2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * version.cc (print_version): Update copyright year to 2014.
-
-2013-12-19  Dimitry Andric  <dimitry@andric.com>
-
-       * stringpool.cc (Stringpool_template::reserve): Add
-       HAVE_UNORDERED_MAP case.
-       * stringpool.cc (Stringpool_template::print_stats): Likewise.
-
-2013-12-18  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Check for <unordered_set> and <unordered_map>.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-       * system.h: Use <unordered_set> and <unordered_map> if available.
-
-2013-12-10  Roland McGrath  <mcgrathr@google.com>
-
-       * Makefile.am (install-exec-local): Prefix $(INSTALL_PROGRAM) uses
-       with $(INSTALL_PROGRAM_ENV).
-       * Makefile.in: Regenerate.
-
-2013-11-22  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Add check for which library is needed for
-       dlopen.
-       * configure: Regenerate.
-
-2013-11-22  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (exception_x86_64_bnd_test): Use in-tree
-       assembler.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
-       Handle R_X86_64_PC32_BND and R_X86_64_PLT32_BND just like
-       R_X86_64_PC32 and R_X86_64_PLT32, respectively.
-       (Target_x86_64<size>::Scan::local): Likewise.
-       (Target_x86_64<size>::Scan::global): Likewise.
-       (Target_x86_64<size>::Relocate::relocate): Likewise.
-       (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-       (Target_x86_64<size>::Scan::check_non_pic(): Handle
-       R_X86_64_PC32_BND.
-
-       * testsuite/Makefile.am (check_PROGRAMS): Add
-       exception_x86_64_bnd_test.
-       (exception_x86_64_bnd_test_SOURCES): New macro.
-       (exception_x86_64_bnd_test_DEPENDENCIES): Likewise.
-       (exception_x86_64_bnd_test_LDFLAGS): Likewise.
-       (exception_x86_64_bnd_test_LDADD): Likewise.
-       (exception_x86_64_bnd_1.o): New rule.
-       (exception_x86_64_bnd_2.o): Likewise.
-       * testsuite/Makefile.in: Regenerated.
-
-2013-11-15  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::glink_section): Provide non-const
-       accessor.
-       (Target_powerpc::Branch_info::make_stub): Make global entry stubs.
-       Only call ppc64_local_entry_offset for 64-bit.  Restrict
-       symval_for_branch lookup to ELFv1.
-       (Stub_table::add_plt_call_entry): Use unsigned int off.
-       (Output_data_glink::Address, invalid_address): New.
-       (Output_data_glink::add_eh_frame): Move out of line.  Add
-       support for ELFv2.
-       (Output_data_glink::add_global_entry, find_global_entry,
-       global_entry_address): New functions.
-       (Output_data_glink::global_entry_stubs_, end_branch_table_,
-       ge_size): New variables.
-       (Output_data_glink::set_final_data_size): Add global entry
-       stub sizing.
-       (Output_data_glink::do_write): Write global entry stubs.
-       (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Add target
-       parameter.  Return true for ELFv2.  Adjust callers.
-       (Target_powerpc::Scan::local, global): Restrict opd lookup to
-       ELFv1.  Similarly for ifunc and dynamic relocation processing
-       specific to ELFv1.  Recognize that symbols are defined on
-       their plt entries for ELFv2.
-       (Target_powerpc::symval_for_branch): Assert if called for
-       ELFv2 or ppc32.
-       (Target_powerpc::Relocate::relocate): Use global entry plt
-       stub for symbol value if such exists on ELFv2.
-       (Target_powerpc::Relocate::relocate): Don't call
-       symval_for_branch when ELFv2.  Do adjust for local entry
-       offset when ELFv2.
-       (Target_powerpc::do_dynsym_value): Set symbols to global entry
-       plt stub for ELFv2.
-       (Target_powerpc::do_plt_address_for_global): Similarly.
-
-2013-11-14  Cary Coutant  <ccoutant@google.com>
-
-       Revert patch -- this did not fix the problem, and there is
-       no race there.
-
-       2013-11-14  Cary Coutant  <ccoutant@google.com>
-
-           PR gold/14860
-           * ehframe.cc (Eh_frame_hdr::Eh_frame_hdr): Initialize lock_.
-           (Ehframe_hdr::set_final_data_size): Allocate a Lock.
-           * ehframe.h (Eh_frame_hdr::record_fde): Hold the lock while
-           updating fde_offsets_.
-           (Eh_frame_hdr::lock_): New data member.
-
-2013-11-14  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.cc (Dwo_file_entry): New type.
-       (File_list): Use Dwo_file_entry.
-       (Dwo_file::verify): New function.
-       (Dwo_file::verify_dwo_list): New function.
-       (Dwo_file::sized_verify_dwo_list): New function.
-       (Dwo_name_info_reader::visit_compilation_unit): Add dwo_id to file
-       list.
-       (Dwp_options): New enum type.
-       (dwp_options): Add --verify-only.
-       (usage): Likewise.
-       (main): Likewise.
-       * dwp.h (gold_info): Add declaration.
-
-2013-11-14  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/14860
-       * ehframe.cc (Eh_frame_hdr::Eh_frame_hdr): Initialize lock_.
-       (Ehframe_hdr::set_final_data_size): Allocate a Lock.
-       * ehframe.h (Eh_frame_hdr::record_fde): Hold the lock while
-       updating fde_offsets_.
-       (Eh_frame_hdr::lock_): New data member.
-
-2013-11-06  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/15758
-       * object.cc (Sized_relobj_file::do_layout): Handle .eh_frame sections
-       before reloc sections.
-
-2013-11-04  Alan Modra  <amodra@gmail.com>
-
-       * symtab.h (Symbol::Reference_flags): Add FUNC_DESC_ABI.
-       (Symbol::needs_dynamic_reloc): Test new flag.
-       * powerpc.cc (needs_dynamic_reloc, use_plt_offset): Delete.
-       (Target_powerpc::Scan::get_reference_flags): Add target param.
-       Return FUNC_DESC_ABI for 64-bit ELFv1.
-       (Target_powerpc::Branch_info::make_stub): Adjust get_reference_flags
-       call.
-       (Target_powerpc::Scan::global): Use Symbol::needs_dynamic_reloc.
-       (Target_powerpc::Relocate::relocate): Use Symbol::use_plt_offset.
-
-2013-10-31  Cary Coutant  <ccoutant@google.com>
-
-       Restore support for dwp v2 DWARF package file format.
-
-       * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
-       tu_length parameter.  Adjust all callers.
-       * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
-       * dwp.cc: Include dwarf.h.
-       (Section_bounds): New struct type.
-       (Unit_set): New struct type.
-       (Dwo_file::Dwo_file): Initialize new data member.
-       (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
-       Combine and rename to...
-       (Dwo_file::read_unit_index): ...this.
-       (Dwo_file::sized_read_compunit_index)
-       (Dwo_file::sized_read_typeunit_index): Combine and rename to...
-       (Dwo_file::sized_read_unit_index): ...this.
-       (Dwo_file::copy_section): Remove section_name, is_str_offsets
-       parameters; add section_id parameter.
-       (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
-       (Dwo_file::add_unit_set): ...this.
-       (Dwo_file::shndx_map_): Remove.
-       (Dwo_file::sect_offsets_): New data member.
-       (Dwp_output_file::Dwp_output_file): Initialize new data members.
-       (Dwp_output_file::add_section): Rename to...
-       (Dwp_output_file::add_contribution): ...this.
-       (Dwp_output_file::add_cu_set): Combine parameters into a struct.
-       (Dwp_output_file::add_tu_set): Likewise.
-       (Dwp_output_file::Contribution): New type.
-       (Dwp_output_file::Section::contributions): New data member.
-       (Dwp_output_file::Cu_or_tu_set): Remove.
-       (Dwp_output_file::Section::Section): New ctor.
-       (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
-       (Dwp_output_file::Dwp_index::Section_table): New type.
-       (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
-       (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
-       parameter.
-       (Dwp_output_file::Dwp_index::shndx_pool): Remove.
-       (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
-       (Dwp_output_file::Dwp_index::section_table): New member function.
-       (Dwp_output_file::Dwp_index::section_table_end): New member function.
-       (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
-       (Dwp_output_file::Dwp_index::section_table_rows): New member function.
-       (Dwp_output_file::Dwp_index::section_table_cols): New member function.
-       (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
-       (Dwp_output_file::Dwp_index::section_table_): New data member.
-       (Dwp_output_file::Dwp_index::section_mask_): New data member.
-       (Dwp_output_file::add_output_section): New member function.
-       (Dwp_output_file::write_new_section): New member function.
-       (Dwp_output_file::write_contributions): New member function.
-       (Dwp_output_file::section_id_map_): New data member.
-       (class Dwo_id_info_reader): Remove.
-       (class Unit_reader): New class.
-       (get_dwarf_section_name): New function.
-       (Dwo_file::read_executable): Adjust initializations of class data.
-       (Dwo_file::read): Add support for v2 package file format.
-       (Dwo_file::read_unit_index): Likewise.
-       (Dwo_file::sized_read_unit_index): Likewise.
-       (Dwo_file::copy_section): Likewise.
-       (Dwo_file::add_unit_set): Likewise.
-       (Dwp_output_file::add_output_section): Likewise.
-       (Dwp_output_file::add_contribution): Likewise.
-       (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
-       for empty slot.
-       (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
-       file format.
-       (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
-       slot.
-       (Dwp_output_file::initialize): Remove unused function.
-       (Dwp_output_file::finalize): Add support for v2 package file format.
-       (Dwp_output_file::write_index): Likewise.
-       * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
-       function prototype.
-
-2013-10-31  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Fix check for -fmerge-constants.
-       * configure.ac: Regenerate.
-
-2013-10-30  Roland McGrath  <mcgrathr@google.com>
-
-       * x86_64.cc (Output_data_plt_x86_64_nacl::first_plt_entry):
-       Correct 9-byte nop sequence to match what the assembler generates.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::abiversion, set_abiversion,
-       ppc64_local_entry_offset, ppc64_local_entry_offset,
-       do_read_symbols): New functions.
-       (Powerpc_relobj::e_flags_, st_other_): New vars.
-       (Powerpc_relobj::Powerpc_relobj): Call set_abiversion.
-       (Powerpc_dynobj::abiversion, set_abiversion): New functions.
-       (Powerpc_relobj::e_flags_): New var.
-       (Target_powerpc::first_plt_entry_offset, plt_entry_size): Inline
-       and adjust for ELFv2.
-       (Target_powerpc::abiversion, set_abiversion, stk_toc): New functions.
-       (Powerpc_relobj::do_find_special_sections): Check no .opd in ELFv2.
-       (Powerpc_dynobj::do_find_special_sections): Likewise.
-       (Target_powerpc::do_define_standard_symbols): Define ".TOC.".
-       (Target_powerpc::Branch_info::make_stub): Adjust stub destination
-       to ELFv2 local entry.
-       (Target_powerpc::do_relax): No thread safe barriers needed for
-       ELFv2.
-       (Output_data_plt_powerpc::initial_plt_entry_size_,
-       plt_entry_size): Delete.  Replace all uses with
-       first_plt_entry_offset() and plt_entry_size().
-       (Output_data_plt_powerpc::Output_data_plt_powerpc): Remove
-       reserved_size parm.  Update callers.
-       (Output_data_plt_powerpc::entry_count): Update.
-       (Output_data_plt_powerpc::first_plt_entry_offset): Make private
-       and use Target_powerpc::first_plt_entry_offset().
-       (Output_data_plt_powerpc::get_plt_entry_size): Similarly and
-       rename to plt_entry_size.
-       (Output_data_plt_powerpc::add_ifunc_entry,
-       add_local_ifunc_entry): Adjust reloc for ELFv2.
-       (glink_eh_frame_fde_64): Rename to glink_eh_frame_fde_64v1.
-       (glink_eh_frame_fde_64v2): New.
-       (Stub_table::plt_call_size): Support ELFv2 sizing.
-       (Output_data_glink::add_eh_frame): Use the new FDE.
-       (Output_data_glink::set_final_data_size): Adjust for ELFv2 glink.
-       (Stub_table::do_write): Write ELFv2 stubs and glink.
-       (Target_powerpc::Relocate::relocate): Replaces nop after call
-       with ld 2,24(1) and adjust local offset destination for ELFv2.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Scan::check_non_pic): Handle new relocs.
-       (Target_powerpc::Scan::global, local): Likewise.
-       (Target_powerpc::Relocate::relocate): Likewise.  Check for overflow
-       on all ppc64 @h and @ha relocs.
-
-2013-10-14  Alan Modra  <amodra@gmail.com>
-
-       * output.h (Output_data_got::add_constant): Tidy.
-       (Output_data_got::add_constant_pair): New function.
-       * powerpc.cc (Output_data_got_powerpc): Override all Output_data_got
-       methods used so as to first call reserve_ent().
-
-2013-10-11  Roland McGrath  <mcgrathr@google.com>
-
-       * powerpc.cc (Output_data_got_powerpc): Remove unused methods
-       add_got_entry and add_got_entry_pair.
-
-       * configure.ac (TLS_GNU2_DIALECT): Use -Werror in test.
-       (HAVE_PUBNAMES): Likewise.
-       * configure: Regenerate.
-
-       * testsuite/Makefile.am: Replace '-T foo' with '-Wl,-T,foo' throughout.
-       * testsuite/Makefile.in: Regenerate.
-
-       * target.h (Target::adjust_elf_header, Target::do_adjust_elf_header):
-       Remove const from declaration.
-       * target.cc (Sized_target::do_adjust_elf_header): Update definition.
-       * sparc.cc (Target_sparc::do_adjust_elf_header): Likewise.
-       * output.h (Output_file_header): Remove const from member target_
-       and corresponding constructor argument.
-       * output.cc (Output_file_header::Output_file_header): Update prototype.
-       (Output_file_header::do_sized_write): Use this->target_ in place
-       of parameters()->target().
-
-       * testsuite/undef_symbol.cc (Foo::get_a): New method.
-
-       * configure.ac (MERGE_CONSTANTS_FLAG): New check.
-       * configure: Regenerate.
-       * Makefile.in: Regenerate.
-       * testsuite/merge_string_literals_1.c: Renamed to have .cc suffix.
-       * testsuite/merge_string_literals_2.c: Likewise.
-       * testsuite/Makefile.am
-       (merge_string_literals_1.o, merge_string_literals_2.o): Update deps.
-       (AM_CFLAGS, AM_CXXFLAGS): Use $(MERGE_CONSTANTS_FLAG) in place of
-       literal -fmerge-constants.
-       * testsuite/Makefile.in: Regenerate.
-
-       * i386.cc (Target_i386): Remove unused member dynbss_.
-       * arm.cc (Target_arm): Likewise.
-       * powerpc.cc (Target_powerpc): Likewise.
-       * sparc.cc (Target_sparc): Likewise.
-       * tilegx.cc (Target_tilegx): Likewise.
-       * x86_64.cc (Target_x86_64): Likewise.
-       * dwarf_reader.h (Dwarf_info_reader): Remove unused members
-       type_signature_, type_offset_.
-       * plugin.h (Plugin_hook): Remove unused member layout_.
-       * readsyms.h (Add_symbols): Remove unused members dirpath_, dirindex_,
-       mapfile_.
-       (Read_member): Remove unused members input_objects_, symtab_,
-       mapfile_, layout_.
-       (Check_library): Remove unused member symtab_.
-       * archive.h (Lib_group): Remove unused member lib_.
-       * archive.cc (Lib_group::Lib_group): Update initializer.
-       * incremental.h (Incremental_binary): Remove unused member target_.
-       (Incremental_script_entry): Removed unused member script_.
-       * layout.h (Write_symbols_task): Remove unused member input_objects_.
-       * icf.h (Icf): Remove unused member num_tracked_relocs.
-
-       * gold-threads.h (Once): Conditionalize member was_run_lock_ on
-       [ENABLE_THREADS && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4], matching
-       its only use.
-       * gold-threads.cc (Once::Once): Likewise conditionalize initializer.
-
-       * archive.h: Use struct rather than class for forward declaration
-       of Read_symbols_data.
-
-2013-10-07  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/16010
-       * testsuite/Makefile.am (icf_test): Fix dependencies.
-       (icf_safe_test): Likewise.
-       (icf_safe_so_test): Likewise.
-       (large_symbol_alignment): Add empty _LDADD rule.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-09-03  Pavel Chupin  <pavel.v.chupin@intel.com>
-
-       PR gold/15927
-       * x86_64.cc (Target_x86_64<size>::Scan::global): Use relative
-       relocation for R_X86_64_32 on x32.
-
-2013-08-27  Roland McGrath  <mcgrathr@google.com>
-
-       * output.cc (Output_segment::set_section_addresses): Take new
-       Target* argument.  If target->isolate_execinstr() and the segment
-       is executable and starts at a target->abi_pagesize() boundary,
-       pad its end out to a target->abi_pagesize() boundary with code fill.
-       * output.h (Output_segment::set_section_addresses): Update decl.
-       * layout.h (Layout::check_output_data_for_reset_values): Take new
-       argument RELAX_OUTPUTS.
-       (Layout): New member relax_output_list_.
-       (Layout::add_relax_output): New method.
-       * layout.cc (Layout::Layout): Update constructor.
-       (Layout::reset_relax_output): New method.
-       (Layout::clean_up_after_relaxation): Call it.
-       (Layout::prepare_for_relaxation): Update caller.
-       (Layout::set_segment_offsets): Update callers of set_section_addresses.
-       Call reset_relax_output before re-processing segments for
-       isolate_execinstr case.
-       (Layout::write_data): Handle relax_output_list_.
-       (Layout::Relaxation_debug_check::check_output_data_for_reset_values):
-       Take new argument RELAX_OUTPUTS.  Assert it's an empty collection.
-
-2013-08-23  Yuri Chornoivan  <yurchor@ukr.net>
-
-       PR binutils/15834
-       * object.h: Fix typos.
-
-2013-08-16  Roland McGrath  <mcgrathr@google.com>
-
-       * i386.cc (Target_i386_nacl::do_code_fill): New virtual function.
-       * x86_64.cc (Target_x86_64_nacl::do_code_fill): New virtual function.
-
-2013-08-07  Cary Coutant  <ccoutant@google.com>
-
-       Revert support for v2 DWP files:
-
-       2013-03-01  Cary Coutant  <ccoutant@google.com>
-
-           Add dwp support for v2 DWARF package file format.
-           * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
-           tu_length parameter.  Adjust all callers.
-           * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
-           * dwp.cc: Include dwarf.h.
-           (Section_bounds): New struct type.
-           (Unit_set): New struct type.
-           (Dwo_file::Dwo_file): Initialize new data member.
-           (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
-           Combine and rename to...
-           (Dwo_file::read_unit_index): ...this.
-           (Dwo_file::sized_read_compunit_index)
-           (Dwo_file::sized_read_typeunit_index): Combine and rename to...
-           (Dwo_file::sized_read_unit_index): ...this.
-           (Dwo_file::copy_section): Remove section_name, is_str_offsets
-           parameters; add section_id parameter.
-           (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
-           (Dwo_file::add_unit_set): ...this.
-           (Dwo_file::shndx_map_): Remove.
-           (Dwo_file::sect_offsets_): New data member.
-           (Dwp_output_file::Dwp_output_file): Initialize new data members.
-           (Dwp_output_file::add_section): Rename to...
-           (Dwp_output_file::add_contribution): ...this.
-           (Dwp_output_file::add_cu_set): Combine parameters into a struct.
-           (Dwp_output_file::add_tu_set): Likewise.
-           (Dwp_output_file::Contribution): New type.
-           (Dwp_output_file::Section::contributions): New data member.
-           (Dwp_output_file::Cu_or_tu_set): Remove.
-           (Dwp_output_file::Section::Section): New ctor.
-           (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
-           (Dwp_output_file::Dwp_index::Section_table): New type.
-           (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
-           (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
-           parameter.
-           (Dwp_output_file::Dwp_index::shndx_pool): Remove.
-           (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
-           (Dwp_output_file::Dwp_index::section_table): New member function.
-           (Dwp_output_file::Dwp_index::section_table_end): New member function.
-           (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
-           (Dwp_output_file::Dwp_index::section_table_rows): New member function.
-           (Dwp_output_file::Dwp_index::section_table_cols): New member function.
-           (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
-           (Dwp_output_file::Dwp_index::section_table_): New data member.
-           (Dwp_output_file::Dwp_index::section_mask_): New data member.
-           (Dwp_output_file::add_output_section): New member function.
-           (Dwp_output_file::write_new_section): New member function.
-           (Dwp_output_file::write_contributions): New member function.
-           (Dwp_output_file::section_id_map_): New data member.
-           (class Dwo_id_info_reader): Remove.
-           (class Unit_reader): New class.
-           (get_dwarf_section_name): New function.
-           (Dwo_file::read_executable): Adjust initializations of class data.
-           (Dwo_file::read): Add support for v2 package file format.
-           (Dwo_file::read_unit_index): Likewise.
-           (Dwo_file::sized_read_unit_index): Likewise.
-           (Dwo_file::copy_section): Likewise.
-           (Dwo_file::add_unit_set): Likewise.
-           (Dwp_output_file::add_output_section): Likewise.
-           (Dwp_output_file::add_contribution): Likewise.
-           (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
-           for empty slot.
-           (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
-           file format.
-           (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
-           slot.
-           (Dwp_output_file::initialize): Remove unused function.
-           (Dwp_output_file::finalize): Add support for v2 package file format.
-           (Dwp_output_file::write_index): Likewise.
-           * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
-           function prototype.
-
-2013-07-31  Cary Coutant  <ccoutant@google.com>
-
-       * object.cc (Sized_relobj::do_output_section_address): New function.
-       (Sized_relobj): Instantiate explicitly.
-       * object.h (Object::output_section_address): New function.
-       (Object::do_output_section_address): New function.
-       (Sized_relobj::do_output_section_address): New function.
-       * powerpc.cc (Target_powerpc::symval_for_branch): Use it.
-
-2013-07-30  Cary Coutant  <ccoutant@google.com>
-           Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
-
-       * parameters.cc (Parameters::entry): Return target-specific entry
-       symbol name.
-       * target.h (Target::entry_symbol_name): New function.
-       (Target_info::entry_symbol_name): New data member.
-
-       * arm.cc (Target_arm::arm_info): Add entry_symbol_name.
-       * i386.cc (Target_i386::i386_info): Likewise.
-       (Target_i386_nacl::i386_nacl_info): Likewise.
-       * sparc.cc (Target_sparc::sparc_info): Likewise.
-       * tilegx.cc (Target_tilegx::tilegx_info): Likewise.
-       * x86_64.cc: (Target_x86_64::x86_64_info) Likewise.
-       (Target_x86_64_nacl::x86_64_nacl_info) Likewise.
-       * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
-
-2013-07-22  Sterling Augustine  <saugustine@google.com>
-
-       * dwarf_reader.cc (Dwarf_pubnames_table::read_section):
-       Convert parameter shndx to local variable. Add parameters symtab
-       and symtab_size.  Scan over section names.  Find relocation
-       section corresponding to current section.  Create and initialize
-       reloc_mapper_ and reloc_type_.
-       (Dwarf_pubnames_table::read_header):  Add assertion.  Change
-       unit_length to off_t.  Initialize member unit_length_.  Fill in field
-       cu_offset_.
-       * dwarf_reader.h (Dwarf_pubnames_table::Dwarf_pubnames_table):
-       Initialize new fields unit_length_ and cu_offset_.
-       (Dwarf_pubnames_table::read_section): Update prototype.
-       (Dwarf_pubnames_table::cu_offset): New member function.
-       (Dwarf_pubnames_table::subsection_size): Likewise.
-       (Dwarf_pubnames_table::cu_offset_, Dwarf_pubnames_table::unit_length):
-       New fields.
-       (Dwarf_info_reader::symtab, Dwarf_info_reader::symtab_size): Make
-       member functions public.
-       * gdb_index.cc (Gdb_index_info_reader::read_pubnames_and_pubtypes):
-       Update comment.  Rework logic.  Move repeated parts to...
-       (Gdb_index_info_reader::read_pubtable): ...here. New function.
-       (Gdb_index::Gdb_index): Initialize new fields, pubnames_table_,
-       pubtypes_table_, and stmt_list_offset.
-       (Gdb_index::map_pubtable_to_dies, Gdb_index::find_pubname_offset,
-       Gdb_index::find_pubtype_offset,
-       Gdb_index::map_pubnames_and_types_to_dies): Define new functions.
-       (Gdb_index::pubnames_read): Update prototype and rework logic.
-       * gdb_index.h (Gdb_index_info_reader, Dwarf_pubnames_table):
-       Forward declare.
-       (Gdb_index::map_pubtable_to_dies, Gdb_index::find_pubname_offset,
-       Gdb_index::find_pubtype_offset, Gdb_index::pubnames_table)
-       Gdb_index::pubtypes_table, Gdb_index::map_pubnames_and_types_to_dies,
-       Gdb_index::map_pubtable_to_dies):
-       Declare functions.
-       (Gdb_index::pubnames_read): Update declaration.
-       (Gdb_index::Pubname_offset_map): New type.
-       (Gdb_index::cu_pubname_map_, Gdb_index::cu_pubtype_map_,
-       Gdb_index::pubnames_table_, Gdb_index::pubtypes_table_,
-       Gdb_index::stmt_list_offset): Declare.
-       (Gdb_index::pubnames_shndx_, Gdb_index::pubnames_offet_,
-       Gdb_index::pubtypes_object_, Gdb_index::pubtypes_shndx_)
-       Gdb_index::pubtypes_offset_): Remove.
-
-2013-07-19  Roland McGrath  <mcgrathr@google.com>
-
-       * options.h (General_options): Add -Trodata-segment option.
-       * parameters.cc (Parameters::check_rodata_segment): New function.
-       (Parameters::set_target_once): Call it.
-       * parameters.h (Parameters): Declare it (private member function).
-       * layout.cc (load_seg_unusable_for_headers): New function, broken
-       out of Layout::relaxation_loop_body.  If TARGET->isolate_execinstr()
-       then validate rodata segment rather than text segment.
-       (relaxation_loop_body): Call that.
-       (is_text_segment): New function.  Don't admit a non-executable
-       segment if TARGET->isolate_execinstr().
-       (set_segment_offsets): Call it.  Honor -Trodata-segment option.
-
-2013-07-15  Shawn Landden  <shawnlandden@gmail.com>
-
-       PR gold/15070
-       * fileread.h (File_read::get_view): Clarify comment about ALIGNED.
-       * nacl.h (Sniff_file::View::View): Request aligned view.
-
-2013-07-11  Cary Coutant  <ccoutant@google.com>
-
-       * powerpc.cc (Target_powerpc::write_branch_lookup_table): Use
-       correct BRLT entry size.
-
-2013-07-03  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Update self-call
-       comment.
-
-2013-07-01  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_ranges_table::read_ranges_table): Save
-       reloc_type_.
-       (Dwarf_ranges_table::read_range_list): Call lookup_reloc.
-       (Dwarf_ranges_table::lookup_reloc): New function.
-       * dwarf_reader.h (Dwarf_ranges_table::Dwarf_ranges_table): Initialize
-       reloc_type_.
-       (Dwarf_ranges_table::lookup_reloc): New function.
-       (Dwarf_ranges_table::reloc_type_): New data member.
-
-2013-06-27  Jing Yu  <jingyu@google.com>
-
-       PR gold/15662
-       * powerpc.cc (Output_data_brlt_powerpc::reset_brlt_sizes): New
-       function.
-       (Output_data_brlt_powerpc::finalize_brlt_sizes): New function.
-       (Target_powerpc::do_relax): Call the above.
-
-2013-06-27  Cary Coutant  <ccoutant@google.com>
-
-       * powerpc.cc (Target_powerpc::symval_for_branch): Don't assert
-       on garbage collected .opd section.
-
-2013-06-27  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::do_gc_add_reference): Test dst_shndx
-       is non-zero.
-       (Target_powerpc::do_gc_mark_symbols): Likewise for sym->shndx().
-       (Target_powerpc::do_function_location): Likewise for loc->shndx.
-
-2013-06-14  Cary Coutant  <ccoutant@google.com>
-
-       * resolve.cc (Symbol::override_base): Don't override st_type
-       from plugin placeholder symbols.
-       (Symbol_table::resolve): Likewise.
-       (Symbol_table::should_override): Don't complain about TLS mismatch
-       if the TO symbol is a plugin placeholder.
-       * testsuite/Makefile.am (plugin_test_tls): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test_tls.sh: New test script.
-       * testsuite/two_file_test_2_tls.cc: New test source.
-       * testsuite/two_file_test_tls.cc: New test source.
-
-2013-06-05  Alexander Ivchenko  <alexander.ivchenko@intel.com>
-
-       * layout.cc (Layout::set_segment_offsets): Taking care of the case when
-       the maximum segment alignment is larger than the page size.
-       * testsuite/Makefile.am (large_symbol_alignment): Test that Gold
-       correctly aligns the symbols with large alignemnt.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/large_symbol_alignment.cc: New file.
-
-2013-05-30  Alexander Ivchenko  <alexander.ivchenko@intel.com>
-           Sriraman Tallam  <tmsriram@google.com>
-
-       * options.h (sort_section): New option.
-       * output.h (Input_section_sort_section_prefix_special_ordering_compare):
-       Rename from Input_section_sort_section_name_special_ordering_compare.
-       (Input_section_sort_section_name_compare): New struct.
-       * output.cc (Output_section::Input_section_sort_section_name_compare::
-       operator()): New function.
-       (Output_section::sort_attached_input_sections): Use new sort function
-       for .text if --sort-section=name is specified.
-       * layout.cc (Layout::make_output_section):
-       Add sorting by name when --sort-section=name is specified.
-       * testsuite/Makefile.am (text_section_grouping): Test option
-       --sort-section=name.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/section_sorting_name.cc: New file.
-       * testsuite/section_sorting_name.sh: New file.
-
-2013-05-21  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.h (Symbol::is_cxx_vtable): New function.
-       * target-reloc.h (relocate_section): Check for vtable symbol.
-       * testsuite/Makefile.am (missing_key_func.sh): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/missing_key_func.cc: New test source.
-       * testsuite/missing_key_func.sh: New test script.
-
-2013-05-21  Cary Coutant  <ccoutant@google.com>
-
-       * object.cc (Sized_relobj_file::get_symbol_location_info): Set
-       type of enclosing symbol.
-       (Relocate_info::location): Check symbol type when describing symbol.
-       * object.h (Symbol_location_info): Remove unused line_number;
-       add enclosing_symbol_type.
-       * testsuite/debug_msg.sh: Adjust expected output.
-
-2013-05-13  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Export DEFAULT_TARGET.
-       * configure: Regenerate.
-       * Makefile.in: Regenerate.
-       * testsuite/Makefile.am: Add .EXPORT_ALL_VARIABLES.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/debug_msg.sh: Delete duplicate tests.
-       Don't check undef_int error message match for powerpc where the
-       source file and line number aren't available.
-
-2013-05-10  Roland McGrath  <mcgrathr@google.com>
-
-       * options.h (General_options): Add --rosegment-gap option.
-       * options.cc (finalize): --rosegment-gap implies --rosegment.
-       * layout.cc (set_segment_offsets): Let user option override
-       target->rosegment_gap().
-
-2013-05-10  Roland McGrath  <mcgrathr@google.com>
-
-       * options.h (General_options): Remove leading space from help
-       messages for -nostdlib and --rosegment.
-
-2013-05-03  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       PR ld/15365
-       * layout.cc (Layout::finalize): Make __ehdr_start STV_HIDDEN.
-
-2013-05-03  Alan Modra  <amodra@gmail.com>
-
-       * merge.cc (Output_merge_string::do_add_input_section): Correct
-       scan for number of strings.  Rename vars to avoid shadowing.
-       Include missing terminator in input_size_.
-
-2013-05-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * merge.cc (Output_merge_string<Char_type>::do_add_input_section):
-       Restore empty string handling.
-
-2013-05-01  Cary Coutant  <ccoutant@google.com>
-
-       * stringpool.cc (Stringpool_template::new_key_offset): Fix
-       uninitialized warning.
-
-2013-04-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
-
-       * output.cc (Output_section::add_merge_input_section): Allow
-       to merge sections if the alignment is more than character size.
-       * merge.h (Output_merge_string::Output_merge_string): Remove
-       assert.
-       * merge.cc (Output_merge_string<Char_type>::do_add_input_section): Count
-       only not-null strings. Check the alignment of strings.
-       * stringpool.h
-       (Stringpool_template<Stringpool_char>::Stringpool_template): Add
-       alignment as the argument.
-       (Stringpool_template<Stringpool_char>::addralign_): New class member.
-       * stringpool.cc (Stringpool_template<Stringpool_char>::new_key_offset):
-       Align non-zero length strings according to the addralign_.
-       (Stringpool_template<Stringpool_char>::set_string_offsets):
-       Updating offsets according to the given alignment.
-       * testsuite/Makefile.am (text_section_grouping): Test if string
-       literals are getting merged.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/merge_string_literals_1.c: New file.
-       * testsuite/merge_string_literals_2.c: Ditto.
-       * testsuite/merge_string_literals.sh: Ditto.
-
-2013-04-26  Ian Lance Taylor  <iant@google.com>
-
-       * target-reloc.h (relocate_section): If the reloc offset is out of
-       range, pass VIEW as NULL to relocate.relocate.
-       * arm.cc (Target_arm:Relocate::relocate): Check for a NULL view.
-       * i386.cc (Target_i386::Relocate::relocate): Likewise.
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
-       * sparc.cc (Target_sparc::Relocate::relocate): Likewise.
-       * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
-       * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
-
-2013-04-26  Geoff Pike  <gpike@chromium.org>
-
-       * gold.cc (queue_final_tasks): invoke layout->queue_build_id_tasks().
-       * layout.cc (Hash_task): New class.
-       (Layout::queue_build_id_tasks): New function.
-       (Layout::write_build_id): Handle single-thread portion of build ID
-       computation.  (In some cases, all of it is single-threaded.)  Replace
-       {sha1,md5}_process_bytes with {sha1,md5}_buffer to get the same
-       functionality in fewer lines of code.
-       * layout.h (Layout::queue_build_id_tasks): New function declaration.
-       * options.h (General_options): make "--build-id" default to tree
-       rather than sha1.  Add two new options related to --build-id=tree:
-       --build-id-chunk-size-for-treehash and
-       --build-id-min-file-size-for-treehash.
-       * Makefile.am: add testing of --build-id=tree and related new options
-       (these tests will be invoked by "make check").
-       * Makefile.in: Regenerate.
-
-2013-04-25  Alan Modra  <amodra@gmail.com>
-
-       * configure.tgt: Add powerpcle and powerpc64le.
-
-2013-04-22  Alan Modra  <amodra@gmail.com>
-
-       PR gold/15355
-       * layout.cc (Layout::segment_precedes): Allow more than one
-       segment with the same type and flags.
-
-2013-04-15  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::set_relocatable_section_offsets): Don't
-       allocate space in file for BSS sections.
-
-2013-04-15  Cary Coutant  <ccoutant@google.com>
-
-       * script-sections.cc (Orphan_output_section): Reset address
-       to zero after each orphaned section for relocatable links.
-
-2013-04-15  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.cc (Symbol_table::sized_write_globals): Subtract
-       section starting address for relocatable link.
-       * testsuite/Makefile.am (script_test_11): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/script_test_11.c: New source file.
-       * testsuite/script_test_11.t: New linker script.
-
-2013-04-13  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Stub_control::can_add_to_stub_group): Don't set
-       owner when sections are not adjacent and exceed group size.
-       (Target_powerpc::group_sections): Handle corner case.
-       (Target_powerpc::Branch_info::make_stub): Handle case where
-       stub table doesn't exist due to branches in non-exec sections.
-       (Target_powerpc::Relocate::relocate): Likewise.
-
-2013-04-11  Alan Modra  <amodra@gmail.com>
-
-       PR gold/15354
-       * powerpc.cc (Target_powerpc::make_brlt_section): Name section
-       .branch_lt to match bfd ld.  Adjust comments throughout file.
-
-2013-04-04  Ian Lance Taylor  <iant@google.com>
-
-       GCC PR c++/56840
-       * object.cc (do_layout_deferred_sections): Handle .eh_frame
-       sections before checking whether they are included in the link.
-
-2013-03-29  Sriraman Tallam  <tmsriram@google.com>
-
-       * archive.cc (Archive::get_elf_object_for_member):  Create the elf
-       object before calling the plugin claim_file handler.  Pass the elf
-       object of the archive to the plugin. Delete the elf object if the
-       plugin claims the file.
-
-2013-03-21  Alan Modra  <amodra@gmail.com>
-
-       * layout.cc (Layout::set_segment_offsets): Accept writable .text
-       segment when omagic.
-
-2013-03-21  Alan Modra  <amodra@gmail.com>
-
-       * dwp.cc (Dwp_output_file::add_contribution): Avoid signed/unsigned
-       comparison warning.
-       * layout.cc (Layout::create_dynamic_symtab): Avoid "may be used
-       uninitialized" warning.
-
-2013-03-20  Alan Modra  <amodra@gmail.com>
-
-       * symtab.h (Symbol::clear_version): New function.
-       * symtab.cc (Symbol_table::set_dynsym_indexes): Don't set object
-       is_needed by weak references.  Clear version for symbols defined
-       in as-needed objects that are not needed.
-
-2013-03-15  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Make
-       static and public.  Add report_err param.  Return false for data refs.
-       (Target_powerpc::rela_dyn_section): New overloaded function.
-       (Target_powerpc::plt_, iplt_): Elucidate.
-       (Output_data_plt_powerpc::entry_count): Handle current_data_size()==0.
-       (Output_data_plt_powerpc::do_write): Don't write .iplt.
-       (Output_data_plt_powerpc::plt_entry_count): Don't add .iplt entries.
-       (Target_powerpc::Scan::local, global): Adjust reloc_needs_plt_for_ifunc
-       calls.  Put ifunc dynamic relocs in irela_dyn_section.  Only
-       push_branch and make_plt_entry for ifunc syms when
-       reloc_needs_plt_for_ifunc.
-       (Target_powerpc::Relocate::relocate): Don't use plt entry value
-       for ifunc unless reloc_needs_plt_for_ifunc.
-
-2013-03-15  Alan Modra  <amodra@gmail.com>
-
-       * gc.h (gc_process_relocs): Don't look through function descriptors.
-       * icf.cc (get_section_contents): Do so here instead.
-
-2013-03-13  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (is_branch_reloc): Forward declare.
-       (Target_powerpc::do_can_check_for_function_pointers): New predicate.
-       (Target_powerpc::Scan::local_reloc_may_be_function_pointer): Return
-       false for 64-bit, true for 32-bit non-branch relocs.
-       (Target_powerpc::Scan::global_reloc_may_be_function_pointer): Likewise.
-       * testsuite/Makefile.am (icf_test): Use linker map file instead of
-       nm output.
-       (icf_safe_test): Generate linker map file as well as nm output.
-       (icf_safe_so_test): Likewise.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/icf_test.sh: Parse linker map file to determine
-       section folding.
-       * testsuite/icf_safe_test.sh: Likewise.  Expect folding for PowerPC.
-       * testsuite/icf_safe_so_test.sh: Likewise.
-       (X86_32_or_ARM_specific_safe_fold): Merge into..
-       (arch_specific_safe_fold): ..this.
-       (X86_64_specific_safe_fold): Delete unused function.
-
-2013-03-12  Alan Modra  <amodra@gmail.com>
-
-       * gc.h (gc_process_relocs): Look through function descriptors
-       to determine shndx, symvalue and addend used by ICF.  Tidy
-       variable duplication.
-
-2013-03-11  Alan Modra  <amodra@gmail.com>
-
-       * gold.cc (queue_middle_tasks): Move detect_odr_violations..
-       * layout.cc (Layout_task_runner::run): ..to here.
-       * symtab.h (struct Symbol_location): Extract from..
-       (class Symbol_table): ..here.
-       * symtab.cc (Symbol_table::linenos_from_loc): Invoke function_location.
-       * target.h (class Target): Add function_location and
-       do_function_location functions.
-       (class Sized_target): Add do_function_location.
-       * object.h (class Sized_relobj_file): Move find_shdr..
-       (class Object): ..to here.
-       * object.cc: Likewise.  Update to suit.  Instantiate.
-       (Sized_relobj_file::find_eh_frame): Update find_shdr call.
-       * powerpc.cc (class Powerpc_dynobj): New.
-       (Target_powerpc::do_function_location): New function.
-       (Powerpc_relobj::do_find_special_sections): Update find_shdr call.
-       (Powerpc_dynobj::do_read_symbols): New function.
-       (Target_powerpc::do_make_elf_object): Make a Powerpc_dynobj.
-
-2013-03-08  Ian Lance Taylor  <iant@google.com>
-
-       * options.cc (General_options::string_to_object_format): Accept
-       "default".
-
-2013-03-08  Alan Modra  <amodra@gmail.com>
-
-       * ehframe.h (Post_fdes) Make it a vector of Post_fde rather than
-       pointer to Post_fde.
-       (struct Post_fde): Move definition to here..
-       * ehframe.cc (struct Post_fde): ..from here.
-       (Cie::write): Don't alloc Post_fde.
-       (Eh_frame::do_sized_write): Update.  Don't free Post_fde.
-
-2013-03-07  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/discard_locals_relocatable_test.c: Add a powerpc
-       relocation referencing .LC0.
-       * testsuite/discard_locals_test.sh: Remove FIXMEs.
-
-2013-03-07  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/ifunc-sel.h (ifunc_sel, ifunc_one): Mark
-       always_inline.  Add assembly for powerpc to avoid GOT.
-
-2013-03-07  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/script_test_10.sh: Don't test .bss section
-       header number.
-
-2013-03-06  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (class Powerpc_relobj): Move some member functions.
-       (Target_powerpc::symval_for_branch):  Add symtab param.  Update
-       all callers.  Handle folded sections.
-       (Target_powerpc::do_gc_add_reference): Don't cast dynamic object
-       to Powerpc_relobj.
-       (Global_symbol_visitor_opd::operator()): Likewise.
-
-2013-03-04  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/Makefile.am (final_layout_script.lds): Add .sbss.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-03-01  Cary Coutant  <ccoutant@google.com>
-
-       Add dwp support for v2 DWARF package file format.
-       * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
-       tu_length parameter.  Adjust all callers.
-       * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
-       * dwp.cc: Include dwarf.h.
-       (Section_bounds): New struct type.
-       (Unit_set): New struct type.
-       (Dwo_file::Dwo_file): Initialize new data member.
-       (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
-       Combine and rename to...
-       (Dwo_file::read_unit_index): ...this.
-       (Dwo_file::sized_read_compunit_index)
-       (Dwo_file::sized_read_typeunit_index): Combine and rename to...
-       (Dwo_file::sized_read_unit_index): ...this.
-       (Dwo_file::copy_section): Remove section_name, is_str_offsets
-       parameters; add section_id parameter.
-       (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
-       (Dwo_file::add_unit_set): ...this.
-       (Dwo_file::shndx_map_): Remove.
-       (Dwo_file::sect_offsets_): New data member.
-       (Dwp_output_file::Dwp_output_file): Initialize new data members.
-       (Dwp_output_file::add_section): Rename to...
-       (Dwp_output_file::add_contribution): ...this.
-       (Dwp_output_file::add_cu_set): Combine parameters into a struct.
-       (Dwp_output_file::add_tu_set): Likewise.
-       (Dwp_output_file::Contribution): New type.
-       (Dwp_output_file::Section::contributions): New data member.
-       (Dwp_output_file::Cu_or_tu_set): Remove.
-       (Dwp_output_file::Section::Section): New ctor.
-       (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
-       (Dwp_output_file::Dwp_index::Section_table): New type.
-       (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
-       (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
-       parameter.
-       (Dwp_output_file::Dwp_index::shndx_pool): Remove.
-       (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
-       (Dwp_output_file::Dwp_index::section_table): New member function.
-       (Dwp_output_file::Dwp_index::section_table_end): New member function.
-       (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
-       (Dwp_output_file::Dwp_index::section_table_rows): New member function.
-       (Dwp_output_file::Dwp_index::section_table_cols): New member function.
-       (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
-       (Dwp_output_file::Dwp_index::section_table_): New data member.
-       (Dwp_output_file::Dwp_index::section_mask_): New data member.
-       (Dwp_output_file::add_output_section): New member function.
-       (Dwp_output_file::write_new_section): New member function.
-       (Dwp_output_file::write_contributions): New member function.
-       (Dwp_output_file::section_id_map_): New data member.
-       (class Dwo_id_info_reader): Remove.
-       (class Unit_reader): New class.
-       (get_dwarf_section_name): New function.
-       (Dwo_file::read_executable): Adjust initializations of class data.
-       (Dwo_file::read): Add support for v2 package file format.
-       (Dwo_file::read_unit_index): Likewise.
-       (Dwo_file::sized_read_unit_index): Likewise.
-       (Dwo_file::copy_section): Likewise.
-       (Dwo_file::add_unit_set): Likewise.
-       (Dwp_output_file::add_output_section): Likewise.
-       (Dwp_output_file::add_contribution): Likewise.
-       (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
-       for empty slot.
-       (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
-       file format.
-       (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
-       slot.
-       (Dwp_output_file::initialize): Remove unused function.
-       (Dwp_output_file::finalize): Add support for v2 package file format.
-       (Dwp_output_file::write_index): Likewise.
-       * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
-       function prototype.
-
-2013-03-01  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_info_reader::check_buffer): Move
-       function into class definition in header file.
-       (Dwarf_info_reader::warn_corrupt_debug_section): New function.
-       * dwarf_reader.h (Dwarf_info_reader::warn_corrupt_debug_section):
-       New function.
-       (Dwarf_info_reader::check_buffer): Move here from .cc file.
-
-2013-02-28  Alan Modra  <amodra@gmail.com>
-
-       * target.h (Target::plt_fde_location, do_plt_fde_location): Declare.
-       * target.cc (Target::do_plt_fde_location): New function.
-       * ehframe.h (class FDE): Add post_map field to u_.from_linker,
-       accessor function, and constructor param.
-       (struct Post_fde, Post_fdes): Declare.
-       (Cie::write): Add post_fdes param.
-       * ehframe.cc (Fde::write): Use plt_fde_location.
-       (struct Post_fde): Define.
-       (Cie::write): Stash FDEs added post merge mapping.
-       (Eh_frame::add_ehframe_for_plt): Assert no new CIEs after mapping.
-       Adjust Fde constructor call.  Bump final_data_size_ for post map FDEs.
-       (Eh_frame::do_sized_write): Arrange to write post map FDES after
-       other FDEs.
-       * powerpc.cc (Target_powerpc::do_plt_fde_location): New function.
-       (Target_powerpc::has_glink): New function.
-       (Target_powerpc::do_relax): Add eh_frame info for stubs.
-       (struct Eh_cie, eh_frame_cie, glink_eh_frame_fde_64,
-       glink_eh_frame_fde_32, default_fde): New data.
-       (Stub_table::eh_frame_added_): New var.
-       (Stub_table::find_long_branch_entry, stub_address, stub_offset):
-       Make const.
-       (Stub_table::add_eh_frame): New function.
-       (Output_data_glink::add_eh_frame): New function.
-       (Target_powerpc::make_glink_section): Call add_eh_frame.
-
-2013-02-15  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (DEFINE_uint64_alias): Define.
-       (class General_options): Add -Ttext-segment as an alias for
-       -Ttext.
-
-2013-02-15  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Stub_table::plt_off): New function, extracted from..
-       (Stub_table::do_write): ..here, two places.
-       (Stub_table::plt_call_size): Use it here too.
-
-2013-02-11  Ian Lance Taylor  <iant@google.com>
-
-       * descriptors.cc (Descriptors::close_all): New function.
-       * descriptors.h (class Descriptors): Declare close_all.
-       (close_all_descriptors): New inline function.
-       * plugin.cc: Include "descriptors.h".
-       (Plugin_manager::cleanup): Call close_all_descriptors.
-
-2013-02-06  Alan Modra  <amodra@gmail.com>
-
-       * README: Update coding style link.
-
-2013-01-28  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.cc (File_list): New typedef.
-       (Dwo_name_info_reader): New class.
-       (Dwo_id_info_reader::Dwo_id_info_reader): Remove unused parameters.
-       (Dwo_id_info_reader::visit_top_die): Remove unused member function.
-       (Dwo_file::~Dwo_file): Delete input_file_ after obj_.
-       (Dwo_file::read_executable): New function.
-       (Dwo_file::read): Move common setup code to ...
-       (Dwo_file::make_object): ... here.
-       (dwp_options): Add --exec/-e.
-       (usage): Likewise.
-       (main): Likewise.
-
-2013-01-24  Sriraman Tallam  <tmsriram@google.com>
-
-       * layout.cc (Layout::layout): Check for option text_reorder.
-       (Layout::make_output_section): Ditto.
-       * options.h (text_reorder): New option.
-       * output.cc (Input_section_sort_compare): Remove special ordering
-       of section names.
-       (Output_section::
-        Input_section_sort_section_name_special_ordering_compare::
-        operator()): New function.
-       (Output_section::sort_attached_input_sections): Use new sort function
-       for .text.
-       * output.h (Input_section_sort_section_name_special_ordering_compare):
-       New struct.
-       * testsuite/Makefile.am (text_section_grouping): Test option
-       --no-text-reorder
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/text_section_grouping.sh: Check order of functions without
-       default text reordering.
-
-2013-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * options.h (General_options): Change default to true for new_dtags.
-
-2013-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * layout.cc (Layout::finish_dynamic_section): Only add DT_RPATH
-       when enable_new_dtags is false.  Only add DT_RUNPATH when
-       enable_new_dtags is true.
-
-2013-01-17  Serge Pavlov  <serge.v.pavlov@gmail.com>
-
-       * powerpc.cc (Stub_table::find_plt_call_entry): Make types
-       used in declaration and definition consistent.
-       (Target_powerpc::symval_for_branch): Ditto.
-
-2013-01-16  Sriraman Tallam  <tmsriram@google.com>
-
-       * testsuite/plugin_final_layout.cc: Fix comment.
-
-2013-01-16  Sriraman Tallam  <tmsriram@google.com>
-
-       * layout.cc (Layout::layout): Do not do default sorting for
-       text sections when section ordering is specified.
-       (make_output_section): Ditto.
-       * testsuite/plugin_final_layout.cc: Name the function sections
-       to catch reordering issues.
-
-2013-01-15  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::do_relax): Default shared libs to
-       plt-thread-safe.
-
-2013-01-15  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/Makefile.am (final_layout_script.lds): Handle .got section.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-01-14  Alan Modra  <amodra@gmail.com>
-
-       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add various output files.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-01-11  Pavel Chupin  <pavel.v.chupin@intel.com>
-
-       PR bfd/14430
-       Fix mingw gold build with plugins enabled
-       * Makefile.am: Replace -ldl with @DLOPEN_LIBS@.
-       * configure.ac: Export DLOPEN_LIBS and add headers check.
-       * plugin.cc: Handle non-dlfcn case.
-       * Makefile.in: Regenerate.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-01-09  Sriraman Tallam  <tmsriram@google.com>
-
-       * output.h (sort_attached_input_sections): Change to be public.
-       * script-sections.cc
-       (Output_section_definition::set_section_addresses): Sort
-       attached input sections according to section order before linker
-       script assigns section addresses.
-       (Orphan_output_section::set_section_addresses): Sort
-       attached input sections according to section order before linker
-       script assigns section addresses.
-       * Makefile.am (final_layout.sh): Use a simple linker script to
-       check if section ordering still works.
-       * Makefile.in: Regenerate.
-
-2013-01-09  Ben Cheng  <bccheng@google.com>
-
-       * arm.cc (Target_arm::attributes_accept_div): New function.
-       (Target_arm::attributes_forbid_div): New function.
-       (Target_arm::merge_object_attributes): Merge the Tag_DIV_use
-       attribute using the same new functions as what bfd/elf32_arm.c
-       does.
-
-2013-01-07  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/14993
-       * output.cc (Output_section::add_input_section): For incremental
-       updates, don't track input sections that are allocated from patch
-       space.
-
-2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       PR gold/14897
-       * configure.ac (--enable-ld): Removed.
-       (install_as_default): Set to yes only for --enable-gold=default
-       or --disable-ld.
-       * configure: Regenerated.
-
-2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * options.h (General_options): Add -fuse-ld= for GCC linker
-       option compatibility.
-
-2013-01-04  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Fix typo restoring CXXFLAGS.
-       * configure: Regenerate.
-
-2013-01-04  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (CXXLINK_S): New macro.
-       (debug_msg_so.err, debug_msg_ndebug.err): Use CXXLINK_S.
-       * testsuite/Makefile.in: Regenerate.
-
-2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * version.cc (print_version): Update copyright year to 2013.
-
-2012-12-20  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::special_ordering_of_input_section): New
-       function.
-       (Layout::layout): If input section requires special ordering, must
-       sort input sections.
-       (Layout::make_output_section): May sort .text input sections.
-       (Layout::is_section_name_prefix_grouped): Remove.
-       * layout.h (class Layout): Declare
-       special_ordering_of_input_section.  Don't declare
-       is_section_name_prefix_grouped.
-       * output.cc (Output_section::add_input_section): Revert last
-       change.
-       (Output_section::Input_section_sort::match_file_name): Don't crash
-       if called on output section data.
-       (Output_section::Input_section_sort_compare): Sort based on
-       special ordering.
-       (Output_section::Input_section_sort_section_order_index_compare):
-       Revert last patch.
-       (Output_section::sort_attached_input_sections): Likewise.
-
-2012-12-18  Sriraman Tallam  <tmsriram@google.com>
-
-       * layout.cc (Layout::is_section_name_prefix_grouped): New function.
-       * layout.h (Layout::is_section_name_prefix_grouped): New function.
-       * output.cc (Output_section::add_input_section): Check if section
-       name contains special prefix.  Keep input sections to sort such
-       sections.
-       (Output_section::Input_section_sort_section_order_index_compare
-        ::operator()): Group sections according to prefixes.
-       (Output_section::sort_attached_input_sections): Add condition to
-       Input_section_entry constructor call.
-       * testsuite/Makefile.am (text_section_grouping): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/text_section_grouping.cc: New file.
-       * testsuite/text_section_grouping.sh: New file.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * Makefile.am: Add copyright notice.
-       * NEWS: Likewise.
-       * README: Likewise.
-       * configure.ac: Likewise.
-       * ftruncate.c: Likewise.
-       * Makefile.in: Regenerate.
-
-2012-12-14  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (exception_separate_shared_12_test): Add
-       --no-as-needed flag.
-       (exception_separate_shared_12_test): Likewise.
-       (incremental_copy_test): Likewise.
-       * testsuite/Makefile.in: Regenerate.
-
-2012-12-14  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.cc (Dwp_output_file::add_cu_set): Check for duplicate CUs.
-       (Dwp_output_file::Dwp_index::enter_set): Add assert.
-
-2012-12-12  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (class Track_tls): New.
-       (class Relocate, class Scan): Inherit Track_tls.
-       (Target_powerpc::Scan::local, global): Track tls optimization
-       and avoid creating plt entry for __tls_get_addr if all uses
-       are optimized away.
-       (Target_powerpc::Relocate::relocate): Update to use Track_tls.
-
-2012-12-12  Alan Modra  <amodra@gmail.com>
-
-       * options.h (General_options): Add --toc-sort/--no-toc-sort.
-       Replace no_toc_optimize with toc_optimize.
-       * output.h (Output_section::input_sections): Provide non-const variant.
-       * powerpc.cc (Powerpc_relobj::has_small_toc_reloc_,
-       set_has_small_toc_reloc, has_small_toc_reloc): New variable and
-       accessors.
-       (Target_powerpc::Scan::local, global): Call set_has_small_toc_reloc.
-       (class Sort_toc_sections): New.
-       (Target_powerpc::do_finalize_sections): Sort toc sections.
-       (Target_powerpc::Relocate::relocate): Update toc_optimize test.
-
-2012-12-10  Roland McGrath  <mcgrathr@google.com>
-
-       * testsuite/binary_unittest.cc (read_all): New function.
-       (Sized_binary_test): Use it instead of ::read.
-       * fileread.cc (do_read): Don't assume pread always reads the whole
-       amount in a single call.
-
-2012-12-10  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_selector_powerpc::Target_selector_powerpc):
-       Set EM_PPC64 or EM_PPC here.
-       (Target_selector_powerpc::do_recognize): Delete.
-
-2012-12-10  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::Powerpc_relobj): Init has14_ and
-       stub_table_.
-       (Target_powerpc::Branch_info::make_stub): Don't omit addend.
-
-2012-12-07  Roland McGrath  <mcgrathr@google.com>
-
-       * testsuite/binary_unittest.cc (Sized_binary_test):
-       Use open_descriptor rather than ::open.
-
-2012-12-07  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Stub_table::do_write): Delete redundant Address
-       typedef and invalid_address constant.
-       (Output_data_glink, Stub_table, Target_powerpc): Explicitly
-       instantiate constants.
-
-2012-12-06  Roland McGrath  <mcgrathr@google.com>
-
-       * configure.ac (HAVE_ZLIB): Use AM_ZLIB instead of AC_SEARCH_LIBS.
-       Use $ac_cv_header_zlib_h = yes as the condition in AM_CONDITIONAL.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-       * Makefile.in: Regenerate.
-       * testsuite/Makefile.in: Regenerate.
-
-2012-12-07  Alan Modra  <amodra@gmail.com>
-
-       * options.h (General_options): Add no_toc_optimize.
-       * powerpc.cc (ok_lo_toc_insn): New function.
-       (Target_powerpc::Relocate::relocate): Optimize toc access sequences.
-
-2012-12-06  Alan Modra  <amodra@gmail.com>
-
-       * options.h (General_options): Add plt_align, plt_static_chain,
-       plt_thread_safe.  Update stub_group_size help text.
-       * powerpc.cc (Target_powerpc::plt_thread_safe): New access function
-       for new plt_thread_safe_ var.
-       (use_plt_offset): Correct comments.
-       (Target_powerpc::do_relax): Look for thread creation symbols to
-       determine default plt_thread_safe value.  Clear plt call stubs
-       as well as branch stubs each iteration.
-       (add_2_2_11, add_12_12_11, bnectr_p4, cmpldi_2_0, xor_11_11_11): New
-       insn constants.
-       (l, hi, ha, write_insn): Move earlier.
-       (Stub_table): Delete prev_size, add last_plt_size and last_branch_size.
-       (Stub_table::clear_stubs): Rename from clear_long_branch_stubs, clear
-       plt stubs too.
-       (Stub_table::update_size): Adjust.
-       (Stub_table::prev_size, set_prev_size): Delete.
-       (Stub_table::stub_align): Let --plt-align affect result.
-       (Stub_table::plt_call_size): Calculate sizes for various stubs.
-       (Stub_table::branch_stub_size): Use last_plt_size in address calc.
-       (Stub_table::add_plt_call_stub): Pass iterator to plt_call_size.
-       (Stub_table::do_write): Support more stub variants.
-
-2012-12-04  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::do_scan_relocs): Delete.
-       (Target_powerpc::do_define_standard_symbols): New function.
-
-2012-12-03  Alan Modra  <amodra@gmail.com>
-
-       * output.h: Formatting, whitespace.
-
-2012-12-03  Alan Modra  <amodra@gmail.com>
-
-       * layout.h (Layout::get_executable_sections): Declare.
-       * layout.cc (Layout::get_executable_sections): New function.
-       * arm.cc (Target_arm::group_sections): Use it.
-       (Arm_output_section::group_sections): Delete now redundant test.
-       * output.cc (Output_reloc::Output_reloc): Add is_relative.
-       param to handle relative relocs.
-       * output.h (Output_reloc::Output_reloc <absolute reloc>): Likewise.
-       (Output_data_reloc::add_absolute): Adjust.
-       (Output_data_reloc::add_relative): New function.
-       (Output_data::reset_data_size): New function.
-       (Output_relaxed_input_section::set_relobj, set_shndx): New functions.
-       (Output_section::set_addralign): New function.
-       (Output_section::checkpoint_set_addralign): New function.
-       (Output_section::clear_section_offsets_need_adjustment): New function.
-       (Output_section::input_sections): Make public.
-       * powerpc.cc (class Output_data_brlt_powerpc): New.
-       (class Stub_table, class Stub_control): New.
-       (Powerpc_relobj::has14_, set_has_14bit_branch, has_14bit_branch,
-       stub_table_, set_stub_table, stub_table): New vectors and accessor
-       functions.
-       (Target_powerpc::do_may_relax, do_relax, push_branch,
-       new_stub_table, stub_tables, brlt_section, group_sections,
-       add_branch_lookup_table, find_branch_lookup_table,
-       write_branch_lookup_table, make_brlt_section): New functions.
-       (Target_powerpc::struct Sort_sections, class Branch_info): New.
-       (Target_powerpc::brlt_section_, stub_tables_, branch_lookup_table_,
-       branch_info_): New vars.
-       (Target_powerpc::make_plt_entry, make_local_ifunc_plt_entry): Don't
-       make call stubs here.
-       (Output_data_glink): Remove all call stub handling from this class.
-       (Target_powerpc::Scan::local, global): Save interesting branch
-       relocs and relocs for ifunc.  Adjust calls to plt entry functions.
-       (Target_powerpc::do_finalize_sections): Only make reg save/restore
-       functions on final link.
-       (Target_powerpc::Relocate::relocate): Adjust lookup of call stubs.
-       Handle long branch destinations too.
-       (Target_powerpc::do_dynsym_value, do_plt_address_for_global,
-       do_plt_address_for_local): Adjust lookup of plt call stubs.
-
-2012-11-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.c (Target_powerpc::Scan::global): Don't emit relative
-       relocs against protected symbols when building 32-bit shared libs.
-
-2012-11-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::make_plt_section): Add symtab
-       param.  Call got_section() to make .got.  Update all callers
-       and their callers and so on.
-
-2012-11-30  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::do_scan_relocs): Make STB_LOCAL
-       _GLOBAL_OFFSET_TABLE_ rather than STB_WEAK.
-       (Output_data_got_powerpc::make_header): Update _GLOBAL_OFFSET_TABLE_
-       value if it already exists.
-
-2012-11-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/14858
-       * x86_64.cc (Relocate::tls_ld_to_le): Support x32.
-
-2012-11-14  Roland McGrath  <mcgrathr@google.com>
-
-       * arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather
-       than bfc instruction for data sandboxing.
-
-2012-11-08  Alan Modra  <amodra@gmail.com>
-
-       * po/POTFILES.in: Regenerate.
-
-2012-11-05  Alan Modra  <amodra@gmail.com>
-
-       * configure.ac: Apply 2012-09-10 change to config.in here.
-       * configure: Regenerate.
-
-2012-11-05  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj): Delete "Offset" typedef.
-       (struct Opd_ent): Use "Address" rather than "Offset".
-       (Output_data_got_powerpc::got_base_offset): Return Valtype.
-       (Target_powerpc::got_section): Make public.
-       (Target_powerpc::scan_relocs): Move code setting symbols..
-       (Powerpc_relobj::do_scan_relocs): ..to here, new function.
-       Create _SDA_BASE_ only when referenced.
-
-2012-11-02  Roland McGrath  <mcgrathr@google.com>
-
-       * i386.cc (Target_i386::relocate_relocs): Remove extraneous typename
-       from last change.
-
-2012-11-01  Roland McGrath  <mcgrathr@google.com>
-
-       * target.h (Sized_target::relocate_relocs): Use Elf_Off
-       for offset_in_output_section parameter.
-       (Sized_target::relocate_special_relocatable): Likewise.
-       * arm.cc (Target_arm::relocate_relocs): Likewise.
-       (Target_arm::relocate_special_relocatable): Likewise.
-       * i386.cc (Target_i386::relocate_relocs): Likewise.
-       * powerpc.cc (Target_powerpc::relocate_relocs): Likewise.
-       * sparc.cc (Target_sparc::relocate_relocs): Likewise.
-       * target-reloc.h (relocate_relocs): Likewise.
-       * testsuite/testfile.cc (Target_test): Likewise.
-       * tilegx.cc (Target_tilegx::relocate_relocs): Likewise.
-       * x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
-
-       * system.h: Move inclusion of <clocale> to after <libintl.h> in
-       [ENABLE_NLS] section, and separately at top of [!ENABLE_NLS] section.
-
-       * descriptors.cc (set_close_on_exec): Add ATTRIBUTE_UNUSED to the
-       parameter, which is unused in the [!F_SETFD] case.
-
-       * dwarf_reader.cc (Sized_elf_reloc_mapper::symbol_section): Cast
-       SYMNDX to off_t before comparing it to this->data_size().
-       * output.cc (Output_symtab_xindex::endian_do_write): Likewise.
-       * incremental.cc (Output_section_incremental_inputs::do_write):
-       Cast GLOBAL_SYM_COUNT to off_t before comparing it to SYMTAB_SIZE.
-
-       * nacl.cc: Include "libiberty.h" for vasprintf declaration.
-
-2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
-
-       * gold.cc (Target_arm::do_adjust_elf_header): Add the
-       hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC
-       in EABI_VER5.
-
-2012-10-29  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.cc (usage): Add file and exit status parameters;
-       add --help and --version options.
-       (print_version): New function.
-       (main): Add --help and --version options.
-
-2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add
-       final_layout_sequence.txt.
-       * testsuite/Makefile.in: Regenerated.
-
-2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (COMPILE1): New variable. Renamed from
-       COMPILE generated by automake.
-       (LINK1): Likewise.
-       (CXXCOMPILE1): Likewise.
-       (CXXLINK1): Likewise.
-       (COMPILE): Strip out -Wp,-D_FORTIFY_SOURCE= from COMPILE1.
-       (LINK): Likewise.
-       (CXXCOMPILE): Likewise.
-       (CXXLINK): Likewise.
-       * testsuite/Makefile.in: Regenerated.
-
-2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwp.cc (Dwo_file::record_target_info): Issue a fatal error
-       on bad fwrite return.
-
-2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type
-       on val.
-
-2012-10-23  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (TEST_OBJCOPY): New macro.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/dwp_test.h: New source file.
-       * testsuite/dwp_test_1.cc: New source file.
-       * testsuite/dwp_test_1.s: New source file.
-       * testsuite/dwp_test_1.sh: New source file.
-       * testsuite/dwp_test_1b.cc: New source file.
-       * testsuite/dwp_test_1b.s: New source file.
-       * testsuite/dwp_test_2.cc: New source file.
-       * testsuite/dwp_test_2.s: New source file.
-       * testsuite/dwp_test_2.sh: New source file.
-       * testsuite/dwp_test_main.cc: New source file.
-       * testsuite/dwp_test_main.s: New source file.
-
-2012-10-23  Cary Coutant  <ccoutant@google.com>
-
-       * dwp.h: New header file.
-       * dwp.cc: New source file.
-       * gold.h: Move shared declarations to system.h.
-       * system.h: New header file.
-       * Makefile.am: Add dwp.
-       * Makefile.in: Regenerate.
-
-2012-10-23  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_ranges_table::read_range_list): Call
-       Dwarf_info_reader::read_from_pointer.
-       (Dwarf_pubnames_table::read_header): Likewise.
-       (Dwarf_pubnames_table::next_name): Likewise.
-       (Dwarf_die::read_attributes): Likewise.
-       (Dwarf_die::skip_attributes): Likewise.
-       (Dwarf_info_reader::read_from_pointer): New function template.
-       * dwarf_reader.h (Dwarf_ranges_table): Add dwinfo_.
-       (Dwarf_pubnames_table): Likewise.
-       (Dwarf_info_reader::read_from_pointer): New function template.
-       * gdb-index.cc (Gdb_index_info_reader): Adjust call to
-       Dwarf_pubnames_table ctor.
-
-2012-10-23  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_info_reader::do_parse): Use stored
-       abbrev_shndx.
-       * dwarf_reader.h (Dwarf_info_reader::Dwarf_info_reader): Initialize
-       abbrev_shndx_.
-       (Dwarf_info_reader::set_abbrev_shndx): New method.
-       (Dwarf_info_reader::abbrev_shndx_): New data member.
-
-2012-10-23  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (make_elf_reloc_mapper): Check size and endianness
-       from object, not parameters.
-       (Dwarf_info_reader::parse): Likewise.
-       * object.h (Relobj::elfsize, Relobj::is_big_endian): New methods.
-       (Relobj::do_elfsize, Relobj::do_is_big_endian): New methods.
-       (Sized_relobj::do_elfsize, Sized_relobj::do_is_big_endian): New
-       methods.
-
-2012-10-23  Cary Coutant  <ccoutant@google.com>
-
-       * fileread.cc (Input_file::Input_file): New constructor.
-       * fileread.h (class Input_file): Add new constructor.
-
-2012-10-18  Alan Modra  <amodra@gmail.com>
-
-       PR gold/14727
-       * object.cc (Relobj::is_section_name_included): Also match
-       .sdata personality section.
-
-2012-10-18  Alan Modra  <amodra@gmail.com>
-
-       * target-reloc.h (class Default_comdat_behavior): New, package up..
-       (get_comdat_behaviour): ..this.
-       (relocate_section): Add Relocate_comdat_behavior template arg,
-       adjust code to suit.
-       * arm.cc (Target_arm::relocate_section): Adjust to suit.
-       (Target_arm::scan_reloc_section): Likewise.
-       * i386.cc (Target_i386::relocate_section): Likewise.
-       * sparc.cc (Target_sparc::relocate_section): Likewise.
-       * tilegx.cc (Target_tilegx::relocate_section): Likewise.
-       * x86_64.cc (Target_x86_64::relocate_section): Likewise.
-       * powerpc.cc (class Relocate_comdat_behavior): New.
-       (Target_powerpc::relocate_section): Don't zap opd relocs.  Supply
-       gold::relocate_section with new template arg.
-
-2012-10-18  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::Scan::local, global): Always emit
-       dynamic relocs for GOT_TPREL got entries, without symbol if
-       resolving locally.
-       (Target_powerpc::do_gc_add_reference): Don't add for dynamic objects.
-       (Target_powerpc::scan_relocs): Define _GLOBAL_OFFSET_TABLE_ early.
-       (Target_powerpc::Relocate:relocate): REL32 reloc may be unaligned.
-
-2012-10-17  Alan Modra  <amodra@gmail.com>
-
-       PR gold/14726
-       * gold.cc (queue_middle_tasks): Call gc_mark_symbol on _init and _fini.
-
-2012-10-16  Sriraman Tallam  <tmsriram@google.com>
-
-       * layout.cc (Layout::include_section): Keep sections marked
-       SHF_EXCLUDE when doing relocatable links.
-
-2012-10-16  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::define_save_restore_funcs): New func.
-       (Target_powerpc::do_finalize_sections): Call it.
-       (Output_data_save_res): New class and supporting functions.
-       (Target_powerpc::symval_for_branch): Only look up .opd entry for
-       normal symbols defined in object files.
-
-2012-10-12  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::add_gc_mark, process_gc_mark): New.
-       (struct Opd_ent): Make "discard" a bit field.  Add "gc_mark".
-       (Target_powerpc::do_gc_mark_symbol): Delay marking function code
-       section if scan_opd_relocs not yet called.
-       (Target_powerpc::gc_process_relocs): Call process_gc_mark.
-
-2012-10-12  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Output_data_plt_powerpc::add_entry, add_ifunc_entry,
-       add_local_ifunc_entry): Revert last change.
-       (Target_powerpc::make_plt_entry, make_local_ifunc_plt_entry): Likewise.
-
-2012-10-05  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::do_plt_address_for_local,
-       do_plt_address_for_global): New functions.
-       (Output_data_got_powerpc::do_write): Don't segfault when linking
-       statically.
-       (Output_data_plt_powerpc::add_entry, add_ifunc_entry,
-       add_local_ifunc_entry): Return true on adding entry..
-       (Target_powerpc::make_plt_entry): ..use to avoid unnecessary
-       glink->add_entry call.  Remove unused symtab param.  Adjust calls.
-       (Target_powerpc::make_local_ifunc_plt_entry): Likewise.
-       (Target_powerpc::make_iplt_section): Remove symtab param.  Don't
-       set up symbols here.
-       (Target_powerpc::do_finalize_sections): Instead set up __rela_iplt
-       syms here.  Do so even when no .iplt.  Don't segfault when linking
-       statically.
-       (Output_data_glink::add_entry, find_entry): Rearrange params.  Add
-       new variants without reloc param.
-       (Glink_sym_ent::Glink_sym_ent): Likewise.
-       (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Accept any
-       reloc when refs will resolve to plt call stub.
-       (Target_powerpc::Scan::local): Correct ifunc handling.  Allow
-       R_PPC_PLTREL24 to resolve locally.
-       (Target_powerpc::Scan::global): Correct ifunc handling.
-       (Target_powerpc::Relocate::relocate): Correct local sym glink
-       lookup.  Don't destroy "value" when we have a plt call stub,
-       and when checking plt call validity.
-       (Target_powerpc::do_dynsym_value): Simplify.
-
-2012-10-05  Alan Modra  <amodra@gmail.com>
-
-       * i386.cc (Output_data_plt_i386::address_for_global,
-       address_for_local): Add plt offset to returned value.  Adjust uses.
-       * sparc.cc (Output_data_plt_sparc::address_for_global,
-       address_for_local): Likewise.
-       * tilegx.cc (Output_data_plt_tilegx::address_for_global,
-       address_for_local): Likewise.
-       * x86_64.cc (Output_data_plt_x86_64::address_for_global,
-       address_for_local): Likewise.
-       * target.h (Target::plt_address_for_global, plt_address_for_local):
-       Update comment.
-       * output.cc (Output_reloc::symbol_value): Don't add plt offset here.
-       (Output_data_got::Got_entry::write): Nor here.
-       * output.h: Comment fix.
-
-2012-10-02  Jiong Wang  <jiwang@tilera.com>
-
-       * tilegx.cc (Target_tilegx::do_finalize_sections): Adjust
-       global_offset_table_ value for larget got.
-       (Target_tilegx::Relocate::relocate): Handle adjusted got value.
-
-2012-09-29  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Target_powerpc::iplt_): New output section.
-       (Target_powerpc::iplt_section, make_iplt_section,
-       reloc_needs_plt_for_ifunc, make_local_ifunc_plt_entry): New functions.
-       (Target_powerpc::make_plt_entry): Handle ifunc syms.
-       Target_powerpc::plt_entry_count): Count iplt entries too.
-       (Output_data_plt_powerpc::Output_data_plt_powerpc): Don't create
-       reloc section in constructor.  New params.
-       (Target_powerpc::make_plt_section): Create reloc section here instead.
-       (Output_data_plt_powerpc::add_ifunc_entry, add_local_ifunc_entry): New
-       functions.
-       (Output_data_plt_powerpc::initial_plt_entry_size_, name_): New vars.
-       (Output_data_glink::add_entry, find_entry): New functions to
-       deal with local syms.
-       (Glink_sym_ent): Add support for local syms.
-       (Output_data_glink::do_write): Handle ifunc plt entries.
-       (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
-       (Target_powerpc::Scan::local, global): Handle ifunc syms.
-       (Target_powerpc::Relocate::relocate): Likewise.
-       (Target_powerpc::do_dynsym_value): Use glink stub, not plt entry.
-
-2012-09-25  Alan Modra  <amodra@gmail.com>
-
-       * object.h (Sized_relobj_file::adjust_local_symbol,
-       do_adjust_local_symbol): New functions.
-       * object.cc (Sized_relobj_file::do_count_local_symbols): Use the above.
-       * powerpc.cc (Powerpc_relobj::do_adjust_local_symbol): New function.
-       (Powerpc_relobj::scan_opd_relocs): Warn on unexpected opd relocs
-       and irregular opd entry spacing.
-       (Powerpc_relobj::do_read_relocs): Add opd size checks.
-       (Global_symbol_visitor_opd): New functor.
-       (Target_powerpc::do_finalize_sections): Omit global symbols defined
-       on deleted opd entries.
-
-2012-09-15  Jiong Wang  <jiwang@tilera.com>
-
-       * tilegx.cc: New file.
-       * Makefile.am (TARGETSOURCES): Add tilegx.cc
-       (ALL_TARGETOBJS): Add tilegx.$(OBJEXT)
-       * configure.tgt: Add entries for tilegx*.
-       * configure.ac: Likewise.
-       * Makefile.in: Rebuild.
-       * configure: Likewise.
-       * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Handle
-       tilegx.
-
-2012-09-13  Alan Modra  <amodra@gmail.com>
-
-       * target-reloc.h (scan_relocs): Call scan.local for relocs
-       against symbols in discarded sections.  Pass is_discarded
-       param.
-       * arm.cc, * i386.cc, * sparc.cc, * x86_64.cc (Target_*::Scan::local):
-       Add is_discarded param.
-       * powerpc (Target_powerpc::Scan::local): Likewise.  Use
-       is_discarded to flag opd entry as discarded.  Don't emit dyn
-       relocs on such entries.
-       (Target_powerpc::Scan::global): Similarly detect and handle
-       such opd entries.
-       (Powerpc_relobj): Replace opd_ent_shndx_ and opd_ent_off_ with
-       opd_ent_.  Update all uses.
-       (Powerpc_relobj::get_opd_discard, set_opd_discard): New functions.
-       (Target_powerpc::relocate_section): Zero out discarded opd
-       entry relocs.
-
-2012-09-12  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/14570
-       * output.cc: Rename Output_data_got template parameter from size
-       to got_size for all functions.  Compile all variants of
-       Output_data_got.
-       (Output_data_got::Got_entry::write): Correct use of size for
-       symbol value.  Use local_is_tls rather than casting to
-       Sized_relobj_file.
-       * object.h (class Object): Add local_is_tls and do_local_is_tls.
-       (class Sized_relobj_file): Add do_local_is_tls.
-       * incremental.h (class Sized_relobj_incr): Add do_local_is_tls.
-
-2012-09-11  Alan Modra  <amodra@gmail.com>
-
-       PR gold/14566
-       * layout.cc (Layout::set_segment_offsets): When using
-       common-page-size alignment, ensure we are on a new max-page-size
-       page.
-       * output.cc (Output_segment::set_section_addresses): Use
-       abi_pagesize, not common_pagesize for relro boundary.
-       (Output_segment::set_offset): Likewise.
-
-2012-09-11  Alan Modra  <amodra@gmail.com>
-
-       * output.h (Output_data_got::add_global_tls, add_local_tls,
-       add_local_tls_pair): New functions.
-       (Output_data_got::add_local_pair_with_rel): Remove second
-       reloc param.  Expand comment.
-       (Output_data_got::Got_entry): Rename use_plt_offset_ to
-       use_plt_or_tls_offset_, similarly for constructor param.
-       (Output_data_got::Got_entry::write): Add got_index param.
-       * output.cc (Output_data_got::add_global_tls, add_local_tls,
-       add_local_tls_pair): New functions.
-       (Output_data_got::Got_entry::write): Handle tls symbols
-       with use_plt_or_tls_offset_ set specially.
-       (Output_data_got::add_local_pair_with_rel): Only one reloc.
-       (Output_data_got::do_write): Replace iterator with index, pass
-       index to entry write function.
-       * target.h (Target::tls_offset_for_local, tls_offset_for_global,
-       do_tls_offset_for_local, do_tls_offset_for_global): New functions.
-       * arm.cc (Target_arm::Scan::local): Update add_local_pair_with_rel
-       call.
-       * i386.cc (Target_i386::Scan::local): Likewise.
-       * sparc.cc (Target_sparc::Scan::local): Likewise.
-       * x86_64.cc (Target_x86_64::Scan::local): Likewise.
-       * powerpc.cc (Target_powerpc::do_tls_offset_for_local,
-       do_tls_offset_for_global): New functions.
-       (Target_powerpc::Scan::local): Correct TLS relocations and got
-       entry values.
-       (Target_powerpc::Scan::global): Don't emit unnecessary
-       dynamic relocations on TLS GOT entries.
-
-2012-09-10  Matthias Klose  <doko@ubuntu.com>
-
-       * config.in: Disable sanity check for kfreebsd.
-
-2012-09-10  Sterling Augustine  <saugustine@google.com>
-
-       * gdb-index.cc (Gdb_index::pubnames_read): New parameter.
-       (Gdb_index::pubtypes_read): New parameter.
-       (Gdb_index_info_reader::read_pubnames_and_pubtypes): Add parameters
-       to calls.
-       * gdb-index.h (Gdb_index): New fields pubnames_object_ and
-       pubtypes_object_.
-
-2012-09-09  Alan Modra  <amodra@gmail.com>
-
-       * target.h (Target::gc_mark_symbol, do_gc_mark_symbol): New functions.
-       (Sized_target::gc_add_reference, do_gc_add_reference): New functions.
-       * gc.h (gc_process_relocs): Call target gc_add_reference.
-       * gold.cc (queue_middle_tasks): Use gc_mark_symbol on start sym.
-       * symtab.cc (Symbol_table::gc_mark_undef_symbols): Use gc_mark_symbol.
-       (Symbol_table::gc_mark_symbol): Call target gc_mark_symbol. Remove
-       unnecessary cast.
-       * powerpc.cc (Powerpc_relobj::get_opd_ent): Rearrange parameters
-       to cater for when we don't need code offset.  Update use.
-       (Powerpc_relobj::access_from_map_, opd_valid_): New vars.
-       (Powerpc_relobj::access_from_map, add_reference, opd_valid,
-       set_opd_valid): New functions.
-       (Target_powerpc::do_gc_add_reference): New function.
-       (Target_powerpc::gc_process_relocs): Call gc()->add_reference on
-       stashed refs.
-       (Target_powerpc::do_gc_mark_symbol): New function.
-
-2012-09-06  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_die::read_attributes): Add
-       DW_FORM_GNU_addr_index and DW_FORM_GNU_str_index.
-       (Dwarf_die::skip_attributes): Likewise.
-       * object.cc (Read_symbols_data::~Read_symbols_data): Update comment.
-       * testsuite/gdb_index_test.cc (inline_func_1): New function.
-       (main): Call it.
-       * testsuite/gdb_index_test_comm.sh: Check index for inline function.
-
-2012-09-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/script_test_3.t: Add .got.plt output section
-       statement.
-       * testsuite/script_test_4.t: Likewise.
-
-2012-09-05  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relocate_functions): Upcase enum values,
-       update all uses and lose "enum" when using type.
-
-2012-09-05  Alan Modra  <amodra@gmail.com>
-
-       * configure.ac (FN_PTRS_IN_SO_WITHOUT_PIC): False for powerpc.
-       * configure: Regenerate.
-       * testsuite/Makefile.am (final_layout.stdout): Pass --synthetic to nm.
-       (plugin_final_layout.stdout): Likewise.
-       (memory_test): Set page sizes to 0x1000.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/discard_locals_test.sh: Add FIXME comment.
-       * testsuite/justsyms_exec.c: Disable function test for powerpc64.
-       * testsuite/pr14265.t: Add .got output section statement.
-       * testsuite/script_test_2.t: Likewise.
-       * testsuite/script_test_3.t: Likewise.
-       * testsuite/script_test_4.t: Likewise.
-       * testsuite/script_test_5.t: Likewise.
-       * testsuite/script_test_6.t: Likewise.
-       * testsuite/script_test_7.t: Likewise.
-       * testsuite/script_test_9.t: Likewise.
-
-2012-09-05  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::get_opd_ent): Make const.
-       (Powerpc_relocate_functions::Status): New typedef.
-       (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
-       (Target_powerpc::Scan::local): Handle REL64.
-       (Target_powerpc::Scan::global): Likewise, and dynamic relocs
-       for REL32 and REL64.
-       (Target_powerpc::symval_for_branch): New function, extracted from..
-       (Target_powerpc::Relocate::relocate): ..here.  Correct plt call
-       checks.  Report overflow errors.
-
-2012-09-05  Alan Modra  <amodra@gmail.com>
-
-       * object.h (Sized_relobj_file::emit_relocs): Delete.
-       (Sized_relobj_file::emit_relocs_reltype): Delete.
-       * reloc.cc (Sized_relobj_file::do_relocate_sections): Call target
-       relocate_relocs for --emit-relocs.
-       (Sized_relobj_file::emit_relocs, emit_relocs_reltype): Delete.
-       * output.h: Update comment.
-       (Output_segment::first_section): New function.
-       (Output_segment::first_section_load_address): Use first_section.
-       * output.cc (Output_segment::first_section): New function extracted..
-       (Output_segment::first_section_load_address): ..from here.  Delete.
-       * target-reloc.h (relocate_for_relocatable): Rename to relocate_relocs.
-       * target.h (Sized_target::relocate_for_relocatable): Likewise.
-       * arm.cc (Target_arm::relocate_for_relocatable): Likewise, and
-       adjust call to target.h function.
-       * i386.cc (Target_i386): Likewise.
-       * sparc.cc (Target_sparc): Likewise.
-       * x86_64.cc (Target_x86_64): Likewise.
-       * powerpc.cc (Target_powerpc): Likewise.
-       (Target_powerpc::Scan::local, global): Handle R_POWERPC_TLS.  Ensure
-       first tls section has section symbol for optimised local dynamic
-       output relocs.
-       (Target_powerpc::Relocate::relocate): Correct local dynamic value.
-       (Target_powerpc::relocate_relocs): Adjust relocs emitted for
-       optimised tls code.
-       * testsuite/testfile.cc (Target_test::relocate_for_relocatable):
-       Rename to relocate_relocs.  Update error message.
-
-2012-09-04  Andreas Schwab  <schwab@linux-m68k.org>
-
-       * powerpc.cc (do_make_elf_object): Allow ET_EXEC files with
-       --just-symbols.
-
-2012-08-31  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj): Add and use Address typedef.
-       (Powerpc_relobj::toc_base_offset): New stub function.
-       (Target_powerpc): Add tp_offset, dtp_offset.  Rename
-       got_mod_index_offset to tlsld_got_offset.  Update all refs.
-       (Target_powerpc::Relocate::enum skip_tls): New.
-       (Target_powerpc::call_tls_get_addr_): New var.
-       (Target_powerpc::is_branch_reloc): Move to file scope.
-       (Target_powerpc::relocate_tls, optimize_tls_reloc): Delete.
-       (Target_powerpc::optimize_tls_gd, optimize_tls_ld, optimize_tls_ie):
-       New functions.
-       (Target_powerpc::enum Got_type): Delete old values, add new ones.
-       (powerpc_info): Correct common_pagesize for ppc64.
-       (at_tls_transform, needs_dynamic_reloc, use_plt_offset): New functions.
-       (Powerpc_relocate_functions): Add overflow check enums and functions.
-       Add non-shift version of rela, rela_ua.  Delete all rel public
-       functions.  Delete addr16_lo.  Add addr64, addr64_u, addr32,
-       addr32_u, addr24, addr16_u, addr16_hi2, addr16_ha2, addr16_hi3,
-       addr16_ha3, addr14 functions.
-       (Output_data_got_powerpc::add_constant_pair): New function.
-       (Output_data_got_powerpc::got_base_offset): Likewise.
-       (Output_data_got_powerpc::do_write): Correct 64-bit got header.
-       (instruction constants): Sort, add some more.
-       (Output_data_glink::do_write): Add and use Address typedef.  Use
-       object->toc_base_offset() stub for 64-bit.
-       (Target_powerpc::tlsld_got_offset): Use add_constant_pair.
-       (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
-       (Target_powerpc::Scan::local, global): Emit relative dynamic reloc
-       for R_PPC64_TOC.  Handle more relocs.  Generate got entries for TLS.
-       Always treat .opd relocs as against locally defined symbol.
-       Correct condition for RELATIVE relocs.
-       (Target_powerpc::do_finalize_sections): Test for NULL sections.
-       (Target_powerpc::Relocate::relocate): Use plt call stub as value
-       for 32-bit syms with a plt entry.  Correct ppc64 toc base
-       calculations.  Handle TLS relocs, and more.  Add overflow
-       checking and adjust for Powerpc_relocate_functions changes.
-       (Target_powerpc::relocate_for_relocatable): Handle zero r_sym.
-       Reinstate --emit-relocs code with FIXME.
-
-2012-08-30  Alan Modra  <amodra@gmail.com>
-
-       * layout.cc (Layout::set_segment_offsets): Set p_align to
-       abi_pagesize, not common_pagesize.
-       (Layout::relaxation_loop_body): Similarly use abi_pagesize
-       to determine whether file header can go in segment.
-
-2012-08-30  Alan Modra  <amodra@gmail.com>
-
-       * output.h (Output_reloc::Output_reloc <output section>): Add
-       is_relative param.  Adjust calls.
-       (Output_reloc::add_output_section_relative): New functions.
-       * output.cc (Output_reloc::Output_reloc <output section>): Handle
-       is_relative.
-       (Output_reloc::symbol_value): Handle SECTION_CODE.
-
-2012-08-24  Sriraman Tallam  <tmsriram@google.com>
-
-       * gold.cc (queue_middle_tasks): Call layout again when unique
-       segments for sections is desired.
-       * layout.cc (Layout::Layout): Initialize new members.
-       (Layout::get_output_section_flags): New function.
-       (Layout::choose_output_section): Call get_output_section_flags.
-       (Layout::layout): Make output section for mapping to a unique segment.
-       (Layout::insert_section_segment_map): New function.
-       (Layout::attach_allocated_section_to_segment): Make unique segment for
-       output sections marked so.
-       (Layout::segment_precedes): Check for unique segments when sorting.
-       * layout.h (Layout::Unique_segment_info): New struct.
-       (Layout::Section_segment_map): New typedef.
-       (Layout::insert_section_segment_map): New function.
-       (Layout::get_output_section_flags): New function.
-       (Layout::is_unique_segment_for_sections_specified): New function.
-       (Layout::set_unique_segment_for_sections_specified): New function.
-       (Layout::unique_segment_for_sections_specified_): New member.
-       (Layout::section_segment_map_): New member.
-       * object.cc (Sized_relobj_file<size, big_endian>::do_layout):
-       Rename is_gc_pass_one to is_pass_one.
-       Rename is_gc_pass_two to is_pass_two.
-       Rename is_gc_or_icf to is_two_pass.
-       Check for which pass based on whether symbols data is present.
-       Make it two pass when unique segments for sections is desired.
-       * output.cc (Output_section::Output_section): Initialize new
-       members.
-       * output.h (Output_section::is_unique_segment): New function.
-       (Output_section::set_is_unique_segment): New function.
-       (Output_section::is_unique_segment_): New member.
-       (Output_section::extra_segment_flags): New function.
-       (Output_section::set_extra_segment_flags): New function.
-       (Output_section::extra_segment_flags_): New member.
-       (Output_section::segment_alignment): New function.
-       (Output_section::set_segment_alignment): New function.
-       (Output_section::segment_alignment_): New member.
-       (Output_segment::Output_segment): Initialize is_unique_segment_.
-       (Output_segment::is_unique_segment): New function.
-       (Output_segment::set_is_unique_segment): New function.
-       (Output_segment::is_unique_segment_): New member.
-       * plugin.cc (allow_unique_segment_for_sections): New function.
-       (unique_segment_for_sections): New function.
-       (Plugin::load): Add new functions to transfer vector.
-       * Makefile.am (plugin_final_layout.readelf.stdout): Add readelf output.
-       * Makefile.in: Regenerate.
-       * testsuite/plugin_final_layout.sh: Check if unique segment
-       functionality works.
-       * testsuite/plugin_section_order.c (onload): Check if new interfaces
-       are available.
-       (allow_unique_segment_for_sections): New global.
-       (unique_segment_for_sections): New global.
-       (claim_file_hook): Call allow_unique_segment_for_sections.
-       (all_symbols_read_hook): Call unique_segment_for_sections.
-
-2012-08-22  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::include_section): Don't assert on GROUP
-       sections with --emit-relocs.
-
-2012-08-21  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.cc (Symbol_table::gc_mark_undef_symbols): Don't assert
-       if --export-dynamic-symbol names an undef symbol.
-
-2012-08-18  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc: Formatting and white space.
-       (Powerpc_relobj): Rename got2_section_ to special_.
-       Add opd_ent_shndx_ and opd_ent_off_ vectors.
-       (Powerpc_relobj::opd_shndx, init_opd, get_opd_ent, set_opd_ent,
-       scan_opd_relocs, do_read_relocs, opd_ent_ndx): New functions.
-       (Target_powerpc): Add Address typedef and invalid_address.  Use
-       throughout.
-       (Target_powerpc::is_branch_reloc): New function.
-       (Powerpc_relocate_functions): Add Address typedef, use throughout.
-       (Powerpc_relocate_functions:rela, rela_ua): Correct type used
-       for dst_mask, value and addend.
-       (Powerpc_relobj::do_find_special_sections): Find .opd for 64-bit.
-       (ld_2_1, cror_15_15_15, cror_31_31_31): New insn constants.
-       (Output_data_glink::do_write): Correct toc base.  Don't try to use
-       uint16_t for 24-bit offset.  Use get_output_section_offset and
-       check return.
-       (Target_powerpc::Scan::local): Handle more relocs.
-       (Target_powerpc::do_finalize_sections): Set up DT_PPC64_GLINK.
-       (Target_powerpc::Relocate::relocate): Correct toc base calculation.
-       Plug in toc restoring insn after plt calls.  Translate branches
-       to function descriptor symbols to corresponding entry point.
-       (Target_powerpc::relocate_for_relocatable): Check return from
-       get_output_section_offset.
-       * symtab.h: Comment typo.
-
-2012-08-14  Ian Lance Taylor  <iant@google.com>
-
-       * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
-       unsupported_relocal_local to call unsupported_reloc_global.
-
-2012-08-14  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/14265
-       * script-sections.cc (Sections_element::output_section_name): Add
-       keep return parameter.
-       (Output_section_element::match_name): Add keep return parameter.
-       Return the value of the keep_ member.
-       * script-sections.h (class Output_section): Update
-       output_section_name prototype.
-       * layout.cc (Layout::keep_input_section): New public member
-       function.
-       (Layout::choose_output_section): Pass keep parameter to
-       output_section_name.
-       * layout.h (class Layout): Add keep_input_section.
-       * object.cc (Sized_relobj_file::do_layout): Check for kept input
-       sections.
-       * testsuite/Makefile.am: Add a test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/pr14265.c: Source file for the test.
-       * testsuite/pr14265.t: Linker script for the test.
-       * testsuite/pr14265.sh: Shell script for the test.
-
-2012-08-14  Alan Modra  <amodra@gmail.com>
-
-       * target.h (Target::output_section_name): New function.
-       (Target::do_output_section_name): New function.
-       * layout.cc (Layout::choose_output_section): Call the above.
-       * powerpc.cc (Target_powerpc::do_output_section_name): New function.
-
-2012-08-14  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc: Update for renamed R_PPC_REL16 relocs.
-       (Output_data_got_powerpc::do_write): Don't rely on base class lookup
-       for replace_constant call.
-       (Output_data_plt_powerpc::do_print_to_mapfile): New function.
-       (Output_data_glink::do_print_to_mapfile): New function.
-       (Target_powerpc::Scan::local): Ignore R_PPC64_TOCSAVE.
-       (Target_powerpc::Relocate::relocate): Likewise.
-
-2012-08-14  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc (Powerpc_relobj::set_got2_shndx): Delete.
-       (Powerpc_relobj::do_find_special_sections): Don't use set_got2_shndx.
-       (Output_data_glink::add_entry,find_entry): Remove shndx param.
-       (class Glink_sym_ent): Rename from struct Glink_sym_ent.  Remove
-       all references to shndx_.  Handle special case for R_PPC_PLTREL24
-       here.
-       (class Glink_sym_ent_hash): Rename from struct Glink_sym_ent_hash.
-       (Output_data_glink::do_write): Retrieve got2_shdnx from object.
-       (Target_powerpc::make_plt_entry): Don't special case R_PPC_PLTREL24
-       here.
-       (Target_powerpc::Scan::global): Nor on make_plt_entry call.
-       (Target_powerpc::Relocate::relocate): Nor on glink->find_entry call.
-
-2012-08-12  Alan Modra  <amodra@gmail.com>
-
-       * powerpc.cc: Whitespace fixes.  Wrap overly long lines.
-       (glink insn constants): Use uint32_t.
-       (Output_data_glink::add_entry): Use insert, not [] operator.
-
-2012-08-11  Alan Modra  <amodra@gmail.com>
-
-       * object.h (Sized_relobj_file::find_shdr): New function.
-       (Sized_relobj_file::find_special_sections): New function.
-       * object.cc (Sized_relobj_file::find_shdr): New function.
-       (Sized_relobj_file::find_eh_frame): Use find_shdr.
-       (Sized_relobj_file::find_special_sections): New function, split out..
-       (Sized_relobj_file::do_read_symbols): ..from here.
-       * output.h (Output_data_got::replace_constant): New function.
-       (Output_data_got::num_entries): New function.
-       (Output_data_got::last_got_offset,set_got_size): Use num_entries.
-       (Output_data_got::got_offset): Protected rather than private.
-       (Output_data_got::replace_got_entry): New function.
-       * output.cc (Output_data_got::replace_got_entry): New function.
-       * powerpc.cc (class Powerpc_relobj): New.
-       (class Powerpc_relocate_functions): Delete all psymval variants or
-       convert to value,addend type.  Delete pcrela, pcrela_unaligned.
-       Implement _ha functions using corresponding _hi function.
-       (Powerpc_relobj::find_special_sections): New function.
-       (Target_powerpc::do_make_elf_object): New function.
-       (class Output_data_got_powerpc): New.
-       (class Output_data_glink): New.
-       (class Powerpc_scan_relocatable_reloc): New.
-       Many more changes througout file.
-
-2012-08-09  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: Updated Vietnamese translation.
-
-2012-08-07  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::add_target_dynamic_tags): If
-       dynrel_includes_plt but no dyn_rel, emit dynamic reloc tags for
-       plt_rel.
-
-2012-07-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/gold.pot: Updated template.
-       * po/es.po: Updated Spanish translation.
-
-2012-07-18  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/14344
-       * configure.ac: Add check for -gpubnames support.
-       * configure: Regenerate.
-       * testsuite/Makefile.am (gdb_index_test_1): Add check for -gpubnames
-       support; force -gno-pubnames.
-       (gdb_index_test_2, gdb_index_test_3): Add check for -gpubnames
-       support.
-       (gdb_index_test_4): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gdb_index_test_1.sh: Refactor code into common file.
-       * testsuite/gdb_index_test_2.sh: Likewise.
-       * testsuite/gdb_index_test_3.sh: Don't look for space after colon.
-       * testsuite/gdb_index_test_4.sh: New script.
-       * testsuite/gdb_index_test_comm.sh: New script with common code;
-       don't look for space after colon.
-
-2012-07-16  Sriraman Tallam  <tmsriram@google.com>
-
-       * gold.cc (queue_middle_tasks): Update function order only after
-       deferred objects due to plugins are processed.
-
-2012-07-11  Ian Lance Taylor  <iant@google.com>
-
-       * arm.cc (Arm_relocate_functions::abs16): Remove unused typedef.
-       (Arm_exidx_cantunwind::do_fixed_endian_write): Likewise.
-       (Target_arm::scan_reloc_for_stub): Likewise.
-       * common.cc (Symbol_table::do_allocate_commons_list): Likewise.
-       * dwarf_reader.cc (Dwarf_die::skip_attributes): Likewise.
-       * ehframe.cc (Eh_frame::do_add_ehframe_input_section): Likewise.
-       * incremental.cc (Sized_incr_dynobj::do_add_symbols): Likewise.
-       * powerpc.cc (Target_powerpc::relocate_tls): Likewise.
-
-2012-07-10  Dodji Seketeli  <dodji@redhat.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       PR gold/14309
-       * configure.ac: Test whether std::tr1::hash<off_t> works.
-       * gold.h: Add a specialization for std::tr1::hash<off_t> if
-       needed.
-       * output.h (class Output_fill): Add virtual destructor.
-       * configure, config.in: Rebuild.
-
-2012-06-22  Roland McGrath  <mcgrathr@google.com>
-
-       * layout.cc (finalize): Define __ehdr_start symbol if applicable.
-
-2012-06-12  Rafael Ávila de Espíndola <respindola@mozilla.com>
-
-       * plugin.cc (Plugin::load): Handle position independent executables.
-
-2012-06-06  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (gdb_sections): Remove ".debug_" prefixes,
-       add .debug_macro.
-       (lines_only_debug_sections): Likewise.
-       (gdb_fast_lookup_sections): New static array.
-       (is_gdb_debug_section): Rename formal parameter.
-       (is_lines_only_debug_section): Likewise.
-       (is_gdb_fast_lookup_section): New function.
-       (Layout::include_section): Check for ".zdebug_" prefix; pass
-       section name suffix to is_gdb_debug_section, et al.; check for
-       fast-lookup sections when building .gdb_index.
-       * options.h (--strip-debug-gdb): Update GDB version number.
-
-2012-06-06  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Add check for fallocate.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-       * options.h (class General_options): Add --mmap-output-file and
-       --posix-fallocate options.
-       * output.cc: (posix_fallocate): Remove; replace with...
-       (gold_fallocate): New function.
-       (Output_file::map_no_anonymous): Call gold_fallocate.
-       (Output_file::map): Check --mmap-output-file option.
-
-2012-06-05  Jing Yu  <jingyu@google.com>
-
-       * gold.h (textdomain): Add do {} to empty while(0).
-       (bindtextdomain): Likewise.
-
-2012-06-04  Cary Coutant  <ccoutant@google.com>
-
-       * dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call
-       has_dynsym_index.
-
-2012-05-25  Sriraman Tallam  <tmsriram@google.com>
-
-       * symtab.cc (Symbol_table::define_special_symbol):
-       Initialize *poldsym to prevent uninitialized variable errors.
-
-2012-05-23  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::section_name_mapping): Add rules to handle
-       exact match on .data.rel.ro.local or .data.rel.ro.
-       (Layout::output_section_name): Check for exact matches.
-
-2012-05-23  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::section_name_mapping): Match .data.rel.ro.*
-       more carefully.
-
-2012-05-22  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.cc (Symbol::should_add_dynsym_entry): Check for relocatable
-       object before exporting symbol.
-
-2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/tls_test.cc: Include "config.h" first.
-       * testsuite/tls_test_c.c: Likewise.
-
-2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * configure.in: Add check that sysdep.h has been included before
-       any system header files.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2012-05-14  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::make_output_section): Mark .tdata section
-       as RELRO.
-       * testsuite/relro_test.cc: Add a TLS variable.
-
-2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/14091
-       * x86_64.cc (Target_x86_64::Scan::local): For x32, generate
-       R_X86_64_RELATIVE64 instead of R_X86_64_RELATIVE in case of
-       R_X86_64_64.
-
-2012-05-08  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (gdb_sections): Update GDB version, add .debug_addr.
-       (lines_only_debug_sections): Likewise.
-
-2012-05-02  Roland McGrath  <mcgrathr@google.com>
-
-       * nacl.cc: New file.
-       * nacl.h: New file.
-       * Makefile.am (CCFILES, HFILES): Add them.
-       * Makefile.in: Regenerate.
-       * i386.cc (Output_data_plt_i386_nacl): New class.
-       (Output_data_plt_i386_nacl_exec): New class.
-       (Output_data_plt_i386_nacl_dyn): New class.
-       (Target_i386_nacl): New class.
-       (Target_selector_i386_nacl): New class.
-       (target_selector_i386): Use it instead of Target_selector_i386.
-       * x86_64.cc (Output_data_plt_x86_64_nacl): New class.
-       (Target_x86_64_nacl): New class.
-       (Target_selector_x86_64_nacl): New class.
-       (target_selector_x86_64, target_selector_x32): Use it instead of
-       Target_selector_x86_64.
-       * arm.cc (Output_data_plt_arm_nacl): New class.
-       (Target_arm_nacl): New class.
-       (Target_selector_arm_nacl): New class.
-       (target_selector_arm, target_selector_armbe): Use it instead of
-       Target_selector_arm.
-
-       * target-select.cc (select_target): Take new Input_file* and off_t
-       arguments, pass them on to recognize method of selector.
-       * object.cc (make_elf_sized_object): Update caller.
-       * parameters.cc (parameters_force_valid_target): Likewise.
-       * incremental.cc (make_sized_incremental_binary): Likewise.
-       * target-select.h: Update decl.
-       (Target_selector::recognize): Take new Input_file* argument,
-       pass it on to do_recognize.
-       (Target_selector::do_recognize): Take new Input_file* argument.
-       * freebsd.h (Target_selector_freebsd::do_recognize): Likewise.
-       * powerpc.cc (Target_selector_powerpc::do_recognize): Likewise.
-       * sparc.cc (Target_selector_sparc::do_recognize): Likewise.
-       * testsuite/testfile.cc (Target_selector::do_recognize): Likewise.
-
-       * target.h (Target::Target_info): New members isolate_execinstr
-       and rosegment_gap.
-       (Target::isolate_execinstr, Target::rosegment_gap): New methods.
-       * arm.cc (Target_arm::arm_info): Update initializer.
-       * i386.cc (Target_i386::i386_info): Likewise.
-       * powerpc.cc (Target_powerpc::powerpc_info): Likewise.
-       * sparc.cc (Target_sparc::sparc_info): Likewise.
-       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
-       * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
-       * layout.cc (Layout::attach_allocated_section_to_segment):
-       Take new const Target* argument.  If target->isolate_execinstr(), act
-       like --rosegment.
-       (Layout::find_first_load_seg): Take new const Target* argument;
-       if target->isolate_execinstr(), reject PF_X segments.
-       (Layout::relaxation_loop_body): Update caller.
-       (Layout::set_segment_offsets): If target->isolate_execinstr(),
-       reset file offset to zero when we hit LOAD_SEG, and then do a second
-       loop over the segments before LOAD_SEG to reassign offsets after
-       addresses have been determined.  Handle target->rosegment_gap().
-       (Layout::attach_section_to_segment): Take new const Target* argument;
-       pass it to attach_allocated_section_to_segment.
-       (Layout::make_output_section): Update caller.
-       (Layout::attach_sections_to_segments): Take new const Target* argument;
-       pass it to attach_section_to_segment.
-       * gold.cc (queue_middle_tasks): Update caller.
-       * layout.h (Layout): Update method decls with new arguments.
-
-       * arm.cc (Target_arm::Target_arm): Take optional argument for the
-       Target_info pointer to use.
-       (Target_arm::do_make_data_plt): New virtual method.
-       (Target_arm::make_data_plt): New method that calls it.
-       (Target_arm::make_plt_entry): Use it.
-       (Output_data_plt_arm::Output_data_plt_arm): Take additional argument
-       for the section alignment.
-       (Output_data_plt_arm::do_first_plt_entry_offset): New abstract virtual
-       method.
-       (Output_data_plt_arm::first_plt_entry_offset): Call it.
-       (Output_data_plt_arm::do_get_plt_entry_size): New abstract virtual
-       method.
-       (Output_data_plt_arm::get_plt_entry_size): Call it.
-       (Output_data_plt_arm::do_fill_plt_entry): New abstract virtual method.
-       (Output_data_plt_arm::fill_plt_entry): New method that calls it.
-       (Output_data_plt_arm::do_fill_first_plt_entry): New abstract virtual
-       method.
-       (Output_data_plt_arm::fill_first_plt_entry): New method that calls it.
-       (Output_data_plt_arm::set_final_data_size): Use get_plt_entry_size
-       method instead of sizeof(plt_entry).
-       (Output_data_plt_arm::add_entry): Likewise.
-       Use first_plt_entry_offset method instead of sizeof(first_plt_entry).
-       (Target_arm::first_plt_entry_offset): Call method on this->plt_ rather
-       than static method.
-       (Target_arm::plt_entry_size): Likewise.
-       (Output_data_plt_arm::first_plt_entry, Output_data_plt_arm::plt_entry):
-       Move to ...
-       (Output_data_plt_arm_standard): ... here, new class.
-       (Output_data_plt_arm::do_write): Move guts of PLT filling to...
-       (Output_data_plt_arm_standard::do_fill_first_plt_entry): ... here ...
-       (Output_data_plt_arm_standard::do_fill_plt_entry): ... and here.
-
-       * x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64):
-       Take additional argument for the PLT entry size.
-       (Output_data_plt_x86_64::get_tlsdesc_plt_offset):
-       Use get_plt_entry_size method rather than plt_entry_size variable.
-       (Output_data_plt_x86_64::reserve_slot): Likewise.
-       (Output_data_plt_x86_64::do_adjust_output_section): Likewise.
-       (Output_data_plt_x86_64::add_entry): Likewise.
-       (Output_data_plt_x86_64::add_local_ifunc_entry): Likewise.
-       (Output_data_plt_x86_64::address_for_global): Likewise.
-       (Output_data_plt_x86_64::address_for_local): Likewise.
-       (Output_data_plt_x86_64::set_final_data_size): Likewise.
-       (Output_data_plt_x86_64::first_plt_entry_offset): Likewise.
-       Make method non-static.
-       (Output_data_plt_x86_64::do_get_plt_entry_size): New abstract virtual
-       method.
-       (Output_data_plt_x86_64::get_plt_entry_size): Just call that.
-       (Output_data_plt_x86_64::do_add_eh_frame): New abstract virtual method.
-       (Output_data_plt_x86_64::add_eh_frame): New method to call it.
-       (Output_data_plt_x86_64::do_fill_first_plt_entry): New abstract
-       virtual method.
-       (Output_data_plt_x86_64::fill_first_plt_entry): New method to call it.
-       (Output_data_plt_x86_64::do_fill_plt_entry): New abstract
-       virtual method.
-       (Output_data_plt_x86_64::fill_plt_entry): New method to call it.
-       (Output_data_plt_x86_64::do_fill_tlsdesc_entry): New abstract
-       virtual method.
-       (Output_data_plt_x86_64::fill_tlsdesc_entry): New method to call it.
-       (Output_data_plt_x86_64::plt_entry_size)
-       (Output_data_plt_x86_64::first_plt_entry)
-       (Output_data_plt_x86_64::plt_entry)
-       (Output_data_plt_x86_64::tlsdesc_plt_entry)
-       (Output_data_plt_x86_64::plt_eh_frame_fde_size)
-       (Output_data_plt_x86_64::plt_eh_frame_fde): Move to ...
-       (Output_data_plt_x86_64_standard): ... here, new class.
-       (Target_x86_64::Target_x86_64): Take optional argument for the
-       Target_info pointer to use.
-       (Target_x86_64::do_make_data_plt): New virtual method.
-       (Target_x86_64::make_data_plt): New method to call it.
-       (Target_x86_64::init_got_plt_for_update): Use that.
-       Call this->plt_->add_eh_frame method here.
-       (Output_data_plt_x86_64::init): Don't do add_eh_frame_for_plt here.
-       (Target_x86_64::first_plt_entry_offset): Call method on this->plt_
-       rather than static method.
-       (Target_x86_64::plt_entry_size): Likewise.
-       (Output_data_plt_x86_64::do_write): Use get_plt_entry_size method
-       rather than plt_entry_size variable.  Move guts of PLT filling to...
-       (Output_data_plt_x86_64_standard::do_fill_first_plt_entry): ... here ...
-       (Output_data_plt_x86_64_standard::do_fill_plt_entry): ... and here ...
-       (Output_data_plt_x86_64_standard::do_fill_tlsdesc_entry): ... and here.
-
-       * i386.cc (Output_data_plt_i386::Output_data_plt_i386): Take
-       additional argument for the section alignment.
-       Don't do add_eh_frame_for_plt here.
-       (Output_data_plt_i386::first_plt_entry_offset): Make the method
-       non-static.  Use get_plt_entry_size method rather than plt_entry_size
-       variable.
-       (Output_data_plt_i386::do_get_plt_entry_size): New abstract virtual
-       method.
-       (Output_data_plt_i386::get_plt_entry_size): Call it.
-       (Output_data_plt_i386::do_add_eh_frame): New abstract virtual method.
-       (Output_data_plt_i386::add_eh_frame): New method to call it.
-       (Output_data_plt_i386::do_fill_first_plt_entry): New abstract virtual
-       method.
-       (Output_data_plt_i386::fill_first_plt_entry): New method to call it.
-       (Output_data_plt_i386::do_fill_plt_entry): New abstract virtual
-       method.
-       (Output_data_plt_i386::fill_plt_entry): New method to call it.
-       (Output_data_plt_i386::set_final_data_size): Use get_plt_entry_size
-       method instead of plt_entry_size.
-       (Output_data_plt_i386::plt_entry_size)
-       (Output_data_plt_i386::plt_eh_frame_fde_size)
-       (Output_data_plt_i386::plt_eh_frame_fde): Move to ...
-       (Output_data_plt_i386_standard): ... here, new class.
-       (Output_data_plt_i386_exec): New class.
-       (Output_data_plt_i386::exec_first_plt_entry): Move to ...
-       (Output_data_plt_i386_exec::first_plt_entry): ... here.
-       (Output_data_plt_i386::exec_plt_entry): Move to ...
-       (Output_data_plt_i386_exec::plt_entry): ... here.
-       (Output_data_plt_i386_dyn): New class.
-       (Output_data_plt_i386::first_plt_entry): Move to ...
-       (Output_data_plt_i386_dyn::first_plt_entry): ... here.
-       (Output_data_plt_i386::dyn_plt_entry): Move to ...
-       (Output_data_plt_i386_dyn::plt_entry): ... here.
-       (Target_i386::Target_i386): Take optional argument for the Target_info
-       pointer to use.
-       (Target_i386::do_make_data_plt): New virtual method.
-       (Target_i386::make_data_plt): New method to call it.
-       (Target_i386::make_plt_section): Use that.
-       Call this->plt_->add_eh_frame method here.
-       (Output_data_plt_i386::add_entry): Use get_plt_entry_size method
-       rather than plt_entry_size variable.
-       (Output_data_plt_i386::add_local_ifunc_entry): Likewise.
-       (Output_data_plt_i386::address_for_local): Likewise.
-       (Output_data_plt_i386::do_write): Likewise.
-       Move guts of PLT filling to...
-       (Output_data_plt_i386_exec::do_fill_first_plt_entry): ... here ...
-       (Output_data_plt_i386_exec::do_fill_plt_entry): ... and here ...
-       (Output_data_plt_i386_dyn::do_fill_first_plt_entry): ... and here ...
-       (Output_data_plt_i386_dyn::do_fill_plt_entry): ... and here.
-
-2012-05-01  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Dwarf_die::read_attributes)
-       (Dwarf_die::skip_attributes, Dwarf_die::int_attribute)
-       (Dwarf_die::uint_attribute): Remove DW_FORM_null.
-       * reduced_debug_output.cc
-       (Output_reduced_debug_info_section::get_die_end): Remove
-       DW_FORM_GNU_ref_index.  Add default case.
-
-2012-04-26  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf_reader.cc (Dwarf_die::address_attribute): New function.
-       * dwarf_reader.h (Dwarf_die::address_attribute): Likewise.
-       * gdb-index.cc (Gdb_index_info_reader::record_cu_ranges): Handle
-       DW_AT_high_pc as offset from DW_AT_low_pc.
-
-       * testsuite/Makefile.am (gdb_index_test_3.sh): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gdb_index_test_3.c: New test source file.
-       * testsuite/gdb_index_test_3.sh: New test source file.
-
-2012-04-25  Ian Lance Taylor  <iant@google.com>
-
-       * arm.cc (Target_arm::do_is_defined_by_abi): Make sym a const
-       pointer.
-       (Stub_addend_reader::operator()): Declare Arm_relocate_functions
-       as a class, not a struct.
-       (Target_arm::scan_span_for_cortex_a8_erratum): Likewise.
-       (Target_arm::apply_cortex_a8_workaround): Likewise.
-       * gc.h: Declare Reloc_types as a struct, not a class.
-       * object.h: Declare Symbols_data as a struct.
-       * reloc.h: Declare Read_relocs_data as a struct.
-       * target.h: Declare Relocate_info as a struct.
-
-2012-04-24  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Target_sparc::Relocate::relax_call): New function.
-       (Target_sparc::Relocate::relocate): Call it for R_SPARC_WDISP30
-       and R_SPARC_WPLT30.
-
-2012-04-24  Cary Coutant  <ccoutant@google.com>
-
-       * incremental-dump.cc (find_input_containing_global): Replace
-       magic number with symbolic constant.
-       (dump_incremental_inputs): Update version number.
-       * incremental.cc (Output_section_incremental_inputs): Update version
-       number; import symbolic constants from Incremental_inputs_reader.
-       (Incremental_inputs::create_data_sections): Align relocations
-       section correctly for 64-bit targets.
-       (Output_section_incremental_inputs::set_final_data_size): Use symbolic
-       constants; add padding.
-       (Output_section_incremental_inputs::write_header): Add assert for
-       header_size.
-       (Output_section_incremental_inputs::write_input_files): Add assert
-       for input_entry_size.
-       (Output_section_incremental_inputs::write_info_blocks): Add padding;
-       add assert for object_info_size, input_section_entry_size,
-       global_sym_entry_size.
-       * incremental.h (Incremental_inputs_reader): Add symbolic constants
-       for data structure sizes; use them.
-       (Incremental_input_entry_reader): Import symbolic constants from
-       Incremental_inputs_reader; use them.
-
-2012-04-23  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (class Target_sparc): Add elf_machine_, elf_flags_,
-       and elf_flags_set_.
-       (Target_sparc::Target_sparc): Initialize new fields.
-       (Target_sparc::do_make_elf_object): New function.
-       (Target_sparc::do_adjust_elf_header): New function.
-
-2012-04-23  Cary Coutant  <ccoutant@google.com>
-
-       * gdb-index.cc (Gdb_index::do_write): Use Swap_aligned32 for writing
-       CU range table of gdb index.
-
-2012-04-20  David S. Miller  <davem@davemloft.net>
-
-       * target.cc (Sized_target::do_adjust_elf_header): Use big_endian
-       instead of false.
-
-2012-04-16  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Target_sparc::got_address): New function.
-       (Sparc_relocate_functions::gdop_hix22): New function.
-       (Sparc_relocate_functions::gdop_lox10): New function.
-       (Target_sparc::Scan::local): Do not emit a GOT entry for GOTDATA
-       relocs.
-       (Target_sparc::Scan::local): Likewise if the global symbol is not
-       preemptible and is not IFUNC.
-       (Target_sparc::Relocate::relocate): Perform GOTDATA code
-       transformations for local and non-preemptible non-IFUNC global
-       symbols.
-
-       * gdb-index.cc (Gdb_index::do_write): Use Swap_unaligned when
-       writing out 64-bit part of ranges.
-
-       * Makefile.am: Build IFUNC tests with -fPIC and -fPIE instead of
-       -fpic and -fpie respectively.
-       * Makefile.in: Regenerate.
-
-       * sparc.cc (class Target_sparc): Add rela_ifunc_.
-       (Target_sparc::Target_sparc): Initialize new field.
-       (Target_sparc::do_plt_section_for_global): New function.
-       (Target_sparc::do_plt_section_for_local): New function.
-       (Target_sparc::reloc_needs_plt_for_ifunc): New function.
-       (Target_sparc::make_plt_section): New function, broken out of
-       make_plt_entry.  Use ORDER_NON_RELRO_FIRST for ".plt".
-       (Target_sparc::make_plt_entry): Call make_plt_section.
-       (Target_sparc::make_local_ifunc_plt_entry): New function.
-       (Target_sparc::rela_ifunc_section): New function.
-       (Target_sparc::plt_section): Remove const.
-       (Output_data_plt_sparc): Update declarations.  Define Global_ifunc
-       and Local_ifunc types.  Add global_ifuncs_, local_ifuncs_, ifunc_rel_,
-       and ifunc_count_ fields.
-       (Output_data_plt_sparc::Output_data_plt_sparc): Initialize new fields.
-       (Output_data_plt_sparc::add_entry): Handle IFUNC symbols.
-       (Output_data_plt_sparc::add_local_ifunc_entry): New function.
-       (Output_data_plt_sparc::rela_ifunc): New function.
-       (Output_data_plt_sparc::emit_pending_ifunc_relocs): New function.
-       (Output_data_plt_sparc::has_ifunc_section): New function.
-       (Output_data_plt_sparc::entry_count): Include ifunc_count_.
-       (Output_data_plt_sparc::address_for_global): New function.
-       (Output_data_plt_sparc::address_for_local): New function.
-       (Output_data_plt_sparc::plt_index_to_offset): New function.
-       (Output_data_plt_sparc::set_final_data_size): Use plt_index_to_offset
-       and entry_count.
-       (Output_data_plt_sparc::do_write): Use first_plt_entry_offset and
-       entry_count.
-       (Target_sparc::Scan::get_reference_flags): Add R_SPARC_IRELATIVE and
-       R_SPARC_JMP_IREL to switch.
-       (Target_sparc::Scan::check_non_pic): Likewise.
-       (Target_sparc::Scan::local): Handle IFUNC symbols.
-       (Target_sparc::Scan::local): Likewise.
-       (Target_sparc::Relocate::relocate): Likewise, use plt_address_for_global
-       and plt_address_for_local.
-       (Target_sparc::do_finalize_sections): Call emit_pending_ifunc_relocs.
-       Define __rel_iplt_start and __rel_iplt_end if doing a static link.
-
-       * output.h (Output_reloc): Allow use_plt_offset for global relocs too.
-       (class Output_data_reloc): Adjust calls to Output_reloc_type.
-       (Output_data_reloc::add_global_relative): (RELA only) Add use_plt_offset.
-       * output.cc (Output_reloc::Output_reloc): Add use_plt_offset flag for
-       global relocs too.
-       (Output_reloc::symbol_value): Respect use_plt_offset_ for global symbols.
-       * powerpc.cc (Target_powerpc::Scan::global): Adjust add_global_relative
-       calls.
-       * sparc.cc (Target_sparc::Scan::global): Likewise.
-       * x86_64.cc (Target_x86_64::Scan::global): Likewise.
-
-2012-04-16  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Library_base::should_include_member): Check for
-       --export-dynamic-symbol.
-       * options.h (class General_options): Add --export-dynamic-symbol.
-       * symtab.cc (Symbol::should_add_dynsym_entry): Check for
-       --export-dynamic-symbol.
-       (Symbol_table::gc_mark_undef_symbols): Likewise.
-       (Symbol_table::do_add_undefined_symbols_from_command_line): Likewise.
-
-2012-04-12  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Reloc::wdisp10): New relocation method.
-       (Reloc::h34): Likewise.
-       (Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
-       (Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
-       R_SPARC_WDISP10.
-       (Target_sparc::Scan::local): Likewise.
-       (Target_sparc::Scan::global): Likewise.
-       (Target_sparc::Relocate::relocate): Likewise.
-
-2012-04-09  Cary Coutant  <ccoutant@google.com>
-
-       * gdb-index.cc (Gdb_index_info_reader::record_cu_ranges): Allow
-       low_pc == 0.
-
-2012-04-06  Ian Lance Taylor  <iant@google.com>
-
-       * timer.cc: #include <unistd.h>.
-
-2012-04-06  Roland McGrath  <mcgrathr@google.com>
-
-       * configure.in (AC_CHECK_HEADERS): Add locale.h.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2012-04-05  Nick Clifton  <nickc@redhat.com>
-
-       * configure.ac (AC_CHECK_FUNCS): Add setlocale.
-       (AM_LC_MESSAGES): Add.
-       * aclocal.m4: Regenerate.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2012-03-21  Cary Coutant  <ccoutant@google.com>
-
-       * Makefile.am: Add gdb-index.cc, gdb-index.h.
-       * Makefile.in: Regenerate.
-       * dwarf_reader.cc (Sized_elf_reloc_mapper::do_initialize): New function.
-       (Sized_elf_reloc_mapper::symbol_section): New function.
-       (Sized_elf_reloc_mapper::do_get_reloc_target): New function.
-       (make_elf_reloc_mapper): New function.
-       (Dwarf_abbrev_table::clear_abbrev_codes): New function.
-       (Dwarf_abbrev_table::do_read_abbrevs): New function.
-       (Dwarf_abbrev_table::do_get_abbrev): New function.
-       (Dwarf_ranges_table::read_ranges_table): New function.
-       (Dwarf_ranges_table::read_range_list): New function.
-       (Dwarf_pubnames_table::read_section): New function.
-       (Dwarf_pubnames_table::read_header): New function.
-       (Dwarf_pubnames_table::next_name): New function.
-       (Dwarf_die::Dwarf_die): New function.
-       (Dwarf_die::read_attributes): New function.
-       (Dwarf_die::skip_attributes): New function.
-       (Dwarf_die::set_name): New function.
-       (Dwarf_die::set_linkage_name): New function.
-       (Dwarf_die::attribute): New function.
-       (Dwarf_die::string_attribute): New function.
-       (Dwarf_die::int_attribute): New function.
-       (Dwarf_die::uint_attribute): New function.
-       (Dwarf_die::ref_attribute): New function.
-       (Dwarf_die::child_offset): New function.
-       (Dwarf_die::sibling_offset): New function.
-       (Dwarf_info_reader::check_buffer): New function.
-       (Dwarf_info_reader::parse): New function.
-       (Dwarf_info_reader::do_parse): New function.
-       (Dwarf_info_reader::do_read_string_table): New function.
-       (Dwarf_info_reader::lookup_reloc): New function.
-       (Dwarf_info_reader::get_string): New function.
-       (Dwarf_info_reader::visit_compilation_unit): New function.
-       (Dwarf_info_reader::visit_type_unit): New function.
-       (Sized_dwarf_line_info::Sized_dwarf_line_info): Use
-       Sized_elf_reloc_mapper.
-       (Sized_dwarf_line_info::symbol_section): Remove function.
-       (Sized_dwarf_line_info::read_relocs): Use Sized_elf_reloc_mapper.
-       (Sized_dwarf_line_info::read_line_mappings): Remove object
-       parameter, adjust callers.
-       (Sized_dwarf_line_info::format_file_lineno): Fix type of cast.
-       * dwarf_reader.h: Include <sys/types.h>.
-       (class Track_relocs): Remove forward declaration.
-       (class Elf_reloc_mapper): New class.
-       (class Sized_elf_reloc_mapper): New class.
-       (class Dwarf_abbrev_table): New class.
-       (class Dwarf_range_list): New class.
-       (class Dwarf_ranges_table): New class.
-       (class Dwarf_pubnames_table): New class.
-       (class Dwarf_die): New class.
-       (class Dwarf_info_reader): New class.
-       (Sized_dwarf_line_info::read_line_mappings): Remove object parameter.
-       (Sized_dwarf_line_info::symbol_section): Remove member function.
-       * dynobj.h (Sized_dynobj::do_section_contents): Refactor code from
-       base class.
-       * gdb-index.cc: New source file.
-       * gdb-index.h: New source file.
-       * incremental.cc (Sized_relobj_incr::do_layout): Track .debug_info
-       and .debug_types sections, call Layout::add_to_gdb_index.
-       (Sized_relobj_incr::do_section_name): Implement.
-       (Sized_relobj_incr::do_section_contents): Adjust parameter list and
-       return type; Implement.
-       (Sized_incr_dynobj::do_section_contents): Adjust parameter list and
-       return type.
-       * incremental.h (Sized_relobj_incr::do_section_contents): Adjust
-       parameter list and return type.
-       (Sized_incr_dynobj::do_section_contents): Likewise.
-       * layout.cc: Include gdb-index.h.
-       (Layout::Layout): Initialize gdb_index_data_.
-       (Layout::init_fixed_output_section): Check for .gdb_index section.
-       (Layout::add_to_gdb_index): New function. Instantiate.
-       * layout.h: Add forward declaration for class Gdb_index.
-       (Layout::add_to_gdb_index): New member function.
-       (Layout::gdb_index_data_): New data member.
-       * main.cc: Include gdb-index.h.
-       (main): Print statistics for gdb index.
-       * object.cc (Object::section_contents): Move code into
-       do_section_contents.
-       (need_decompressed_section): Check for sections needed when building
-       gdb index.
-       (build_compressed_section_map): Likewise.
-       (Sized_relobj_file::do_read_symbols): Need local symbols when building
-       gdb index.
-       (Sized_relobj_file::do_layout): Track .debug_info and .debug_types
-       sections; call Layout::add_to_gdb_index.
-       (Sized_relobj_file::do_decompressed_section_contents): Call
-       do_section_contents directly.
-       * object.h (Object::do_section_contents): Adjust parameter list and
-       return type.
-       (Object::do_decompressed_section_contents): Call do_section_contents
-       directly.
-       (Sized_relobj_file::do_section_contents): Adjust parameter list and
-       return type.
-       * options.h (class General_options): Add --gdb-index option.
-       * plugin.cc (Sized_pluginobj::do_section_contents): Adjust parameter
-       list and return type.
-       * plugin.h (Sized_pluginobj::do_section_contents): Likewise.
-       * reloc.h (Track_relocs::checkpoint): New function.
-       (Track_relocs::reset): New function.
-
-       * testsuite/Makefile.am (gdb_index_test_1.sh, gdb_index_test_2.sh):
-       New test cases.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gdb_index_test.cc: New test source file.
-       * testsuite/gdb_index_test_1.sh: New test source file.
-       * testsuite/gdb_index_test_2.sh: New test source file.
-
-2012-03-19  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_define_standard_symbols): New method.
-       (Target_arm::do_finalize_sections): Remove code which defines
-       __exidx_start and __exidx_end.  Make symbol table parameter
-       anonymous as it is not used.
-       * gold.cc (queue_middle_tasks): Call target hook to define any
-       target-specific symbols.
-       * target.h (Target::define_standard_symbols): New method.
-       (Target::do_define_standard_symbols): Same.
-       * testsuite/Makefile.am (arm_exidx_test): Dump relocations also.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_exidx.s: Generate data relocations for __exidx_start
-       and __exidx_end.
-       * testsuite/arm_exidx_test.sh: Check that no unused dynamic
-       relocations are generated for __exidx_start and __exidx_end.
-
-2012-03-16  Doug Kwan  <dougkwan@google.com>
-
-       * testsuite/Makefile.am: Disable test initpri3b.
-       * testsuite/Makefile.in: Regenerate.
-
-2012-03-15  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::got_section): Make .got section read-only
-       if -z now is given.
-
-2012-03-15  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/13850
-       * layout.cc (Layout::make_output_section): Correctly mark
-       SHT_INIT_ARRAY, et. al., as relro.
-
-2012-03-14  Doug Kwan  <dougkwan@google.com>
-
-       * gold/arm.cc (Target_arm::Scan::global): Generate R_ARM_GLOB_DAT
-       dynamic relocations for protected symbols in shared objects.
-
-2012-03-13  Ian Lance Taylor  <iant@google.com>
-
-       * resolve.cc (Symbol_table::resolve): When merging common symbols,
-       keep the larger alignment.
-
-2012-03-12  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Sized_dwarf_line_info::process_one_opcode): Fix
-       handling of DW_LNE_define_file.
-
-2012-03-12  Cary Coutant  <ccoutant@google.com>
-
-       * reduced_debug_output.cc
-       (Output_reduced_debug_info_section::get_die_end): Add new FORM
-       codes to switch.
-
-2012-02-29  Cary Coutant  <ccoutant@google.com>
-
-       * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.
-
-2012-02-29  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
-       Call Object::decompressed_section_contents.
-       * dwarf_reader.h (Sized_dwarf_line_info::~Sized_dwarf_line_info):
-       New dtor.
-       (Sized_dwarf_line_info::buffer_start_): New data member.
-       * merge.cc (Output_merge_data::do_add_input_section): Call
-       Object::decompressed_section_contents.
-       (Output_merge_string::do_add_input_section): Likewise.
-       * object.cc (need_decompressed_section): New function.
-       (build_compressed_section_map): Decompress sections needed later.
-       (Sized_relobj_file::do_decompressed_section_contents): New function.
-       (Sized_relobj_file::do_discard_decompressed_sections): New function.
-       * object.h (Object::decompressed_section_contents): New function.
-       (Object::discard_decompressed_sections): New function.
-       (Object::do_decompressed_section_contents): New function.
-       (Object::do_discard_decompressed_sections): New function.
-       (Compressed_section_info): New type.
-       (Compressed_section_map): Include decompressed section contents.
-       (Sized_relobj_file::do_decompressed_section_contents): New function.
-       (Sized_relobj_file::do_discard_decompressed_sections): New function.
-
-2012-02-16  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.
-       * testsuite/Makefile.in: Regenerate.
-
-2012-02-14  Cary Coutant  <ccoutant@google.com>
-
-       * options.cc (General_options::finalize): Disallow -pie and -static.
-
-2012-02-03  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relocate_functions::abs8,
-       Arm_relocate_functions::abs16): Use
-       Bits::has_signed_unsigned_overflow32.
-       (Arm_relocate_functions::thm_abs8): Correct range of
-       overflow check.
-       * reloc.h (Bits class): Change minimum number of bits from 0 to 1
-       in assertions.
-
-2012-02-02  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Reloc_stub::stub_type_for_reloc): Use PIC stubs in all
-       position independent outputs, not just shared objects.
-
-2012-01-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Check if -fpic -mtls-dialect=gnu2 works.
-       * configure: Regenerated.
-
-2012-01-27  Ian Lance Taylor  <iant@google.com>
-
-       * reloc.h (Bits): New class with static functions, copied from
-       namespace utils in arm.cc.
-       * arm.cc (namespace utils): Remove.  Rewrite all uses to use Bits
-       instead.
-
-2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * incremental.cc (write_info_blocks): Correct relocation offset.
-
-2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (Relocate::tls_gd_to_ie): Support x32.
-       (Relocate::tls_gd_to_le): Likewise.
-
-2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (Scan::global): Support x32 IFUNC function pointer.
-
-2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Check if -mcmodel=medium works.
-       * configure: Regenerated.
-
-2012-01-24  Cary Coutant  <ccoutant@google.com>
-
-       * int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
-       definition and ...
-       (read_unsigned_LEB_128_x): ... this new function.
-       (read_signed_LEB_128): Replaced with inline definition and ...
-       (read_signed_LEB_128_x): ... this new function.
-       * int_encoding.h  (read_unsigned_LEB_128_x): New function.
-       (read_unsigned_LEB_128): Add inline definition.
-       (read_signed_LEB_128_x): New function.
-       (read_signed_LEB_128): Add inline definition.
-       * testsuite/Makefile.am (leb128_unittest): New unit test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/leb128_unittest.cc: New unit test.
-
-2012-01-23  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/13617
-       * i386.cc (Target_i386::do_code_fill): When using a jmp
-       instruction, pad with nop instructions.
-       * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
-
-2012-01-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (gc_process_relocs): Add typename on types used in
-       template.
-       (scan_relocs): Likewise.
-       (relocate_section): Likewise.
-       (apply_relocation): Likewise.
-
-2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32.
-       (Scan::local): Use R_X86_64_RELATIVE relocation for R_X86_64_32
-       under x32.
-
-2012-01-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86_64.cc: Initial support for x32.
-
-2012-01-03  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_incremental_binary::do_process_got_plt):
-       Use abstract base class for GOT.
-       * output.h (class Output_data_got_base): New abstract base class.
-       (class Output_data_got): Derive from new base class, adjust ctors.
-       (Output_data_got::reserve_slot): Make virtual; rename to
-       do_reserve_slot; Adjust callers.
-       * target.h (Sized_target::init_got_plt_for_update): Return
-       pointer to abstract base class.
-       * x86_64.cc (Target_x86_64::init_got_plt_for_update): Likewise.
-
-2011-12-18  Ian Lance Taylor  <iant@google.com>
-
-       * object.h (Relobj::local_symbol_value): New function.
-       (Relobj::local_plt_offset): New function.
-       (Relobj::local_has_got_offset): New function.
-       (Relobj::local_got_offset): New function.
-       (Relobj::set_local_got_offset): New function.
-       (Relobj::do_local_symbol_value): New pure virtual function.
-       (Relobj::do_local_plt_offset): Likewise.
-       (Relobj::do_local_has_got_offset): Likewise.
-       (Relobj::do_local_got_offset): Likewise.
-       (Relobj::do_set_local_got_offset): Likewise.
-       (Sized_relobj::do_local_has_got_offset): Rename from
-       local_has_got_offset.
-       (Sized_relobj::do_local_got_offset): Rename from local_got_offset.
-       (Sized_relobj::do_set_local_got_offset): Rename from
-       set_local_got_offset.
-       (Sized_relobj_file::do_local_plt_offset): Rename from
-       local_plt_offset.
-       (Sized_relobj_file::do_local_symbol_value): New function.
-       * object.cc (Sized_relobj_file::do_local_plt_offset): Rename from
-       local_plt_offset.
-       * output.cc (Output_data_got::Got_entry::write): Change object to
-       Relobj.  Use local_symbol_value.
-       (Output_data_got::add_global_with_rel): Change rel_dyn to
-       Output_data_reloc_generic*.  Use add_global_generic.
-       (Output_data_got::add_global_with_rela): Remove.  Change all
-       callers to use add_global_with_rel.
-       (Output_data_got::add_global_pair_with_rel): Change rel_dyn to
-       Output_data_reloc_generic*.  Use add_global_generic.
-       (Output_data_got::add_global_pair_with_rela): Remove.  Change all
-       callers to use add_global_pair_with_rel.
-       (Output_data_got::add_local): Change object to Relobj*.
-       (Output_data_got::add_local_plt): Likewise.
-       (Output_data_got::add_local_with_rel): Change object to Relobj*,
-       change rel_dyn to Output_data_reloc_generic*.  Use
-       add_local_generic.
-       (Output_data_got::add_local_with_rela): Remove.  Change all
-       callers to use all_local_with_rel.
-       (Output_data_got::add_local_pair_with_rel): Change object to
-       Relobj*, change rel_dyn to Output_data_reloc_generic*.  Use
-       add_output_section_generic.
-       (Output_data_got::add_local_pair_with_rela): Remove.  Change all
-       callers to use add_local_pair_with_rel.
-       (Output_data_got::reserve_local): Change object to Relobj*.
-       * output.h: (class Output_data_reloc_generic): Add pure virtual
-       declarations for add_global_generic, add_local_generic,
-       add_output_section_generic.
-       (class Output_data_reloc) [SHT_REL, SHT_RELA]: Implement new
-       functions for Output_data_reloc_generic.  Update declarations for
-       changes listed in output.cc.
-       (class Output_data_got): Change template parameter to got_size.
-       Don't define Rel_dyn or Rela_dyn.  Update declarations per above.
-       * incremental.h (Sized_relobj_incr::do_local_symbol_value): New
-       function.
-       (Sized_relobj_incr::do_local_plt_offset): New function.
-       * copy-relocs.cc (Copy_relocs::Copy_reloc_entry::emit): Call
-       add_global_generic.
-
-2011-12-17  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Add casts.
-       * resolve.cc (Symbol_table::resolve): Likewise.
-       * i386.cc (Target_i386::do_code_fill): Use char constants for nop
-       arrays.
-       * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
-
-2011-12-16  Ian Lance Taylor  <iant@google.com>
-
-       * output.h (Output_data_reloc_generic::add): Only call
-       add_dynamic_reloc if this is a dynamic reloc section.
-
-2011-12-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/13505
-       * target-reloc.h (apply_relocation): Replace <64, false> with
-       <size, big_endian>.
-
-2011-11-25  Nick Clifton  <nickc@redhat.com>
-
-       * po/it.po: New Italian translation.
-
-2011-11-17  Sterling Augustine  <saugustine@google.com>
-
-       * script.cc (script_include_directive): Implement.
-       (read_script_file): New local variables name and search_path. Update
-       comment. Call IS_ABSOLUTE_PATH and Dirsearch::find_file_in_dir_list.
-       * dirsearch.h (Dirsearch::find_file_in_dir_list): Declare new method.
-       * dirsearch.cc (Dirsearch::find_file_in_dir_list): Implement it.
-
-2011-11-11  Sterling Augustine  <saugustine@google.com>
-
-       * yyscript.y (section_cmd): Add support for INCLUDE directive.
-       (file_or_sections_cmd): Likewise.
-
-2011-11-11  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_make_elf_object): Allow executable also
-       if --just-symbols is given.
-
-2011-11-10  Doug Kwan  <dougkwan@google.com>
-
-       PR gold/13362
-       * arm.cc (Target_arm::Relocate::relocate_tls): Do unaligned accesses
-       when processing data relocs.
-       * reloc.h (Relocate_functions::rel_unaligned): New method.
-       (Relocate_functions::pcrel_unaligned): Ditto.
-       (Relocate_functions::rel32_unaligned): Ditto.
-       (Relocate_functions::pcrel32_unaligned): Ditto.
-
-2011-11-09  Doug Kwan  <dougkwan@google.com>
-
-       PR gold/13362
-       * arm.cc (Arm_scan_relocatable_relocs::Default_scan_relocatable_relocs):
-       Use unaligned 4-byte relocs for static 32-bit data as required by EABI.
-       * reloc.h (Relocatable_relocs::Reloc_strategy): New enum
-       RELOC_ADJUST_FOR_SECTION_4_UNALIGNED.
-       (Relocate_functions::rel_unaligned): New.
-       (Relocate_functions::rel32_unaligned): New.
-       * target-reloc.h (relocate_for_relocatable): Add code to handle
-       RELOC_ADJUST_FOR_SECTION_4_UNALIGNED.
-       * testsuite/Makefile.am (arm_unaligned_reloc_r.stdout,
-       arm_unaligned_reloc_r): New targets.
-       * testsuite/Makefile.in: Regenerate.
-       * arm_unaligned_reloc.sh: Check unaligned relocs in relocatable
-       linking.
-
-2011-11-02  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Add --with-lib-path option.  Define LIB_PATH and
-       NATIVE_LINKER.
-       * Makefile.am (AM_CPPFLAGS): Define TOOLLIBDIR.
-       * options.cc (General_options::finalize): Use library search path
-       from configure script if specified.  If not native and no sysroot,
-       only search TOOLLIBDIR.
-       * options.h (Search_directory::Search_directory): Change name to
-       const std::string&.
-       (General_options::add_to_library_path_with_sysroot): Change arg to
-       const std::string&.
-       * configure, Makefile.in, config.in: Rebuild.
-
-2011-11-02  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.cc (Target_arm::may_use_v5t_interworking): Check whether
-       we are working around the ARM1176 Erratum.
-       * options.h (General_options::fix_arm1176): Add option.
-       * testsuite/Makefile.am: Add testcases, and keep current ones
-       working.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_fix_1176.s: New file.
-       * testsuite/arm_fix_1176.sh: Likewise.
-
-2011-11-02  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.cc (Target_arm::Target_arm): Remove initialisation of
-       may_use_blx_.
-       (Target_arm::may_use_blx): Remove method.
-       (Target_arm::set_may_use_blx): Likewise.
-       (Target_arm::may_use_v4t_interworking): New method.
-       (Target_arm::may_use_v5t_interworking): Likewise.
-       (Target_arm::may_use_blx_): Remove member variable.
-       (Arm_relocate_functions::arm_branch_common): Check for v5T
-       interworking.
-       (Arm_relocate_functions::thumb_branch_common): Likewise.
-       (Reloc_stub::stub_type_for_reloc): Likewise.
-       (Target_arm::do_finalize_sections): Correct interworking checks.
-       * testsuite/Makefile.am: Add new tests.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_farcall_arm_arm.s: New test.
-       * testsuite/arm_farcall_arm_arm.sh: Likewise.
-       * testsuite/arm_farcall_arm_thumb.s: Likewise.
-       * testsuite/arm_farcall_arm_thumb.sh: Likewise.
-       * testsuite/arm_farcall_thumb_arm.s: Likewise.
-       * testsuite/arm_farcall_thumb_arm.sh: Likewise.
-       * testsuite/arm_farcall_thumb_thumb.s: Likewise.
-       * testsuite/arm_farcall_thumb_thumb.sh: Likewise.
-
-2011-10-31  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/13023
-       * expression.cc (Expression::eval_with_dot): Add
-       is_section_dot_assignment parameter.
-       (Expression::eval_maybe_dot): Likewise.  Adjust value when rhs is
-       absolute and assigning to dot within a section.
-       * script-sections.cc
-       (Output_section_element_assignment::set_section_addresses): Pass
-       dot_section to set_if_absolute.
-       (Output_section_element_dot_assignment::finalize_symbols): Pass TRUE
-       as is_section_dot_assignment flag to eval_with_dot.
-       (Output_section_element_dot_assignment::set_section_addresses):
-       Likewise.
-       * script.cc (Symbol_assignment::set_if_absolute): Add dot_section
-       parameter.  Also set value if relative to dot_section; set the
-       symbol's output_section.
-       * script.h (Expression::eval_with_dot): Add is_section_dot_assignment
-       parameter.  Adjust all callers.
-       (Expression::eval_maybe_dot): Likewise.
-       (Symbol_assignment::set_if_absolute): Add dot_section parameter.
-       Adjust all callers.
-       * testsuite/script_test_2.t: Test assignment of an absolute value
-       to dot within an output section element.
-
-2011-10-31  Cary Coutant  <ccoutant@google.com>
-
-       * options.h (class General_options): Add --[no-]gnu-unique options.
-       * symtab.cc (Symbol_table::sized_write_globals): Convert
-       STB_GNU_UNIQUE to STB_GLOBAL if --no-gnu-unique.
-
-2011-10-31  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/13359
-       * i386.cc (Target_i386::Relocate::relocate_tls): Remove
-       unnecessary assertion.
-       * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.
-
-2011-10-31 Sriraman Tallam  <tmsriram@google.com>
-
-       * symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
-       gc_mark_symbol.
-       * symtab.cc (Symbol_table::gc_mark_symbol_for_shlib): Rename to
-       gc_mark_symbol.
-       Change to just keep the section associated with symbol.
-       (Symbol_table::add_from_relobj): Mark symbols as not garbage when
-       they are externally visible and --export-dynamic is turned on.
-       (Symbol_table::gc_mark_dyn_syms): Call gc_mark_symbol.
-
-2011-10-19  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/13163
-       * script-sections.cc
-       (Output_section_element_dot_assignment::needs_output_section): New
-       function.
-
-2011-10-19  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/13204
-       * layout.cc (Layout::segment_precedes): Don't assert failure if a
-       --section-start option was seen.
-       * options.h (General_options::any_section_start): New function.
-
-2011-10-18  David S. Miller  <davem@davemloft.net>
-
-       PR binutils/13301
-       * sparc.cc (Target_sparc::Relocate::reloc_adjust_addr_): New
-       member to track relocation locations that have moved during TLS
-       reloc optimizations.
-       (Target_sparc::Relocate::Relocate): Initialize to NULL.
-       (Target_sparc::Relocate::relocate): Adjust view down by 4
-       bytes if it matches reloc_adjust_addr_.
-       (Target_sparc::Relocate::relocate_tls): Always move the
-       __tls_get_addr call delay slot instruction forward 4 bytes when
-       performing relaxation.
-
-2011-10-18  Cary Coutant  <ccoutant@google.com>
-
-       * output.cc (posix_fallocate): Return 0 on success, errno on failure.
-       (Output_file::map_no_anonymous): Check for non-zero
-       return code from posix_fallocate.
-
-2011-10-17  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/13245
-       * plugin.cc (is_visible_from_outside): Check for symbols
-       referenced from dynamic objects.
-       * resolve.cc (Symbol_table::resolve): Don't count references
-       from dynamic objects as references from real ELF files.
-       * testsuite/plugin_test_2.sh: Adjust expected result.
-
-2011-10-17  Cary Coutant  <ccoutant@google.com>
-
-       * gold.cc: Include timer.h.
-       (queue_middle_tasks): Stamp time.
-       (queue_final_tasks): Likewise.
-       * main.cc (main): Store timer in parameters.  Print timers
-       for each pass.
-       * parameters.cc (Parameters::Parameters): Initialize timer_.
-       (Parameters::set_timer): New function.
-       (set_parameters_timer): New function.
-       * parameters.h (Parameters::set_timer): New function.
-       (Parameters::timer): New function.
-       (Parameters::timer_): New data member.
-       (set_parameters_timer): New function.
-       * timer.cc (Timer::stamp): New function.
-       (Timer::get_pass_time): New function.
-       * timer.h (Timer::stamp): New function.
-       (Timer::get_pass_time): New function.
-       (Timer::pass_times_): New data member.
-
-2011-10-17  Cary Coutant  <ccoutant@google.com>
-
-       * readsyms.cc (Read_symbols::run): Don't queue an unblocker
-       task for members of lib groups.
-
-2011-10-17  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/13288
-       * fileread.cc (File_read::find_view): Add assert.
-       (File_read::make_view): Move bounds check (replace with assert)...
-       (File_read::find_or_make_view): ... to here.
-
-2011-10-12  Cary Coutant  <ccoutant@google.com>
-
-       * output.cc (Output_file::open_base_file): Handle case where
-       ::read returns less than requested size.
-
-2011-10-10  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_relobj_incr::Sized_relobj_incr):
-       Initialize defined_count_.
-       (Sized_relobj_incr::do_add_symbols): Count defined symbols.
-       (Sized_relobj_incr::do_get_global_symbol_counts): Rewrite.
-       (Sized_incr_dynobj::Sized_incr_dynobj): Initialize defined_count_.
-       (Sized_incr_dynobj::do_add_symbols): Count defined symbols.
-       (Sized_incr_dynobj::do_get_global_symbol_counts): Rewrite.
-       * incremental.h (Sized_relobj_incr::defined_count_): New data
-       member.
-       (Sized_incr_dynobj::defined_count_): New data member.
-       * plugin.cc (Sized_pluginobj::do_get_global_symbol_counts):
-       Return zeroes instead of internal error.
-
-2011-10-10  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/13249
-       * output.cc (Output_reloc::Output_reloc): Add use_plt_offset flag.
-       (Output_reloc::symbol_value): Return PLT offset if flag is set.
-       * output.h (class Output_reloc): Add use_plt_offset flag.
-       (Output_reloc::type_): Adjust size of bit field.
-       (Output_reloc::use_plt_offset_): New bit field.
-       (class Output_data_reloc): Adjust all calls to Output_reloc_type.
-       (Output_data_reloc::add_local_relative): (RELA only) Add use_plt_offset
-       flag.  Adjust all callers.
-       * x86_64.cc (Target_x86_64::Scan::local): Check for IFUNC when
-       creating RELATIVE relocations.
-
-2011-10-10  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-       * po/fi.po: Updated Finnish translation.
-
-2011-10-03   Diego Novillo  <dnovillo@google.com>
-
-       * options.cc (parse_uint): Fix dereference of RETVAL.
-
-2011-09-29  Sriraman Tallam  <tmsriram@google.com>
-
-       * layout.h (section_order_map_): New member.
-       (get_section_order_map): New member function.
-       * output.cc (Output_section::add_input_section): Check for patterns
-       only when --section-ordering-file is specified.
-       * gold.cc (queue_middle_tasks): Delay updating order of sections till
-       output_sections have been formed.
-       * layout.cc (Layout_Layout): Initialize section_order_map_.
-       * plugin.cc (update_section_order): Store order in order_map. Do not
-       update the order.
-       * testsuite/Makefile.am: Add test case for plugin_final_layout.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_section_order.c: New file.
-       * testsuite/plugin_final_layout.cc: New file.
-       * testsuite/plugin_final_layout.sh: New file.
-
-2011-09-29  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_incremental_binary::do_process_got_plt):
-       Check for NULL.
-       * symtab.cc (Symbol_table::add_from_relobj): Ignore version
-       symbols during incremental update.
-       (Symbol_table::add_from_dynobj): Likewise.
-
-2011-09-27  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol_table::define_special_symbol): Always
-       canonicalize version string.
-
-2011-09-26  Cary Coutant  <ccoutant@google.com>
-
-       * gold.cc (queue_initial_tasks): Move option checks ...
-       * options.cc (General_options::finalize): ... to here. Disable
-       some options; make others fatal.
-
-2011-09-26  Cary Coutant  <ccoutant@google.com>
-
-       gcc PR lto/47247
-       * plugin.cc (get_symbols_v2): New function.
-       (Plugin::load): Add LDPT_GET_SYMBOLS_V2.
-       (is_referenced_from_outside): New function.
-       (Pluginobj::get_symbol_resolution_info): Add version parameter, return
-       LDPR_PREVAILING_DEF_IRONLY_EXP when using new version.
-       (get_symbols): Pass version parameter.
-       (get_symbols_v2): New function.
-       * plugin.h (Pluginobj::get_symbol_resolution_info): Add version
-       parameter.
-       * testsuite/plugin_test.c (get_symbols_v2): New static variable.
-       (onload): Add LDPT_GET_SYMBOLS_V2.
-       (all_symbols_read_hook): Use get_symbols_v2; check for
-       LDPR_PREVAILING_DEF_IRONLY_EXP.
-       * testsuite/plugin_test_3.sh: Update expected results.
-
-2011-09-23  Simon Baldwin  <simonb@google.com>
-
-       * configure.ac: Add new --with-gold-ldadd and --with-gold-ldflags
-       configuration options.
-       * configure: Regenerate.
-       * Makefile.am: Handle GOLD_LDADD and GOLD_LDFLAGS.
-       * Makefile.in: Regenerate.
-       * testsuite/Makefile.in: Regenerate.
-
-2011-09-19  Sriraman Tallam  <tmsriram@google.com>
-
-       * plugin.h (should_defer_layout): Modify to check for any_claimed_.
-
-2011-09-19  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (can_incremental_update): Fix typo in comment.
-       * incremental.h (can_incremental_update): Likewise.
-
-2011-09-18  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (can_incremental_update): New function.
-       * incremental.h (can_incremental_update): New function.
-       * layout.cc (Layout::init_fixed_output_section): Call it.
-       (Layout::make_output_section): Don't allow patch space in .eh_frame.
-       * object.cc (Sized_relobj_file::do_layout): Call
-       can_incremental_update.
-
-2011-09-13  Cary Coutant  <ccoutant@google.com>
-
-       * configure.ac: Check for glibc support for gnu_indirect_function
-       support with static linking, setting automake conditional
-       IFUNC_STATIC.
-       * Makefile.in: Regenerate.
-       * configure: Regenerate.
-
-       * testsuite/Makefile.am (ifuncmain1static, ifuncmain2static)
-       (ifuncmain4static, ifuncmain5static, ifuncmain7static): Add check
-       for IFUNC_STATIC.
-       * testsuite/Makefile.in: Regenerate.
-
-2011-09-13  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_relobj_incr::do_layout): Call
-       report_comdat_group for kept comdat sections.
-       * testsuite/Makefile.am (incremental_comdat_test_1): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/incr_comdat_test_1.cc: New source file.
-       * testsuite/incr_comdat_test_2_v1.cc: New source file.
-       * testsuite/incr_comdat_test_2_v2.cc: New source file.
-       * testsuite/incr_comdat_test_2_v3.cc: New source file.
-
-2011-09-13  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj_file::do_layout): Remove unused local
-       variable external_symbols_offset.
-
-2011-09-12  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj_file::do_layout): Remove assertion which
-       triggered if object has no symbols.
-
-2011-09-09  David S. Miller  <davem@davemloft.net>
-
-       * output.cc (Output_fill_debug_info::do_write): Use Swap_unaligned.
-       (Output_fill_debug_line::do_write): Likewise.
-
-2011-08-29  Cary Coutant  <ccoutant@google.com>
-
-       * output.cc: (Output_fill_debug_info::do_minimum_hole_size): Add
-       casts to match formatting specs.
-       (Output_fill_debug_line::do_minimum_hole_size): Likewise.
-
-2011-08-26  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Free_list::allocate): Provide guarantee of minimum
-       remaining hole size when allocating.
-       (Layout::make_output_section): Set fill methods for debug sections.
-       * layout.h (Free_list::Free_list_node): Move from private to
-       public.
-       (Free_list::set_min_hole_size): New function.
-       (Free_list::begin, Free_list::end): New functions.
-       (Free_list::min_hole_): New data member.
-       * output.cc: Include dwarf.h.
-       (Output_fill_debug_info::do_minimum_hole_size): New function.
-       (Output_fill_debug_info::do_write): New function.
-       (Output_fill_debug_line::do_minimum_hole_size): New function.
-       (Output_fill_debug_line::do_write): New function.
-       (Output_section::Output_section): Initialize new data member.
-       (Output_section::set_final_data_size): Ensure patch space is larger
-       than minimum hole size.
-       (Output_section::do_write): Fill holes in debug sections.
-       * output.h (Output_fill): New class.
-       (Output_fill_debug_info): New class.
-       (Output_fill_debug_line): New class.
-       (Output_section::set_free_space_fill): New function.
-       (Output_section::free_space_fill_): New data member.
-       * testsuite/Makefile.am (incremental_test_3): Add
-       --incremental-patch option.
-       (incremental_test_4): Likewise.
-       (incremental_test_5): Likewise.
-       (incremental_test_6): Likewise.
-       (incremental_copy_test): Likewise.
-       (incremental_common_test_1): Likewise.
-       * testsuite/Makefile.in: Regenerate.
-
-2011-08-26  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2011-08-01  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (justsyms_exec): New testcase.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/justsyms_exec.c: New source file.
-       * testsuite/justsyms_lib.c: New source file.
-
-2011-08-01  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::set_segment_offsets): Don't realign text
-       segment if -Ttext was specified.
-       * object.cc (Sized_relobj_file::Sized_relobj_file): Store the ELF
-       file type.
-       * object.h (Sized_relobj_file::e_type): New function.
-       (Sized_relobj_file::e_type_): New data member.
-       * symtab.cc (Symbol_table::add_from_relobj): Don't add section
-       base address for ET_EXEC files.
-       * target.cc (Target::do_make_elf_object_implementation): Allow
-       ET_EXEC files with --just-symbols option.
-
-2011-07-28  Cary Coutant  <ccoutant@google.com>
-
-       * workqueue-internal.h (Workqueue_threader::should_cancel_thread):
-       Add thread_number parameter.
-       (Workqueue_threader_threadpool::should_cancel_thread): Likewise.
-       * workqueue-threads.cc
-       (Workqueue_threader_threadpool::should_cancel_thread): Cancel
-       current thread if its thread number is greater than desired thread
-       count.
-       * workqueue.cc (Workqueue_threader_single::should_cancel_thread):
-       Add thread_number parameter.
-       (Workqueue::should_cancel_thread): Likewise.
-       (Workqueue::find_runnable_or_wait): Pass thread_number to
-       should_cancel_thread.
-       * workqueue.h (Workqueue::should_cancel_thread): Add thread_number
-       parameter.
-
-2011-07-22  Sriraman Tallam  <tmsriram@google.com>
-
-       * symtab.cc (Symbol_table::add_from_relobj): Mark symbol as referenced
-       only after checking if it cannot be forced local.
-       * symtab.h (is_externally_visible): Check if the symbol is not forced
-       local.
-
-2011-07-15  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Add --print-output-format.
-       Move -EL next to -EB, for  better --help output.
-       * target-select.cc: Include <cstdio>, "options.h", and
-       "parameters.h".
-       (Target_selector::do_target_bfd_name): New function.
-       (print_output_format): New function.
-       * target-select.h (class Target_selector): Update declarations.
-       (Target_selector::target_bfd_name): New function.
-       (print_output_format): Declare.
-       * main.cc: Include "target-select.h".
-       (main): Handle --print-output-format.
-       * gold.cc: Include "target-select.h".
-       (queue_initial_tasks): Handle --print-output-format when there are
-       no input files.
-       * parameters.cc (parameters_force_valid_target): Give a better
-       error message if -EB/-EL does not match target.
-       * freebsd.h (Target_selector_freebsd::do_target_bfd_name): New
-       function.
-
-2011-07-15  Ian Lance Taylor  <iant@google.com>
-
-       * i386.cc (class Output_data_plt_i386): Add layout_ field.
-       (Output_data_plt_i386::Output_data_plt_i386): Initialize layout_.
-       (Output_data_plt_i386::do_write): Write address of .dynamic
-       section to first entry in .got.plt section.
-       * x86_64.cc (class Output_data_plt_x86_64): Add layout_ field.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
-       Initialize layout_.
-       (Output_data_plt_x86_64::do_write): Write address of .dynamic
-       section to first entry in .got.plt section.
-       * layout.h (Layout::dynamic_section): New function.
-
-2011-07-13  Sriraman Tallam  <tmsriram@google.com>
-
-       * archive.cc (Archive::get_elf_object_for_member): Add extra parameter
-       to claim_file call.
-       * layout.cc (Layout::Layout): Initialize section_ordering_specified_,
-       input_section_position_, and input_section_glob_.
-       (read_layout_from_file): Call function section_ordering_specified.
-       * layout.h (is_section_ordering_specified): New function.
-       (section_ordering_specified): New function.
-       (section_ordering_specified_): New boolean member.
-       * main.cc(main): Call load_plugins after layout object is defined.
-       * output.cc (Output_section::add_input_section): Use
-       function section_ordering_specified to check if section ordering is
-       needed.
-       * output.cc (Output_section::add_relaxed_input_section): Use
-       function section_ordering_specified to check if section ordering is
-       needed.
-       (Output_section::update_section_layout): New function.
-       (Output_section::sort_attached_input_sections): Check if input section
-       must be reordered.
-       * output.h (Output_section::update_section_layout): New function.
-       * plugin.cc (get_section_count): New function.
-       (get_section_type): New function.
-       (get_section_name): New function.
-       (get_section_contents): New function.
-       (update_section_order): New function.
-       (allow_section_ordering): New function.
-       (Plugin::load): Add the new interfaces to the transfer vector.
-       (Plugin_manager::load_plugins): New parameter.
-       (Plugin_manager::all_symbols_read): New parameter.
-       (Plugin_manager::claim_file): New parameter. Save the elf object for
-       unclaimed objects.
-       (Plugin_manager::get_elf_object): New function.
-       (Plugin_manager::get_view): Change to directly use the bool to check
-       if get_view is called from claim_file_hook.
-       * plugin.h (input_objects): New function
-       (Plugin__manager::load_plugins): New parameter.
-       (Plugin_manager::claim_file): New parameter.
-       (Plugin_manager::get_elf_object): New function.
-       (Plugin_manager::in_claim_file_handler): New function.
-       (Plugin_manager::in_claim_file_handler_): New member.
-       (layout): New function.
-       * readsyms.cc (Read_symbols::do_read_symbols): Call the claim_file
-       handler with an extra parameter. Make the elf object before calling
-       claim_file handler.
-       * testsuite/plugin_test.c (get_section_count): New function pointer.
-       (get_section_type): New function pointer.
-       (get_section_name): New function pointer.
-       (get_section_contents): New function pointer.
-       (update_section_order): New function pointer.
-       (allow_section_ordering): New function pointer.
-       (onload): Check if the new interfaces exist.
-
-2011-07-13  Ian Lance Taylor  <iant@google.com>
-
-       * i386.cc (Target_i386::got_section): If -z now, make .got.plt a
-       relro section.
-       * x86_64.cc (Target_x86_64::got_section): Likewise.
-       * testsuite/Makefile.am (check_PROGRAMS): Add relro_now_test.
-       (relro_now_test_SOURCES): New variable.
-       (relro_now_test_DEPENDENCIES): New variable.
-       (relro_now_test_LDFLAGS): New variable.
-       (relro_now_test_LDADD): New variable.
-       (relro_now_test.so): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-07-12  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12980
-       * i386.cc (Target_i386::Scan::global): For a GOT reloc, use a
-       GLOB_DAT relocation rather than a RELATIVE relocation for a
-       protected symbol when creating a shared library.
-       * x86_64.cc (Target_x86_64::Scan::global): Likewise.
-       * testsuite/protected_1.cc (f2, get_f2_addr): New functions.
-       * testsuite/protected_main_1.cc (main): Test that protected
-       function has same address.
-
-2011-07-11  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12979
-       * options.h (class General_options): Add -Bgroup.
-       * options.cc (General_options::finalize): If -Bgroup is set,
-       default to --unresolved-symbols=report-all.
-       * layout.cc (Layout::finish_dynamic_section): Implement -Bgroup.
-       * target-reloc.h (issue_undefined_symbol_error): Handle
-       --unresolved-symbols=report-all.
-
-2011-07-08  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/11985
-       * layout.cc (Layout::create_initial_dynamic_sections): Don't crash
-       if linker script discards key sections.
-       (Layout::create_dynamic_symtab): Likewise.
-       (Layout::assign_local_dynsym_offsets): Likewise.
-       (Layout::sized_create_version_sections): Likewise.
-       (Layout::create_interp): Likewise.
-       (Layout::finish_dynamic_section): Likewise.
-       (Layout::set_dynamic_symbol_size): Likewise.
-
-2011-07-08  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12386
-       * options.h (class General_options): Add --unresolved-symbols.
-       * target-reloc.h (issue_undefined_symbol_error): Check
-       --unresolved-symbols.  Add comments.
-
-2011-07-08  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/odr_violation2.cc (Ordering::operator()): Make
-       expression more complex.
-
-2011-07-08  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/11317
-       * target-reloc.h (issue_undefined_symbol_error): New inline
-       function, broken out of relocate_section.
-       (relocate_section): Call issue_undefined_symbol_error.
-       * i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
-       there is no TLS segment if we are about to issue an undefined
-       symbol error.
-       * x86_64.cc (Target_x86_64::relocate_tls): Likewise.
-
-2011-07-08  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12279
-       * resolve.cc (Symbol_table::should_override): Add fromtype
-       parameter.  Change all callers.  Give error when linking together
-       TLS and non-TLS symbol.
-       (Symbol_table::should_override_with_special): Add fromtype
-       parameter.  Change all callers.
-       * i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
-       there is no TLS segment if we have reported some errors.
-       * x86_64.cc (Target_x86_64::relocate_tls): Likewise.
-
-2011-07-08  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12372
-       * target.h (Target::plt_address_for_global): New function.
-       (Target::plt_address_for_local): New function.
-       (Target::plt_section_for_global): Remove.
-       (Target::plt_section_for_local): Remove.
-       (Target::do_plt_address_for_global): New virtual function.
-       (Target::do_plt_address_for_local): New virtual function.
-       (Target::do_plt_section_for_global): Remove.
-       (Target::do_plt_section_for_local): Remove.
-       (Target::register_global_plt_entry): Add Symbol_table and Layout
-       parameters.
-       * output.cc (Output_data_got::Got_entry::write): Use
-       plt_address_for_global and plt_address_for_local.
-       * layout.cc (Layout::add_target_dynamic_tags): Use size and
-       address of output section.
-       * i386.cc (class Output_data_plt_i386): Add irelative_rel_,
-       got_irelative_, and irelative_count_ fields.  Update
-       declarations.
-       (Output_data_plt_i386::has_irelative_section): New function.
-       (Output_data_plt_i386::entry_count): Add irelative_count_.
-       (Output_data_plt_i386::set_final_data_size): Likewise.
-       (class Target_i386): Add got_irelative_ and rel_irelative_
-       fields.  Update declarations.
-       (Target_i386::Target_i386): Initialize new fields.
-       (Target_i386::do_plt_address_for_global): New function replacing
-       do_plt_section_for_global.
-       (Target_i386::do_plt_address_for_local): New function replacing
-       do_plt_section_for_local.
-       (Target_i386::got_section): Create got_irelative_.
-       (Target_i386::rel_irelative_section): New function.
-       (Output_data_plt_i386::Output_data_plt_i386): Initialize new
-       fields.  Don't define __rel_iplt_{start,end}.
-       (Output_data_plt_i386::add_entry): Add symtab and layout
-       parameters.  Change all callers.  Use different PLT and GOT for
-       IFUNC symbols.
-       (Output_data_plt_i386::add_local_ifunc_entry): Add symtab and
-       layout parameters.  Change all callers.  Use different PLT and
-       GOT.
-       (Output_data_plt_i386::rel_tls_desc): Fix formatting.
-       (Output_data_plt_i386::rel_irelative): New function.
-       (Output_data_plt_i386::address_for_global): New function.
-       (Output_data_plt_i386::address_for_local): New function.
-       (Output_data_plt_i386::do_write): Write out IRELATIVE area.  Use
-       IRELATIVE GOT when changing IFUNC GOT entries.
-       (Target_i386::Scan::global): Use IRELATIVE GOT for IRELATIVE
-       reloc.
-       (Target_i386::do_finalize_sections): Create the __rel_iplt symbols
-       if we didn't create an IRELATIVE GOT.
-       (Target_i386::Relocate::relocate): Use plt_address_for_global and
-       plt_address_for_local.
-       (Target_i386::do_dynsym_value): Use plt_address_for_global.
-       * x86_64.cc (class Output_data_plt_x86_64): Add irelative_rel_,
-       got_irelative_, and irelative_count_ fields.  Update
-       declarations.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
-       Initialize new fields.  Remove symtab parameter.  Change all
-       callers.
-       (Output_data_plt_x86_64::get_tlsdesc_plt_offset): Add
-       irelative_count_.
-       (Output_data_plt_x86_64::has_irelative_section): New function.
-       (Output_data_plt_x86_64::entry_count): Add irelative_count_.
-       (class Target_x86_64): Add got_irelative_ and rel_irelative_
-       fields.  Update declarations.
-       (Target_x86_64::Target_x86_64): Initialize new fields.
-       (Target_x86_64::do_plt_address_for_global): New function replacing
-       do_plt_section_for_global.
-       (Target_x86_64::do_plt_address_for_local): New function replacing
-       do_plt_section_for_local.
-       (Target_x86_64::got_section): Create got_irelative_.
-       (Target_x86_64::rela_irelative_section): New function.
-       (Output_data_plt_x86_64::init): Remove symtab parameter.  Change
-       all callers.  Don't create __rel_iplt_{start,end}.
-       (Output_data_plt_x86_64::add_entry): Add symtab and layout
-       parameters.  Change all callers.  Use different PLT and GOT for
-       IFUNC symbols.
-       (Output_data_plt_x86_64::add_local_ifunc_entry): Add symtab and
-       layout parameters.  Change all callers.  Use different PLT and
-       GOT.
-       (Output_data_plt_x86_64::add_relocation): Add symtab and layout
-       parameters.  Change all callers.  Use different PLT and GOT for
-       IFUNC symbols.
-       (Output_data_plt_x86_64::rela_tlsdesc): Fix formatting.
-       (Output_data_plt_x86_64::rela_irelative): New function.
-       (Output_data_plt_x86_64::address_for_global): New function.
-       (Output_data_plt_x86_64::address_for_local): New function.
-       (Output_data_plt_x86_64::set_final_data_size): Likewise.
-       (Output_data_plt_x86_64::do_write): Write out IRELATIVE area.
-       (Target_x86_64::init_got_plt_for_update): Create got_irelative_.
-       (Target_x86_64::register_global_plt_entry): Add symtab and layout
-       parameters.
-       (Target_x86_64::Scan::global): Use IRELATIVE GOT for IRELATIVE
-       reloc.
-       (Target_x86_64::do_finalize_sections): Create the __rela_iplt
-       symbols if we didn't create an IRELATIVE GOT.
-       (Target_x86_64::Relocate::relocate): Use plt_address_for_global and
-       plt_address_for_local.
-       (Target_x86_64::do_dynsym_value): Use plt_address_for_global.
-       * testsuite/ifuncvar1.c: New test file.
-       * testsuite/ifuncvar2.c: New test file.
-       * testsuite/ifuncvar3.c: New test file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add ifuncvar.
-       (ifuncvar1_pic.o, ifuncvar2_pic.o, ifuncvar.so): New targets.
-       (ifuncvar_SOURCES, ifuncvar_DEPENDENCIES): New variables.
-       (ifuncvar_LDFLAGS, ifuncvar_LDADD): New variables.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-07-07  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (two_file_test_1_v1_ndebug.o): New target.
-       (two_file_test_1_ndebug.o): Likewise.
-       (two_file_test_1b_ndebug.o): Likewise.
-       (two_file_test_2_ndebug.o): Likewise.
-       (two_file_test_main_ndebug.o): Likewise.
-       (incremental_test_2): Link with no-debug versions.
-
-2011-07-06  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc
-       (Output_section_incremental_inputs::write_info_blocks): Check for
-       hidden and internal symbols.
-
-2011-07-06  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_incremental_binary::do_file_has_changed):
-       Check disposition for startup file.
-       (Incremental_inputs::report_command_line): Ignore
-       --incremental-startup-unchanged option.
-       * options.cc (General_options::parse_incremental_startup_unchanged):
-       New function.
-       (General_options::General_options): Initialize new data member.
-       * options.h (Incremental_disposition): Add INCREMENTAL_STARTUP.
-       (General_options): Add --incremental-startup-unchanged option.
-       (General_options::incremental_startup_disposition): New function.
-       (General_options::incremental_startup_disposition_): New data member.
-
-2011-07-06  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_incremental_binary::setup_readers): Pass
-       input file index to Script_info ctor.
-       (Sized_incremental_binary::do_file_has_changed): Find the
-       command-line argument for files named in scripts.
-       * incremental.h (Script_info::Script_info): New ctor
-       with input file index.
-       (Script_info::input_file_index): New function.
-       (Script_info::input_file_index_): New data member.
-       (Incremental_binary::get_library): Add const.
-       (Incremental_binary::get_script_info): Add const.
-       * readsyms.cc (Read_member::is_runnable): Check for this_blocker_.
-       * testsuite/Makefile.am (incremental_test_5): New test case.
-       (incremental_test_6): New test case.
-       * testsuite/Makefile.in: Regenerate.
-
-2011-07-06  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_incremental_binary::do_check_inputs): Add
-       debug output when command lines differ.
-
-2011-07-06  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Incremental_inputs::report_command_line): Ignore
-       --incremental-patch option.
-       * layout.cc (Free_list::allocate): Extend allocation beyond original
-       end if enabled.
-       (Layout::make_output_section): Mark sections that should get
-       patch space.
-       * options.cc (parse_percent): New function.
-       * options.h (parse_percent): New function.
-       (DEFINE_percent): New macro.
-       (General_options): Add --incremental-patch option.
-       * output.cc (Output_section::Output_section): Initialize new data
-       members.
-       (Output_section::add_input_section): Print section name when out
-       of patch space.
-       (Output_section::add_output_section_data): Likewise.
-       (Output_section::set_final_data_size): Add patch space when
-       doing --incremental-full.
-       (Output_section::do_reset_address_and_file_offset): Remove patch
-       space.
-       (Output_segment::set_section_list_addresses): Print debug output
-       only if --incremental-update.
-       * output.h (Output_section::set_is_patch_space_allowed): New function.
-       (Output_section::is_patch_space_allowed_): New data member.
-       (Output_section::patch_space_): New data member.
-       * parameters.cc (Parameters::incremental_full): New function.
-       * parameters.h (Parameters::incremental_full): New function
-       * testsuite/Makefile.am (incremental_test_2): Add test for
-       --incremental-patch option.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/two_file_test_1_v1.cc (t1, t2, t3): Add comments.
-       (t18): Remove function body.
-
-2011-07-05  Doug Kwan  <dougkwan@google.com>
-
-       PR gold/12771
-       * arm.cc (Arm_relocate_functions::abs8): Use int32_t for addend and
-       Arm_Address type for relocation result.
-       (Arm_relocate_functions::abs16): Use unaligned access.  Also fix
-       overflow check.
-       (Arm_relocate_functions::abs32): Use unaligned access.
-       (Arm_relocate_functions::rel32): Ditto.
-       (Arm_relocate_functions::prel31): Ditto.
-       (Arm_exidix_cantunwind::do_fixed_endian_write): Ditto.
-       * testsuite/Makefile.am: Add new test arm_unaligned_reloc for unaligned
-       static data relocations.
-       * testsuite/Makefile.in: Regnerate.
-       * testsuite/arm_unaligned_reloc.{s,sh}: New files.
-
-2011-07-05  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12392
-       * i386.cc (Target_i386::do_finalize_sections): Define __rel_iplt
-       symbols if necessary.
-       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
-
-2011-07-05  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12952
-       * resolve.cc (Symbol::override_base_with_special): Simply override
-       version with special symbol version, ignoring previous version.
-
-2011-07-05  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj_file::include_section_group): Add
-       information to comment about signature location.
-
-2011-07-02  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12957
-       * options.h (class General_options): Add -f and -F.
-       * options.cc (General_options::finalize): Fatal error if -f/-F
-       are used without -shared.
-       * layout.cc (Layout::finish_dynamic_section): Implement -f/-F.
-
-2011-07-02  Ian Lance Taylor  <iant@google.com>
-
-       * dirsearch.cc (Dir_cache::read_files): Ignore ENOTDIR errors.
-
-2011-07-01  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12525
-       PR gold/12952
-       * resolve.cc (Symbol::override_base_with_special): Don't override
-       the version if the overriding symbol has a different name.
-       * dynobj.cc (Versions::add_def): Add dynpool parameter.  Change
-       all callers.  If we give an error about an undefined version,
-       define the base version if necessary.
-       * dynobj.h (class Versions): Update declaration.
-       * testsuite/weak_alias_test_5.cc: New file.
-       * testsuite/weak_alias_test.script: New file.
-       * testsuite/weak_alias_test_main.cc: Check that versioned_symbol
-       and versioned_alias have the right value, and call t2.
-       * testsuite/Makefile.am (weak_alias_test_DEPENDENCIES): Add
-       weak_alias_test_5.so.
-       (weak_alias_test_LDADD): Likewise.
-       (weak_alias_test_5_pic.o, weak_alias_test_5.so): New targets.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-07-01  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12525
-       * options.h (class General_options): Support -z notext.
-       * testsuite/Makefile.am (two_file_shared_1_nonpic.so): Use
-       -Wl,-z,notext.
-       (two_file_shared_nonpic.so): Likewise.
-       (two_file_shared_mixed.so): Likewise.
-       (two_file_shared_mixed_1.so): Likewise.
-       (weak_undef_lib_nonpic.so): Likewise.
-       (alt/weak_undef_lib_nonpic.so): Likewise.
-       (tls_test_shared_nonpic.so): Likewise.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-07-01  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12525
-       * configure.ac: Test whether static linking works, setting
-       the automake conditional HAVE_STATIC.
-       * testsuite/Makefile.am: Disable tests using -static if
-       HAVE_STATIC is not true.
-       * configure, testsuite/Makefile.in: Rebuild.
-
-2011-07-01  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12525
-       * ehframe.cc (Eh_frame_hdr::get_fde_pc): Handle DW_EH_PE_datarel.
-       Assert if we see DW_EH_PE_indirect.
-       * target.h (Target::ehframe_datarel_base): New function.
-       (Target::do_ehframe_datarel_base): New target function.
-       * i386.cc (Target_i386::do_ehframe_datarel_base): New function.
-       * x86_64.cc (Target_x86_64::do_ehframe_datarel_base): New
-       function.
-
-2011-07-01  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12571
-       * options.h (class General_options): Add
-       --ld-generated-unwind-info.
-       * ehframe.cc (Fde::write): Add address parameter.  Change all
-       callers.  If associated with PLT, fill in address and size.
-       (Cie::set_output_offset): Only add merge mapping if there is an
-       object.
-       (Cie::write): Add address parameter.  Change all callers.
-       (Eh_frame::add_ehframe_for_plt): New function.
-       * ehframe.h (class Fde): Update declarations.  Move shndx_ and
-       input_offset_ fields into union u_, with new plt field.
-       (Fde::Fde): Adjust for new union field.
-       (Fde::Fde) [Output_data version]: New constructor.
-       (Fde::add_mapping): Only add merge mapping if there is an object.
-       (class Cie): Update declarations.
-       (class Eh_frame): Declare add_ehframe_for_plt.
-       * layout.cc (Layout::layout_eh_frame): Break out code into
-       make_eh_frame_section, and call it.
-       (Layout::make_eh_frame_section): New function.
-       (Layout::add_eh_frame_for_plt): New function.
-       * layout.h (class Layout): Update declarations.
-       * merge.cc (Merge_map::add_mapping): Add assertion.
-       * i386.cc: Include "dwarf.h".
-       (class Output_data_plt_i386): Make first_plt_entry,
-       dyn_first_plt_entry, exec_plt_entry, and dyn_plt_entry const.  Add
-       plt_eh_frame_cie_size, plt_eh_frame_fde_size, plt_eh_frame_cie,
-       and plt_eh_frame_fde.
-       (Output_data_plt_i386::Output_data_plt_i386): Align to 16-byte
-       boundary.  Call add_eh_frame_for_plt if appropriate.
-       * x86_64.cc: Include "dwarf.h".
-       (class Output_data_plt_x86_64): Align to 16-byte boundary.  Make
-       first_plt_entry, plt_entry and tlsdesc_plt_entry const.  Add
-       plt_eh_frame_cie_size, plt_eh_frame_fde_size, plt_eh_frame_cie,
-       and plt_eh_frame_fde.
-       (Output_data_plt_x86_64::init): Call add_eh_frame_for_plt if
-       appropriate.
-
-2011-06-29  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12629
-       * object.cc (Sized_relobj_file::layout_section): Change shdr
-       parameter to be const.
-       (Sized_relobj_file::layout_eh_frame_section): New function, broken
-       out of do_layout.
-       (Sized_relobj_file::do_layout): Defer .eh_frame sections if
-       appropriate.  Call layout_eh_frame_section.
-       (Sized_relobj_file::do_layout_deferred_sections): Handle .eh_frame
-       sections.
-       * object.h (class Sized_relobj_file): Update declarations.
-
-2011-06-29  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12652
-       * script.cc (Token::integer_value): Accept trailing M/m/K/k
-       modifier.
-       (Lex::gather_token): Accept trailing M/m/K/k for integers.
-
-2011-06-29  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12675
-       * object.cc (Sized_relobj_file::check_eh_frame_flags): Check for
-       SHT_X86_64_UNWIND.
-       * layout.cc (Layout::layout_eh_frame): Likewise.
-
-2011-06-29  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12695
-       * layout.cc (Layout::symtab_section_shndx): New function.
-       * layout.h (class Layout): Declare symtab_section_shndx.
-       * output.cc (Output_section::write_header): Call it.
-
-2011-06-29  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12818
-       * symtab.cc (Symbol::should_add_dynsym_entry): Don't add undefined
-       symbols which are not used in a relocation.
-
-2011-06-28  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12898
-       * layout.cc (Layout::segment_precedes): Don't crash if a linker
-       script create indistinguishable segments.
-       (Layout::set_segment_offsets): Use stable_sort when sorting
-       segments.  Pass this to Compare_segments constructor.
-       * layout.h (class Layout): Make segment_precedes non-static.
-       (class Compare_segments): Change from struct to class.  Add
-       layout_ field.  Add constructor.
-       * script-sections.cc
-       (Script_sections::attach_sections_using_phdrs_clause): Rename
-       local orphan to is_orphan.  Don't report failure to put empty
-       section in segment.  On attachment failure, report name of
-       section, and attach to first PT_LOAD segment.
-
-2011-06-28  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12934
-       * target-select.cc (Target_selector::Target_selector): Add
-       emulation parameter.  Change all callers.
-       (select_target_by_bfd_name): Rename from select_target_by_name.
-       Change all callers.
-       (select_target_by_emulation): New function.
-       (supported_emulation_names): New function.
-       * target-select.h (class Target_selector): Add emulation_ field.
-       Update declarations.
-       (Target_selector::recognize_by_bfd_name): Rename from
-       recognize_by_name.  Change all callers.
-       (Target_selector::supported_bfd_names): Rename from
-       supported_names.  Change all callers.
-       (Target_selector::recognize_by_emulation): New function.
-       (Target_selector::supported_emulations): New function.
-       (Target_selector::emulation): New function.
-       (Target_selector::do_recognize_by_bfd_name): Rename from
-       do_recognize_by_name.  Change all callers.
-       (Target_selector::do_supported_bfd_names): Rename from
-       do_supported_names.  Change all callers.
-       (Target_selector::do_recognize_by_emulation): New function.
-       (Target_selector::do_supported_emulations): New function.
-       (select_target_by_bfd_name): Change name in declaration.
-       (select_target_by_emulation): Declare.
-       (supported_emulation_names): Declare.
-       * parameters.cc (parameters_force_valid_target): Try to find
-       target based on emulation from -m option.
-       * options.h (class General_options): Change doc string for -m.
-       * options.cc (help): Print emulations.
-       (General_options::parse_V): Likewise.
-       * freebsd.h (Target_selector_freebsd::Target_selector_freebsd):
-       Add emulation parameter.  Change all callers.
-
-2011-06-28  Ian Lance Taylor  <iant@google.com>
-
-       * target.h (class Target): Add osabi_ field.
-       (Target::osabi): New function.
-       (Target::set_osabi): New function.
-       (Target::Target): Initialize osabi_.
-       (Target::do_adjust_elf_header): Make pure virtual.
-       (Sized_target::do_adjust_elf_header): Declare.
-       * target.cc (Sized_target::do_adjust_elf_header): New function.
-       (class Sized_target): Instantiate all versions.
-       * freebsd.h (class Target_freebsd): Remove.
-       (Target_selector_freebsd::do_recognize): Call set_osabi on
-       Target.
-       (Target_selector_freebsd::do_recognize_by_name): Likewise.
-       (Target_selector_freebsd::set_osabi): Remove.
-       * i386.cc (class Target_i386): Inherit from Sized_target rather
-       than Target_freebsd.
-       * x86_64.cc (class Target_x86_64): Likewise.
-
-2011-06-28  Ian Lance Taylor  <iant@google.com>
-
-       * target.h (Target::can_check_for_function_pointers): Rewrite.
-       Make non-virtual.
-       (Target::can_icf_inline_merge_sections): Likewise.
-       (Target::section_may_have_icf_unsafe_poineters): Likewise.
-       (Target::Target_info): Add can_icf_inline_merge_sections field.
-       (Target::do_can_check_for_function_pointers): New virtual
-       function.
-       (Target::do_section_may_have_icf_unsafe_pointers): Likewise.
-       * arm.cc (Target_arm::do_can_check_for_function_pointers): Rename
-       from can_check_for_function_pointers, move in file.
-       (Target_arm::do_section_may_have_icf_unsafe_pointers): Rename from
-       section_may_have_icf_unsafe_poineters, move in file.
-       (Target_arm::arm_info): Initialize can_icf_inline_merge_sections.
-       * i386.cc (Target_i386::do_can_check_for_function_pointers):
-       Rename from can_check_for_function_pointers, move in file.
-       (Target_i386::can_icf_inline_merge_sections): Remove.
-       (Target_i386::i386_info): Initialize
-       can_icf_inline_merge_sections.
-       * powerpc.cc (Target_powerpc::powerpc_info) [all versions]:
-       Initialize can_icf_inline_merge_sections.
-       * sparc.cc (Target_sparc::sparc_info) [both version]: Likewise.
-       * x86_64.cc (Target_x86_64::do_can_check_for_function_pointers):
-       Rename from can_check_for_function_pointers, move in file.
-       (Target_x86_64::can_icf_inline_merge_sections): Remove.
-       (Target_x86_64::x86_64_info): Initialize
-       can_icf_inline_merge_sections.
-       * testsuite/testfile.cc (Target_test::test_target_info):
-       Likewise.
-       * icf.cc (get_section_contents): Correct formatting.
-
-2011-06-27  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol::versioned_name): New function.
-       (Symbol_table::add_to_final_symtab): Use versioned_name when
-       appropriate.
-       (Symbol_table::sized_write_symbol): Likewise.
-       * symtab.h (class Symbol): Declare versioned_name.
-       * stringpool.h (class Stringpool_template): Add variant of add
-       which takes a std::basic_string.
-       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_12.
-       (ver_test_12_SOURCES, ver_test_12_DEPENDENCIES): New variables.
-       (ver_test_12_LDFLAGS, ver_test_12_LDADD): New variables.
-       (ver_test_12.o): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-06-27  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relocate_functions::thm_jump8,
-       Arm_relocate_functions::thm_jump11): Use a wider signed
-       type to compute offset.
-       * testsuite/Makefile.am: Add new tests arm_thm_jump11 and
-       arm_thm_jump8.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_branch_in_range.sh: Check test results of
-       arm_thm_jump11 and arm_thm_jump8.
-       * testsuite/arm_thm_jump11.s: New test source file.
-       * testsuite/arm_thm_jump11.t: New linker script.
-       * testsuite/arm_thm_jump8.s: New test source file.
-       * testsuite/arm_thm_jump8.t: New linker script.
-
-2011-06-24  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc: Include "object.h".
-       (ctors_sections_in_init_array): New static variable.
-       (Layout::is_ctors_in_init_array): New function.
-       (Layout::layout): Add entry to ctors_sections_in_init_array if
-       appropriate.
-       * layout.h (class Layout): Declare is_ctors_in_init_array.
-       * reloc.cc (Sized_relobj_file::do_relocate): Call reverse_words if
-       is_ctors_reverse_view is set.
-       (Sized_relobj_file::write_sections): Add layout parameter.  Change
-       all callers.  Set is_ctors_reverse_view field of View_size.
-       (Sized_relobj_file::reverse_words): New function.
-       * object.h (Sized_relobj_file::View_size): Add
-       is_ctors_reverse_view field.
-       (class Sized_relobj_file): Update declarations.
-       * testsuite/initpri3.c: New test.
-       * testsuite/Makefile.am: (check_PROGRAMS): Add initpri3a and
-       initpri3b.
-       (initpri3a_SOURCES, initpri3a_DEPENDENCIES): New variables.
-       (initpri3a_LDFLAGS, initpri3a_LDADD): New variables.
-       (initpri3b_SOURCES, initpri3b_DEPENDENCIES): New variables.
-       (initpri3b_LDFLAGS, initpri3b_LDADD): New variables.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-06-24  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am: Add in-tree assembler to gcctestdir.
-       (debug_msg_cdebug.o, odr_violation1_cdebug.o, odr_violation2_cdebug.o)
-       (debug_msg_cdebug.err): New targets.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/debug_msg.sh: Check output of link with compressed debug.
-       Fix checks for link with shared library.
-
-2011-06-24  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_output_section::append_text_sections_to_list): Do not
-       skip empty text sections.
-       * testsuite/arm_exidx_test.s: Test handling of an empty text section.
-
-2011-06-22  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12910
-       * options.h (class General_options): Add --ctors-in-init-array.
-       * layout.cc (Layout::get_output_section): Treat SHT_INIT_ARRAY and
-       friends as SHT_PROGBITS for merging sections.
-       (Layout::layout): Remove special handling of .init_array and
-       friends.  Don't sort if doing relocatable link.  Sort for .ctors
-       and .dtors if ctors_in_init_array.
-       (Layout::make_output_section): Force correct section types for
-       .init_array and friends.  Don't sort if doing relocatable link,
-       Don't sort .ctors and .dtors if ctors_in_init_array.
-       (Layout::section_name_mapping): Remove .ctors. and .dtorso.
-       (Layout::output_section_name): Add relobj parameter.  Change all
-       callers.  Handle .ctors. and .dtors. in code rather than table.
-       Handle .ctors and .dtors if ctors_in_init_array.
-       (Layout::match_file_name): New function, moved from output.cc.
-       * layout.h (class Layout): Update declarations.
-       * output.cc: Include "layout.h".
-       (Input_section_sort_entry::get_priority): New function.
-       (Input_section_sort_entry::match_file_name): Just call
-       Layout::match_file_name.
-       (Output_section::Input_section_sort_init_fini_compare::operator()):
-       Handle .ctors and .dtors.  Sort by explicit priority rather than
-       by name.
-       * configure.ac: Remove CONSTRUCTOR_PRIORITY test and conditional.
-       * testsuite/initpri2.c: New test.
-       * testsuite/Makefile.am: Don't test CONSTRUCTOR_PRIORITY.
-       (check_PROGRAMS): Add initpri2.
-       (initpri2_SOURCES, initpri2_DEPENDENCIES): New variables.
-       (initpri2_LDFLAGS, initpri2_LDADD): New variables.
-       * configure, testsuite/Makefile.in: Rebuild.
-
-2011-06-19  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12880
-       * layout.cc (Layout::attach_allocated_section_to_segment): Add a
-       .interp section to a PT_INTERP segment even if we have seen a
-       --dynamic-linker option.  Don't do it if we have seen a PHDRS
-       clause in a linker script.
-       (Layout::finalize): Don't create a .interp section if we've
-       already create a PT_INTERP segment.
-       (Layout::create_interp): Always call choose_output_section (revert
-       patch of 2011-06-17).  Don't create PT_INTERP segment.
-       * script-sections.cc
-       (Script_sections::create_note_and_tls_segments): Add a .interp
-       section to a PT_INTERP segment even if we have seen a
-       --dynamic-linker option.
-
-2011-06-18  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::finish_dynamic_section): Don't set DT_TEXTREL
-       merely because a non-PT_LOAD segment has a dynamic reloc.
-
-2011-06-18  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::finish_dynamic_section): Don't create
-       DT_FLAGS entry if not needed.
-
-2011-06-18  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12745
-       * layout.cc (Layout::layout_eh_frame): Correct handling of
-       writable .eh_frame section.
-
-2011-06-17  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12893
-       * resolve.cc (Symbol_table::resolve): Don't give an error if a
-       symbol is redefined with the exact same object and value.
-
-2011-06-17  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12880
-       * layout.h (class Layout): Add interp_segment_ field.
-       * layout.cc (Layout::Layout): Initialize interp_segment_ field.
-       (Layout::attach_allocated_section_to_segment): If making shared
-       library, put .interp section in PT_INTERP segment.
-       (Layout::finalize): Also call create_interp if -dynamic-linker
-       option was used.
-       (Layout::create_interp): Assert that there is no PT_INTERP
-       segment.  If not using a SECTIONS clause, use make_output_section.
-       (Layout::make_output_segment): Set interp_segment_ if PT_INTERP.
-       * script-sections.cc
-       (Script_sections::create_note_and_tls_segments): If making shared
-       library, put .interp section in PT_INTERP segment.
-
-2011-06-17  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj_file::do_layout): Keep warning sections
-       when making a shared library.
-
-2011-06-17  Ian Lance Taylor  <iant@google.com>
-
-       * x86_64.cc (Target_x86_64::Scan::check_non_pic): Add gsym
-       parameter.  Change all callers.  Don't issue warning about PC32
-       against locally defined symbol.
-
-2011-06-16  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Warnings::issue_warning): Don't warn if relocation
-       occurs in same object.
-
-2011-06-14  Alan Modra  <amodra@gmail.com>
-
-       * po/POTFILES.in: Regenerate.
-
-2011-06-09  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.cc
-       (Orphan_output_section::set_section_addresses): For a relocatable
-       link set address to 0.
-
-2011-06-09  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/12804
-       * gold.cc (queue_initial_tasks): Warn if --incremental is
-       used with --compress-debug-sections.
-       * object.cc (Sized_relobj_file::do_layout): Report
-       uncompressed size of compressed input sections.
-
-2011-06-08  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/12804
-       * testsuite/two_file_test_2_v1.cc: Change initialization of
-       v2 to keep it in .data.
-
-2011-06-07  Cary Coutant  <ccoutant@google.com>
-
-       * common.cc (Symbol_table::do_allocate_commons_list): Call
-       gold_fallback.
-       * errors.cc (Errors::fatal): Adjust call to gold_exit.
-       (Errors::fallback): New function.
-       (gold_fallback): New function.
-       * errors.h (Errors::fallback): New function.
-       * gold.cc (gold_exit): Change status parameter to enum; adjust
-       all callers.
-       (queue_initial_tasks): Call gold_fallback.
-       * gold.h: Include cstdlib.
-       (Exit_status): New enum type.
-       (gold_exit): Change status parameter to enum.
-       (gold_fallback): New function.
-       * layout.cc (Layout::set_section_offsets): Call gold_fallback.
-       (Layout::create_symtab_sections): Likewise.
-       (Layout::create_shdrs): Likewise.
-       * main.cc (main): Adjust call to gold_exit.
-       * output.cc (Output_data_got::add_got_entry): Call gold_fallback.
-       (Output_data_got::add_got_entry_pair): Likewise.
-       (Output_section::add_input_section): Likewise.
-       (Output_section::add_output_section_data): Likewise.
-       (Output_segment::set_section_list_addresses): Likewise.
-       * x86_64.cc (Output_data_plt_x86_64::add_entry): Likewise.
-
-2011-06-07  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::set_segment_offsets): Don't adjust layout
-       for incremental links.
-       * output.cc (Output_segment::set_section_list_addresses): Remove
-       FIXME and test for TLS or BSS.
-
-2011-06-07  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am: Add incremental_copy_test,
-       incremental_common_test_1.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/common_test_1_v1.c: New source file.
-       * testsuite/common_test_1_v2.c: New source file.
-       * testsuite/copy_test_v1.cc: New source file.
-
-2011-06-07  Cary Coutant  <ccoutant@google.com>
-
-       * common.cc (Symbol_table::do_allocate_commons_list): For incremental
-       update, allocate common from bss section's free list.
-       * incremental-dump.cc (dump_incremental_inputs): Print flag for
-       linker-defined symbols.
-       * incremental.cc (Sized_incremental_binary::do_process_got_plt):
-       Skip GOT and PLT entries that are no longer referenced.
-       (Output_section_incremental_inputs::write_info_blocks): Mark
-       linker-defined symbols.
-       (Sized_incr_relobj::do_add_symbols): Process linker-defined symbols.
-       * output.cc (Output_section::allocate): New function.
-       * output.h (Output_section::allocate): New function.
-       * resolve.cc (Symbol_table::report_resolve_problem): Add case for
-       linker-defined symbols.
-       (Symbol::override_base_with_special): Copy is_predefined_ flag.
-       * symtab.cc (Symbol::init_fields): Initialize is_predefined_ flag.
-       (Symbol::init_base_output_data): Likewise.
-       (Symbol::init_base_output_segment): Likewise.
-       (Symbol::init_base_constant): Likewise.
-       (Sized_symbol::init_output_data): Likewise.
-       (Sized_symbol::init_output_segment): Likewise.
-       (Sized_symbol::init_constant): Likewise.
-       (Symbol_table::do_define_in_output_data): Likewise.
-       (Symbol_table::do_define_in_output_segment): Likewise.
-       (Symbol_table::do_define_as_constant): Likewise.
-       * symtab.h (Symbol::is_predefined): New function.
-       (Symbol::init_base_output_data): Add is_predefined parameter.
-       (Symbol::init_base_output_segment): Likewise.
-       (Symbol::init_base_constant): Likewise.
-       (Symbol::is_predefined_): New data member.
-       (Sized_symbol::init_output_data): Add is_predefined parameter.
-       (Sized_symbol::init_output_segment): Likewise.
-       (Sized_symbol::init_constant): Likewise.
-       (enum Symbol_table::Defined): Add INCREMENTAL_BASE.
-
-2011-06-07  Cary Coutant  <ccoutant@google.com>
-
-       * copy-relocs.cc (Copy_relocs::copy_reloc): Call make_copy_reloc
-       instead of emit_copy_reloc.
-       (Copy_relocs::emit_copy_reloc): Refactor.
-       (Copy_relocs::make_copy_reloc): New function.
-       (Copy_relocs::add_copy_reloc): Remove.
-       * copy-relocs.h (Copy_relocs::emit_copy_reloc): Move to public
-       section.
-       (Copy_relocs::make_copy_reloc): New function.
-       (Copy_relocs::add_copy_reloc): Remove.
-       * gold.cc (queue_middle_tasks): Emit old COPY relocations from
-       unchanged input files.
-       * incremental-dump.cc (dump_incremental_inputs): Print "COPY" flag.
-       * incremental.cc (Sized_incremental_binary::do_reserve_layout):
-       Reserve BSS space for COPY relocations.
-       (Sized_incremental_binary::do_emit_copy_relocs): New function.
-       (Output_section_incremental_inputs::write_info_blocks): Record
-       whether a symbol is copied from a shared object.
-       (Sized_incr_dynobj::do_add_symbols): Record COPY relocations.
-       * incremental.h (enum Incremental_shlib_symbol_flags): New type.
-       (INCREMENTAL_SHLIB_SYM_FLAGS_SHIFT): New constant.
-       (Incremental_input_entry_reader::get_output_symbol_index): Add
-       is_copy parameter.
-       (Incremental_binary::emit_copy_relocs): New function.
-       (Incremental_binary::do_emit_copy_relocs): New function.
-       (Sized_incremental_binary::Sized_incremental_binary): Initialize
-       new data member.
-       (Sized_incremental_binary::add_copy_reloc): New function.
-       (Sized_incremental_binary::do_emit_copy_relocs): New function.
-       (Sized_incremental_binary::Copy_reloc): New struct.
-       (Sized_incremental_binary::Copy_relocs): New typedef.
-       (Sized_incremental_binary::copy_relocs_): New data member.
-       * symtab.cc (Symbol_table::add_from_incrobj): Change return type.
-       * symtab.h (Symbol_table::add_from_incrobj): Change return type.
-       * target.h (Sized_target::emit_copy_reloc): New function.
-       * x86_64.cc (Target_x86_64::emit_copy_reloc): New function.
-
-2011-06-02  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/12163
-       * archive.cc (Archive::Archive): Initialize new data member.
-       (Archive::include_all_members): Return if archive has already been
-       included.
-       * archive.h (Archive::include_all_members_): New data member.
-
-2011-06-02  Nick Clifton  <nickc@redhat.com>
-
-       * dynobj.h: Fix spelling mistake in comment.
-       * output.cc: Likewise.
-
-2011-05-31  Doug Kwan  <dougkwan@google.com>
-           Asier Llano
-
-       PR gold/12826
-       * arm.cc (Target_arm::tag_cpu_arch_combine): Fix handling of
-       arch value that equals to elfcpp::MAX_TAG_CPU_ARCH.
-       * testsuite/Makefile.am: (MOSTLYCLEANFILES): Clean up.  Remove
-       redundant arm_exidx_test.so.
-       * testsuite/Makefile.in: Regenerate.
-       (check_SCRIPTS): Add pr12826.sh
-       (check_DATA): Add pr12826.stdout
-       (pr12826.stdout, pr12826.so, pr12826_1.o, pr12826_2.o): New rules.
-       * testsuite/pr12826.sh: New file.
-       * testsuite/pr12826_1.s: Ditto.
-       * testsuite/pr12826_1.s: Ditto.
-
-2011-05-30  Ian Lance Taylor  <iant@google.com>
-
-       * reloc.cc (Sized_relobj_file::do_read_relocs): Ignore empty reloc
-       sections.
-
-2011-05-29  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12804
-       * testsuite/Makefile.am: Use different file name for two_file_test
-       temporary file for each incremental test.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-05-29  Ian Lance Taylor  <iant@google.com>
-
-       * binary.cc (Binary_to_elf::sized_convert): Don't crash if the
-       binary input file is empty.
-
-2011-05-27  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/Makefile.am (ver_test_2.so): Use -Wl,-R,.
-       (ver_test_9.so): Likewise.
-       * testsuite/Makefile.in: Rebuild.
-
-2011-05-26 Cary Coutant  <ccoutant@google.com>
-
-       * incremental-dump.cc (dump_incremental_inputs): Print COMDAT groups.
-       * incremental.cc (Incremental_inputs::report_input_section): Fix
-       comment, indentation.
-       (Incremental_inputs::report_comdat_group): New function.
-       (Output_section_incremental_inputs::set_final_data_size): Adjust size
-       of data for incremental input file entry.
-       (Output_section_incremental_inputs::write_info_blocks): Write COMDAT
-       group count, COMDAT group signatures.
-       (Sized_incr_relobj::do_layout): Record kept COMDAT group info from
-       an unchanged input file.
-       * incremental.h (Incremental_object_entry::Incremental_object_entry):
-       Initialize new data member.
-       (Incremental_object_entry::add_comdat_group): New function.
-       (Incremental_object_entry::get_comdat_group_count): New function.
-       (Incremental_object_entry::get_comdat_signature_key): New function.
-       (Incremental_object_entry::groups_): New data member.
-       (Incremental_inputs::report_comdat_group): New function.
-       (Incremental_input_entry_reader::get_symbol_offset): Adjust size of
-       data for incremental input file entry.
-       (Incremental_input_entry_reader::get_comdat_group_count): New function.
-       (Incremental_input_entry_reader::get_input_section): Adjust size of
-       data for incremental input file entry.
-       (Incremental_input_entry_reader::get_global_symbol_reader): Likewise.
-       (Incremental_input_entry_reader::get_comdat_group_signature): New
-       function.
-       * object.cc (Sized_relobj::include_section_group): Report kept
-       COMDAT groups for incremental links.
-
-2011-05-24  David Meyer  <pdox@google.com>
-
-       * dirsearch.cc (Dirsearch::find): Replace n1 and n2 parameters
-       with name parameter.  Add found_name parameter.
-       * fileread.cc (Input_file::find_file): Adjust code accordingly.
-       * dirsearch.h (class Dirsearch): Update declaration.
-
-2011-05-24  Ian Lance Taylor  <iant@google.com>
-
-       * archive.cc (Library_base::should_include_member): Pull in object
-       from archive if it defines the entry symbol.
-       * parameters.cc (Parameters::entry): New function.
-       * parameters.h (class Parameters): Declare entry.
-       * output.h (class Output_file_header): Remove entry_ field.
-       * output.cc (Output_file_header::Output_file_header): Remove entry
-       parameter.  Change all callers.
-       (Output_file_header::entry): Use parameters->entry.
-       * gold.cc (queue_middle_tasks): Likewise.
-       * plugin.cc (Plugin_hook::run): Likewise.
-
-2011-05-24 Cary Coutant  <ccoutant@google.com>
-
-       * gold.cc (queue_initial_tasks): Pass incremental base filename
-       to Output_file::open_base_file; don't print error message.
-       * incremental-dump.cc (main): Adjust call to
-       Output_file::open_for_modification.
-       * incremental-dump.cc (main): Likewise.
-       * incremental.cc (Incremental_inputs::report_command_line):
-       Ignore --incremental-base option when comparing command lines.
-       Ignore parameter when given as separate argument.
-       * options.h (class General_options): Add --incremental-base.
-       * output.cc (Output_file::Output_file):
-       (Output_file::open_base_file): Add base_name and writable parameters;
-       read base file into new file; print error message here.
-       (Output_file::map_no_anonymous): Add writable parameter; adjust all
-       callers.
-       * output.h (Output_file::open_for_modification): Rename to...
-       (Output_file::open_base_file): ...this; add base_name and
-       writable parameters; adjust all callers.
-       (Output_file::map_no_anonymous): Add writable parameter; adjust all
-       callers.
-       * testsuite/Makefile.am (incremental_test_4): Test
-       --incremental-base.
-       * testsuite/Makefile.in: Regenerate.
-
-2011-05-24 Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am: Add incremental_test_2, incremental_test_3,
-       incremental_test_4.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/two_file_test_1_v1.cc: New test source file.
-       * testsuite/two_file_test_1b_v1.cc: New test source file.
-       * testsuite/two_file_test_2_v1.cc: New test source file.
-
-2011-05-24 Cary Coutant  <ccoutant@google.com>
-
-       * dynobj.h (Dynobj::do_dynobj): New function.
-       * incremental-dump.cc (dump_incremental_inputs): Print as_needed
-       flag and soname for shared objects.
-       * incremental.cc (Incremental_inputs::report_object): Make
-       either Incremental_object_entry or Incremental_dynobj_entry; add
-       soname to string table.
-       (Incremental_inputs::report_input_section): Add assertion.
-       (Output_section_incremental_inputs::set_final_data_size): Adjust
-       type of input file entry for shared libraries; adjust size of
-       shared library info entry.
-       (Output_section_incremental_inputs::write_input_files): Write
-       as_needed flag for shared libraries.
-       (Output_section_incremental_inputs::write_info_blocks): Adjust type
-       of input file entry for shared libraries; write soname.
-       (Sized_incr_dynobj::Sized_incr_dynobj): Read as_needed flag and
-       soname from incremental info.
-       * incremental.h (enum Incremental_input_flags): Add
-       INCREMENTAL_INPUT_AS_NEEDED.
-       (Incremental_input_entry::Incremental_input_entry): Initialize new
-       data member.
-       (Incremental_input_entry::set_as_needed): New function.
-       (Incremental_input_entry::as_needed): New function.
-       (Incremental_input_entry::do_dynobj_entry): New function.
-       (Incremental_input_entry::as_needed_): New data member.
-       (Incremental_object_entry::Incremental_object_entry): Don't check
-       for shared library.
-       (Incremental_object_entry::do_type): Likewise.
-       (class Incremental_dynobj_entry): New class.
-       (Incremental_input_entry_reader::as_needed): New function.
-       (Incremental_input_entry_reader::get_soname): New function.
-       (Incremental_input_entry_reader::get_global_symbol_count): Rewrite.
-       (Incremental_input_entry_reader::get_output_symbol_index): Adjust
-       size of shared library info entry.
-       * layout.cc (Layout::finish_dynamic_section): Don't test for
-       incremental link when adding DT_NEEDED entries.
-       * object.h (Object::Object): Initialize new data member.
-       (Object::dynobj): New function.
-       (Object::set_as_needed): New function.
-       (Object::as_needed): New function.
-       (Object::do_dynobj): New function.
-       (Object::as_needed_): New data member.
-
-2011-05-24 Cary Coutant  <ccoutant@google.com>
-
-       * incremental-dump.cc (dump_incremental_inputs): Print dynamic reloc
-       info; adjust display of GOT entries.
-       * incremental.cc (Sized_incremental_binary::setup_readers): Allocate
-       vector of input objects; remove file_status_.
-       (Sized_incremental_binary::do_reserve_layout): Remove file_status_.
-       (Sized_incremental_binary::do_process_got_plt): Adjust calls to
-       got_plt reader; call target hooks to reserve GOT entries.
-       (Output_section_incremental_inputs::set_final_data_size): Adjust size
-       of input file info header and GOT info entry.
-       (Output_section_incremental_inputs::write_info_blocks): Write dynamic
-       relocation info.
-       (Got_plt_view_info::got_descriptor): Remove.
-       (Got_plt_view_info::sym_index): New data member.
-       (Got_plt_view_info::input_index): New data member.
-       (Local_got_offset_visitor::visit): Write input file index.
-       (Global_got_offset_visitor::visit): Write 0 for input file index.
-       (Global_symbol_visitor_got_plt::operator()): Replace got_descriptor
-       with sym_index and input_index.
-       (Output_section_incremental_inputs::write_got_plt): Adjust size of
-       incremental info GOT entry; replace got_descriptor with input_index.
-       (Sized_relobj_incr::Sized_relobj_incr): Adjust initializers; record
-       map from input file index to object.
-       (Sized_relobj_incr::do_layout): Replace direct data member reference
-       with accessor function.
-       (Sized_relobj_incr::do_for_all_local_got_entries): Move to base class.
-       * incremental.h (Incremental_input_entry_reader::get_symbol_offset):
-       Adjust size of input file info header.
-       (Incremental_input_entry_reader::get_first_dyn_reloc): New function.
-       (Incremental_input_entry_reader::get_dyn_reloc_count): New function.
-       (Incremental_input_entry_reader::get_input_section): Adjust size of
-       input file info header.
-       (Incremental_got_plt_reader::Incremental_got_plt_reader): Adjust size
-       of incremental info GOT entry.
-       (Incremental_got_plt_reader::get_got_desc): Remove.
-       (Incremental_got_plt_reader::get_got_symndx): New function.
-       (Incremental_got_plt_reader::get_got_input_index): New function.
-       (Sized_incremental_binary::Sized_incremental_binary): Remove
-       file_status_; add input_objects_.
-       (Sized_incremental_binary::~Sized_incremental_binary): Remove.
-       (Sized_incremental_binary::set_file_is_unchanged): Remove.
-       (Sized_incremental_binary::file_is_unchanged): Remove.
-       (Sized_incremental_binary::set_input_object): New function.
-       (Sized_incremental_binary::input_object): New function.
-       (Sized_incremental_binary::file_status_): Remove.
-       (Sized_incremental_binary::input_objects_): New data member.
-       (Sized_relobj_incr): Rename Sized_incr_relobj to this; adjust all
-       references.
-       (Sized_relobj_incr::invalid_address): Move to base class.
-       (Sized_relobj_incr::is_output_section_offset_invalid): Move to base
-       class.
-       (Sized_relobj_incr::do_output_section_offset): Likewise.
-       (Sized_relobj_incr::do_for_all_local_got_entries): Likewise.
-       (Sized_relobj_incr::section_offsets_): Likewise.
-       * object.cc (Sized_relobj::do_for_all_local_got_entries): New
-       function.
-       (Sized_relobj_file::Sized_relobj_file): Remove local_got_offsets_.
-       (Sized_relobj_file::layout_section): Replace refs to section_offsets_
-       with accessor function.
-       (Sized_relobj_file::do_layout): Likewise.
-       (Sized_relobj_file::do_layout_deferred_sections): Likewise.
-       (Sized_relobj_file::do_for_all_local_got_entries): Move to base class.
-       (Sized_relobj_file::compute_final_local_value): Replace refs to
-       section_offsets_ with accessor function.
-       (Sized_relobj_file::do_finalize_local_symbols): Likewise.
-       * object.h (Relobj::Relobj): Initialize new data members.
-       (Relobj::add_dyn_reloc): New function.
-       (Relobj::first_dyn_reloc): New function.
-       (Relobj::dyn_reloc_count): New function.
-       (Relobj::first_dyn_reloc_): New data member.
-       (Relobj::dyn_reloc_count_): New data member.
-       (Sized_relobj): Rename Sized_relobj_base to this; adjust all
-       references.
-       (Sized_relobj::Address): New typedef.
-       (Sized_relobj::invalid_address): Move here from child class.
-       (Sized_relobj::Sized_relobj): Initialize new data members.
-       (Sized_relobj::sized_relobj): New function.
-       (Sized_relobj::is_output_section_offset_invalid): Move here from
-       child class.
-       (Sized_relobj::get_output_section_offset): Likewise.
-       (Sized_relobj::local_has_got_offset): Likewise.
-       (Sized_relobj::local_got_offset): Likewise.
-       (Sized_relobj::set_local_got_offset): Likewise.
-       (Sized_relobj::do_for_all_local_got_entries): Likewise.
-       (Sized_relobj::clear_got_offsets): New function.
-       (Sized_relobj::section_offsets): Move here from child class.
-       (Sized_relobj::do_output_section_offset): Likewise.
-       (Sized_relobj::do_set_section_offset): Likewise.
-       (Sized_relobj::Local_got_offsets): Likewise.
-       (Sized_relobj::local_got_offsets_): Likewise.
-       (Sized_relobj::section_offsets_): Likewise.
-       (Sized_relobj_file): Rename Sized_relobj to this; adjust all
-       references.
-       (Sized_relobj_file::is_output_section_offset_invalid): Move to base
-       class.
-       (Sized_relobj_file::sized_relobj): New function
-       (Sized_relobj_file::local_has_got_offset): Move to base class.
-       (Sized_relobj_file::local_got_offset): Likewise.
-       (Sized_relobj_file::set_local_got_offset): Likewise.
-       (Sized_relobj_file::get_output_section_offset): Likewise.
-       (Sized_relobj_file::do_for_all_local_got_entries): Likewise.
-       (Sized_relobj_file::do_output_section_offset): Likewise.
-       (Sized_relobj_file::do_set_section_offset): Likewise.
-       (Sized_relobj_file::Local_got_offsets): Likewise.
-       (Sized_relobj_file::local_got_offsets_): Likewise.
-       (Sized_relobj_file::section_offsets_): Likewise.
-       * output.cc (Output_reloc::Output_reloc): Adjust type of relobj
-       (all constructors).
-       (set_needs_dynsym_index): Convert relobj to derived class pointer.
-       (Output_reloc::get_symbol_index): Likewise.
-       (Output_reloc::local_section_offset): Likewise.
-       (Output_reloc::get_address): Likewise.
-       (Output_reloc::symbol_value): Likewise.
-       (Output_data_got::reserve_slot): Move to class definition.
-       (Output_data_got::reserve_local): New function.
-       (Output_data_got::reserve_slot_for_global): Remove.
-       (Output_data_got::reserve_global): New function.
-       * output.h (Output_reloc::Output_reloc): Adjust type of relobj
-       (all constructors, two instantiations).
-       (Output_reloc::get_relobj): New function (two instantiations).
-       (Output_reloc::u1_.relobj, Output_reloc::u2_.relobj): Adjust type.
-       (Output_data_reloc_base::add): Convert relobj to derived class pointer.
-       (Output_data_reloc::add_global): Adjust type of relobj.
-       (Output_data_reloc::add_global_relative): Likewise.
-       (Output_data_reloc::add_symbolless_global_addend): Likewise.
-       (Output_data_reloc::add_local): Likewise.
-       (Output_data_reloc::add_local_relative): Likewise.
-       (Output_data_reloc::add_symbolless_local_addend): Likewise.
-       (Output_data_reloc::add_local_section): Likewise.
-       (Output_data_reloc::add_output_section): Likewise.
-       (Output_data_reloc::add_absolute): Likewise.
-       (Output_data_reloc::add_target_specific): Likewise.
-       (Output_data_got::reserve_slot): Move definition here.
-       (Output_data_got::reserve_local): New function.
-       (Output_data_got::reserve_global): New function.
-       * reloc.cc (Sized_relobj_file::do_read_relocs): Replace refs to
-       section_offsets_ with accessor function.
-       (Sized_relobj_file::write_sections): Likewise.
-       (Sized_relobj_file::do_relocate_sections): Likewise.
-       * target.h (Sized_target::reserve_local_got_entry): New function.
-       (Sized_target::reserve_global_got_entry): New function.
-       * x86_64.cc (Target_x86_64::reserve_local_got_entry): New function.
-       (Target_x86_64::reserve_global_got_entry): New function.
-       (Target_x86_64::init_got_plt_for_update): Create rela_dyn section.
-
-2011-05-23 Cary Coutant  <ccoutant@google.com>
-
-       * gold.cc (queue_middle_tasks): Process existing GOT/PLT entries.
-       * incremental-dump.cc (dump_incremental_inputs): Mask high-order
-       bit when checking got_type.
-       * incremental.cc (Sized_incremental_binary::setup_readers):
-       Store symbol table and string table locations; initialize bit vector
-       of file status flags.
-       (Sized_incremental_binary::do_reserve_layout): Set bit flag for
-       unchanged files.
-       (Sized_incremental_binary::do_process_got_plt): New function.
-       (Sized_incremental_binary::get_symtab_view): Use stored locations.
-       (Output_section_incremental_inputs::set_final_data_size): Record
-       file index for each input file.
-       (Output_section_incremental_inputs::write_got_plt): Store file index
-       instead of input entry offset for each GOT entry.
-       * incremental.h
-       (Incremental_input_entry::Incremental_input_entry): Initialize new
-       data member.
-       (Incremental_input_entry::set_offset): Store file index.
-       (Incremental_input_entry::get_file_index): New function.
-       (Incremental_input_entry::file_index_): New data member.
-       (Incremental_binary::process_got_plt): New function.
-       (Incremental_binary::do_process_got_plt): New function.
-       (Sized_incremental_binary::Sized_incremental_binary): Initialize new
-       data members.
-       (Sized_incremental_binary::~Sized_incremental_binary): New destructor.
-       (Sized_incremental_binary::set_file_is_unchanged): New function.
-       (Sized_incremental_binary::file_is_unchanged): New function.
-       (Sized_incremental_binary::do_process_got_plt): New function.
-       (Sized_incremental_binary::file_status_): New data member.
-       (Sized_incremental_binary::main_symtab_loc_): New data member.
-       (Sized_incremental_binary::main_strtab_loc_): New data member.
-       * output.cc (Output_data_got::Got_entry::write): Add case
-       RESERVED_CODE.
-       (Output_data_got::add_global): Call add_got_entry.
-       (Output_data_got::add_global_plt): Likewise.
-       (Output_data_got::add_global_with_rel): Likewise.
-       (Output_data_got::add_global_with_rela): Likewise.
-       (Output_data_got::add_global_pair_with_rel): Call add_got_entry_pair.
-       (Output_data_got::add_global_pair_with_rela): Likewise.
-       (Output_data_got::add_local): Call add_got_entry.
-       (Output_data_got::add_local_plt): Likewise.
-       (Output_data_got::add_local_with_rel): Likewise.
-       (Output_data_got::add_local_with_rela): Likewise.
-       (Output_data_got::add_local_pair_with_rel): Call add_got_entry_pair.
-       (Output_data_got::add_local_pair_with_rela): Likewise.
-       (Output_data_got::reserve_slot): New function.
-       (Output_data_got::reserve_slot_for_global): New function.
-       (Output_data_got::add_got_entry): New function.
-       (Output_data_got::add_got_entry_pair): New function.
-       (Output_section::add_output_section_data): Edit FIXME.
-       * output.h
-       (Output_section_data_build::Output_section_data_build): New
-       constructor with size parameter.
-       (Output_data_space::Output_data_space): Likewise.
-       (Output_data_got::Output_data_got): Initialize new data member; new
-       constructor with size parameter.
-       (Output_data_got::add_constant): Call add_got_entry.
-       (Output_data_got::reserve_slot): New function.
-       (Output_data_got::reserve_slot_for_global): New function.
-       (class Output_data_got::Got_entry): Add RESERVED_CODE.
-       (Output_data_got::add_got_entry): New function.
-       (Output_data_got::add_got_entry_pair): New function.
-       (Output_data_got::free_list_): New data member.
-       * target.h (Sized_target::init_got_plt_for_update): New function.
-       (Sized_target::register_global_plt_entry): New function.
-       * x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64):
-       Initialize new data member; call init; add constructor with PLT count.
-       (Output_data_plt_x86_64::init): New function.
-       (Output_data_plt_x86_64::add_relocation): New function.
-       (Output_data_plt_x86_64::reserve_slot): New function.
-       (Output_data_plt_x86_64::free_list_): New data member.
-       (Target_x86_64::init_got_plt_for_update): New function.
-       (Target_x86_64::register_global_plt_entry): New function.
-       (Output_data_plt_x86_64::add_entry): Allocate from free list for
-       incremental updates.
-       (Output_data_plt_x86_64::add_relocation): New function.
-       * testsuite/object_unittest.cc (Object_test): Set default options.
-
-2011-05-16  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Make -i a synonym for -r.
-
-2011-05-16  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/tls_test_main.cc: Use semaphores instead of mutexes.
-
-2011-05-10 Cary Coutant  <ccoutant@google.com>
-
-       * object.cc (Sized_relobj::do_count_local_symbols): Check for
-       strip_all (-s).
-
-2011-05-06  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::layout): If the output section flags change,
-       update the ordering.
-
-2011-04-25 Cary Coutant  <ccoutant@google.com>
-
-       * incremental-dump.cc (dump_incremental_inputs): Print local
-       symbol info for each input file.
-       * incremental.cc
-       (Output_section_incremental_inputs::set_final_data_size): Add local
-       symbol info to input file entries in incremental info.
-       (Output_section_incremental_inputs::write_info_blocks): Likewise.
-       (Sized_incr_relobj::Sized_incr_relobj): Initialize new data members.
-       (Sized_incr_relobj::do_add_symbols): Cosmetic change.
-       (Sized_incr_relobj::do_count_local_symbols): Replace stub with
-       implementation.
-       (Sized_incr_relobj::do_finalize_local_symbols): Likewise.
-       (Sized_incr_relobj::do_relocate): Write the local symbols.
-       (Sized_incr_dynobj::do_add_symbols): Cosmetic change.
-       * incremental.h (Incremental_inputs_reader::get_symbol_offset):
-       Adjust size of input file header.
-       (Incremental_inputs_reader::get_local_symbol_offset): New function.
-       (Incremental_inputs_reader::get_local_symbol_count): New function.
-       (Incremental_inputs_reader::get_input_section): Adjust size of input
-       file header.
-       (Incremental_inputs_reader::get_global_symbol_reader): Likewise.
-       (Sized_incr_relobj::This): New typedef.
-       (Sized_incr_relobj::sym_size): New const data member.
-       (Sized_incr_relobj::Local_symbol): New struct.
-       (Sized_incr_relobj::do_output_local_symbol_count): New function.
-       (Sized_incr_relobj::do_local_symbol_offset): New function.
-       (Sized_incr_relobj::local_symbol_count_): New data member.
-       (Sized_incr_relobj::output_local_dynsym_count_): New data member.
-       (Sized_incr_relobj::local_symbol_index_): New data member.
-       (Sized_incr_relobj::local_symbol_offset_): New data member.
-       (Sized_incr_relobj::local_dynsym_offset_): New data member.
-       (Sized_incr_relobj::local_symbols_): New data member.
-       * object.h (Relobj::output_local_symbol_count): New function.
-       (Relobj::local_symbol_offset): New function.
-       (Relobj::do_output_local_symbol_count): New function.
-       (Relobj::do_local_symbol_offset): New function.
-       (Sized_relobj::do_output_local_symbol_count): New function.
-       (Sized_relobj::do_local_symbol_offset): New function.
-
-2011-04-22  Vladimir Simonov  <sv@sw.ru>
-
-       * descriptors.cc (set_close_on_exec): New function.
-       (Descriptors::open): Use set_close_on_exec.
-       * output.cc (S_ISLNK): Define if not defined.
-
-2011-04-22 Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Sized_incremental_binary::setup_readers): Allocate
-       global symbol map.
-       (Sized_incremental_binary::do_apply_incremental_relocs): New function.
-       (Sized_incr_relobj::do_add_symbols): Add symbols to global symbol map.
-       (Sized_incr_relobj::do_relocate): Remap section indices in incremental
-       relocations.
-       (Sized_incr_dynobj::do_add_symbols): Add symbols to global symbol map.
-       (Sized_incr_dynobj::do_for_all_global_symbols): Remove FIXME.
-       (Sized_incr_dynobj::do_for_all_local_got_entries): Likewise.
-       * incremental.h
-       (Incremental_inputs_reader::global_symbol_reader_at_offset): New
-       function.
-       (Incremental_binary::apply_incremental_relocs): New function.
-       (Incremental_binary::do_apply_incremental_relocs): New function.
-       (Sized_incremental_binary::Sized_incremental_binary): Initialize new
-       data member.
-       (Sized_incremental_binary::add_global_symbol): New function.
-       (Sized_incremental_binary::global_symbol): New function.
-       (Sized_incremental_binary::do_apply_incremental_relocs): New function.
-       (Sized_incremental_binary::symbol_map_): New data member.
-       * layout.cc (Layout_task_runner::run): Apply incremental relocations.
-       * target.h (Sized_target::apply_relocation): New function.
-       * target-reloc.h (apply_relocation): New function.
-       * x86_64.cc (Target_x86_64::apply_relocation): New function.
-
-2011-04-22  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_output_section::Arm_output_section): Set SHF_LINK_ORDER
-       flag of a SHT_ARM_EXIDX section.
-       * testsuite/Makefile.am (arm_exidx_test): New test rules.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_exidx_test.s: New file.
-       * testsuite/arm_exidx_test.sh: Same.
-
-2011-04-20 Cary Coutant  <ccoutant@google.com>
-
-       PR gold/12689
-       * archive.h (Incremental_archive_entry::Archive_member):
-       Initialize arg_serial_ (second constructor).
-
-2011-04-17  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Relocate_info::location): Simplify location string.
-       * errors.cc (Errors::error_at_location): Don't print program
-       name.
-       (Errors::warning_at_location): Likewise.
-       (Errors::undefined_symbol): Likewise.
-       * testsuite/debug_msg.sh: Update accordingly.
-
-2011-04-14 Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::symtab_section_offset): New function.
-       * layout.h (Layout::symtab_section_offset): New function.
-       * reloc.cc (Sized_relobj::do_relocate): Call it.
-
-2011-04-12  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Check for sys/mman.h and mmap.  Check for mremap
-       with MREMAP_MAYMOVE.
-       * output.h (class Output_file): Add map_is_allocated_ field.
-       * output.cc: Only #include <sys/mman.h> if it exists.  If mmap is
-       not available, provide stubs.  If mremap is not available, #define
-       it to gold_mremap.
-       (MREMAP_MAYMOVE): Define if not defined.
-       (Output_file::Output_file): Initialize map_is_allocated_.
-       (Output_file::resize): Check map_is_allocated_.
-       (Output_file::map_anonymous): If mmap fails, use malloc.
-       (Output_file::unmap): Don't do anything for an anonymous map.
-       * fileread.cc: Only #include <sys/mman.h> if it exists.  If mmap
-       is not available, provide stubs.
-       (File_read::View::~View): Use free rather than delete[].
-       (File_read::make_view): Use malloc rather than new[].  If mmap
-       fails, use malloc.
-       (File_read::find_or_make_view): Use malloc rather than new[].
-       * gold.h: Remove HAVE_REMAP code.
-       * mremap.c: #include <errno.h>.  Only #include <sys/mman.h> if it
-       exists.  Rename mremap to gold_mremap.  If mmap is not available
-       don't do anything.
-       * configure, config.in: Rebuild.
-
-2011-04-11  Ian Lance Taylor  <iant@google.com>
-
-       * incremental.cc (Sized_incr_relobj::do_add_symbols): Always
-       initialize local variable v.
-
-2011-04-11  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Archive::include_member): Adjust call to
-       report_object.
-       (Add_archive_symbols::run): Track argument serial numbers.
-       (Lib_group::include_member): Likewise.
-       (Add_lib_group_symbols::run): Adjust call to report_archive_begin.
-       * archive.h (Incremental_archive_entry::Archive_member):
-       Initialize arg_serial_.
-       (Archive_member::arg_serial_): New data member.
-       * dynobj.cc (Dynobj::Dynobj): Allow input_file_ to be NULL.
-       (Sized_dynobj::do_add_symbols): Track symbols when doing an
-       incremental link.
-       (Sized_dynobj::do_for_all_local_got_entries): New function.
-       * dynobj.h: (Sized_dynobj::do_for_all_local_got_entries): New
-       function.
-       * fileread.cc (get_mtime): New function.
-       * fileread.h (get_mtime): New function.
-       * gold.cc (queue_initial_tasks): Check for incremental update.
-       (process_incremental_input): New function.
-       (queue_middle_tasks): Don't force valid target for incremental
-       update.
-       * incremental-dump.cc (find_input_containing_global): Adjust
-       size of symbol info entry.
-       (dump_incremental_inputs): Dump argument serial number and
-       in_system_directory flag; bias shndx by 1; print symbol names
-       when dumping per-file symbol lists; use new symbol info readers.
-       * incremental.cc
-       (Output_section_incremental_inputs:update_data_size): New function.
-       (Sized_incremental_binary::setup_readers): Setup input readers
-       for each input file; build maps for files added from libraries
-       and scripts.
-       (Sized_incremental_binary::check_input_args): New function.
-       (Sized_incremental_binary::do_check_inputs): Build map of argument
-       serial numbers to input arguments.
-       (Sized_incremental_binary::do_file_has_changed): Rename
-       do_file_is_unchanged to this; compare file modification times.
-       (Sized_incremental_binary::do_init_layout): New function.
-       (Sized_incremental_binary::do_reserve_layout): New function.
-       (Sized_incremental_binary::do_get_input_reader): Remove.
-       (Sized_incremental_binary::get_symtab_view): New function.
-       (Incremental_checker::can_incrementally_link_output_file): Remove.
-       (Incremental_inputs::report_command_line): Exclude --debug options.
-       (Incremental_inputs::report_archive_begin): Add parameter; track
-       argument serial numbers; don't put input file entry for archive
-       before archive members.
-       (Incremental_inputs::report_archive_end): Put input file entry
-       for archive after archive members.
-       (Incremental_inputs::report_object): Add parameter; track argument
-       serial numbers and in_system_directory flag.
-       (Incremental_inputs::report_script): Add parameter; track argument
-       serial numbers.
-       (Output_section_incremental_inputs::set_final_data_size): Adjust
-       size of symbol info entry; check for forwarding symbols.
-       (Output_section_incremental_inputs::write_input_files): Write
-       in_system_directory flag and argument serial number.
-       (Output_section_incremental_inputs::write_info_blocks): Map section
-       indices between incremental info and original input file; store
-       input section index for each symbol.
-       (class Local_got_offset_visitor): Derive from Got_offset_list::Visitor;
-       change operator() to visit().
-       (class Global_got_offset_visitor): Likewise.
-       (class Global_symbol_visitor_got_plt):
-       (Output_section_incremental_inputs::write_got_plt): Use new visitor
-       classes.
-       (Sized_incr_relobj::Sized_incr_relobj): New constructor.
-       (Sized_incr_relobj::do_read_symbols): New function.
-       (Sized_incr_relobj::do_layout): New function.
-       (Sized_incr_relobj::do_layout_deferred_sections): New function.
-       (Sized_incr_relobj::do_add_symbols): New function.
-       (Sized_incr_relobj::do_should_include_member): New function.
-       (Sized_incr_relobj::do_for_all_global_symbols): New function.
-       (Sized_incr_relobj::do_for_all_local_got_entries): New function.
-       (Sized_incr_relobj::do_section_size): New function.
-       (Sized_incr_relobj::do_section_name): New function.
-       (Sized_incr_relobj::do_section_contents): New function.
-       (Sized_incr_relobj::do_section_flags): New function.
-       (Sized_incr_relobj::do_section_entsize): New function.
-       (Sized_incr_relobj::do_section_address): New function.
-       (Sized_incr_relobj::do_section_type): New function.
-       (Sized_incr_relobj::do_section_link): New function.
-       (Sized_incr_relobj::do_section_info): New function.
-       (Sized_incr_relobj::do_section_addralign): New function.
-       (Sized_incr_relobj::do_initialize_xindex): New function.
-       (Sized_incr_relobj::do_get_global_symbol_counts): New function.
-       (Sized_incr_relobj::do_read_relocs): New function.
-       (Sized_incr_relobj::do_gc_process_relocs): New function.
-       (Sized_incr_relobj::do_scan_relocs): New function.
-       (Sized_incr_relobj::do_count_local_symbols): New function.
-       (Sized_incr_relobj::do_finalize_local_symbols): New function.
-       (Sized_incr_relobj::do_set_local_dynsym_indexes): New function.
-       (Sized_incr_relobj::do_set_local_dynsym_offset): New function.
-       (Sized_incr_relobj::do_relocate): New function.
-       (Sized_incr_relobj::do_set_section_offset): New function.
-       (Sized_incr_dynobj::Sized_incr_dynobj): New function.
-       (Sized_incr_dynobj::do_read_symbols): New function.
-       (Sized_incr_dynobj::do_layout): New function.
-       (Sized_incr_dynobj::do_add_symbols): New function.
-       (Sized_incr_dynobj::do_should_include_member): New function.
-       (Sized_incr_dynobj::do_for_all_global_symbols): New function.
-       (Sized_incr_dynobj::do_for_all_local_got_entries): New function.
-       (Sized_incr_dynobj::do_section_size): New function.
-       (Sized_incr_dynobj::do_section_name): New function.
-       (Sized_incr_dynobj::do_section_contents): New function.
-       (Sized_incr_dynobj::do_section_flags): New function.
-       (Sized_incr_dynobj::do_section_entsize): New function.
-       (Sized_incr_dynobj::do_section_address): New function.
-       (Sized_incr_dynobj::do_section_type): New function.
-       (Sized_incr_dynobj::do_section_link): New function.
-       (Sized_incr_dynobj::do_section_info): New function.
-       (Sized_incr_dynobj::do_section_addralign): New function.
-       (Sized_incr_dynobj::do_initialize_xindex): New function.
-       (Sized_incr_dynobj::do_get_global_symbol_counts): New function.
-       (make_sized_incremental_object): New function.
-       (Incremental_library::copy_unused_symbols): New function.
-       (Incremental_library::do_for_all_unused_symbols): New function.
-       * incremental.h (enum Incremental_input_flags): New type.
-       (class Incremental_checker): Remove.
-       (Incremental_input_entry::Incremental_input_entry): Add argument
-       serial number.
-       (Incremental_input_entry::arg_serial): New function.
-       (Incremental_input_entry::set_is_in_system_directory): New function.
-       (Incremental_input_entry::is_in_system_directory): New function.
-       (Incremental_input_entry::arg_serial_): New data member.
-       (Incremental_input_entry::is_in_system_directory_): New data member.
-       (class Script_info): Move here from script.h.
-       (Script_info::Script_info): Add filename parameter.
-       (Script_info::filename): New function.
-       (Script_info::filename_): New data member.
-       (Incremental_script_entry::Incremental_script_entry): Add argument
-       serial number.
-       (Incremental_object_entry::Incremental_object_entry): Likewise.
-       (Incremental_object_entry::add_input_section): Build list of input
-       sections with map to original shndx.
-       (Incremental_object_entry::get_input_section_index): New function.
-       (Incremental_object_entry::shndx_): New data member.
-       (Incremental_object_entry::name_key_): Rename; adjust all refs.
-       (Incremental_object_entry::sh_size_): Rename; adjust all refs.
-       (Incremental_archive_entry::Incremental_archive_entry): Add argument
-       serial number.
-       (Incremental_inputs::report_archive_begin): Likewise.
-       (Incremental_inputs::report_object): Likewise.
-       (Incremental_inputs::report_script): Likewise.
-       (class Incremental_global_symbol_reader): New class.
-       (Incremental_input_entry_reader::Incremental_input_entry_reader): Read
-       and store flags and input file type.
-       (Incremental_input_entry_reader::arg_serial): New function.
-       (Incremental_input_entry_reader::type): Extract type from flags.
-       (Incremental_input_entry_reader::is_in_system_directory): New function.
-       (Incremental_input_entry_reader::get_input_section_count): Call
-       accessor function for type.
-       (Incremental_input_entry_reader::get_symbol_offset): Call accessor
-       function for type; adjust size of global symbol entry.
-       (Incremental_input_entry_reader::get_global_symbol_count): Call
-       accessor function for type.
-       (Incremental_input_entry_reader::get_object_count): Likewise.
-       (Incremental_input_entry_reader::get_object_offset): Likewise.
-       (Incremental_input_entry_reader::get_member_count): Likewise.
-       (Incremental_input_entry_reader::get_unused_symbol_count): Likewise.
-       (Incremental_input_entry_reader::get_member_offset): Likewise.
-       (Incremental_input_entry_reader::get_unused_symbol): Likewise.
-       (Incremental_input_entry_reader::Global_symbol_info): Remove.
-       (Incremental_input_entry_reader::get_global_symbol_info): Remove.
-       (Incremental_input_entry_reader::get_global_symbol_reader): New
-       function.
-       (Incremental_input_entry_reader::get_output_symbol_index): New
-       function.
-       (Incremental_input_entry_reader::type_): Remove.
-       (Incremental_input_entry_reader::flags_): New data member.
-       (Incremental_inputs_reader::input_file_offset): New function.
-       (Incremental_inputs_reader::input_file_index): New function.
-       (Incremental_inputs_reader::input_file): Call input_file_offset.
-       (Incremental_inputs_reader::input_file_at_offset): New function.
-       (Incremental_relocs_reader::get_r_type): Reformat.
-       (Incremental_relocs_reader::get_r_shndx): Reformat.
-       (Incremental_relocs_reader::get_r_offset): Reformat.
-       (Incremental_relocs_reader::data): New function.
-       (Incremental_binary::Incremental_binary): Initialize new data members.
-       (Incremental_binary::check_inputs): Add cmdline parameter.
-       (Incremental_binary::file_is_unchanged): Remove.
-       (Input_reader::arg_serial): New function.
-       (Input_reader::get_unused_symbol_count): New function.
-       (Input_reader::get_unused_symbol): New function.
-       (Input_reader::do_arg_serial): New function.
-       (Input_reader::do_get_unused_symbol_count): New function.
-       (Input_reader::do_get_unused_symbol): New function.
-       (Incremental_binary::input_file_count): New function.
-       (Incremental_binary::get_input_reader): Change signature to use
-       index instead of filename.
-       (Incremental_binary::file_has_changed): New function.
-       (Incremental_binary::get_input_argument): New function.
-       (Incremental_binary::get_library): New function.
-       (Incremental_binary::get_script_info): New function.
-       (Incremental_binary::init_layout): New function.
-       (Incremental_binary::reserve_layout): New function.
-       (Incremental_binary::output_file): New function.
-       (Incremental_binary::do_check_inputs): New function.
-       (Incremental_binary::do_file_is_unchanged): Remove.
-       (Incremental_binary::do_file_has_changed): New function.
-       (Incremental_binary::do_init_layout): New function.
-       (Incremental_binary::do_reserve_layout): New function.
-       (Incremental_binary::do_input_file_count): New function.
-       (Incremental_binary::do_get_input_reader): Change signature.
-       (Incremental_binary::input_args_map_): New data member.
-       (Incremental_binary::library_map_): New data member.
-       (Incremental_binary::script_map_): New data member.
-       (Sized_incremental_binary::Sized_incremental_binary): Initialize
-       new data members.
-       (Sized_incremental_binary::output_section): New function.
-       (Sized_incremental_binary::inputs_reader): Add const.
-       (Sized_incremental_binary::symtab_reader): Add const.
-       (Sized_incremental_binary::relocs_reader): Add const.
-       (Sized_incremental_binary::got_plt_reader): Add const.
-       (Sized_incremental_binary::get_symtab_view): New function.
-       (Sized_incremental_binary::Inputs_reader): New typedef.
-       (Sized_incremental_binary::Input_entry_reader): New typedef.
-       (Sized_incremental_binary::do_check_inputs): Add cmdline parameter.
-       (Sized_incremental_binary::do_file_is_unchanged): Remove.
-       (Sized_incremental_binary::do_file_has_changed): New function.
-       (Sized_incremental_binary::do_init_layout): New function.
-       (Sized_incremental_binary::do_reserve_layout): New function.
-       (Sized_input_reader::Inputs_reader): Remove.
-       (Sized_input_reader::Input_entry_reader): Remove.
-       (Sized_input_reader::do_arg_serial): New function.
-       (Sized_input_reader::do_get_unused_symbol_count): New function.
-       (Sized_input_reader::do_get_unused_symbol): New function.
-       (Sized_incremental_binary::do_input_file_count): New function.
-       (Sized_incremental_binary::do_get_input_reader): Change signature;
-       use index instead of filename.
-       (Sized_incremental_binary::section_map_): New data member.
-       (Sized_incremental_binary::input_entry_readers_): New data member.
-       (class Sized_incr_relobj): New class.
-       (class Sized_incr_dynobj): New class.
-       (make_sized_incremental_object): New function.
-       (class Incremental_library): New class.
-       * layout.cc (Free_list::num_lists): New static data member.
-       (Free_list::num_nodes): New static data member.
-       (Free_list::num_removes): New static data member.
-       (Free_list::num_remove_visits): New static data member.
-       (Free_list::num_allocates): New static data member.
-       (Free_list::num_allocate_visits): New static data member.
-       (Free_list::init): New function.
-       (Free_list::remove): New function.
-       (Free_list::allocate): New function.
-       (Free_list::dump): New function.
-       (Free_list::print_stats): New function.
-       (Layout_task_runner::run): Resize output file for incremental updates.
-       (Layout::Layout): Initialize new data members.
-       (Layout::set_incremental_base): New function.
-       (Layout::init_fixed_output_section): New function.
-       (Layout::layout_eh_frame): Do not build .eh_frame_hdr section for
-       incremental updates.
-       (Layout::create_gold_note): Do not create gold note section for
-       incremental updates.
-       (Layout::set_segment_offsets): Do not recalculate RELRO alignment
-       for incremental updates.
-       (Layout::set_section_offsets): For incremental updates, allocate space
-       from free list.
-       (Layout::create_symtab_sections): Layout with offsets relative to
-       start of section; for incremental updates, allocate space from free
-       list.
-       (Layout::create_shdrs): For incremental updates, allocate space from
-       free list.
-       (Layout::finish_dynamic_section): For incremental updates, do not
-       check --as-needed (fixed in subsequent patch).
-       * layout.h (class Free_list): New class.
-       (Layout::set_incremental_base): New function.
-       (Layout::incremental_base): New function.
-       (Layout::init_fixed_output_section): New function.
-       (Layout::allocate): New function.
-       (Layout::incremental_base_): New data member.
-       (Layout::free_list_): New data member.
-       * main.cc (main): Print Free_list statistics.
-       * object.cc (Relobj::finalize_incremental_relocs): Add
-       clear_counts parameter; clear counts only when clear_counts is set.
-       (Sized_relobj::Sized_relobj): Initialize new base class.
-       (Sized_relobj::do_layout): Don't report special sections.
-       (Sized_relobj::do_for_all_local_got_entries): New function.
-       (Sized_relobj::write_local_symbols): Add symtab_off parameter; add
-       symtab_off to all symbol table offsets.
-       (Sized_relobj::do_get_global_symbol_counts): Add typename keyword.
-       * object.h (class Got_offset_list): Move to top of file.
-       (Object::Object): Allow case where input_file == NULL.
-       (Object::~Object): Likewise.
-       (Object::input_file): Assert that input_file != NULL.
-       (Object::lock): Allow case where input_file == NULL.
-       (Object::unlock): Likewise.
-       (Object::is_locked): Likewise.
-       (Object::token): Likewise.
-       (Object::release): Likewise.
-       (Object::is_incremental): New function.
-       (Object::get_mtime): New function.
-       (Object::for_all_local_got_entries): New function.
-       (Object::clear_view_cache_marks): Allow case where input_file == NULL.
-       (Object::set_is_in_system_directory): New function.
-       (Object::is_in_system_directory): New function.
-       (Object::do_is_incremental): New function.
-       (Object::do_get_mtime): New function.
-       (Object::do_for_all_local_got_entries): New function.
-       (Object::is_in_system_directory_): New data member.
-       (Relobj::finalize_incremental_relocs): Add clear_counts parameter.
-       (class Sized_relobj_base): New class.
-       (class Sized_relobj): Derive from Sized_relobj_base.
-       (class Sized_relobj::Symbols): Redeclare from base class.
-       (class Sized_relobj::local_got_offset_list): Remove.
-       (class Sized_relobj::Output_sections): Redeclare from base class.
-       (class Sized_relobj::do_for_all_local_got_entries): New function.
-       (class Sized_relobj::write_local_symbols): Add offset parameter.
-       (class Sized_relobj::local_symbol_offset_): Update comment.
-       (class Sized_relobj::local_dynsym_offset_): Update comment.
-       * options.cc (Input_arguments::add_file): Remove const.
-       * options.h (Input_file_argument::Input_file_argument):
-       Initialize arg_serial_ (all constructors).
-       (Input_file_argument::set_arg_serial): New function.
-       (Input_file_argument::arg_serial): New function.
-       (Input_file_argument::arg_serial_): New data member.
-       (Input_arguments::Input_arguments): Initialize file_count_.
-       (Input_arguments::add_file): Remove const.
-       (Input_arguments::number_of_input_files): New function.
-       (Input_arguments::file_count_): New data member.
-       (Command_line::number_of_input_files): Call
-       Input_arguments::number_of_input_files.
-       * output.cc (Output_segment_headers::Output_segment_headers):
-       Set current size.
-       (Output_section::Input_section::current_data_size): New function.
-       (Output_section::Output_section): Initialize new data members.
-       (Output_section::add_input_section): Don't do merge sections for
-       an incremental link; allocate space from free list for an
-       incremental update.
-       (Output_section::add_output_section_data): Allocate space from
-       free list for an incremental update.
-       (Output_section::update_data_size): New function.
-       (Output_section::set_fixed_layout): New function.
-       (Output_section::reserve): New function.
-       (Output_segment::set_section_addresses): Remove const.
-       (Output_segment::set_section_list_addresses): Remove const; allocate
-       space from free list for an incremental update.
-       (Output_segment::set_offset): Adjust size of RELRO segment for an
-       incremental update.
-       * output.h (Output_data::current_data_size): Move here from
-       child classes.
-       (Output_data::pre_finalize_data_size): New function.
-       (Output_data::update_data_size): New function.
-       (Output_section_headers::update_data_size): new function.
-       (Output_section_data_build::current_data_size): Move to Output_data.
-       (Output_data_strtab::update_data_size): New function.
-       (Output_section::current_data_size): Move to Output_data.
-       (Output_section::set_fixed_layout): New function.
-       (Output_section::has_fixed_layout): New function.
-       (Output_section::reserve): New function.
-       (Output_section::update_data_size): New function.
-       (Output_section::has_fixed_layout_): New data member.
-       (Output_section::free_list_): New data member.
-       (Output_segment::set_section_addresses): Remove const.
-       (Output_segment::set_section_list_addresses): Remove const.
-       * plugin.cc (Sized_pluginobj::do_for_all_local_got_entries):
-       New function.
-       * plugin.h (Sized_pluginobj::do_for_all_local_got_entries):
-       New function.
-       * readsyms.cc (Read_symbols::do_read_symbols): Add library
-       parameter when calling Add_symbols constructor; store argument
-       serial number for members of a lib group.
-       (Add_symbols::locks): Allow case where token == NULL.
-       (Add_symbols::run): Report libraries denoted by --start-lib/--end-lib.
-       (Read_member::~Read_member): New function.
-       (Read_member::is_runnable): New function.
-       (Read_member::locks): New function.
-       (Read_member::run): New function.
-       (Check_script::~Check_script): New function.
-       (Check_script::is_runnable): New function.
-       (Check_script::locks): New function.
-       (Check_script::run): New function.
-       (Check_library::~Check_library): New function.
-       (Check_library::is_runnable): New function.
-       (Check_library::locks): New function.
-       (Check_library::run): New function.
-       * readsyms.h (Add_symbols::Add_symbols): Add library parameter.
-       (Add_symbols::library_): New data member.
-       (class Read_member): New class.
-       (class Check_script): New class.
-       (class Check_library): New class.
-       * reloc.cc (Read_relocs::is_runnable): Allow case where
-       token == NULL.
-       (Read_relocs::locks): Likewise.
-       (Scan_relocs::locks): Likewise.
-       (Relocate_task::locks): Likewise.
-       (Sized_relobj::do_scan_relocs): Tell finalize_incremental_relocs
-       to clear counters.
-       (Sized_relobj::incremental_relocs_scan): Fix comment.
-       (Sized_relobj::do_relocate): Pass output file offset to
-       write_local_symbols.
-       (Sized_relobj::incremental_relocs_write_reltype): Use reloc_size
-       from class declaration.
-       * script.cc (read_input_script): Allocate Script_info; pass
-       argument serial number to report_script.
-       * script.h (class Script_info): Move to incremental.h.
-       * symtab.cc (Symbol_table::add_from_incrobj): New function.
-       * symtab.h (Symbol_table::add_from_incrobj): New function.
-       (Symbol_table::set_file_offset): New function.
-
-2011-04-05  Cary Coutant  <ccoutant@google.com>
-
-       * incremental-dump.cc (dump_incremental_inputs): Change signature
-       to take a Sized_incremental_binary; change caller.  Use readers
-       in Sized_incremental_binary.
-       * incremental.cc
-       (Sized_incremental_binary::find_incremental_inputs_sections):
-       Rename do_find_incremental_inputs_sections to this.
-       (Sized_incremental_binary::setup_readers): New function.
-       (Sized_incremental_binary::do_check_inputs): Check
-       has_incremental_info_ flag; move setup code to setup_readers;
-       use input readers.
-       (Sized_incremental_binary::do_file_is_unchanged): New function.
-       (Sized_incremental_binary::do_get_input_reader): New function.
-       * incremental.h (class Incremental_binary): Move to end of file.
-       (Incremental_binary::file_is_unchanged): New function.
-       (Incremental_binary::do_file_is_unchanged): New function.
-       (Incremental_binary::Input_reader): New class.
-       (Incremental_binary::get_input_reader): New function.
-       (class Sized_incremental_binary): Move to end of file.
-       (Sized_incremental_binary::Sized_incremental_binary): Setup the
-       input section reader classes.
-       (Sized_incremental_binary::has_incremental_info): New function.
-       (Sized_incremental_binary::inputs_reader): New function.
-       (Sized_incremental_binary::symtab_reader): New function.
-       (Sized_incremental_binary::relocs_reader): New function.
-       (Sized_incremental_binary::got_plt_reader): New function.
-       (Sized_incremental_binary::do_file_is_unchanged): New function.
-       (Sized_incremental_binary::Sized_input_reader): New class.
-       (Sized_incremental_binary::get_input_reader): New function.
-       (Sized_incremental_binary::find_incremental_inputs_sections):
-       Rename do_find_incremental_inputs_sections to this.
-       (Sized_incremental_binary::setup_readers): New function.
-       (Sized_incremental_binary::has_incremental_info_): New data member.
-       (Sized_incremental_binary::inputs_reader_): New data member.
-       (Sized_incremental_binary::symtab_reader_): New data member.
-       (Sized_incremental_binary::relocs_reader_): New data member.
-       (Sized_incremental_binary::got_plt_reader_): New data member.
-       (Sized_incremental_binary::current_input_file_): New data member.
-
-2011-04-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
-
-       PR gold/12640
-       * dwarf_reader.cc (Sized_dwarf_line_info): Fix vector bounds
-       violation.
-
-2011-03-30  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Archive::include_member): Adjust call to report_object.
-       (Add_archive_symbols::run): Add script_info to call to
-       report_archive_begin.
-       (Lib_group::include_member): Adjust call to report_object.
-       (Add_lib_group_symbols::run): Adjust call to report_object.
-       * incremental-dump.cc (dump_incremental_inputs): Remove unnecessary
-       blocks.  Add object count for script input files.
-       * incremental.cc (Incremental_inputs::report_archive_begin): Add
-       script_info parameter; change all callers.
-       (Incremental_inputs::report_object): Add script_info parameter;
-       change all callers.
-       (Incremental_inputs::report_script): Store backpointer to
-       incremental info entry.
-       (Output_section_incremental_inputs::set_final_data_size): Record
-       additional information for scripts.
-       (Output_section_incremental_inputs::write_info_blocks): Likewise.
-       * incremental.h (Incremental_script_entry::add_object): New function.
-       (Incremental_script_entry::get_object_count): New function.
-       (Incremental_script_entry::get_object): New function.
-       (Incremental_script_entry::objects_): New data member; adjust
-       constructor.
-       (Incremental_inputs::report_archive_begin): Add script_info parameter.
-       (Incremental_inputs::report_object): Add script_info parameter.
-       (Incremental_inputs_reader::get_object_count): New function.
-       (Incremental_inputs_reader::get_object_offset): New function.
-       * options.cc (Input_arguments::add_file): Return reference to
-       new input argument.
-       * options.h (Input_argument::set_script_info): New function.
-       (Input_argument::script_info): New function.
-       (Input_argument::script_info_): New data member; adjust all
-       constructors.
-       (Input_file_group::add_file): Return reference to new input argument.
-       (Input_file_lib::add_file): Likewise.
-       (Input_arguments::add_file): Likewise.
-       * readsyms.cc (Add_symbols::run): Adjust call to report_object.
-       * script.cc (Parser_closure::Parser_closure): Add script_info
-       parameter; adjust all callers.
-       (Parser_closure::script_info): New function.
-       (Parser_closure::script_info_): New data member.
-       (read_input_script): Report scripts earlier to incremental info.
-       (script_add_file): Set script_info in Input_argument.
-       (script_add_library): Likewise.
-       * script.h (Script_options::Script_info): Rewrite class.
-
-2011-03-29  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Library_base::should_include_member): Move
-       method here from class Archive.
-       (Archive::Archive): Initialize base class.
-       (Archive::should_include_member): Move to base class.
-       (Archive::do_for_all_unused_symbols): New function.
-       (Add_archive_symbols::run): Remove redundant access to
-       incremental_inputs.
-       (Lib_group::Lib_group): Initialize base class.
-       (Lib_group::do_filename): New function.
-       (Lib_group::include_member): Pass pointer to Lib_group to
-       report_object.
-       (Lib_group::do_for_all_unused_symbols): New function.
-       (Add_lib_group_symbols::run): Report archive information for
-       incremental links.
-       * archive.h (class Library_base): New base class.
-       (class Archive): Derive from Library_base.
-       (Archive::filename): Move to base class.
-       (Archive::set_incremental_info): Likewise.
-       (Archive::incremental_info): Likewise.
-       (Archive::Should_include): Likewise.
-       (Archive::should_include_member): Likewise.
-       (Archive::Armap_entry): Remove.
-       (Archive::Unused_symbol_iterator): Remove.
-       (Archive::unused_symbols_begin): Remove.
-       (Archive::unused_symbols_end): Remove.
-       (Archive::do_filename): New function.
-       (Archive::do_get_mtime): New function.
-       (Archive::do_for_all_unused_symbols): New function.
-       (Archive::task_): Move to base class.
-       (Archive::incremental_info_): Likewise.
-       (class Lib_group): Derive from Library_base.
-       (Lib_group::do_filename): New function.
-       (Lib_group::do_get_mtime): New function.
-       (Lib_group::do_for_all_unused_symbols): New function.
-       (Lib_group::task_): Move to base class.
-       * dynobj.cc (Sized_dynobj::do_for_all_global_symbols): New
-       function.
-       * dynobj.h (Sized_dynobj::do_for_all_global_symbols): New
-       function.
-       * incremental.cc (Incremental_inputs::report_archive_begin):
-       Use Library_base; call library's get_mtime; add incremental inputs
-       entry before members.
-       (class Unused_symbol_visitor): New class.
-       (Incremental_inputs::report_archive_end): Use Library_base; use
-       visitor class to record unused symbols; don't add incremental inputs
-       entry after members.
-       (Incremental_inputs::report_object): Use Library_base.
-       * incremental.h
-       (Incremental_archive_entry::Incremental_archive_entry): Remove
-       unused Archive parameter.
-       (Incremental_inputs::report_archive_begin): Use Library_base.
-       (Incremental_inputs::report_archive_end): Likewise.
-       (Incremental_inputs::report_object): Likewise.
-       * object.cc (Sized_relobj::do_for_all_global_symbols): New
-       function.
-       * object.h (Object::for_all_global_symbols): New function.
-       (Object::do_for_all_global_symbols): New function.
-       (Sized_relobj::do_for_all_global_symbols): New function.
-       * plugin.cc (Sized_pluginobj::do_for_all_global_symbols):  New
-       function.
-       * plugin.h (Sized_pluginobj::do_for_all_global_symbols):  New
-       function.
-
-2011-03-27  Ian Lance Taylor  <iant@google.com>
-
-       * archive.cc (Archive::interpret_header): Return -1 if something
-       goes wrong.  Change callers accordingly.
-
-2011-03-25  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (final_layout.stdout): Use -n option with nm.
-       * testsuite/Makefile.in: Regenerate.
-
-2011-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>
-
-       * plugin.cc (get_view): New.
-       (Plugin::load): Pass get_view to the plugin.
-       (Plugin_manager::get_view): New.
-
-2011-03-21  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/final_layout.sh: Rewrite to not use dc.
-       * testsuite/relro_test.sh: Fail if dc is not present.
-
-2011-03-21  Sriraman Tallam  <tmsriram@google.com>
-
-       * testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start.
-       Change == to -eq.
-       * testsuite/icf_string_merge_test.sh: Add #!/bin/sh to start.
-       * testsuite/icf_safe_test.sh: Add #!/bin/sh to start.
-       Change == to -eq.
-       * testsuite/icf_sht_rel_addend_test.sh: Add #!/bin/sh to start.
-       * testsuite/icf_preemptible_functions_test.sh: Add #!/bin/sh to start.
-
-2011-03-14  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.cc (Sort_output_sections::script_compare):
-       Rename from is_before, change return type.
-       (Sort_output_sections::operator()): Adjust accordingly.
-
-2011-03-11  Jeffrey Yasskin  <jyasskin@google.com>
-
-       PR gold/12572
-       * testsuite/odr_violation2.cc: Add comment to make all error line
-       numbers double digits.
-       * testsuite/debug_msg.sh: Adjust expected errors.
-
-2011-03-09  Jeffrey Yasskin  <jyasskin@google.com>
-
-       * dwarf_reader.cc (Sized_dwarf_line_info): Include all lines,
-       but mark earlier ones as non-canonical
-       (offset_to_iterator): Update search target and example
-       (do_addr2line): Return extra lines in a vector*
-       (format_file_lineno): Extract from do_addr2line
-       (one_addr2line): Add vector* out-param
-       * dwarf_reader.h (Offset_to_lineno_entry): New field recording
-       when a lineno entry appeared last for its instruction
-       (Dwarf_line_info): Add vector* out-param
-       * object.cc (Relocate_info): Pass NULL for the vector* out-param
-       * symtab.cc (Odr_violation_compare): Include the lineno in the
-       comparison again.
-       (linenos_from_loc): New. Combine the canonical line for an
-       address with its other lines.
-       (True_if_intersect): New. Helper functor to make
-       std::set_intersection a query.
-       (detect_odr_violations): Compare sets of lines instead of just
-       one line for each function. This became less deterministic, but
-       has fewer false positives.
-       * symtab.h: Declarations.
-       * testsuite/Makefile.am (odr_violation2.o): Compile with -O2 to
-       mix an optimized and non-optimized object in the same binary
-       (odr_violation2.so): Same.
-       * testsuite/Makefile.in: Regenerate from Makefile.am.
-       * testsuite/debug_msg.cc (main): Make OdrDerived classes.
-       * testsuite/debug_msg.sh: Update line numbers and add
-       assertions.
-       * testsuite/odr_violation1.cc: Use OdrDerived, in a
-       non-optimized context.
-       * testsuite/odr_violation2.cc: Make sure Ordering::operator()
-       isn't inlined, and use OdrDerived in an optimized context.
-       * testsuite/odr_header1.h: Defines OdrDerived, where
-       optimization will change the
-       first-instruction-in-the-destructor's file and line number.
-       * testsuite/odr_header2.h: Defines OdrBase.
-
-2011-03-09  Ian Lance Taylor  <iant@google.com>
-
-       * fileread.cc (File_read::clear_views): Don't delete the whole
-       file view.
-
-2011-03-08  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12525
-       * fileread.cc: #include <climits>.
-       (GOLD_IOV_MAX): Define.
-       (File_read::read_multiple): Limit number of entries by iov_max.
-       * fileread.h (class File_read): Always set max_readv_entries to
-       128.
-
-2011-03-07  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12525
-       * options.h (class General_options): Add -dy and -dn.
-
-2011-03-02  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/script_test_9.t: Add TLS segment.
-
-2011-03-02  Simon Baldwin  <simonb@google.com>
-
-       * configure.ac: Add check for gnu_indirect_function support in
-       the toolchain building binutils.
-       * configure: Rebuild.
-
-2011-02-18  Rafael Ávila de Espíndola <respindola@mozilla.com>
-
-       * symtab.cc (Symbol::should_add_dynsym_entry) Return false for
-       plugin only symbols.
-       (Symbol_table::sized_finalize_symbol) Mark symbol only present
-       in plugin files as not needed in the symbol table.
-
-2011-02-11  Sriraman Tallam  <tmsriram@google.com>
-
-       * output.cc (Output_section::add_input_section): Delay fill
-       generation for section ordering.
-
-2011-02-09  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12316
-       * object.h (class Sized_relobj): Remove clear_local_symbols.
-       * reloc.cc (Sized_relobj::do_relocate): Don't call
-       clear_local_symbols.
-
-2011-02-08  Rafael Ávila de Espíndola <respindola@mozilla.com>
-
-       * plugin.cc (is_visible_from_outside): Return true for symbols
-       in the -u option.
-
-2011-02-04  Jeffrey Yasskin  <jyasskin@google.com>
-
-       * symtab.cc (Odr_violation_compare::operator()): Sort by just the
-       filename.
-
-2011-02-02  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.h (is_section_foldable_candidate): Change type of parameter
-       to std::string.
-       * icf.cc (Icf::find_identical_sections): Change type of local variable
-       section_name to be std::string.
-       (is_function_ctor_or_dtor): Change type of parameter to std::string.
-
-2011-01-25  Ian Lance Taylor  <iant@google.com>
-
-       * script.cc (script_add_extern): Rewrite to use
-       add_symbol_reference.
-
-2011-01-25  Doug Kwan  <dougkwan@google.com>
-
-       * icf.cc (get_section_contents): Always lock section's object.
-
-2011-01-24  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Accept
-       --no-detect-odr-violations.
-
-2011-01-24  Ian Lance Taylor  <iant@google.com>
-
-       * version.cc (version_string): Bump to 1.11.
-
-2011-01-24  Ian Lance Taylor  <iant@google.com>
-
-       * plugin.cc (class Plugin_rescan): Define new class.
-       (Plugin_manager::claim_file): Set any_claimed_.
-       (Plugin_manager::save_archive): New function.
-       (Plugin_manager::save_input_group): New function.
-       (Plugin_manager::all_symbols_read): Create Plugin_rescan task if
-       necessary.
-       (Plugin_manager::new_undefined_symbol): New function.
-       (Plugin_manager::rescan): New function.
-       (Plugin_manager::rescannable_defines): New function.
-       (Plugin_manager::add_input_file): Set any_added_.
-       * plugin.h (class Plugin_manager): define new fields rescannable_,
-       undefined_symbols_, any_claimed_, and any_added_.  Declare
-       Plugin_rescan as friend.  Declare new functions.
-       (Plugin_manager::Rescannable): Define type.
-       (Plugin_manager::Rescannable_list): Define type.
-       (Plugin_manager::Undefined_symbol_list): Define type.
-       (Plugin_manager::Plugin_manager): Initialize new fields.
-       * archive.cc (Archive::defines_symbol): New function.
-       (Add_archive_symbols::run): Pass archive to plugins if any.
-       * archive.h (class Archive): Declare defines_symbol.
-       * readsyms.cc (Input_group::~Input_group): New function.
-       (Finish_group::run): Pass input_group to plugins if any.
-       * readsyms.h (class Input_group): Declare destructor.
-       * symtab.cc (add_from_object): Pass undefined symbol to plugins if
-       any.
-
-2011-01-10  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::layout_eh_frame): Mark a writable .eh_frame
-       section as relro.
-       (Layout::set_segment_offsets): Reset increase_relro before calling
-       set_section_addresses a second time.
-
-2011-01-04  Cary Coutant  <ccoutant@google.com>
-
-       * script-sections.cc (Sort_output_sections::operator()): Sort TLS
-       sections before NOBITS sections.
-
-2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * version.cc (print_version): Update copyright to 2011.
-
-2010-12-23  Cary Coutant  <ccoutant@google.com>
-
-       * output.h (Output_data_reloc::add_output_section): Pass OD instead
-       of OS to this->add.  Add OD parameter to second form of the function.
-
-2010-12-20  Ian Lance Taylor  <iant@google.com>
-
-       * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keep
-       second of two consecutive entries with same offset.
-
-2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * testsuite/Makefile.am (ifuncmain2static_LDADD)
-       (ifuncmain2_LDADD, ifuncmain4static_LDADD, ifuncmain4_LDADD)
-       (ifuncmain7static_LDADD, ifuncmain7_LDADD): New empty variables,
-       to avoid unneeded links against $(LDADD).
-       * testsuite/Makefile.in: Regenerate.
-
-2010-12-15  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/12324
-       * x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error
-       for R_X86_64_32 and R_X86_64_PC32.
-       * testsuite/Makefile.am (ver_matching_def.so): Depend on and use
-       ver_matching_def_pic.o.
-       (ver_matching_def_pic.o): New target.
-
-2010-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * fileread.cc (file_counts_lock, file_counts_initialize_lock)
-       (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes):
-       Move definition before File_read::View member definitions.
-       (File_read::View::~View): Initialize and hold lock before
-       updating current_mapped_bytes.
-
-2010-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * dwarf_reader.cc: Remove outdated comment.
-       * gold-threads.cc: Fix typo in error message.
-       * archive.cc: Fix typos in comments.
-       * archive.h: Likewise.
-       * arm-reloc-property.cc: Likewise.
-       * arm-reloc-property.h: Likewise.
-       * arm-reloc.def: Likewise.
-       * arm.cc: Likewise.
-       * attributes.h: Likewise.
-       * cref.cc: Likewise.
-       * ehframe.cc: Likewise.
-       * fileread.h: Likewise.
-       * gold.h: Likewise.
-       * i386.cc: Likewise.
-       * icf.cc: Likewise.
-       * incremental.h: Likewise.
-       * int_encoding.cc: Likewise.
-       * layout.h: Likewise.
-       * main.cc: Likewise.
-       * merge.h: Likewise.
-       * object.cc: Likewise.
-       * object.h: Likewise.
-       * options.cc: Likewise.
-       * readsyms.cc: Likewise.
-       * reduced_debug_output.cc: Likewise.
-       * reloc.cc: Likewise.
-       * script-sections.cc: Likewise.
-       * sparc.cc: Likewise.
-       * symtab.h: Likewise.
-       * target-reloc.h: Likewise.
-       * target.cc: Likewise.
-       * target.h: Likewise.
-       * timer.cc: Likewise.
-       * timer.h: Likewise.
-       * x86_64.cc: Likewise.
-
-2010-12-09  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::layout_gnu_stack): Add warnings for executable
-       stack.
-       * layout.h (Layout::layout_gnu_stack): Add pointer to Object
-       parameter; change all callers.
-       * object.cc (Sized_relobj::do_layout): Adjust call to layout_gnu_stack.
-       * options.h (warn_execstack): New option.
-
-2010-12-07  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Scan::get_reference_flags): Treat R_ARM_PREL31
-       like function call relocations.
-
-2010-12-07  Ian Lance Taylor  <iant@google.com>
-
-       * archive.cc (Archive::get_elf_object_for_member): Permit
-       punconfigured to be NULL.
-       (Archive::read_symbols): Pass NULL to get_elf_object_for_member.
-       (Archive::include_member): Pass NULL to get_elf_object_for_member
-       if we searched for the archive and this is the first included
-       object.
-
-2010-12-01  Ian Lance Taylor  <iant@google.com>
-
-       * dwarf_reader.h (class Sized_dwarf_line_info): Add
-       track_relocs_type_ field.
-       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
-       Set track_relocs_type_.
-       (Sized_dwarf_line_info::process_one_opcode): Ignore the section
-       contents when using RELA relocs.
-       (Sized_dwarf_line_info::read_relocs): Add the reloc addend to
-       reloc_map_.
-       * reloc.cc (Track_relocs::next_addend): New function.
-       * reloc.h (class Track_relocs): Declare next_addend.
-
-2010-12-01  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
-       virtual destructor.
-
-2010-12-01  Ian Lance Taylor  <iant@google.com>
-
-       * README: Update compilers known to work and fail.
-
-2010-11-23  Matthias Klose  <doko@ubuntu.com>
-
-       * configure.in: For --enable-gold, handle value `default' instead of
-       `both*'.  Always install ld as ld.bfd, install as ld if gold is
-       not the default.
-       * configure: Regenerate.
-
-2010-11-18  Doug Kwan  <dougkwan@google.com>
-
-       * expression.cc (BINARY_EXPRESSION): Initialize left_alignment
-       and right_alignment to be zero.  Store result alignment only if it is
-       greater than existing alignment.
-
-2010-11-16  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/12220
-       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
-       Check for ".zdebug_line".
-
-2010-11-16  Doug Kwan  <dougkwan@google.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       * output.h (Output_segment::set_section_addresses): Pass increase_relro
-       by reference; adjust all callers.
-       * output.cc (Output_segment::set_section_addresses): Adjust references
-       to increase_relro. Add padding to *increase_relro when ORDER_RELRO_LAST
-       list is empty.
-       (Output_segment::set_offset): Assert if PT_GNU_RELRO segment does not
-       end at page boundary.
-
-2010-11-16  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/12220
-       * layout.cc (Layout::choose_output_section): Transform names of
-       compressed sections even when using a script with a SECTIONS clause.
-       (Layout::output_section_name): Remove code to transform
-       compressed debug section names.
-       * output.cc (Output_section::add_input_section): Use uncompressed
-       section size when tracking input sections.
-
-2010-11-11  Richard Sandiford  <richard.sandiford@linaro.org>
-
-       * symtab.h (Symbol::NON_PIC_REF): Remove.
-       (Symbol::RELATIVE_REF, Symbol::TLS_REF): New Reference_flags.
-       (Symbol::FUNCTION_CALL): Renumber.  Reword comment.
-       (Symbol::needs_dynamic_reloc): Don't check NON_PIC_REF.
-       (Symbol::use_plt_offset): Take a flags argument and pass it
-       directly to needs_dynamic_reloc.  Restrict check for undefined
-       weak symbols to function calls.
-       * arm.cc (Target_arm::Scan::get_reference_flags): New function.
-       (Target_arm::Scan::global): Use it.
-       (Target_arm::Scan::scan_reloc_for_stub): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-       (Target_arm::Relocate::should_apply_static_reloc): Replace flags
-       parameter with an r_type parameter.  Use get_reference_flags
-       to get the flags.
-       (Target_arm::Relocate::relocate): Update accordingly.
-       * i386.cc (Target_i386::Scan::get_reference_flags): New function.
-       (Target_i386::Scan::reloc_needs_plt_for_ifunc): Use it.
-       (Target_i386::Scan::global): Likewise.
-       (Target_i386::Relocate::relocate): Likewise.
-       (Target_i386::Relocate::should_apply_static_reloc): Replace flags
-       parameter with an r_type parameter.  Use get_reference_flags
-       to get the flags.
-       (Target_i386::Relocate::relocate): Update accordingly.
-       * powerpc.cc (Target_powerpc::Scan::get_reference_flags): New function.
-       (Target_powerpc::Scan::global): Use it.
-       (Target_powerpc::Scan::scan_reloc_for_stub): Likewise.
-       (Target_powerpc::Relocate::relocate): Likewise.
-       * sparc.cc (Target_sparc::Scan::get_reference_flags): New function.
-       (Target_sparc::Scan::global): Use it.
-       (Target_sparc::Scan::scan_reloc_for_stub): Likewise.
-       (Target_sparc::Relocate::relocate): Likewise.
-       * x86_64.cc (Target_x86_64::Scan::get_reference_flags): New function.
-       (Target_x86_64::Scan::reloc_needs_plt_for_ifunc): Use it.
-       (Target_x86_64::Scan::global): Likewise.
-       (Target_x86_64::Relocate::relocate): Likewise.
-
-2010-11-08  Doug Kwan  <dougkwan@google.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       * arm.cc (Arm_exidx_merge_section::build_contents): New method.
-       (Arm_exidx_merge_section::section_contents_): New data member.
-       (Arm_input_section::Arm_input_section): Initialize original_contents_.
-       (Arm_input_section::~Arm_input_section): De-allocate memory.
-       (Arm_input_section::original_contents_): New data member.
-       (Arm_exidx_fixup::process_exidx_section): Pass EXIDX section contents
-       in parameters instead of calling Object::section_contents without
-       locking.
-       (Arm_output_section::group_section): New parameter TASK.  Pass it
-       to callees that need locking objects.
-       (Arm_output_section::fix_exidx_coverage): New parameter TASK.  Use it
-       to lock EXIDX input sections.  Fix a formatting issue.  Call
-       Arm_exidx_merged_section::build_contents to create merged section
-       contents.
-       (Arm_output_section::create_stub_group): New parameter TASK.  Use it
-       to lock object of stub table owner.
-       (Arm_exidx_input_section::Arm_exidx_input_section): Add new parameter
-       TEXT_SIZE to initialize data member TEXT_SIZE_.
-       (Arm_exidx_input_section::addralign): Fix typo in comment.
-       (Arm_exidx_input_section::text_size): New method.
-       (Target_arm::do_relax): New parameter TASK.  Pass it to callees
-       that require locking objects.  Lock objects before scanning for stubs
-       and updating local symbols.
-       (Arm_input_section<big_endian>::init): Copy contents of original
-       input section.
-       (Arm_input_section<big_endian>::do_write): Use saved contents of
-       original input section instead of calling Object::section_contents
-       without locking.
-       (Arm_exidx_cantunwind::do_fixed_endian_write): Find out text section
-       size without calling Object::section_size().
-       (Arm_exidx_merged_section::Arm_exidx_merged_section): Add sanity check
-       for size.  Allocate a buffer for merged EXIDX entries.
-       (Arm_exidx_merged_section::build_contents): New method.
-       (Arm_exidx_merged_section::do_write): Move merge section contents
-       building code to Arm_exidx_merged_section::build_contetns.  Write
-       out contetns in buffer instead of building it on the fly.
-       (Arm_relobj::make_exidx_input_section): Also pass text section size
-       to Arm_exidx_input_section constructor.
-       (Arm_relobj::do_read_symbols): Fix memory leak.  Fix a formatting issue.
-       (Arm_dynobj::do_read_symbols): Fix memory leak.
-       * layout.cc (Layout::finalize): Pass TASK to Target::relax().
-       * target.h: (class Task): Add forward declaration.
-       (Target::relax): Add new parameter TASK and pass it to
-       Target::do_relax().
-       (Target::do_relax):: New parameter TASK.  Fix a formatting issue.
-
-2010-11-05  Cary Coutant  <ccoutant@google.com>
-
-       PR gold/10708
-       * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Hold a lock on the
-       object when reading from the file.
-       * gold.cc (queue_middle_tasks): Hold a lock on the object when doing
-       second layout pass.
-       * icf.cc (preprocess_for_unique_sections): Hold a lock on the object
-       when reading section contents.
-       (get_section_contents): Likewise.
-       (icf::find_identical_sections): Likewise.
-       * mapfile.cc (Mapfile::print_discarded_sections): Hold a lock on the
-       object when reading from the file.
-       * plugin.cc (Plugin_manager::layout_deferred_objects): Hold a lock on
-       the object when doing deferred section layout.
-
-2010-11-03  Nick Clifton  <nickc@redhat.com>
-
-       PR gold/12001
-       * script.h (class Symbol_assignment: name): New member.  Returns
-       the name of the symbol.
-       * scrfipt.cc (Script_options::is_pending_assignment): New member.
-       Returns true if the given symbol name is on the list of
-       assignments wating to be processed.
-       * archive.cc (should_incldue_member): If the symbol is undefined,
-       check to see if it is on the list of symbols pending assignment.
-
-2010-11-03  Ryan Mansfield  <rmansfield@qnx.com>
-
-       * script-sections.cc (Script_sections::find_memory_region): Check
-       for a NULL output section pointer.
-
-2010-10-29  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_outout_section::fix_exidx_coverage): Adjust call to
-       Output_section::add_relaxed_input_section.
-       * output.cc (Output_section::add_relaxed_input_section): Add new
-       arguments LAYOUT and NAME.  Set section order index.
-       (Output_section::convert_input_sections_in_list_to_relaxed_sections):
-       Copy section order index.
-       * output.h (Output_section::add_relaxed_input_section): Add new
-       arguments LAYOUT and NAME.
-
-2010-10-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * testsuite/Makefile.am: Move gcctestdir/ld rule to
-       NATIVE_OR_CROSS_LINKER.
-       * testsuite/Makefile.in: Regenerate.
-
-2010-10-20  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::do_read_symbols): Warn about ARM EXIDX sections
-       without SHF_LINK_ORDER flags.
-       * layout.cc (Layout::choose_output_section): Do not filter
-       SHF_LINK_ORDER flag in a relocatable link.
-
-2010-10-17  Cary Coutant  <ccoutant@google.com>
-
-       * output.h (Output_segment::set_section_addresses): Change function
-       signature.  Update all callers.
-       * output.cc (Output_segment::is_first_section_relro): Ignore TLS
-       sections.
-       (Output_segment::set_section_addresses): Align after last TLS
-       section.  Add padding before last relro section instead of after.
-
-2010-10-17  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::got_section): Use correct order and set
-       GOT output section to be writable.
-
-2010-10-14  Cary Coutant  <ccoutant@google.com>
-
-       * debug.h (DEBUG_INCREMENTAL): New flag.
-       (debug_string_to_enum): Add DEBUG_INCREMENTAL).
-       * gold.cc (queue_initial_tasks): Check parameters for incremental link
-       mode.
-       * incremental.cc (report_command_line): Ignore all forms of
-       --incremental.
-       * layout.cc (Layout::Layout): Check parameters for incremental link
-       mode.
-       * options.cc (General_options::parse_incremental): New function.
-       (General_options::parse_no_incremental): New function.
-       (General_options::parse_incremental_full): New function.
-       (General_options::parse_incremental_update): New function.
-       (General_options::incremental_mode_): New data member.
-       (General_options::finalize): Check incremental_mode_.
-       * options.h (General_options): Update help text for --incremental.
-       Add --no-incremental, --incremental-full, --incremental-update.
-       (General_options::Incremental_mode): New enum type.
-       (General_options::incremental_mode): New function.
-       (General_options::incremental_mode_): New data member.
-       * parameters.cc (Parameters::incremental_mode_): New data member.
-       (Parameters::set_options): Set incremental_mode_.
-       (Parameters::set_incremental_full): New function.
-       (Parameters::incremental): New function.
-       (Parameters::incremental_update): New function.
-       (set_parameters_incremental_full): New function.
-       * parameters.h (Parameters::set_incremental_full): New function.
-       (Parameters::incremental): New function.
-       (Parameters::incremental_update): New function.
-       (Parameters::incremental_mode_): New data member.
-       (set_parameters_incremental_full): New function.
-       * plugin.cc (Plugin_manager::add_input_file): Check parameters for
-       incremental link mode.
-       * reloc.cc (Sized_relobj::do_read_relocs): Likewise.
-       (Sized_relobj::do_relocate_sections): Likewise.
-       * testsuite/Makefile.am (incremental_test): Use --incremental-full
-       option.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/incremental_test.sh: Filter all forms of --incremental.
-
-2010-10-12  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * script-sections.h (class Script_sections): Make
-       Sections_elements typedef public.
-       * script-sections.cc (class Sort_output_sections): Add elements_
-       field.  Add constructor which sets it; change all callers.
-       (Sort_output_sections::is_before): New function.
-       (Sort_output_sections::operator()): Call is_before.
-       * configure.ac (NATIVE_OR_CROSS_LINKER): New automake
-       conditional.
-       * testsuite/script_test_10.sh: New test. Test script section
-       order.
-       * testsuite/script_test_10.t: Likewise.
-       * testsuite/script_test_10.s: Likewise.
-       * testsuite/Makefile.am: Wrap the cross linker tests and the
-       common tests into NATIVE_OR_CROSS_LINKER.
-       (check_SCRIPTS): Add script_test_10.sh.
-       (check_DATA): Add script_test_10.stdout.
-       (script_test_10.o, script_test_10): New targets.
-       (script_test_10.stdout): New target.
-       * configure, testsuite/Makefile.in: Regenerate.
-
-2010-10-12  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Target_arm::Scan::local): Report the unsupported reloc
-       error for the deprecated relocations.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-
-2010-10-12  Richard Sandiford  <richard.sandiford@linaro.org>
-
-       * fileread.cc (Input_file::find_file): Initialize *found_name
-       and *namep when using the fallback search for case 4.
-
-2010-10-11  Cary Coutant  <ccoutant@google.com>
-
-       * options.h (class General_options): Redefine -z lazy as an alias for
-       the negation of -z now.
-
-2010-10-11  Ian Lance Taylor  <iant@google.com>
-
-       * resolve.cc (symbol_to_bits): Report the value of the unsupported
-       binding.
-
-2010-10-06  Nick Clifton  <nickc@redhat.com>
-
-       * script-sections.cc(class Memory_region): Remove
-       current_lma_offset_ field.  Rename current_vma_offset_ to
-       current_offset_.  Add last_section_ field.
-       (Memory_region::get_current_vma_address): Rename to
-       get_current_address.
-       (Memory_region::get_current_lma_address): Delete.
-       (Memory_region::increment_vma_offset): Rename to
-       increment_offset.
-       (Memory_region::increment_lma_offset): Delete.
-       (Memory_region::attributes_compatible): New method.  Returns
-       true if the provided section is compatible with the region.
-       (Memory_region::get_last_section): New method.  Returns the last
-       section to use the region.
-       (Memory_region::set_last_section): New method.  Stores the last
-       section to use the region.
-       (Script_sections::block_in_region): New method.  Returns true if
-       a block of memory is contained within a region.
-       (Script_sections::find_memory_region): New method.  Locates a
-       memory region to be used to set a VMA or LMA address.
-       (Output_section_definition::set_section_addresses): Add code to
-       check for addresses set by memory regions.
-       (Output_segment::set_section_addresses): Remove memory region
-       walking code.
-       (Script_sections::create_segment): Add a warning if a header
-       segment is created outside of any region.
-       * script-sections.h (class Script_sections): Add prototypes for
-       find_memory_region and block_in_region methods.
-       * testsuite/memory_test.s: Use .long instead of .word.
-       * testsuite/memory_test.t: Add some more output sections.
-       * testsuite/memory_test.sh: Update expected output.
-
-2010-10-02  Doug Kwan  <dougkwan@google.com>
-
-       * symtab.cc (Symbol_table::Symbol_table_hash::operator()): Move
-       defintion to symtab.h
-       * symtab.h (Symbol_table::Symbol_table_hash::operator()): Change
-       declaration to defintion.
-
-2010-10-01  Nick Clifton  <nickc@redhat.com>
-
-       * expression.cc (eval): Replace dummy argument with NULL.
-       (eval_maybe_dot): Check for a NULL result section pointer.
-       (Symbol_expression::value): Likewise.
-       (Dot_expression::value): Likewise.
-       (BINARY_EXPRESSION): Likewise.
-       (Max_expression::value): Likewise.
-       (Min_expression::value): Likewise.
-       (Absolute_expression::value): Likewise.
-       (Addr_expression::value_from_output_section): Likewise.
-       (Loaddddr_expression::value_from_output_section): Likewise.
-       (Segment_start_expression::value): Likewise.
-       * script-sections.cc
-       (Sections_elememt_dot_assignment::finalize_symbols): Replace dummy
-       argument with NULL.
-       (Sections_elememt_dot_assignment::set_section_addresses):
-       Likewise.
-       (Output_data_expression::do_write_to_buffer): Likewise.
-       (Output_section_definition::finalize_symbols): Likewise.
-       (Output_section_definition::set_section_addresses): Likewise.
-
-2010-09-30  Doug Kwan  <dougkwan@google.com>
-
-       * testsuite/arm_branch_out_of_range.sh: Fix broken tests.
-
-2010-09-28  Sriraman Tallam  <tmsriram@google.com>
-
-       * target.h (Target::can_icf_inline_merge_sections): New virtual
-       function.
-       * x86_64.cc (Target__x86_64::can_icf_inline_merge_sections): New
-       virtual function.
-       * i386.cc (Target_i386::can_icf_inline_merge_sections): New
-       virtual function.
-       * icf.cc (get_section_contents): Inline merge sections only when
-       target allows it.
-
-2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2010-09-17  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/memory_test.sh: Adjust for change of 2010-09-10.
-       * testsuite/Makefile.am (memory_test.o): New target.
-       (memory_test): Depend on memory_test.o, gcctestdir/ld, and
-       memory_test.t.
-       * testsuite/Makefile.in: Rebuild.
-
-2010-09-17  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Relocate::relocate): Ignore symbol type and
-       defintion if relocation uses GOT entries of the symbol.
-       * testsuite/icf_safe_test.sh: Fix test.
-       * testsuite/icf_safe_so_test.sh: Fix test.
-
-2010-09-16  Cary Coutant  <ccoutant@google.com>
-
-       * script_sections.cc (class Memory_region): Remove "NULL" from
-       vector initializations.
-
-2010-09-15  Cary Coutant  <ccoutant@google.com>
-
-       * incremental.cc (Output_section_incremental_inputs::write_info_blocks):
-       Resolve forwarding symbols.
-
-2010-09-15  Doug Kwan  <dougkwan@google.com>
-
-       * testsuite/script_test_3.t: Add ARM special sections.
-       * testsuite/script_test_4.t: Same.
-       * testsuite/script_test_5.t: Same.
-       * testsuite/script_test_6.t: Same.
-       * testsuite/script_test_7.t: Same.
-       * testsuite/script_test_7.t: Same.
-       * testsuite/thumb_blx_out_of_range.s: Fix instruction alignment.
-
-2010-09-14  Cary Coutant  <ccoutant@google.com>
-
-       * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.
-       (Target_x86_64::Relocate::relocate_tls): Replace check for
-       saw_tls_block_reloc_ with test for executable section.
-
-2010-09-12  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls from
-       position-independent executables to shared libraries need dynamic
-       relocations.
-       (Symbol::may_need_copy_reloc): Do not generate COPY relocs in
-       position-independent executables.
-       * testsuite/Makefile.am (two_file_mixed_pie_test): New test.
-       * testsuite/Makefile.in: Regenerate.
-
-2010-09-10  Nick Clifton  <nickc@redhat.com>
-
-       PR gold/11997
-       * testsuite/memory_test.t: Discard any sections that are not
-       needed.
-
-2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/11996
-       * object.cc (Sized_relobj::do_finalize_local_symbols): Remove
-       "This::" to work around a bug in gcc 4.2.
-
-       * testsuite/ifuncmain7.c (foo_ifunc): Add __attribute__ ((used)).
-
-2010-09-09  Rafael Espindola  <espindola@google.com>
-
-       * layout.cc (Layout::attach_allocated_section_to_segment): Don't put
-       sections with different PF_X flags in the same segment.
-       (Layout::find_first_load_seg): Search all segments to find the first
-       one.
-       * options.h (rosegment): New.
-
-2010-09-08  Rafael Espindola  <espindola@google.com>
-
-       * layout.cc (Layout::set_segment_offsets): Always advance to a new page.
-
-2010-09-08  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_cantunwind::do_print_to_mapfile): New method.
-       (Arm_relobj::do_relocate_sections): Add new parameter for output
-       file to match the parent.
-       (Target_arm::scan_reloc_section_for_stubs): Use would-be final values
-       of local symbols instead of input values.  Update code to track
-       changes in gold::relocate_section.
-       * object.cc (Sized_relobj::compute_final_local_value): New methods.
-       (Sized_relobj::compute_final_local_value_internal): New methods.
-       (Sized_relobj::do_finalize_local_symbols): Move code from loop
-       body into private version of Sized_relobj::compute_final_local_value.
-       Call the inline method.
-       * object.h (Symbol_value::Symbol_value): Define destructor.  Free
-       merged symbol value if there is one.
-       (Symbol_value::has_output_value): New method defintiion.
-       (Sized_relobj::Compute_final_local_value_status): New enum type.
-       (Sized_relobj::compute_final_local_value): New methods.
-       (Sized_relobj::compute_final_local_value_internal): New methods.
-       * Makefile.am (check_SCRIPTS): Add arm_branch_out_of_range.sh
-       and arm_cortex_a8.sh.
-       (thumb_bl_out_of_range_local, arm_cortex_a8_b_cond, arm_cortex_a8_bl,
-       arm_cortex_a8_blx, arm_cortex_a8_local, arm_corte_a8_local_reloc):
-       New tests.
-       * Makefile.in: Regenerate.
-       * testsuite/arm_bl_out_of_range.s: Update test.
-       * testsuite/thumb_bl_out_of_range.s: Ditto.
-       * testsuite/thumb_blx_out_of_range.s: Ditto.
-       * testsuite/arm_branch_out_of_range.sh: New file.
-       * testsuite/arm_cortex_a8.sh: Ditto.
-       * testsuite/arm_cortex_a8_b.s: Ditto.
-       * testsuite/arm_cortex_a8_b_cond.s: Ditto.
-       * testsuite/arm_cortex_a8_b_local.s: Ditto.
-       * testsuite/arm_cortex_a8_bl.s: Ditto.
-       * testsuite/arm_cortex_a8_blx.s: Ditto.
-       * testsuite/arm_cortex_a8_local.s: Ditto.
-       * testsuite/arm_cortex_a8_local_reloc.s: Ditto.
-       * testsuite/thumb_bl_out_of_range_local.s: Ditto.
-
-2010-09-08  Rafael Espindola  <espindola@google.com>
-
-       * Makefile.am (memory_test.stdout): Run readelf with -W.
-       * Makefile.in: Regenerate.
-       * testsuite/memory_test.sh: Make the regexps accept both 32 and
-       64 bit output.
-
-2010-09-08  Rafael Espindola  <espindola@google.com>
-
-       * script-sections.cc (Script_sections::add_memory_region): Convert
-       field precision to int.
-       * script.cc (script_set_section_region, script_set_section_region):
-       Convert field precision to int.
-
-2010-09-08  Rafael Espindola  <espindola@google.com>
-
-       * arm.cc (do_finalize_sections): Create the __exidx_start and
-       __exdix_end symbols even when the section is missing.
-
-2010-09-08  Nick Clifton  <nickc@redhat.com>
-
-       * README: Remove claim that MEMORY is not supported.
-       * expression.cc (script_exp_function_origin)
-       (script_exp_function_length): Move from here to ...
-       * script.cc: ... here.
-       (script_set_section_region, script_add_memory)
-       (script_parse_memory_attr, script_include_directive): New
-       functions.
-       * script-sections.cc
-       (class Memory_region): New class.
-       (class Output_section_definition): Add set_memory_region,
-       set_section_vma, set_section_lma and get_section_name methods.
-       (class Script_Sections): Add add_memory_region,
-       find_memory_region, find_memory_region_origin,
-       find_memory_region_length and set_memory_region methods.
-       Have set_section_addresses method walk the list of set memory
-       regions.
-       Extend the print methos to display memory regions.
-       * script-sections.h: Add prototypes for new methods.
-       Add enum for MEMORY region attributes.
-       * yyscript.y: Add support for parsing MEMORY regions.
-       * script-c.h: Add prototypes for new functions.
-       * testsuite/Makefile.am: Add test of MEMORY region functionality.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/memory_test.sh: New script.
-       * testsuite/memory_test.s: New assembler source file.
-       * testsuite/memory_test.t: New linker script.
-
-2010-08-27  Doug Kwan  <dougkwan@google.com>
-
-       * resolve.cc (Symbol_table::should_override): Let a weak
-       reference override an existing dynamic weak reference.
-       * testsuite/Makefile.am: Add new test dyn_weak_ref.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/dyn_weak_ref.sh: New file.
-       * testsuite/dyn_weak_ref_1.c: Ditto.
-       * testsuite/dyn_weak_ref_2.c: Ditto.
-
-2010-08-27  Ian Lance Taylor  <iant@google.com>
-
-       * incremental.h (class Incremental_input_entry): Add virtual
-       destructor.
-
-2010-08-27  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/start_lib_test_3.c: Mark t3 as used.
-
-2010-08-27  Nick Clifton  <nickc@redhat.com>
-
-       * options.cc (version_script): Fix small typo in previous
-       whitespace tidyup.
-
-2010-08-25  Nick Clifton  <nickc@redhat.com>
-
-       * archive.cc: Formatting fixes: Remove whitespace between
-       typename and following asterisk.  Remove whitespace between
-       function name and opening parenthesis.
-       * archive.h: Likewise.
-       * arm.cc: Likewise.
-       * attributes.cc: Likewise.
-       * attributes.h: Likewise.
-       * common.cc: Likewise.
-       * copy-relocs.cc: Likewise.
-       * dirsearch.h: Likewise.
-       * dynobj.cc: Likewise.
-       * ehframe.cc: Likewise.
-       * ehframe.h: Likewise.
-       * expression.cc: Likewise.
-       * fileread.cc: Likewise.
-       * fileread.h: Likewise.
-       * gc.h: Likewise.
-       * gold-threads.cc: Likewise.
-       * gold.cc: Likewise.
-       * i386.cc: Likewise.
-       * icf.h: Likewise.
-       * incremental-dump.cc: Likewise.
-       * incremental.cc: Likewise.
-       * layout.cc: Likewise.
-       * layout.h: Likewise.
-       * main.cc: Likewise.
-       * merge.cc: Likewise.
-       * merge.h: Likewise.
-       * object.cc: Likewise.
-       * object.h: Likewise.
-       * options.cc: Likewise.
-       * options.h: Likewise.
-       * output.cc: Likewise.
-       * output.h: Likewise.
-       * plugin.cc: Likewise.
-       * plugin.h: Likewise.
-       * powerpc.cc: Likewise.
-       * reloc.cc: Likewise.
-       * script-c.h: Likewise.
-       * script-sections.cc: Likewise.
-       * script.cc: Likewise.
-       * stringpool.cc: Likewise.
-       * symtab.cc: Likewise.
-       * symtab.h: Likewise.
-       * target.cc: Likewise.
-       * timer.cc: Likewise.
-       * timer.h: Likewise.
-       * version.cc: Likewise.
-       * x86_64.cc: Likewise.
-
-2010-08-24  Nick Clifton  <nickc@redhat.com>
-
-       PR 11899
-       * layout.cc (segment_precedes): Sort segments by their physical
-       addresses, if they have been set.
-
-2010-08-23  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Lib_group::add_symbols): Lock object before deleting its
-       symbols data.
-       (Lib_group::include_member): Unlock object after deleting its
-       symbols data.
-       * testsuite/start_lib_test_3.c: Remove all global symbols to trigger
-       the bug fixed here.
-
-2010-08-19  Neil Vachharajani  <nvachhar@google.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       * archive.h (Add_lib_group_symbols): Add readsyms_blocker_, adjust
-       constructor, and set_blocker.
-       * archive.cc (Add_lib_group_symbols::is_runnable): Also check
-       readsyms_blocker_.
-       * readsyms.cc (Read_symbols::do_lib_group): Also pass
-       this->this_blocker_ to Add_lib_group_symbols::set_blocker.
-       * testsuite/Makefile.am (start_lib_test): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/start_lib_test_main.c: New file.
-       * testsuite/start_lib_test_1.c: New file.
-       * testsuite/start_lib_test_2.c: New file.
-       * testsuite/start_lib_test_3.c: New file.
-
-2010-08-19  Ian Lance Taylor  <iant@google.com>
-
-       * Makefile.in: Rebuild with automake 1.11.1.
-       * aclocal.m4: Likewise.
-       * testsuite/Makefile.in: Likewise.
-
-2010-08-19  Ian Lance Taylor  <iant@google.com>
-
-       PR 10893
-       * i386.cc (class Output_data_plt_i386): Update declarations.
-       Define Global_ifunc and Local_ifunc types.  Add global_ifuncs_ and
-       local_ifuncs_ fields.
-       (Target_i386::do_plt_section_for_global): New function.
-       (Target_i386::do_plt_section_for_local): New function.
-       (Output_data_plt_i386::Output_data_plt_i386): Add symtab
-       parameter; change all callers.  Initialize global_ifuncs_ and
-       local_ifuncs_.  If doing a static link define __rel_iplt_start and
-       __rel_iplt_end.
-       (Output_data_plt_i386::add_entry): Handle IFUNC symbols.
-       (Output_data_plt_i386::add_local_ifunc_entry): New function.
-       (Output_data_plt_i386::do_write): Fix GOT entries for IFUNC
-       symbols.
-       (Target_i386::make_plt_section): New function, broken out of
-       make_plt_entry.  Set sh_info field of .rel.plt to point to .plt.
-       (Target_i386::make_plt_entry): Call make_plt_section.
-       (Target_i386::make_local_ifunc_plt_entry): New function.
-       (Target_i386::Scan::reloc_needs_iplt_for_ifunc): New function.
-       (Target_i386::Scan::local): Handle IFUNC symbols.  Add
-       R_386_IRELATIVE to switch.
-       (Target_i386::Scan::global): Likewise.
-       (Target_i386::Relocate::relocate): Likewise.
-       (Target_i386::Relocatable_size_for_reloc): Add R_386_IRELATIVE to
-       switch.
-       * x86_64.cc (class Output_data_plt_x86_64): Update declarations.
-       (Target_x86_64::do_plt_section_for_global): New function.
-       (Target_x86_64::do_plt_section_for_local): New function.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64): Add symtab
-       parameter; change all callers.  If doing a static link define
-       __rela_iplt_start and __rela_iplt_end.
-       (Output_data_plt_x86_64::add_entry): Handle IFUNC symbols.
-       (Output_data_plt_x86_64::add_local_ifunc_entry): New function.
-       (Target_x86_64::make_plt_section): Set sh_info field of .rel.plt
-       to point to .plt.
-       (Target_x86_64::make_local_ifunc_plt_entry): New function.
-       (Target_x86_64::Scan::check_non_pic): Add R_X86_64_IRELATIVE to
-       switch.
-       (Target_x86_64::Scan::reloc_needs_iplt_for_ifunc): New function.
-       (Target_x86_64::Scan::local): Handle IFUNC symbols.  Add
-       R_X86_64_IRELATIVE to switch.
-       (Target_x86_64::Scan::global): Likewise.
-       (Target_x86_64::Relocate::relocate): Likewise.
-       (Target_x86_64::Relocatable_size_for_reloc): Add R_X86_64_IRELATIVE to
-       switch.
-       * target.h (class Target): Add plt_section_for_global and
-       plt_section_for_local functions.  Add do_plt_section_for_global
-       and do_plt_section_for_local virtual functions.
-       * symtab.h (Symbol::needs_plt_entry): Handle IFUNC symbol.  Add
-       clarifying comments.
-       (Symbol::use_plt_offset): Handle IFUNC symbol.
-       * object.cc (Sized_relobj::Sized_relobj): Initialize
-       local_plt_offsets_.
-       (Sized_relobj::local_has_plt_offset): New function.
-       (Sized_relobj::local_plt_offset): New function.
-       (Sized_relobj::set_local_plt_offset): New function.
-       (Sized_relobj::do_count): Handle IFUNC symbol.
-       * object.h (class Symbol_value): Add is_ifunc_symbol_ field.  Take
-       a bit away from input_shndx_ field.  Add set_is_func_symbol and
-       is_ifunc_symbol functions.
-       (class Sized_relobj): Update declarations.  Remove Tls_got_entry
-       and Local_tls_got_offsets.  Define Local_plt_offsets.  Add
-       local_plt_offsets_ field.
-       (Sized_relobj::clear_local_symbols): Clear local_plt_offsets_.
-       * output.h (class Output_section_data): Add non-const
-       output_section function.
-       (class Output_data_got): Update declarations.
-       (class Output_data_got::Got_entry): Add use_plt_offset_ field.
-       Add use_plt_offset parameter to global and local constructors.
-       Change all callers.  Change local_sym_index_ field to 31 bits.
-       Change GSYM_CODE and CONSTANT_CODE accordingly.
-       * output.cc (Output_data_reloc_base::do_adjust_output_section): If
-       doing a static link don't set sh_link field.
-       (Output_data_got::Got_entry::write): Use PLT offset if
-       appropriate.
-       (Output_data_got::add_global_plt): New function.
-       (Output_data_got::add_local_plt): New function.
-       * target-reloc.h (relocate_section): Handle IFUNC symbol.
-       * defstd.cc (in_section): Remove entries for __rel_iplt_start,
-       __rel_iplt_end, __rela_iplt_start, and __rela_iplt_end.
-       * configure.ac: Set IFUNC automake conditional for glibc >= 2.11.
-       * testsuite/Makefile.am: Add a bunch of IFUNC tests, all within
-       IFUNC conditional.
-       * testsuite/ifunc-sel.h: New file.
-       * testsuite/ifuncmain1.c: New file.
-       * testsuite/ifuncmain1vis.c: New file.
-       * testsuite/ifuncmod1.c: New file.
-       * testsuite/ifuncdep2.c: New file.
-       * testsuite/ifuncmain2.c: New file.
-       * testsuite/ifuncmain3.c: New file.
-       * testsuite/ifuncmod3.c: New file.
-       * testsuite/ifuncmain4.c: New file.
-       * testsuite/ifuncmain5.c: New file.
-       * testsuite/ifuncmod5.c: New file.
-       * testsuite/ifuncmain6pie.c: New file.
-       * testsuite/ifuncmod6.c: New file.
-       * testsuite/ifuncmain7.c: New file.
-       * configure, testsuite/Makefile.in: Rebuild.
-
-2010-08-18  Ian Lance Taylor  <iant@google.com>
-
-       * incremental.cc
-       (Output_section_incremental_inputs::write_input_files): Add cast
-       to avoid signed/unsigned comparison warning.
-       (Output_section_incremental_inputs::write_info_blocks): Likewise.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-
-       * common.cc (Sort_commons::operator()): Remove unnecessary code.
-
-2010-08-13  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/incremental_test_1.c: Add prototype to avoid warning.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-           Doug Kwan  <dougkwan@google.com>
-
-       * resolve.cc (Symbol_table::should_override): When a weak dynamic
-       defintion overrides non-weak undef, remember that the original undef
-       is not weak.
-       * symtab.cc (Symbol_table::sized_write_global): For undef without
-       an original weak binding, set binding to global in output.
-       * testsuite/Makefile.am: Add new test strong_ref_weak_def.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/strong_ref_weak_def.sh: New file.
-       * testsuite/strong_ref_weak_def_1.c: Ditto.
-       * testsuite/strong_ref_weak_def_2.c: Ditto.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/incremental_test.sh: Rewrite.
-       * testsuite/incremental_test_1.c: Rewrite.
-       * testsuite/incremental_test_2.c: Rewrite.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-
-       * arm.cc (Target_arm::got_size): Add const.
-       (Target_arm::got_entry_count): New function.
-       (Target_arm::plt_entry_count): New function.
-       (Target_arm::first_plt_entry_offset): New function.
-       (Target_arm::plt_entry_size): New function.
-       (Output_data_plt_arm::entry_count): New function.
-       (Output_data_plt_arm::first_plt_entry_offset): New function.
-       (Output_data_plt_arm::get_plt_entry_size): New function.
-       * i386.cc (Target_i386::got_size): Add const.
-       (Target_i386::got_entry_count): New function.
-       (Target_i386::plt_entry_count): New function.
-       (Target_i386::first_plt_entry_offset): New function.
-       (Target_i386::plt_entry_size): New function.
-       (Output_data_plt_i386::entry_count): New function.
-       (Output_data_plt_i386::first_plt_entry_offset): New function.
-       (Output_data_plt_i386::get_plt_entry_size): New function.
-       * incremental-dump.cc (dump_incremental_inputs): Adjust call to
-       find_incremental_inputs_sections.  Dump incremental_got_plt section.
-       * incremental.cc: Include target.h.
-       (Sized_incremental_binary::do_find_incremental_inputs_sections): Add
-       parameter.  Adjust all callers.  Find incremental_got_plt section.
-       (Incremental_inputs::create_data_sections): Create incremental_got_plt
-       section.
-       (Output_section_incremental_inputs::set_final_data_size): Calculate
-       size of incremental_got_plt section.
-       (Output_section_incremental_inputs::do_write): Write the
-       incremental_got_plt section.
-       (Got_plt_view_info): New struct.
-       (Local_got_offset_visitor): New class.
-       (Global_got_offset_visitor): New class.
-       (Global_symbol_visitor_got_plt): New class.
-       (Output_section_incremental_inputs::write_got_plt): New function.
-       * incremental.h (Incremental_binary::find_incremental_inputs_sections):
-       Add parameter.  Adjust all callers.
-       (Incremental_binary::do_find_incremental_inputs_sections): Likewise.
-       (Incremental_inputs::got_plt_section): New function.
-       (Incremental_inputs::got_plt_section_): New data member.
-       (Incremental_got_plt_reader): New class.
-       * layout.cc (Layout::create_incremental_info_sections): Add the
-       incremental_got_plt section.
-       * object.h (Got_offset_list::get_list): New function.
-       (Got offset_list::for_all_got_offsets): New function.
-       (Sized_relobj::local_got_offset_list): New function.
-       * powerpc.cc (Target_powerpc::got_size): Add const.
-       (Target_powerpc::got_entry_count): New function.
-       (Target_powerpc::plt_entry_count): New function.
-       (Target_powerpc::first_plt_entry_offset): New function.
-       (Target_powerpc::plt_entry_size): New function.
-       (Output_data_plt_powerpc::entry_count): New function.
-       (Output_data_plt_powerpc::first_plt_entry_offset): New function.
-       (Output_data_plt_powerpc::get_plt_entry_size): New function.
-       * sparc.cc (Target_sparc::got_size): Add const.
-       (Target_sparc::got_entry_count): New function.
-       (Target_sparc::plt_entry_count): New function.
-       (Target_sparc::first_plt_entry_offset): New function.
-       (Target_sparc::plt_entry_size): New function.
-       (Output_data_plt_sparc::entry_count): New function.
-       (Output_data_plt_sparc::first_plt_entry_offset): New function.
-       (Output_data_plt_sparc::get_plt_entry_size): New function.
-       * symtab.h (Symbol::got_offset_list): New function.
-       (Symbol_table::for_all_symbols): New function.
-       * target.h (Sized_target::got_entry_count): New function.
-       (Sized_target::plt_entry_count): New function.
-       (Sized_target::plt_entry_size): New function.
-       * x86_64.cc (Target_x86_64::got_size): Add const.
-       (Target_x86_64::got_entry_count): New function.
-       (Target_x86_64::plt_entry_count): New function.
-       (Target_x86_64::first_plt_entry_offset): New function.
-       (Target_x86_64::plt_entry_size): New function.
-       (Output_data_plt_x86_64::entry_count): New function.
-       (Output_data_plt_x86_64::first_plt_entry_offset): New function.
-       (Output_data_plt_x86_64::get_plt_entry_size): New function.
-
-2010-08-12  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc: Include incremental.h.
-       (Archive::Archive): Initialize incremental_info_.
-       (Archive::include_member): Record archive members in incremental info.
-       (Add_archive_symbols::run): Record begin and end of an archive in
-       incremental info.
-       (Lib_group::include_member): Record objects in incremental info.
-       * archive.h (Incremental_archive_entry): Forward declaration.
-       (Archive::set_incremental_info): New member function.
-       (Archive::incremental_info): New member function.
-       (Archive::Unused_symbol_iterator): New class.
-       (Archive::unused_symbols_begin): New member function.
-       (Archive::unused_symbols_end): New member function.
-       (Archive::incremental_info_): New data member.
-       * incremental-dump.cc (find_input_containing_global): New function.
-       (dump_incremental_inputs): Dump new incremental info sections.
-       * incremental.cc: Include symtab.h.
-       (Output_section_incremental_inputs): New class.
-       (Sized_incremental_binary::do_find_incremental_inputs_sections): Support
-       new incremental info sections.
-       (Sized_incremental_binary::do_check_inputs): Likewise.
-       (Incremental_inputs::report_archive): Remove.
-       (Incremental_inputs::report_archive_begin): New function.
-       (Incremental_inputs::report_archive_end): New function.
-       (Incremental_inputs::report_object): New function.
-       (Incremental_inputs::finalize_inputs): Remove.
-       (Incremental_inputs::report_input_section): New function.
-       (Incremental_inputs::report_script): Rewrite.
-       (Incremental_inputs::finalize): Do nothing but finalize string table.
-       (Incremental_inputs::create_incremental_inputs_section_data): Remove.
-       (Incremental_inputs::sized_create_inputs_section_data): Remove.
-       (Incremental_inputs::create_data_sections): New function.
-       (Incremental_inputs::relocs_entsize): New function.
-       (Output_section_incremental_inputs::set_final_data_size): New function.
-       (Output_section_incremental_inputs::do_write): New function.
-       (Output_section_incremental_inputs::write_header): New function.
-       (Output_section_incremental_inputs::write_input_files): New function.
-       (Output_section_incremental_inputs::write_info_blocks): New function.
-       (Output_section_incremental_inputs::write_symtab): New function.
-       * incremental.h (Incremental_script_entry): Forward declaration.
-       (Incremental_object_entry): Forward declaration.
-       (Incremental_archive_entry): Forward declaration.
-       (Incremental_inputs): Forward declaration.
-       (Incremental_inputs_header_data): Remove.
-       (Incremental_inputs_header): Remove.
-       (Incremental_inputs_header_write): Remove.
-       (Incremental_inputs_entry_data): Remove.
-       (Incremental_inputs_entry): Remove.
-       (Incremental_inputs_entry_write): Remove.
-       (enum Incremental_input_type): Add INCREMENTAL_INPUT_ARCHIVE_MEMBER.
-       (Incremental_binary::find_incremental_inputs_sections): Add parameters.
-       (Incremental_binary::do_find_incremental_inputs_sections): Likewise.
-       (Sized_ncremental_binary::do_find_incremental_inputs_sections):
-       Likewise.
-       (Incremental_input_entry): New class.
-       (Incremental_script_entry): New class.
-       (Incremental_object_entry): New class.
-       (Incremental_archive_entry): New class.
-       (Incremental_inputs::Incremental_inputs): Initialize new data members.
-       (Incremental_inputs::report_inputs): Remove.
-       (Incremental_inputs::report_archive): Remove.
-       (Incremental_inputs::report_archive_begin): New function.
-       (Incremental_inputs::report_archive_end): New function.
-       (Incremental_inputs::report_object): Change prototype.
-       (Incremental_inputs::report_input_section): New function.
-       (Incremental_inputs::report_script): Change prototype.
-       (Incremental_inputs::get_reloc_count): New function.
-       (Incremental_inputs::set_reloc_count): New function.
-       (Incremental_inputs::create_data_sections): New function.
-       (Incremental_inputs::create_incremental_inputs_section_data): Remove.
-       (Incremental_inputs::inputs_section): New function.
-       (Incremental_inputs::symtab_section): New function.
-       (Incremental_inputs::relocs_section): New function.
-       (Incremental_inputs::get_stringpool): Add const.
-       (Incremental_inputs::command_line): Add const.
-       (Incremental_inputs::inputs): Remove.
-       (Incremental_inputs::command_line_key): New function.
-       (Incremental_inputs::input_file_count): New function.
-       (Incremental_inputs::input_files): New function.
-       (Incremental_inputs::relocs_entsize): New function.
-       (Incremental_inputs::sized_create_inputs_section_data): Remove.
-       (Incremental_inputs::finalize_inputs): Remove.
-       (Incremental_inputs::Input_info): Remove.
-       (Incremental_inputs::lock_): Remove.
-       (Incremental_inputs::inputs_): Change type.
-       (Incremental_inputs::inputs_map_): Remove.
-       (Incremental_inputs::current_object_entry_): New data member.
-       (Incremental_inputs::inputs_section_): New data member.
-       (Incremental_inputs::symtab_section_): New data member.
-       (Incremental_inputs::relocs_section_): New data member.
-       (Incremental_inputs::reloc_count_): New data member.
-       (Incremental_inputs_reader): New class.
-       (Incremental_symtab_reader): New class.
-       (Incremental_relocs_reader): New class.
-       * layout.cc (Layout::finalize): Move finalization of incremental info
-       and creation of incremental info sections to follow finalization of
-       symbol table.  Set offsets for postprocessing sections.
-       (Layout::create_incremental_info_sections): Call
-       Incremental_inputs::create_data_sections.  Add incremental symtab
-       and relocs sections.  Set sh_entsize and sh_link fields.  Arrange for
-       sections to layout after input sections.
-       * layout.h (struct Timespec): Forward declaration.
-       (Layout::incremental_inputs): Add const.
-       (Layout::create_incremental_info_sections): Add parameter.
-       * main.cc (main): Remove call to Incremental_inputs::report_inputs.
-       * object.cc: Include incremental.h.
-       (Relobj::finalize_incremental_relocs): New function.
-       (Sized_relobj::do_layout): Record input sections in incremental info.
-       * object.h (Object::output_section): New function.
-       (Object::output_section_offset): Moved from Relobj.
-       (Object::get_incremental_reloc_base): New function.
-       (Object::get_incremental_reloc_count): New function.
-       (Object::do_output_section): New function.
-       (Object::do_output_section_offset): Moved from Relobj.
-       (Object::do_get_incremental_reloc_base): New function.
-       (Object::do_get_incremental_reloc_count): New function.
-       (Object::Object): Initialize new data members.
-       (Relobj::output_section): Renamed do_output_section and moved to
-       protected.
-       (Relobj::output_section_offset): Moved to Object.
-       (Relobj::do_get_incremental_reloc_base): New function.
-       (Relobj::do_get_incremental_reloc_count): New function.
-       (Relobj::allocate_incremental_reloc_counts): New function.
-       (Relobj::count_incremental_reloc): New function.
-       (Relobj::finalize_incremental_relocs): New function.
-       (Relobj::next_incremental_reloc_index): New function.
-       (Relobj::reloc_counts_): New data member.
-       (Relobj::reloc_bases_): New data member.
-       (Sized_relobj::do_relocate_sections): Add parameter.  Change caller.
-       (Sized_relobj::relocate_sections): Add parameter.  Change all callers.
-       (Sized_relobj::incremental_relocs_scan): New function.
-       (Sized_relobj::incremental_relocs_scan_reltype): New function.
-       (Sized_relobj::incremental_relocs_write): New function.
-       (Sized_relobj::incremental_relocs_write_reltype): New function.
-       * plugin.cc (Plugin_manager::add_input_file): Rewrite test for
-       incremental link.
-       * readsyms.cc (Read_symbols::do_read_symbols): Move reporting of
-       archives and object files elsewhere.
-       (Add_symbols::run): Report object files here.
-       (Finish_group::run): Report end of archive at end of group.
-       * reloc.cc: Include layout.h, incremental.h.
-       (Sized_relobj::do_read_relocs): Need relocations for incremental link.
-       (Sized_relobj::do_scan_relocs): Record relocations for incremental link.
-       (Sized_relobj::incremental_relocs_scan): New function.
-       (Sized_relobj::incremental_relocs_scan_reltype): New function.
-       (Sized_relobj::do_relocate_sections): Write incremental relocations.
-       (Sized_relobj::incremental_relocs_write): New function.
-       (Sized_relobj::incremental_relocs_write_reltype): New function.
-       * script.cc (read_input_script): Rewrite test for incremental link.
-       Change call to Incremental_inputs::report_script.
-       * symtab.h (Symbol_table::first_global_index): New function.
-       (Symbol_table::output_count): New function.
-
-2010-08-12  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::merge_object_attributes): Check command line
-       options --no-wchar-size-warning and --no-enum-size-warning.
-       * options.h (General_options): Add ld-compatible options
-       --no-enum-size-warning and --no-wchar-size-warning.
-
-2010-08-04  Ian Lance Taylor  <iant@google.com>
-
-       * x86_64.cc (Target_x86_64::Scan::local): Use
-       R_X86_64_GNU_VTINHERIT instead of R_386_GNU_VTINHERIT and
-       R_X86_64_GNU_VTENTRY instead of R_386_GNU_VTENTRY.
-       (Target_x86_64::Scan::global): Likewise.
-       (Target_x86_64::Relocate::relocate): Likewise.
-       (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2010-08-03  Cary Coutant  <ccoutant@google.com>
-
-       * merge.cc (Output_merge_string::do_add_input_section): Count strings
-       to reserve space in merged_strings vector. Keep total input size
-       for stats.
-       (Output_merge_string::do_print_merge_stats): Print total input size.
-       * merge.h (Output_merge_string): Add input_size_ field.
-       * stringpool.cc (Stringpool_template::string_length): Move
-       implementations out of Stringpool_template class and place in
-       stringpool.h.
-       * stringpool.h (string_length): Move out of Stringpool_template.
-
-2010-08-03  Ian Lance Taylor  <iant@google.com>
-
-       PR 11712
-       * layout.cc (relaxation_loop_body): If address of load segment is
-       set, adjust address to include headers if possible.
-
-2010-08-03  Ian Lance Taylor  <iant@google.com>
-
-       * version.cc (version_string): Bump to 1.10.
-
-2010-08-03  Ian Lance Taylor  <iant@google.com>
-
-       PR 11805
-       * layout.h (enum Output_section_order): Define.
-       (class Layout): Update declarations.
-       * layout.cc (Layout::get_output_section): Add order parameter.
-       Remove is_interp, is_dynamic_linker_section, is_last_relro, and
-       is_first_non_relro parameters.  Change all callers.
-       (Layout::choose_output_section): Likewise.
-       (Layout::add_output_section_data): Likewise.
-       (Layout::make_output_section): Likewise.  Set order.
-       (Layout::default_section_order): New function.
-       (Layout::layout_eh_frame): Call add_output_section_to_nonload.
-       * output.cc (Output_section::Output_section): Initialize order_.
-       Don't initialize deleted fields.
-       (Output_segment::Output_segment): Don't initialize deleted
-       fields.
-       (Output_segment::add_output_section_to_load): New function
-       replacing add_output_section.  Change all callers to call this or
-       add_output_section_to_nonload.
-       (Output_segment::add_output_section_to_nonload): New function.
-       (Output_segment::remove_output_section): Rewrite.
-       (Output_segment::add_initial_output_data): Likewise.
-       (Output_segment::has_any_data_sections): Likewise.
-       (Output_segment::is_first_section_relro): Likewise.
-       (Output_segment::maximum_alignment): Likewise.
-       (Output_segment::has_dynamic_reloc): New function replacing
-       dynamic_reloc_count.  Change all callers.
-       (Output_segment::has_dynamic_reloc_list): New function replacing
-       dynamic_reloc_count_list.  Change all callers.
-       (Output_segment::set_section_addresses): Rewrite.
-       (Output_segment::set_offset): Rewrite.
-       (Output_segment::find_first_and_last_list): Remove.
-       (Output_segment::set_tls_offsets): Rewrite.
-       (Output_segment::first_section_load_address): Likewise.
-       (Output_segment::output_section_count): Likewise.
-       (Output_segment::section_with_lowest_load_address): Likewise.
-       (Output_segment::write_section_headers): Likewise.
-       (Output_segment::print_sections_to_map): Likewise.
-       * output.h (class Output_data): Remove dynamic_reloc_count_
-       field.  Add has_dynamic_reloc_ field.  Make bools into bitfields.
-       (Output_data::add_dynamic_reloc): Rewrite.
-       (Output_data::has_dynamic_reloc): New function.
-       (Output_data::dynamic_reloc_count): Remove.
-       (class Output_section): Add order_ field.  Remvoe is_relro_local_,
-       is_last_relro_, is_first_non_relro_, is_interp_,
-       is_dynamic_linker_section_ fields.  Add order and set_order
-       functions.  Remove is_relro_local, set_is_relro_local,
-       is_last_relro, set_is_last_relro, is_first_non_relro,
-       set_is_first_non_relro functions, is_interp, set_is_interp,
-       is_dynamic_linker_section, and set_is_dynamic_linker_section
-       functions.
-       (class Output_segment): Change Output_data_list from std::list to
-       std:;vector.  Add output_lists_ field.  Remove output_data_ and
-       output_bss_ fields.  Update declarations.
-
-2010-08-02  Ian Lance Taylor  <iant@google.com>
-
-       * arm.cc (Target_arm::gc_process_relocs): Use typename.
-       * powerpc.cc (Target_powerpc::gc_process_relocs): Likewise.
-       * sparc.cc (Target_sparc::gc_process_relocs): Likewise.
-
-2010-08-02  Ian Lance Taylor  <iant@google.com>
-
-       PR 11855
-       * script.cc (Script_options::Script_options): Initialize
-       symbol_definitions_ and symbol_references_.
-       (Script_options::add_symbol_assignment): Update
-       symbol_definitions_ and symbol_references_.
-       (Script_options::add_symbol_reference): New function.
-       (script_symbol): New function.
-       * script.h (class Script_options): Add symbol_definitions_ and
-       symbol_references_ fields.
-       (Script_options::referenced_const_iterator): New type.
-       (Script_options::referenced_begin): New function.
-       (Script_options::referenced_end): New function.
-       (Script_options::is_referenced): New function.
-       (Script_options::any_unreferenced): New function.
-       * script-c.h (script_symbol): Declare.
-       * yyscript.y (exp): Call script_symbol.
-       * symtab.cc: Include "script.h".
-       (Symbol_table::gc_mark_undef_symbols): Add layout parameter.
-       Change all callers.  Check symbols referenced by scripts.
-       (Symbol_table::add_undefined_symbols_from_command_line): Add
-       layout parameter.  Change all callers.
-       (Symbol_table::do_add_undefined_symbols_from_command_line):
-       Likewise.  Break out loop body.  Check symbols referenced by
-       scripts.
-       (Symbol_table::add_undefined_symbol_from_command_line): New
-       function broken out of
-       do_add_undefined_symbols_from_command_line.
-       * symtab.h (class Symbol_table): Update declarations.
-       * archive.cc: Include "layout.h".
-       (Archive::should_include_member): Add layout parameter.  Change
-       all callers.  Check for symbol mentioned in expression.
-       * archive.h (class Archive): Update declaration.
-       * object.cc (Sized_relobj::do_should_include_member): Add layout
-       parameter.
-       * object.h (Object::should_include_member): Add layout parameter.
-       Change all callers.
-       (Object::do_should_include_member): Add layout parameter.
-       (class Sized_relobj): Update declaration.
-       * dynobj.cc (Sized_dynobj::do_should_include_member): Add layout
-       parameter.
-       * dynobj.h (class Sized_dynobj): Update declaration.
-       * plugin.cc (Sized_pluginobj::do_should_include_member): Add
-       layout parameter.
-       * plugin.h (class Sized_pluginobj): Update declaration.
-
-2010-08-02  Ian Lance Taylor  <iant@google.com>
-
-       PR 11866
-       * output.cc (Output_segment::set_offset): Search for the first and
-       last sections rather than assuming that the list is in order.
-       (Output_segment::find_first_and_last_list): New function.
-       * output.h (class Output_segment): Update declarations.
-       * testsuite/Makefile.am (check_PROGRAMS): Add relro_strip_test.
-       (relro_strip_test_SOURCES): New variable.
-       (relro_strip_test_DEPENDENCIES): New variable.
-       (relro_strip_test_LDFLAGS): New variable.
-       (relro_strip_test_LDADD): New variable.
-       (relro_strip_test.so): New target.
-
-2010-08-02  Ian Lance Taylor  <iant@google.com>
-
-       * i386.cc (class Target_i386): Add got_tlsdesc_ field.
-       (Target_i386::Target_i386):: Initialize got_tlsdesc_.
-       (Target_i386::got_tlsdesc_section): New function.
-       (Target_i386::got_section): Create space for GOT entries for
-       TLSDESC relocations.
-       (Target_i386::Scan::local): Use TLSDESC GOT for unoptimized
-       R_386_TLS_GOTDESC.
-       (Target_i386::Scan::global): Likewise.
-       (Target_i386::Relocate::relocate_tls): Adjust GOT offset when
-       using TLSDESC GOT.
-       * x86_64.cc (class Target_x86_64): Add got_tlsdesc_ field.
-       (Target_x86_64::Target_x86_64):: Initialize got_tlsdesc_.
-       (Target_x86_64::got_tlsdesc_section): New function.
-       (Target_x86_64::got_section): Create space for GOT entries for
-       TLSDESC relocations.
-       (Target_x86_64::Scan::local): Use TLSDESC GOT for unoptimized
-       R_386_TLS_GOTDESC.
-       (Target_x86_64::Scan::global): Likewise.
-       (Target_x86_64::Relocate::relocate_tls): Adjust GOT offset when
-       using TLSDESC GOT.
-
-2010-08-02  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/final_layout.sh: Use dc to convert from hex to
-       decimal.
-
-2010-07-29  Sriraman Tallam  <tmsriram@google.com>
-
-       * arm.cc (Target_arm<big_endian>::gc_process_relocs): Add template
-       paramter to the call to gold::gc_process_relocs.
-       * i386.cc (Target_i386<big_endian>::gc_process_relocs): Add template
-       paramter to the call to gold::gc_process_relocs.
-       * x86_64.cc (Target_x86_64<big_endian>::gc_process_relocs): Add template
-       parameter to the call to gold::gc_process_relocs.
-       * powerpc.cc (Target_powerpc<big_endian>::gc_process_relocs): Add
-       template parameter to the call to gold::gc_process_relocs.
-       * sparc.cc (Target_sparc<big_endian>::gc_process_relocs): Add template
-       paramter to the call to gold::gc_process_relocs.
-       * gc.h (get_embedded_addend_size): New function.
-       (gc_process_relocs): Save the size of the reloc for use by ICF.
-       * icf.cc (get_section_contents): Get the addend from the text section
-       for SHT_REL relocation sections.
-       * icf.h (Icf::Reloc_addend_size_info): New typedef.
-       (Icf::Reloc_info): Add new member reloc_addend_size_info.
-       * int_encoding.h (read_from_pointer): New overloaded function.
-       * testsuite/Makefile.am (icf_sht_rel_addend_test): New test.
-       * testsuite/icf_sht_rel_addend_test.sh: New file.
-       * testsuite/icf_sht_rel_addend_test_1.cc: New file.
-       * testsuite/icf_sht_rel_addend_test_2.cc: New file.
-
-2010-07-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure.ac (AM_INIT_AUTOMAKE): Use parallel-tests option.
-       * Makefile.in: Regenerate.
-       * testsuite/Makefile.in: Regenerate.
-
-2010-07-27  Jeffrey Yasskin  <jyasskin@google.com>
-
-       * testsuite/debug_msg.sh: Test mixed weak/strong symbol behavior.
-       * testsuite/debug_msg.cc: Likewise.
-       * testsuite/odr_violation1.cc
-       * testsuite/odr_violation2.cc
-
-2010-07-21  Cary Coutant  <ccoutant@google.com>
-
-       * merge.h (Output_merge_string::Merged_string): Remove object, shndx,
-       string, and length fields.
-       (Output_merge_string::Merged_strings_list): New type.
-       (Output_merge_string::Merged_strings_lists): New typedef.
-       (Output_merge_string): Replace merged_strings_ with
-       merged_strings_lists_.
-       * merge.cc (Output_merge_string::do_add_input_section): Allocate new
-       Merged_strings_list per input object and section.  Don't store pointer
-       to the string.  Don't store length with each merged string entry.
-       (Output_merge_string::finalize_merged_data): Loop over list of merged
-       strings lists.  Recompute length of each merged string.
-
-2010-07-15  Cary Coutant  <ccoutant@google.com>
-
-       * plugin.cc (Plugin_finish::run): Don't call cleanup handlers from
-       here.
-
-2010-07-14  Ian Lance Taylor  <iant@google.com>
-
-       * descriptors.cc (Descriptors::open): Report correct name in error
-       message.
-
-2010-07-13  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_input_section::Arm_input_section): For a
-       SHT_ARM_EXIDX section, always keeps the input sections.
-       (Arm_input_section::set_exidx_section_link): New method.
-       (Arm_exidx_input_section::Arm_exidx_input_section): Initialize
-       has_errors_ to false.
-       (Arm_exidx_input_section::has_errors,
-       Arm_exidx_input_section::set_has_errors): New methods.
-       (Arm_exidx_input_section::has_errors_): New data member.
-       (Arm_relobj::get_exidx_shndx_list): New method.
-       (Arm_output_section::append_text_sections_to_list): Do not skip
-       section without SHF_EXECINSTR.
-       (Arm_output_section::fix_exidx_coverage): Skip input sections with
-       errors.
-       (Arm_relobj::make_exidx_input_section): Add new parameter for text
-       section header.  Make error messages more verbose.  Check for
-       a non-executable section linked to an EXIDX section.
-       (Arm_relobj::do_read_symbols): Remove error checking, which has been
-       moved to Arm_relobj::make_exidx_input_section.  Add an assertion to
-       check that there is no deferred EXIDX section if we exit early.
-       Instead of not making an EXIDX section in case of an error, make one
-       and set the has_errors flag of it.
-       (Target_arm::do_finalize_sections): Fix up links of EXIDX sections
-       in a relocatable link.
-       (Target_arm::do_relax): Look for the EXIDX output section instead of
-       assuming that it is called .ARM.exidx.
-       (Target_arm::fix_exidx_coverage): Add a new parameter for input
-       section list.  Do not check for SHF_EXECINSTR section flags but
-       skip any input section with errors.
-       * output.cc (Output_section::Output_section): Initialize
-       always_keeps_input_sections_ to false.
-       (Output_section::add_input_section): Check for
-       always_keeps_input_sections_.
-       *  output.h (Output_section::always_keeps_input_sections,
-       Output_section::set_always_keeps_input_sections): New methods.
-       (Output_section::always_keeps_input_sections): New data member.
-
-2010-07-13  Rafael Espindola  <espindola@google.com>
-
-       * fileread.cc (try_extra_search_path, find_file): Move to Input_file.
-       * fileread.h (Input_file): Add try_extra_search_path and find_file.
-
-2010-07-13  Philip Herron  <herron.philip@googlemail.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       * output.h (Output_section_lookup_maps::add_merge_section):
-       Correct check of whether value was inserted.
-       (Output_section_lookup_maps::add_merge_input_section): Likewise.
-       (Output_section_lookup_maps::add_relaxed_input_section):
-       Likewise.
-       * arm.cc (Target_arm::got_section): Remove used local os.
-       * i386.cc (Target_i386::got_section): Likewise.
-       * x86_64.cc (Target_x86_64::got_section): Likewise.
-       * sparc.cc (Target_sparc::got_section): Likewise.
-       (Target_sparc::relocate): Remove unused local have_got_offset.
-       * powerpc.cc (Target_powerpc::relocate): Likewise.
-
-2010-07-13  Ian Lance Taylor  <iant@google.com>
-
-       * compressed_output.cc (zlib_decompress): Fix signature in
-       !HAVE_ZLIB_H case.
-
-       * archive.cc (Archive::include_member): Unlock an external member
-       of a thin archive.  Don't bother to delete an object we know is
-       NULL.
-
-2010-07-12  Cary Coutant  <ccoutant@google.com>
-
-       * compressed_output.cc (zlib_decompress): New function.
-       (get_uncompressed_size): New function.
-       (decompress_input_section): New function.
-       * compressed_output.h (get_uncompressed_size): New function.
-       (decompress_input_section): New function.
-       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info)
-       Handle compressed debug sections.
-       * layout.cc (is_compressed_debug_section): New function.
-       (Layout::output_section_name): Map compressed section names to
-       canonical names.
-       * layout.h (is_compressed_debug_section): New function.
-       (is_debug_info_section): Recognize compressed debug sections.
-       * merge.cc: Include compressed_output.h.
-       (Output_merge_data::do_add_input_section): Handle compressed
-       debug sections.
-       (Output_merge_string::do_add_input_section): Handle compressed
-       debug sections.
-       * object.cc: Include compressed_output.h.
-       (Sized_relobj::Sized_relobj): Initialize new data members.
-       (build_compressed_section_map): New function.
-       (Sized_relobj::do_read_symbols): Handle compressed debug sections.
-       * object.h (Object::section_is_compressed): New method.
-       (Object::do_section_is_compressed): New method.
-       (Sized_relobj::Compressed_section_map): New type.
-       (Sized_relobj::do_section_is_compressed): New method.
-       (Sized_relobj::compressed_sections_): New data member.
-       * output.cc (Output_section::add_input_section): Handle compressed
-       debug sections.
-       * reloc.cc: Include compressed_output.h.
-       (Sized_relobj::write_sections): Handle compressed debug sections.
-
-2010-07-08  Cary Coutant  <ccoutant@google.com>
-
-       * resolve.cc (Symbol_table::resolve): Remember whether undef was
-       weak when resolving to a dynamic def.
-       (Symbol_table::should_override): Add adjust_dyndef flag; set it
-       for weak undef/dynamic def cases. Adjust callers.
-       * symtab.cc (Symbol::init_fields): Initialize undef_binding_set_ and
-       undef_binding_weak_.
-       (Symbol_table::sized_write_globals): Adjust symbol binding.
-       (Symbol_table::sized_write_symbol): Add binding parameter.
-       * symtab.h (Symbol::set_undef_binding): New method.
-       (Symbol::is_undef_binding_weak): New method.
-       (Symbol::undef_binding_set_, Symbol::undef_binding_weak_): New members.
-       (Symbol_table::should_override): Add new parameter.
-       (Symbol_table::sized_write_symbol): Add new parameter.
-
-       * testsuite/weak_undef_file1.cc: Add new test case.
-       * testsuite/weak_undef_file2.cc: Fix header comment.
-       * testsuite/weak_undef_test.cc: Add new test case.
-
-2010-06-29  Doug Kwan  <dougkwan@google.com>
-
-       * arm-reloc-property.cc (Arm_reloc_property::Arm_reloc_property):
-       Initialize USE_SYMBOL_.
-       * arm-reloc-property.h (Arm_reloc_property::uses_symbol): New method
-       definition.
-       (Arm_reloc_property::uses_symbol_): New data member declaration.
-       * arm.cc (Target_arm::Relocate::relocate): Exit early if relocation
-       uses symbol value and symbol is undefined but not weakly undefined.
-
-2010-06-28  Rafael Espindola  <espindola@google.com>
-
-       * plugin.cc (Plugin::load): Use dlerror.
-
-2010-06-26  Jeffrey Yaskin  <jyasskin@google.com>
-
-       * symtab.cc (detect_odr_violations): When reporting an ODR
-       violation, report an object where the symbol is defined.
-
-2010-06-25  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::can_check_for_functions_pointers): Return true.
-       (Target_arm::section_may_have_icf_unsafe_pointers): New method
-       definition.
-       (Target_arm::Scan::local_reloc_may_be_function_pointer,
-       Target_arm::Scan::global_reloc_may_be_function_pointer): Implement
-       target hook to detect function points.
-       (Target_arm::Scan::possible_function_pointer_reloc): New method.
-       * icf.h (Icf::check_section_for_function_pointers): Change type of
-       parameter SECTION_NAME to const reference to std::string.  Use
-       target hook to determine if section may have unsafe pointers.
-       * target.h (Target::section_may_have_icf_unsafe_pointers): New
-       method definition.
-
-2010-06-21  Rafael Espindola  <espindola@google.com>
-
-       * fileread.cc (Input_file::find_fie): New
-       (Input_file::open): Use Input_file::find_fie.
-       * fileread.h (Input_file::find_fie): New
-       * plugin.cc (set_extra_library_path): New.
-       (Plugin::load): Add set_extra_library_path to the transfer vector.
-       (Plugin_manager::set_extra_library_path): New.
-       (Plugin_manager::add_input_file): Use the extra search path if set.
-       (set_extra_library_path(): New.
-       * plugin.h (Plugin_manager): Add set_extra_library_path and
-       extra_search_path_.
-
-2010-06-19  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (gdb_sections): Add .debug_types.
-       (lines_only_debug_sections): Likewise.
-
-2010-06-18  Rafael Espindola  <espindola@google.com>
-
-       * plugin.cc (add_input_file,add_input_library)
-       (Plugin_manager::add_input_file): Make filename arguments const.
-       * plugin.h (Plugin_manager::add_input_file): Make filename arguments
-       const.
-
-2010-06-16  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_finalize_sections): Do not emit an
-       .ARM.attributes section if we have not merged any input
-       attributes sections.
-
-2010-06-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc: Allow combining objects with no EABI version
-       information.
-
-2010-06-15  Rafael Espindola  <espindola@google.com>
-
-       * plugin.cc (Plugin_hook::run): Set in_real_elf for the start symbol.
-
-2010-06-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
-       (struct iovec): Correct !HAVE_READV definition.
-
-2010-06-10  Cary Coutant  <ccoutant@google.com>
-
-       * object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
-       (Sized_relobj::do_layout_deferred_sections): Do layout for deferred
-       reloc sections.
-       * object.h (Sized_relobj::deferred_layout_relocs_): New data member.
-
-       PR 11683
-       * symtab.h (Symbol::is_placeholder): New member function.
-       * target-reloc.h (relocate_section): Check for placeholder symbols.
-
-       * testsuite/Makefile.am (plugin_test_8): New test.
-       (plugin_test_9): New test.
-       * testsuite/Makefile.in: Regenerate.
-
-2010-06-09  Nick Clifton  <nickc@redhat.com>
-
-       * yyscript.y (input_list_element): Allow strings prefixed with
-       the '-' character.  Treat these as libraries.
-       * script.cc (script_add_library): New function.  Adds a library
-       specified by "-l<name>" found in an input script.
-       * script-c.h: Add prototype for script_add_library.
-
-2010-06-07  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_relax): Reserve more space for stubs.
-       Restrict stub-group size to be within long conditional branch
-       range when working around cortex-A8 erratum.
-
-2010-06-07  Damien Diederen  <dd@crosstwine.com>
-
-       * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
-       #ifdef typo.
-
-2010-06-03  Sriraman Tallam  <tmsriram@google.com>
-
-       PR gold/11658
-       * output.cc
-       (Output_section::Input_section_sort_entry::compare_section_ordering):
-       Change to return non-zero correctly.
-       (Output_section::Input_section_sort_section_order_index_compare
-       ::operator()): Change to fix ambiguity in comparisons.
-
-2010-06-01  Sriraman Tallam  <tmsriram@google.com>
-
-       * gold.h (is_wildcard_string): New function.
-       * layout.cc (Layout::layout): Pass this pointer to add_input_section.
-       (Layout::layout_eh_frame): Ditto.
-       (Layout::find_section_order_index): New method.
-       (Layout::read_layout_from_file): New method.
-       * layout.h (Layout::find_section_order_index): New method.
-       (Layout::read_layout_from_file): New method.
-       (Layout::input_section_position_): New private member.
-       (Layout::input_section_glob_): New private member.
-       * main.cc (main): Call read_layout_from_file here.
-       * options.h (--section-ordering-file): New option.
-       * output.cc (Output_section::input_section_order_specified_): New
-       member.
-       (Output_section::Output_section): Initialize new member.
-       (Output_section::add_input_section): Add new parameter.
-       Keep input sections when --section-ordering-file is used.
-       (Output_section::set_final_data_size): Sort input sections when
-       section ordering file is specified.
-       (Output_section::Input_section_sort_entry): Add new parameter.
-       Check sorting type.
-       (Output_section::Input_section_sort_entry::compare_section_ordering):
-       New method.
-       (Output_section::Input_section_sort_compare::operator()): Change to
-       consider section_order_index.
-       (Output_section::Input_section_sort_init_fini_compare::operator()):
-       Change to consider section_order_index.
-       (Output_section::Input_section_sort_section_order_index_compare
-       ::operator()): New method.
-       (Output_section::sort_attached_input_sections): Change to sort
-       according to section order when specified.
-       (Output_section::add_input_section<32, true>): Add new parameter.
-       (Output_section::add_input_section<64, true>): Add new parameter.
-       (Output_section::add_input_section<32, false>): Add new parameter.
-       (Output_section::add_input_section<64, false>): Add new parameter.
-       * output.h (Output_section::add_input_section): Add new parameter.
-       (Output_section::input_section_order_specified): New
-       method.
-       (Output_section::set_input_section_order_specified): New method.
-       (Input_section::Input_section): Initialize section_order_index_.
-       (Input_section::section_order_index): New method.
-       (Input_section::set_section_order_index): New method.
-       (Input_section::section_order_index_): New member.
-       (Input_section::Input_section_sort_section_order_index_compare): New
-       struct.
-       (Output_section::input_section_order_specified_): New member.
-       * script-sections.cc (is_wildcard_string): Delete and move modified
-       method to gold.h.
-       (Output_section_element_input::Output_section_element_input): Modify
-       call to is_wildcard_string.
-       (Output_section_element_input::Input_section_pattern
-       ::Input_section_pattern): Ditto.
-       (Output_section_element_input::Output_section_element_input): Ditto.
-       * testsuite/Makefile.am (final_layout): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/final_layout.cc: New file.
-       * testsuite/final_layout.sh: New file.
-
-2010-06-01  Rafael Espindola  <espindola@google.com>
-
-       * plugin.cc (Plugin::load): Pass the output name to the plugin.
-
-2010-06-01  Rafael Espindola  <espindola@google.com>
-
-       * plugin.cc (Sized_pluginobj::::do_add_symbols): Correctly set the
-       visibility of symbols.
-
-2010-05-27  Doug Kwan  <dougkwan@google.com>
-
-       * object.cc (Sized_relobj::do_finalize_local_symbols): Use offset
-       from start of output section instead of address for a local symbol
-       in a merged or relaxed section when doing a relocatable link.
-
-2010-05-26  Rafael Espindola  <espindola@google.com>
-
-       PR 11604
-       * object.cc(Sized_relobj::do_layout_deferred_sections): Avoid
-       adding sections the garbage collector removed.
-       * testsuite/Makefile.am: Add test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test_7.sh: New.
-       * testsuite/plugin_test_7_1.c: New.
-       * testsuite/plugin_test_7_2.c: New.
-
-2010-05-26  Rafael Espindola  <espindola@google.com>
-
-       * script-sections.cc (Output_section_definition::set_section_addresses):
-       Check for --section-start.
-
-2010-05-26  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_scan_relocatable_relocs): New class.
-       (Target_arm::relocate_special_relocatable): New method.
-       (Arm_relocate_functions::arm_branch_common): Handle relocatable link.
-       (Arm_relocate_functions::thumb_branch_common): Same.
-       (Target_arm::scan_relocatable_relocs): Use Arm_scan_relocatable_relocs
-       instead of Default_scan_relocatable_relocs.
-       * target-reloc.h (relocate_for_relocatable): Let target handle
-       relocation strategy Relocatable_relocs::RELOC_SPECIAL.
-       * target.h (Sized_target::relocate_special_relocatable): New method.
-
-2010-05-25  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * timer.cc: Only #include <sys/times.h> if HAVE_TIMES is defined.
-
-2010-05-23  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_input_section::do_output_offset): Use convert_types
-       instead of a cast.
-       (Target_arm::apply_cortex_a8_workaround): Rewrite a conditional branch
-       with a direct branch, not a conditional branch, to a stub.
-       * merge.cc (Output_merge_base::record_input_section): New method
-       defintion.
-       (Output_merge_data::do_add_input_section): Record input section if
-       keeps-input-sections flag is set.
-       (Output_merge_string::do_add_input_section): Ditto.
-       * merge.h (Output_merge_base::Output_merge_base): Initialize new data
-       members KEEPS_INPUT_SECTIONS_, FIRST_RELOBJ_, FIRST_SHNDX_ and
-       INPUT_SECTIONS_.
-       (Output_merge_base::keeps_input_sections,
-       Output_merge_base::set_keeps_input_sections,
-       Output_merge_base::first_relobj, Output_merge_base::first_shndx): New
-       method definitions.
-       (Output_merge_base::Input_sections): New type declaration.
-       (Output_merge_base::input_sections_begin,
-       Output_merge_base::input_sections_end,
-       Output_merge_base::do_set_keeps_input_sections): New method definitions.
-       (Output_merge_base::bool keeps_input_sections_,
-       Output_merge_base::first_relobj_, Output_merge_base::first_shndx_,
-       Output_merge_base::input_sections_): New data members.
-       (Output_merge_data::do_set_keeps_input_sections): New method
-       defintion.
-       (Output_merge_string::do_set_keeps_input_sections): Ditto.
-       * output.cc (Output_section::Input_section::relobj): Move method
-       defintion from class declaration to here and handle merge sections.
-       (Output_section::Input_section::shndx): Ditto.
-       (Output_section::Output_section): Remove initializations of removed
-       data members and initialize new data member LOOKUP_MAPS_.
-       (Output_section::add_input_section): Set keeps-input-sections flag
-       for a newly created merge output section as appropriate.  Adjust code
-       to use Output_section_lookup_maps class.
-       (Output_section::add_relaxed_input_section): Adjst code for lookup
-       maps code refactoring.
-       (Output_section::add_merge_input_section): Add a new parameter
-       KEEPS_INPUT_SECTION.  Adjust code to use Output_section_lookup_maps
-       class.  If adding input section to a newly created merge output
-       section fails, remove the new merge section.
-       (Output_section::convert_input_sections_in_list_to_relaxed_input_sections):
-       Adjust code for use of the Output_section_lookup_maps class.
-       (Output_section::find_merge_section): Ditto.
-       (Output_section::build_lookup_maps): New method defintion.
-       (Output_section::find_relaxed_input_section): Adjust code to use
-       Output_section_lookup_maps class.
-       (Output_section::get_input_sections): Export merge sections.  Adjust
-       code to use Output_section_lookup_maps class.
-       (Output_section:::add_script_input_section): Adjust code to use
-       Output_section_lookup_maps class.  Update lookup maps for merge
-       sections also.
-       (Output_section::discard_states): Use Output_section_lookup_maps.
-       (Output_section::restore_states): Same.
-       * output.h (Merge_section_properties): Move class defintion out of
-       Output_section.
-       (Output_section_lookup_maps): New class.
-       (Output_section::Input_section::is_merge_section): New method
-       defintion.
-       (Output_section::Input_section::relobj): Move defintion out of class
-       defintion.  Declare method only.
-       (Output_section::Input_section::shndx): Ditto.
-       (Output_section::Input_section::output_merge_base): New method defintion.
-       (Output_section::Input_section::u2_.pomb): New union field.
-       (Output_section::Merge_section_by_properties_map,
-       Output_section::Output_section_data_by_input_section_map,
-       Output_section::Ouptut_relaxed_input_section_by_input_section_map):
-       Remove types.
-       (Output_section::add_merge_input_section): Add new parameter
-       KEEPS_INPUT_SECTIONS.
-       (Output_section::build_lookup_maps): New method declaration.
-       (Output_section::merge_section_map_,
-       Output_section::merge_section_by_properties_map_,
-       Output_section::relaxed_input_section_map_,
-       Output_section::is_relaxed_input_section_map_valid_): Remove data
-       members.
-       (Output_section::lookup_maps_): New data member.
-
-2010-05-21  Doug Kwan  <dougkwan@google.com>
-
-       PR gold/11619
-       * arm.cc (Arm_input_section::do_output_offset): Add a cast to
-       avoid a compilation error.
-
-2010-05-19  Rafael Espindola  <espindola@google.com>
-
-       * script-sections.cc (Output_section_definition::allocate_to_segment):
-       Update the phdrs_list even when the output section is NULL.
-       * testsuite/Makefile.am: Add test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/script_test_9.cc: New.
-       * testsuite/script_test_9.sh: New.
-       * testsuite/script_test_9.t: New.
-
-2010-05-19  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_input_section::original_size): New method.
-       (Arm_input_section::do_addralign): Add a cast.
-       (Arm_input_section::do_output_offset): Remove static cast.
-       (Arm_input_section::original_addralign,
-        Arm_input_section::original_size_): Change type to uint32_t.
-       (Arm_input_section::init): Add safe casts for section alignment
-       and size.
-       (Arm_input_section::set_final_data_size): Do not set address and
-       offset of stub table.
-       (Arm_output_section::fix_exidx_coverage): Change use of of
-       Output_section::Simple_input_section to that of
-       Output_section::Input_section.
-       (Target_arm::do_relax): Set addresses and file offsets of Stub_tables
-       except for the first pass.
-       * output.cc (Output_section::get_input_sections): Change type of
-       input_sections to std::list<Input_section>.
-       (Output_section::add_script_input_section): Rename from
-       Output_section::add_simple_input_section.  Change type of SIS
-       parameter from Simple_input_section to Input_section.
-       * output.h (Output_section::Simple_input_section): Remove class.
-       (Output_section::Input_section): Change class visibility to public.
-       (Output_section::Input_section::addralign): Use stored alignments
-       for special input sections if set.
-       (Output_section::Input_section::set_addralign): New method.
-       (Output_section::get_input_sections): Change parameter type from
-       list of Simple_input_section to list of Input_section.
-       (Output_section::add_script_input_section): Rename from
-       Output_section::add_simple_input_section. Change first parameter's
-       type from Simple_input_section to Input_section and remove the
-       second and third parameters.
-       * script-sections.cc (Input_section::Input_section_list): Change
-       type to list of Output_section::Input_section/
-       (Input_section_info::Input_section_info): Change parameter type of
-       INPUT_SECTION to Output_section::Input_section.
-       (Input_section_info::input_section): Change return type.
-       (Input_section_info::input_section_): Change type to
-       Output_section::Input_section.
-       (Output_section_element_input::set_section_addresses): Adjust code
-       to use Output_section::Input_section instead of
-       Output_section::Simple_input_section.  Adjust code for renaming
-       of Output_section::add_simple_input_section.
-       (Orphan_output_section::set_section_addresses): Ditto.
-
-2010-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * gold.h (Unordered_multimap, Unordered_map): Fix defines for
-       when neither HAVE_TR1_UNORDERED_MAP nor HAVE_EXT_HASH_MAP are set.
-
-2010-05-18  Rafael Espindola  <espindola@google.com>
-
-       * options.cc (General_options::finalize): Handle -nostdlib.
-       * options.h (nostdlib): New option.
-       * script.cc (script_add_search_dir): Handle -nostdlib.
-
-2010-05-12  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_finalize_sections): Create an empty
-       attributes section only if there no attributes section after merging.
-       (Target_arm::merge_object_attributes): Move value of
-       Tag_MPextension_use_legacy to that of Tag_MPextension_use.
-       Handle Tag_DIV_use and Tag_MPextension_use_legacy.
-       * testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh
-       (check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout
-       and arm_attr_merge_7.stdout.
-       (arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o
-       arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r,
-       arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o,
-       arm_attr_merge_7b.o): New rules.
-       (MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and
-       arm_attr_merge_7
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_attr_merge.sh: New file.
-       * testsuite/arm_attr_merge_[67][ab].s: Same.
-
-2010-05-05  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (install-exec-local): Properly install gold as
-       default cross linker.
-       * Makefile.in: Regenerated.
-
-2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
-           Nick Clifton  <nickc@redhat.com>
-
-       * configure.ac (install_as_default): Define and set to false
-       unless --enable-gold or --enable-gold=both/gold has been
-       specified.
-       * configure: Regenerate.
-
-       * Makefile.am (install-exec-local): Install the executable as
-       'ld.gold'.  If install_as_default is true then also install it as
-       'ld'.
-       * Makefile.in: Regenerated.
-
-2010-04-24  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::layout_reloc): In relocatable link don't
-       combine reloc sections for grouped sections.
-
-2010-04-23  Sriraman Tallam  <tmsriram@google.com>
-
-       * gc.h (gc_process_relocs): Pass information on relocs pointing to
-       sections that are not ordinary to icf.
-       * icf.cc (get_section_contents): Handle relocation pointing to section
-       with no object or shndx information.
-       * testsuite/Makefile.am: Remove icf_virtual_function_folding_test.sh
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/icf_virtual_function_folding_test.cc: Remove printf.
-       * testsuite/icf_virtual_function_folding_test.sh: Delete file.
-
-2010-04-22  Ian Lance Taylor  <iant@google.com>
-
-       * expression.cc (Expression::Expression_eval_info): Add
-       result_alignment_pointer field.
-       (Expression::eval_with_dot): Add result_alignment_pointer
-       parameter.  Change all callers.
-       (Expression::eval_maybe_dot): Likewise.
-       (class Binary_expression): Add alignment_pointer parameter to
-       left_value and right_value.  Change all callers.
-       (BINARY_EXPRESSION): Set result alignment.
-       (class Trinary_expression): Add alignment_pointer parameter to
-       arg2_value and arg3_value.  Change all callers.
-       (Trinary_cond::value): Set result alignment.
-       (Max_expression::value, Min_expression::value): Likewise.
-       (Align_expression::value): Likewise.
-       * script-sections.cc (class Sections_element): Add dot_alignment
-       parameter to set_section_addresses virtual function.  Update
-       instantiations.
-       (class Output_section_element): Likewise.
-       (Script_sections::create_segments): Add dot_alignment parameter.
-       Change all callers.
-       (Script_sections::create_segments_from_phdrs_clause): Likewise.
-       (Script_sections::set_phdrs_clause_addresses): Likewise.
-       * script-sections.h: Update declarations.
-       * script.h: Update declarations.
-       * output.h (Output_segment::set_minimum_p_align): Don't decrease
-       min_p_align.
-       * testsuite/script_test_3.t: Set large alignment.
-       * testsuite/script_test_3.sh: Make sure that at least one LOAD
-       segment has expected alignment.
-
-2010-04-22  Nick Clifton  <nickc@redhat.com>
-
-       * po/gold.pot: Updated by the Translation project.
-       * po/vi.po: Updated Vietnamese translation.
-
-2010-04-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (check_PROGRAMS): Add
-       icf_virtual_function_folding_test.
-       * testsuite/Makefile.in: Regenerated.
-
-2010-04-15  Andrew Haley  <aph@redhat.com>
-
-       * options.h (merge_exidx_entries): New option.
-       * arm.cc (class Arm_exidx_fixup): Add new arg, merge_exidx_entries.
-       (class Arm_exidx_fixup::merge_exidx_entries_): New member.
-       (Output_section::fix_exidx_coverage): Add new arg, merge_exidx_entries.
-       (Target_arm::merge_exidx_entries): New function.
-       (process_exidx_entry): Don't merge if merge_exidx_entries_ is false.
-       (Arm_output_section::fix_exidx_coverage): Pass merge_exidx_entries
-       to Arm_exidx_fixup constructor.
-       Add new arg, merge_exidx_entries.
-       (Target_arm::fix_exidx_coverage): pass merge_exidx_entries to
-       Arm_output_section::fix_exidx_coverage.
-
-2010-04-18  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.cc (get_section_contents): Check for preemptible functions.
-       Ignore addend when appropriate.
-       * symtab.cc (should_add_dynsym_entry): Add new parameter.  Check for
-       section folded.
-       (add_from_relobj): Check for section folded.
-       (set_dynsym_indexes): Fix call to should_add_dynsym_entry.
-       * symtab.h (should_add_dynsym_entry): Add new parameter.
-       * target-reloc.h (scan_relocs): Check for section folded.
-       * x86_64.cc (Target_x86_64::Scan::possible_function_pointer_reloc):
-       Check reloc types for function pointers in shared objects.
-       * testsuite/Makefile.am (icf_virtual_function_folding_test): New test
-       case.
-       (icf_preemptible_functions_test): New test case.
-       (icf_string_merge_test): New test case.
-       * testsuite.Makefile.in: Regenerate.
-       * testsuite/icf_safe_so_test.sh: Change to not fold foo_glob and
-       bar_glob.  Refactor code.
-       * testsuite/icf_preemptible_functions_test.cc: New file.
-       * testsuite/icf_preemptible_functions_test.sh: New file.
-       * testsuite/icf_string_merge_test.cc: New file.
-       * testsuite/icf_string_merge_test.sh: New file.
-       * testsuite/icf_virtual_function_folding_test.cc: New file.
-       * testsuite/icf_virtual_function_folding_test.sh: New file.
-
-2010-04-14  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_output_section::fix_exidx_coverage): Mark object
-       for local symbol recounting if we remove a section due to ICF.
-       * gold.cc (queue_middle_gc_tasks): Create a dummy blocker if
-       there are no regular objects in input.
-
-2010-04-13  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_input_section::set_final_data_size): Compute
-       accurate final data size instead of using current data size.
-
-2010-04-09  Doug Kwan  <dougkwan@google.com>
-
-       * layout.cc (Layout::choose_output_section): Handle script section
-       types.
-       (Layout::make_output_section_for_script): Add section type parameter.
-       Handle script section types.
-       * layout.h (Layout::make_output_section_for_script): Add section
-       type parameter.
-       * output.cc (Output_section::Output_section): Initialize data member
-       is_noload_.
-       (Output_section::do_reset_address_and_file_offset): Do not set address
-       to 0 if section is a NOLOAD section.
-       * output.h (Output_section::is_noload): New method.
-       (Output_section::set_is_noload): Ditto.
-       (Output_section::is_noload_): New data member.
-       * script-c.h (Script_section_type): New enum type.
-       (struct Parser_output_section_header): Add new file section_type.
-       * script-sections.cc (Sections_element::output_section_name): Add
-       parameter for returning script section type.
-       (Output_section_definition::output_section_name): Ditto.
-       (Output_section_definition::section_type)P; New method.
-       (Output_section_definiton::script_section_type_name): Ditto.
-       (Output_section_definition::script_section_type_): New data member.
-       (Output_section_definition::Output_section_definition): Initialize
-       data member Output_section_definition::script_section_type_.
-       (Output_section_definition::create_sections): Pass script section type
-       to Layout::make_output_section_for_script.
-       (Output_section_definition::output_section_name): Return script
-       section type to caller.
-       (Output_section_definition::set_section_address): Do not advance
-       dot value and load address if section type is NOLOAD.  Set address
-       of NOLOAD sections regardless of section flags.
-       (Output_section_definition::print): Print section type if it is
-       not SCRIPT_SECTION_TYPE_NONE.
-       (Output_section_definition::section_type): New method.
-       (Output_section_definition::script_section_type_name): Ditto.
-       (Script_sections::output_section_name): Add new parameter
-       PSECTION_TYPE for returning script section type.  Pass it to
-       section elements.  Handle discard sections.
-       (Sort_output_sections::operator()): Handle NOLOAD sections.
-       * script-sections.h (Script_sections::Section_type): New enum type.
-       (Script_sections::output_section_name): Add a new parameter for
-       returning script section type.
-       * script.cc (script_keyword_parsecodes): Add keywords COPY, DSECT,
-       INFO and NOLOAD.
-       * yyscript.y (union): Add new field SECTION_TYPE.
-       (COPY, DSECT, INFO, NOLOAD): New tokens.
-       (opt_address_and_section_type): Change type to output_section_header.
-       (section_type): New non-terminal
-       (section_header): Handle section type.
-       (opt_address_and_section_type): Return section type value.
-
-2010-04-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/plugin_common_test_1.c (foo): Add prototype.
-       * testsuite/plugin_common_test_2.c (foo): Likewise.
-
-2010-04-08  Doug Kwan  <dougkwan@google.com>
-
-       * merge.cc (Output_merge_data::set_final_data_size): Handle empty
-       Output_merge_data.
-       * output.cc (Output_section::add_merge_input_section): Simplify
-       code and return status of Output_merge_base::add_input_section.
-       Update merge section map only if Output_merge_base::add_input_section
-       returns true.
-
-2010-04-07  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::scan_section_for_cortex_a8_erratum): Warn
-       if section is marked as containing instructions but has no mapping
-       symbols.
-       (Arm_relobj::do_count_local_symbols): Call adjust_sym_shndx to get
-       correct section index.
-       (Arm_relobj::find_linked_text_section): Ditto.
-
-2010-04-07  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (include_member): Destroy Read_symbols_data object before
-       releasing file.
-       * object.cc (Read_symbols_data::~Read_symbols_data) New destructor.
-       * object.h (Read_symbols_data::Read_symbols_data) New constructor.
-       (Read_symbols_data::~Read_symbols_data) New destructor.
-       (Section_relocs::Section_relocs) New constructor.
-       (Section_relocs::~Section_relocs) New destructor.
-       (Read_relocs_data::Read_relocs_data) New constructor.
-       (Read_relocs_data::~Read_relocs_data) New destructor.
-       * testsuite/binary_unittest.cc (Sized_binary_test): Set sd member
-       pointers to NULL after deleting.
-
-2010-04-07  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc: Replace "endianity" with "endianness" in comments.
-       (Arm_exidx_cantunwind): Ditto.
-       (Arm_relobj::Arm_relobj): Initialize merge_flags_and_attribures.
-       (Arm_relobj::merge_flags_and_attributes): New method.
-       (Arm_relobj::merge_flags_and_attributes_): New data member.
-       (Arm_exidx_cantunwind::do_fixed_endian_write): Fix formatting.
-       (Arm_relobj::scan_sections_for_stubs): Ditto.
-       (Arm_relobj::do_read_symbols): Check to see if we really want to
-       merge processor-specific flags and attributes.  Exit early if
-       an object is empty except for section names and the undefined symbol.
-       (Target_arm::do_finalize_sections): Move check for ELF format to
-       Arm_relobj::do_read_symbols.  Merge processor specific flags and
-       attributes from a regular object only when we have determined that
-       it is aapropriate.  Do not create an .ARM.attributes section in
-       output if there is no regular input object.
-       (Target_arm::merge_processor_specific_flags): Check
-       --warn-mismatch before printing any error.
-       (Target_arm::merge_object_attributes): Ditto.
-       * gold.cc (queue_middle_tasks): Handle the case in which there is
-       no regular object in input.
-       * options.cc (General_options::parse_EB): New method.
-       (General_options::parse_EL): Same.
-       (General_options::General_options): Initialize endianness_.
-       * options.h (-EB, -EL, -no-pipeline-knowledge, -p, --warn-mismatch):
-       New options.
-       (General_options::Endianness): New enum.
-       (General_options::endianness): New method.
-       (General_options::endianness_): New data member.
-       * parameters.cc (Parameters::set_options): Check target endianness.
-       (Parameters::set_target_once): Ditto.
-       (Parameters::check_target_endianness): New method.
-       (parameters_force_valid_target): If either -EL or -EB is specified,
-       use it to define endianness of default target.
-       * parameters.h (Parameters::check_target_endianness): New method
-       declaration.
-       * target.h (class Target): Change "endianity" to "endianness"
-       in comments.
-
-2010-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure.ac (AM_INIT_AUTOMAKE): Add option no-dist.
-       * configure: Regenerate.
-       * Makefile.in: Regenerate.
-       * testsuite/Makefile.in: Regenerate.
-
-2010-04-06  Cary Coutant  <ccoutant@google.com>
-
-       gcc PR lto/42757
-       * plugin.cc (Pluginobj::get_symbol_resolution_info): Check for
-       prevailing definitions of common symbols.
-       * testsuite/plugin_test_6.sh: New test case.
-       * testsuite/plugin_common_test_1.c: New test case.
-       * testsuite/plugin_common_test_2.c: New test case.
-       * testsuite/Makefile.am (plugin_test_6): New test case.
-       * testsuite/Makefile.in: Regenerate.
-
-2010-04-06  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: New Vietnamese translation.
-
-2010-03-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::using_thumb_only): Handle v6-M
-
-2010-03-25  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_fixup::update_offset_map): Rearrange code
-       to avoid a conversion warning on a 32-bit host.
-
-2010-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/script_test_3.t: Add a TLS segment.
-       * testsuite/Makefile.am (check_PROGRAMS): Add
-       tls_phdrs_script_test.
-       (tls_phdrs_script_test_SOURCES): Define.
-       (tls_phdrs_script_test_DEPENDENCIES): Define.
-       (tls_phdrs_script_test_LDFLAGS): Define.
-       (tls_phdrs_script_test_LDADD): Define.
-       * testsuite/Makefile.in: Rebuild.
-
-2010-03-23  Cary Coutant  <ccoutant@google.com>
-
-       * fileread.cc (find_or_make_view): Fix comment.
-
-2010-03-23  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.cc (class Orphan_section_placement): Define
-       PLACE_TLS and PLACE_TLS_BSS.
-       (Orphan_section_placement::Orphan_section_placement): Initialize
-       new places.
-       (Orphan_section_placement::find_place): Handle SHF_TLS sections.
-       * testsuite/Makefile.am (check_PROGRAMS): Add tls_script_test.
-       (tls_script_test_SOURCES): Define.
-       (tls_script_test_DEPENDENCIES): Define.
-       (tls_script_test_LDFLAGS): Define.
-       (tls_script_test_LDADD): Define.
-       * testsuite/Makefile.in: Rebuild.
-
-2010-03-22  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relocate_functions::abs8,
-       Arm_relocate_functions::abs16): Use correct check for overflow
-       specified in the ARM ELF specs.
-       (Arm_relocate_functions): thumb_branch_common.  Handle bit 1 of branch
-       target of a BLX instruction specially.
-       (Reloc_stub::stub_type_for_reloc): Ditto.
-       (Relocate::relocate): Use symbolic names instead of numeric relocation
-       codes to report error.
-       (Target_arm::do_relox): Reduce default stub-group size for Cortex-A8
-       workaround.
-       * testsuite/Makefile.am (check_DATA): add thumb_blx_in_range.stdout,
-       thumb_blx_out_of_range.stdout, thumb2_blx_in_range.stdout and
-       thumb2_blx_out_of_range.stdout
-       (thumb_bl_out_of_range, thumb_bl_out_of_range.o,
-       thumb2_bl_out_of_range, thumb2_bl_out_of_range.o): Fix dependenices.
-       (thumb_blx_in_range.stdout, thumb_blx_in_range, thumb_blx_in_range.o,
-       thumb_blx_out_of_range.stdout, thumb_blx_out_of_range,
-       thumb_blx_out_of_range.o, thumb2_blx_in_range.stdout,
-       thumb2_blx_in_range, thumb2_blx_in_range.o,
-       thumb2_blx_out_of_range.stdout, thumb2_blx_out_of_range,
-       thumb2_blx_out_of_range.o): New rules.
-       (MOSTLYCLEANFILES): Add thumb_blx_in_range, thumb_blx_out_of_range,
-       thumb2_blx_in_range and thumb2_blx_out_of_range.
-       * testsuite/Makefile.in: Regenerate.
-       * arm_branch_in_range.sh: Add tests for THUMB BLX.
-       * testsuite/thumb_blx_in_range.s: New file.
-       * testsuite/thumb_blx_out_of_range.s: New file.
-
-2010-03-22  Rafael Espindola  <espindola@google.com>
-
-       * archive.cc (Should_include): Move to archive.h.
-       (should_include_member): Make it a member of Archive.
-       (Lib_group): New.
-       (Add_lib_group_symbols): New.
-       * archive.h: Include options.h.
-       (Archive_member): Moved from Archive.
-       (Should_include): Moved from archive.cc.
-       (Lib_group): New.
-       (Add_lib_group_symbols): New.
-       * dynobj.cc (do_should_include_member): New.
-       * dynobj.h (do_should_include_member): New.
-       * gold.cc (queue_initial_tasks): Update call to queue.
-       * main.cc (main): Print lib group stats.
-       * object.cc (do_should_include_member): New.
-       * object.h: Include archive.h.
-       (Object::should_include_member): New.
-       (Object::do_should_include_member): New.
-       (Sized_relobj::do_should_include_member): New.
-       * options.cc (General_options::parse_start_lib): New.
-       (General_options::parse_end_lib): New.
-       (Input_arguments::add_file): Handle lib groups.
-       (Input_arguments::start_group): Check we are not in a lib.
-       (Input_arguments::start_lib): New.
-       (Input_arguments::end_lib): New.
-       * options.h (General_options): Add start_lib and end_lib.
-       (Input_argument::lib_): New.
-       (Input_argument::lib): New.
-       (Input_argument::is_lib): New.
-       (Input_file_lib): New.
-       (Input_arguments::in_lib_): New.
-       (Input_arguments::in_lib): New.
-       (Input_arguments::start_lib): New.
-       (Input_arguments::end_lib_): New.
-       * plugin.cc (Pluginobj::get_symbol_resolution_info): Mark symbols
-       in unused members as preempted.
-       (Sized_pluginobj::do_should_include_member): New.
-       * plugin.h (Sized_pluginobj::do_should_include_member): New.
-       * readsyms.cc (Read_symbols::locks): If we are just reading a member,
-       return the blocker.
-       (Read_symbols::do_whole_lib_group): New.
-       (Read_symbols::do_lib_group): New.
-       (Read_symbols::do_read_symbols): Handle lib groups.
-       (Read_symbols::get_name): Handle lib groups.
-       * readsyms.h (Read_symbols): Add an archive member pointer.
-       (Read_symbols::do_whole_lib_group): New.
-       (Read_symbols::do_lib_group): New.
-       (Read_symbols::member_): New.
-       * script.cc (read_input_script): Update call to queue_soon.
-
-2010-03-19  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Stub_table::Stub_table): Initialize new data members
-       Stub_table::reloc_stubs_size_ and Stub_table::reloc_stubs_addralign_.
-       (Stub_table::add_reloc_stub): Assign stub offset and update
-       Stub_table::reloc_stubs_size_ and Stub_table::reloc_stubs_addralign_.
-       (Stub_table::reloc_stubs_size_, Stub_table::reloc_stubs_addralign_):
-       New data members.
-       (Stub_table::update_data_size_and_addralign): Use
-       Stub_table::reloc_stubs_size_ and Stub_table::reloc_stubs_addralign_
-       instead of going over all reloc stubs.
-       (Stub_table::finalize_stubs): Do not assign reloc stub offsets.
-       * stringpool.cc (Stringpool_template::Stringpool_template): Initialize
-       Stringpool_template::offset_ to size of Stringpool_char.
-       (Stringpool_template::new_key_offset): Remove code to initialize
-       Stringpool_template::offset_.
-       * stringpool.h (Stringpool_template::set_no_zero_null): Set
-       Stringpool_template::offset_ to zero.
-
-2010-03-15  Doug Kwan  <dougkwan@google.com>
-
-       * stringpool.cc (Stringpool_template::Stringpool_template): Initialize
-       offset_.
-       (Stringpool_template::new_key_offset): New method.
-       (Stringpool_template::add_string): Assign offsets when adding new
-       strings.
-       (Stringpool_template::set_string_offsets): Do not set string offsets
-       when not optimizing.
-       * stringpool.h (Chunked_vector::Chunked_vector): Initialize data
-       member size_.
-       (Chunked_vector::clear): Clear size_.
-       (Chunked_vector::reserve): Call reserve method of all Element_vectors.
-       (Chunked_vector::size): Return size_.
-       (Chunked_vector::push_back): Use size_ to find insert position.
-       (Chunked_vector::size_): New data member.
-       (Stringpool_template::set_no_zero_null): Assert string set is empty.
-       (Stringpool_template::new_key_offset): New method declaration.
-       (Stringpool_template::offset_): New data member.
-
-2010-03-15   Rafael Espindola  <espindola@google.com>
-
-       * readsyms.cc (Read_symbols::do_read_symbols): Update calls to
-       Add_symbols' constructor.
-       * readsyms.h (Add_symbols): Remove the input_group member.
-
-2010-03-10  Ian Lance Taylor  <iant@google.com>
-
-       * reloc.cc (Sized_relobj::split_stack_adjust_reltype): Call the
-       target to ask whether a reference to a symbol requires a stack
-       split.
-       * target.h (Target::is_call_to_non_split): New function.
-       (Target::do_is_call_to_non_split): Declare virtual function.
-       * target.cc: Include "symtab.h".
-       (Target::do_is_call_to_non_split): New function.
-       * i386.cc (Target_i386::do_is_call_to_non_split): New function.
-
-2010-03-10  Cary Coutant  <ccoutant@google.com>
-
-       * fileread.cc (File_read::~File_read): Don't delete whole_file_view_.
-       (File_read::open[1]): Remove initial mapping of whole_file_view_.
-       (File_read::open[2]): Add whole_file_view_ to list of views.
-       (File_read::make_view): Remove test of whole_file_view_.
-       (File_read::find_or_make_view): Create whole_file_view_ if
-       necessary.
-       (File_read::clear_views): Replace bool parameter with enum;
-       adjust all callers.  Don't delete views with permanent data;
-       do delete cached views and views from archives if
-       --no-keep-files-mapped is set.  Set whole_file_view_ to NULL
-       if clearing the corresponding view.
-       * fileread.h (File_read::Clear_views_mode): New enum.
-       (File_read::View::is_permanent_view): New method.
-       (File_read::clear_views): Replace bool parameter
-       with enum; adjust all callers.
-       * options.h (General_options): Change keep_files_mapped option;
-       add map_whole_files.
-       * readsyms.cc (Add_symbols::run): Delete sd_ object before
-       releasing the file.
-       * reloc.cc (Scan_relocs::run): Delete rd_ object before releasing
-       the file.
-
-2010-03-10  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Target_sparc::Scan::local): Accept R_SPARC_WPLT30.
-
-2010-03-09  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.cc (get_section_contents): Add '@' marker after processing the
-       merge reloc.
-
-2010-03-08  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_fixup::update_offset_map): Fix build breakage
-       due to a conversion warning.
-       (Arm_relobj::update_output_local_symbol_count): Check for local
-       symbol with unset output index.
-
-2010-03-05  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Add --spare-dynamic-tags.
-       * output.cc (Output_data_dynamic::set_final_data_size): Implement
-       --spare-dynamic-tags.
-
-2010-03-05  Ian Lance Taylor  <iant@google.com>
-
-       * incremental.cc: Include "libiberty.h".
-
-2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * dynobj.h (Verdef::Verdef): Add is_info arg, is_info member
-       function, is_info_ member.
-       * dynobj.cc (Verdef::write): Set VER_FLG_INFO if this->is_info_.
-       (Versions::Versions): Update caller.
-       (Versions::define_base_version): Likewise.
-       (Versions::add_def): Likewise.
-
-2010-03-03  Sriraman Tallam  <tmsriram@google.com>
-
-       * i386.cc (Target_i386::can_check_for_function_pointers): New function.
-       (Scan::possible_function_pointer_reloc): New function.
-       (Scan::local_reloc_may_be_function_pointer): Change to call
-       possible_function_pointer_reloc.
-       (Scan::global_reloc_may_be_function_pointer): Ditto.
-       * icf.h (Icf::check_section_for_function_pointers): Change to reject
-       relocations in ".data.rel.ro._ZTV" section.
-       * testsuite/icf_safe_so_test.sh: Change to pass i386.
-       * testsuite/icf_safe_so_test.cc: Ditto.
-       * testsuite/icf_safe_test.cc: Ditto.
-       * testsuite/icf_safe_test.sh: Ditto.
-
-2010-03-03  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       * target-reloc.h (relocate_section): Check the symbol table index
-       for -1U before setting the local symbol index.
-       (scan_relocatable_relocs): If copying the relocation, record that
-       the local symbol is required.
-       * object.h (Symbol_value::is_output_symtab_index_set): New
-       function.
-       (Symbol_value::may_be_discarded_from_output_symtab): New
-       function.
-       (Symbol_value::has_output_symtab_entry): New function.
-       (Symbol_value::needs_output_symtab_entry): Remove.
-       (Symbol_value::output_symtab_index): Make sure the symbol index is
-       set.
-       (Symbol_value::set_output_symtab_index): Make sure the symbol
-       index is not set.  Make sure the new index is valid.
-       (Symbol_value::set_must_have_output_symtab_entry): New function.
-       (Symbol_value::has_output_dynsym_entry): New function.
-       (Symbol_value::set_output_dynsym_index): Make sure the new index
-       is valid.
-       (Sized_relobj::set_must_have_output_symtab_entry): New function.
-       * object.cc (Sized_relobj::do_count_local_symbols): Only discard a
-       local symbol if permitted.
-       (Sized_relobj::do_finalize_local_symbols): Call
-       is_output_symtab_index_set rather than needs_output_symtab_entry.
-       (Sized_relobj::write_local_symbols): Call has_output_symtab_entry
-       rather than needs_output_symtab_entry.  Call
-       has_output_dynsym_entry rather than needs_output_dynsym_entry.
-       * arm.cc (Arm_relobj::update_output_local_symbol_count): Call
-       is_output_symtab_index_set rather than needs_output_symtab_entry.
-       * testsuite/discard_locals_relocatable_test.c: New file.
-       * testsuite/discard_locals_test.sh: Test -r.
-       * testsuite/Makefile.am (check_DATA): Add
-       discard_locals_relocatable_test1.syms,
-       discard_local_relocatable_test2.syms.
-       (MOSTLYCLEANFILES): Likewise.  Also add
-       discard_locals_relocatable_test1.lout and
-       discard_locals_relocatable_test2.out.
-       (discard_locals_relocatable_test1.syms): New target.
-       (discard_locals_relocatable_test.o): New target.
-       (discard_locals_relocatable_test1.out): New target.
-       (discard_locals_relocatable_test2.syms): New target.
-       (discard_locals_relocatable_test2.out): New target.
-       (various): Add missing ../ld-new dependencies.
-       * testsuite/Makefile.in: Rebuild.
-
-2010-03-03  Nick Clifton  <nickc@redhat.com>
-
-       * po/fi.po: New Finnish translation.
-
-2010-03-01  Doug Kwan  <dougkwan@google.com>
-
-       * layout.cc (Layout::Layout): Force section types of .init_array*,
-       .preinit_array* and .fini_array* sections.
-       * output.cc (Output_section::Input_section_sort_entry::has_priority):
-       Fix check of return value of std::string::find.().
-       (Output_section::Input_section_sort_compare::operator()): Remove
-       comment about .init_array.
-       (Output_section::Input_section_sort_init_fini_compare::operator()):
-       New method.
-       (Output_section::sort_attached_input_sections): Handle .init_array
-       and .fini_array specially.
-       * output.h (Output_section::Inut_section_sort_compare): Update
-       comment.
-       (Output_section::Input_section_sort_init_fini_compare): New struct.
-
-2010-02-26  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Relocate::reloc_is_non_pic): Treat
-       R_ARM_PREL31 and R_ARM_SBREL31 as position independent.
-       * testsuite/debug_msg.sh: Avoid matching source line number for
-       use of global variable undef_int.
-
-2010-02-26  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::scan_reloc_for_stub): Move code handling
-       R_ARM_V4BX to Target_arm::scan_reloc_section_for_stubs.
-       (Target_arm::scan_reloc_section_for_stubs): Instead of calling
-       scan_reloc_for_stub, do all processing of R_ARM_V4BX here.
-       * options.cc (General_options::General_options): Initialize member
-       fix_v4bx_.
-       * testsuite/Makefile.am (check_SCRIPTS): Add arm_fix_v4bx.sh
-       (check_DATA): Add arm_fix_v4bx.stdout, arm_fix_v4bx_interworking.stdout
-       and rm_no_fix_v4bx.stdout
-       (arm_fix_v4bx.stdout, arm_fix_v4bx, arm_fix_v4bx.o,
-       arm_fix_v4bx_interworking.stdout, arm_fix_v4bx_interworking,
-       arm_no_fix_v4bx.stdout, arm_no_fix_v4bx): New make rules.
-       (MOSTLYCLEANFILES): Add arm_fix_v4bx, arm_fix_v4bx_interworking
-       and arm_no_fix_v4bx.
-       * Makefile.in: Regenerate.
-       * testsuite/arm_fix_v4bx.s: New file.
-       * testsuite/arm_fix_v4bx.sh: Ditto.
-
-2010-02-24  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::got_section): Make the .got section the first
-       non RELRO section in the data segment.
-       * testsuite/script_test_5.sh: Fix match patterns to avoid matching
-       suffixes of section names.
-
-2010-02-24  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_finalize_sections): Skip processor specific
-       flags and attributes merging if an input file is a binary file.
-       * fileread.cc (Input_file::open): Record format of original file.
-       * fileread.h (Input_file::Format): New enum type.
-       (Input_file::Input_file): Initialize data member format_.
-       (Input_file::format): New method definition.
-       (Input_file::format_):: New data member.
-
-2010-02-24  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_output_data_got): New class.
-       (ARM_TCB_SIZE): New constant
-       (Target_arm): Use Arm_output_data_got instead of Output_data_got.
-       (Arm_output_section::fix_exidx_coverage): Add a parameter for layout.
-       If user uses a script with a SECTIONS clause, issue only a warning
-       for a misplaced EXIDX input section.  Otherwise, issue an error.
-       (Arm_relobj::do_gc_process_relocs): Exit early if we are not doing
-       garbage collection.
-       (Target_arm::got_mode_index_entry): Handle static linking.
-       (Target_arm::Scan::local): Ditto.
-       (Target_arm::Scan::global): Ditto.
-       (Target_arm::Relocate::relocate_tls): Handle static linking.  Fix
-       all incorrectly implemented relocations.
-       (Target_arm::fix_exidx_coverage): Pass layout to
-       Arm_output_section::fix_exidx_coverage.
-       * layout.cc (Layout::section_name_mapping): Remove trailing dots
-       from ".ARM.exidx." and ".ARM.extab.".
-
-2010-02-23  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Target_arm::do_finalize_sections): Create attribute
-       section if it does not already exist.
-       * attributes.cc (Attributes_section_data::Attributes_section_data):
-       Don't crash if size is zero.
-
-2010-02-23  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       * gold.cc (queue_middle_tasks): If no input files were opened,
-       exit.
-       * workqueue.h (Task_function::Task_function): Assert that there is
-       a blocker.
-
-2010-02-22  Doug Kwan  <dougkwan@google.com>
-
-       * gold-threads.h (Once::~Once): Explicitly define virtual destructor.
-       * icf.cc (get_section_contents): Cast snprintf arguments to long long
-       types to avoid warnings due to different uint64_t implementations
-       on different hosts.
-
-2010-02-21  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relocate_functions::arm_branch_common): Fix bug in
-       handling of the maximum backward branch offset.
-       (Arm_relocate_functions::thumb_branch_common): Ditto.
-       * testsuite/Makefile.am (check_SCRIPTS): Add arm_branch_in_range.sh.
-       (check_DATA): Add arm_bl_in_range.stdout, arm_bl_out_of_range.stdout
-       thumb_bl_in_range.stdout, thumb_bl_out_of_range.stdout,
-       thumb2_bl_in_range.stdout and thumb2_bl_out_of_range.stdout.
-       (arm_bl_in_range.stdout, arm_bl_in_range, arm_bl_in_range.o,
-       arm_bl_out_of_range.stdout, arm_bl_out_of_range,
-       arm_bl_out_of_range.o, thumb_bl_in_range.stdout, thumb_bl_in_range,
-       thumb_bl_in_range.o, thumb_bl_out_of_range.stdout,
-       thumb_bl_out_of_range thumb_bl_out_of_range.o,
-       thumb2_bl_in_range.stdout, thumb2_bl_in_range, thumb2_bl_in_range.o
-       thumb2_bl_out_of_range.stdout, thumb2_bl_out_of_range,
-       thumb2_bl_out_of_range.o): New rules.
-       (MOSTLYCLEANFILES): Add arm_bl_in_range, arm_bl_out_of_range,
-       thumb_bl_in_range, thumb_bl_out_of_range, thumb2_bl_in_range and
-       thumb2_bl_out_of_range
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/arm_bl_in_range.s: New file.
-       * testsuite/arm_bl_out_of_range.s: Ditto.
-       * testsuite/arm_branch_in_range.sh: Ditto.
-       * testsuite/arm_branch_range.t: Ditto.
-       * testsuite/thumb2_branch_range.t: Ditto.
-       * testsuite/thumb_bl_in_range.s: Ditto.
-       * testsuite/thumb_bl_out_of_range.s: Ditto.
-       * testsuite/thumb_branch_range.t: Ditto.
-
-2010-02-20  Sriraman Tallam  <tmsriram@google.com>
-
-       * gc.h (gc_process_relocs): Change vectors to point to the new list.
-       Add reloc offset information.
-       * icf.cc (get_section_contents): Change iterators to point to the new
-       vectors. Add reloc offset information to the contents.
-       * icf.h (Icf::Sections_reachable_info): New typedef.
-       (Icf::Sections_reachable_list): New typedef.
-       (Icf::Offset_info): New typedef.
-       (Icf::Reloc_info): New struct typedef.
-       (Icf::Reloc_info_list): New typedef.
-       (Icf::symbol_reloc_list): Delete method.
-       (Icf::addend_reloc_list): Delete method.
-       (Icf::section_reloc_list): Delete method.
-       (Icf::reloc_info_list): New method.
-       (Icf::reloc_info_list_): New member.
-
-2010-02-19  Doug Kwan  <dougkwan@google.com>
-
-       * arm-reloc.def: Mark R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
-       R_ARM_TLS_LDO32, R_ARM_TLS_IE32 and R_ARM_TLS_LE32 are implemented.
-       * arm.cc (Arm_relocation_functions): New forward declaration.
-       (Target_arm::Target_arm): Initialize new data members
-       got_mod_index_offset_ and tls_base_symbol_defined_.
-       (Target_arm::Relocate::relocate_tls): New method.
-       (Target_arm::optimize_tls_reloc, Target_arm::define_tls_base_symbol,
-        Target_arm::got_mod_index_entry, Target_arm::rel_tls_desc_section):
-       New methods.
-       (Target_arm::Got_type): Add GOT_TYPE_TLS_NOFFSET, GOT_TYPE_OFFSET,
-       GOT_TYPE_TLS_PAIR and GOT_TYPE_TLS_DESC.
-       (Target_arm::got_mod_index_offset_,
-       Target_arm::tls_base_symbol_defined_): New data members.
-       (Target_arm::Scan::local, Target::Scan::global,
-       Target_arm::Relocate::relocate): Handle 32-bit initial TLS
-       relocations.
-
-2010-02-18  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::find_linked_text_section): New method.
-       (Arm_relobj::make_exidx_input_section): Pass section index of linked
-       text section as a parameter becuase some broken tools may not set
-       the link in section header.
-       (Target_arm::has_got_section): New method.
-       (Target_arm::scan_section_for_cortex_a8_stubs): Treat an input section
-       without any mapping symbol as data only.  Remove warning.
-       (Arm_relobj::do_read_synbols): If an EXIDX input section has no
-       link in its section header, try to discover the link by inspecting the
-       REL31 relocation at the beginning of the section.
-       (Target_arm::Scan::check_non_pic): Report name of offending relocation
-       in error message.
-       (Target_arm::Scan::global): Treat any reference to the symbol
-       _GLOBAL_OFFSET_TABLE_ as a GOT access.
-
-2010-02-12  Sriraman Tallam  <tmsriram@google.com>
-
-       * arm.cc (Scan::local_reloc_may_be_function_pointer): New function.
-       (Scan::global_reloc_may_be_function_pointer): New function.
-       * sparc.cc (Scan::local_reloc_may_be_function_pointer): New function.
-       (Scan::global_reloc_may_be_function_pointer): New function.
-       * powerpc.cc (Scan::local_reloc_may_be_function_pointer): New function.
-       (Scan::global_reloc_may_be_function_pointer): New function.
-       * i386.cc (Scan::local_reloc_may_be_function_pointer): New function.
-       (Scan::global_reloc_may_be_function_pointer): New function.
-       * x86_64.cc (Scan::local_reloc_may_be_function_pointer): New function.
-       (Scan::global_reloc_may_be_function_pointer): New function.
-       (Scan::possible_function_pointer_reloc): New function.
-       (Target_x86_64::can_check_for_function_pointers): New function.
-       * gc.h (gc_process_relocs): Scan relocation types to determine if
-       function pointers were taken for targets that support it.
-       * icf.cc (Icf::find_identical_sections): Include functions for
-       folding in safe ICF whose pointer is not taken.
-       * icf.h (Secn_fptr_taken_set): New typedef.
-       (fptr_section_id_): New member.
-       (section_has_function_pointers): New function.
-       (set_section_has_function_pointers): New function.
-       (check_section_for_function_pointers): New function.
-       * options.h: Fix comment for safe ICF option.
-       * target.h (can_check_for_function_pointers): New function.
-       * testsuite/Makefile.am: Add icf_safe_so_test test case.
-       Modify icf_safe_test for X86-64.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/icf_safe_so_test.cc: New file.
-       * testsuite/icf_safe_so_test.sh: New file.
-       * testsuite/icf_safe_test.cc (kept_func_3): New function.
-       (main): Change to take pointer to function kept_func_3.
-       * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Check if safe
-       folding is done correctly for X86-64.
-
-2010-02-12  David S. Miller  <davem@davemloft.net>
-
-       * output.h (Output_reloc<SHT_REL>::Output_reloc): Add
-       is_symbolless parameter.
-       (Output_reloc<SHT_REL>::is_symbolless): New.
-       (Output_reloc<SHT_REL>::is_symbolless_): New.
-       (Output_reloc<SHT_REL>::type_): Decrease to 29 bits.
-       (Output_reloc<SHT_RELA>::Output_reloc): Add is_symbolless parameter.
-       (Output_reloc<SHT_RELA>::is_symbolless): New.
-       (Output_data_reloc::add_global): Handle is_symbolless.
-       (Output_data_reloc::add_global_relative): Likewise.
-       (Output_data_reloc::add_local): Likewise.
-       (Output_data_reloc::add_local_relative): Likewise.
-       (Output_data_reloc::add_symbolless_global_addend): New.
-       (Output_data_reloc::add_symbolless_local_addend): New.
-       * output.cc (Output_reloc<SHT_REL>::Output_reloc): Handle
-       is_symbolless.
-       (Output_reloc::set_needs_dynsym_index): Test ->is_symbolless_
-       instead of ->is_relative_
-       (Output_reloc::write): Likewise.
-       (Output_reloc::get_symbol_index): Return 0 when ->is_symbolless_
-       (Output_reloc::write_rel): Simplify.
-
-       * sparc.cc (Target_sparc::Scan::local): Use
-       ->add_symbolless_local_addend as needed.
-       (Target_sparc::Scan::global): Use ->add_symbolless_global_addend as
-       needed.  Also, emit appropriate unaligned vs. aligned dynamic reloc
-       based upon relocation offset.
-
-2010-02-11  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Scan::local): Fix bugs in relocation handling.
-       (Target_arm::Scan::global): Ditto.  Also remove a comment before the
-       beginning of function.
-       (Target_arm::Relocate::relocate): Remove error messages for MOVW_ABS
-       and MOVT_ABS relocations.  Those are non issued in scanning.  Fix
-       parameter is_32bit in calls to should_apply_static_reloc.
-       * testsuite/Makefile.am (check_SCRIPTS): Add arm_abs_global.sh.
-       (check_DATA): Add arm_abs_global.stdout.
-       (arm_abs_lib.o, libarm_abs.so, arm_abs_global.o, arm_abs_global,
-       arm_abs_global.stdout): New rules.
-       (MOSTLLYCLEANFILES): Add arm_abs_global
-       * Makefile.in: Regenerate.
-       * testsuite/arm_abs_global.s: New file.
-       * testsuite/arm_abs_global.sh: Ditto.
-       * testsuite/arm_abs_lib.s: Ditto.
-
-2010-02-11  Ian Lance Taylor  <iant@google.com>
-
-       * gold.cc (queue_middle_gc_tasks): Use a separate blocker for each
-       Read_relocs task.
-       (queue_middle_tasks): Likewise, and also for Scan_relocs.  Run
-       Allocate_commons_task first.
-       * reloc.cc (Read_relocs::run): Pass next_blocker_ down to next
-       task, rather than symtab_lock_.
-       (Gc_process_relocs::~Gc_process_relocs): New function.
-       (Gc_process_relocs::is_runnable): Check this_blocker_.
-       (Gc_process_relocs::locks): Use next_blocker_ rather than
-       blocker_.
-       (Scan_relocs::~Scan_relocs): New function.
-       (Scan_relocs::is_runnable): Check this_blocker_ rather than
-       symtab_lock_.
-       (Scan_relocs::locks): Drop symtab_lock_ and blocker_.  Add
-       next_blocker_.
-       * reloc.h (class Read_relocs): Drop symtab_lock_ and blocker_
-       fields.  Add this_blocker_ and next_blocker_ fields.  Adjust
-       constructor accordingly.
-       (class Gc_process_relocs): Likewise.
-       (class Scan_relocs): Likewise.
-       * common.h (class Allocate_commons_task): Remove symtab_lock_
-       field, and corresponding constructor parameter.
-       * common.cc (Allocate_commons_tasK::is_runnable): Remove use of
-       symtab_lock_.
-       (Allocate_commons_task::locks): Likewise.
-
-2010-02-11  Ian Lance Taylor  <iant@google.com>
-
-       * gold-threads.h (class Once): Define.
-       (class Initialize_lock): Rewrite as child of Once.
-       * gold-threads.cc (class Once_initialize): Define.
-       (once_pointer_control): New static variable.
-       (once_pointer, once_arg): New static variables.
-       (c_run_once): New static function.
-       (Once::Once, Once::run_once, Once::internal_run): New functions.
-       (class Initialize_lock_once): Remove.
-       (initialize_lock_control): Remove.
-       (initialize_lock_pointer): Remove.
-       (initialize_lock_once): Remove.
-       (Initialize_lock::Initialize_lock): Move to gold-threads.h.
-       (Initialize_lock::initialize): Rewrite.
-       (Initialize_lock::do_run_once): New function.
-       * archive.cc (Archive::interpret_header): Only clear name if it is
-       not already empty.
-       * fileread.cc: Include "gold-threads.h"
-       (file_counts_lock): New static variable.
-       (file_counts_initialize_lock): Likewise.
-       (File_read::release): Only increment counts when using --stats.
-       Use a lock around the increment.
-       * parameters.cc (class Set_parameters_target_once): Define.
-       (set_parameters_target_once): New static variable.
-       (Parameters::Parameters): Move here from parameters.h.
-       (Parameters::set_target): Rewrite.
-       (Parameters::set_target_once): New function.
-       (Parameters::clear_target): Move here and rewrite.
-       * parameters.h (class Parameters): Update declarations.  Add
-       set_parameters_target_once_ field.
-       (Parameters::Parameters): Move to parameters.cc.
-       (Parameters::clear_target): Likewise.
-       * readsyms.cc (Read_symbols::do_group): Create a Start_group
-       task.
-       (Start_group::~Start_group): New function.
-       (Start_group::is_runnable): New function.
-       (Start_group::locks, Start_group::run): New functions.
-       (Finish_group::run): Change saw_undefined to size_t.
-       * readsyms.h (class Start_group): Define.
-       (class Finish_group): Change saw_undefined_ field to size_t.
-       (Finish_group::Finish_group): Remove saw_undefined and
-       this_blocker parameters.  Change all callers.
-       (Finish_group::set_saw_undefined): New function.
-       (Finish_group::set_blocker): New function.
-       * symtab.h (class Symbol_table): Change saw_undefined to return
-       size_t.  Change saw_undefined_ field to size_t.
-       * target-select.cc (Set_target_once::do_run_once): New function.
-       (Target_selector::Target_selector): Initialize set_target_once_
-       field.  Don't initialize lock_ and initialize_lock_ fields.
-       (Target_selector::instantiate_target): Rewrite.
-       (Target_selector::set_target): New function.
-       * target-select.h (class Set_target_once): Define.
-       (class Target_selector): Update declarations.  Make
-       Set_target_once a friend.  Remove lock_ and initialize_lock_
-       fields.  Add set_target_once_ field.
-
-2010-02-10  Ian Lance Taylor  <iant@google.com>
-
-       * dirsearch.cc (Dirsearch::initialize): Add all blockers before
-       queueing any tasks.
-       * gold.cc (queue_middle_gc_tasks): Likewise.  Fix final blocker.
-       (queue_middle_tasks): Add all blockers before queueing any tasks.
-       (queue_final_tasks): Likewise.
-       * token.h (Task_token::add_blockers): New function.
-       * object.h (Input_objects::number_of_relobjs): New function.
-
-2010-02-10  Ian Lance Taylor  <iant@google.com>
-
-       * i386.cc (Relocate::relocate_tls): A local symbol is final if not
-       shared, not if not position independent.
-       * x86_64.cc (Relocate::relocate_tls): Likewise.
-       * testsuite/Makefile.am (check_PROGRAMS): Add tls_pie_pic_test.
-       (tls_pie_pic_test): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-       * testsuite/Makefile.am (check_PROGRAMS): Add tls_pie_test.
-       (tls_test_main_pie.o, tls_test_pie.o): New targets.
-       (tls_test_file2_pie.o, tls_test_c_pie.o, tls_pie_test): Likewise.
-       * testsuite/Makefile.in: Rebuild.
-
-2010-02-09  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Target_sparc::Scan::local): Do not emit relocs other than
-       R_SPARC_RELATIVE using ->add_local_relative().
-       (Target_sparc::Scan::global): Likewise for ->add_global_relative().
-
-       * output.h (Output_data_dynamic::add_section_size): New method
-       that takes two Output_data objects.
-       (Output_data_dynamic::Dynamic_entry): Create storage for secondary
-       entry param.  Handle it in initializers.
-       * output.cc (Output_data_dynamic::Dynamic_entry::write): For
-       DYNAMIC_SECTION_SIZE, add in second object size if non-NULL.
-       * layout.h (Layout::add_target_dynamic_tags): Add dynrel_includes_plt
-       arg.
-       * layout.cc (Layout::add_target_dynamic_tags): If dynrel_includes_plt,
-       and .rela.plt exists, set DT_REL{,A}SZ to sum of .rela.dyn and .rela.plt
-       * arm.cc (Target_arm::do_finalize_sections): Update to pass false
-       for dynrel_includes_plt.
-       * i386.cc (Target_i386::do_finalize_sections): Likewise.
-       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
-       * sparc.cc (Target_sparc::make_plt_entry): Force .rela.dyn to be output
-       before .rela.plt
-       (Target_sparc::do_finalize_sections): Update to pass true for
-       dynrel_includes_plt.
-       * powerpc.cc (Target_powerpc::make_plt_entry): Force .rela.dyn to be
-       output before .rela.plt
-       (Target_powerpc::do_finalize_sections): Update to pass true for
-       dynrel_includes_plt when 32-bit.
-
-2010-02-08  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::simple_input_section_output_address): New
-       method.
-       (Arm_relobj::section_needs_cortex_a8_stub_scanning,
-       Arm_relobj::scan_section_for_cortex_a8_stubs,
-       Arm_relobj::do_relocation_section): Instead of calling
-       Output_section::output_address, use faster
-       Arm_relobj::simple_input_section_output_address.
-
-2010-02-08  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Target_sparc::Relocate::relocate): If relocation offset is
-       unaligned for R_SPARC_16, R_SPARC_32, or R_SPARC_64, use the unaligned
-       relocation helper function.
-
-       * sparc.cc (Target_sparc::Scan::local): Handle R_SPARC_GOTDATA_OP*
-       just like R_SPARC_GOT{10,13,22}.
-       (Target_sparc::Scan::local): Likewise.
-       (Target_sparc::Relocate:relocate): Likewise.
-
-2010-02-06  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Rewrite targetobjs duplicate removal code to use
-       only shell constructs.
-       * configure: Rebuild.
-
-2010-02-05  Doug Kwan  <dougkwan@google.com>
-
-       PR 11247
-       * arm.cc (Arm_relobj::section_is_scannable): New method.
-       (Arm_relobj::section_needs_reloc_stub_scanning): Use it.
-       (Arm_relobj::section_needs_cortex_a8_stub_scanning): Same.
-
-2010-02-04  Doug Kwan  <dougkwan@google.com>
-
-       PR 11247
-       * arm-reloc-property.cc (cstdio): Include.
-       * configure.ac (targetobjs): Remove duplicates.
-       * configure: Regenerate.
-       * resolve.cc (Symbol_table::resolve): Explicit instantiate both
-       big and little endian version for a given address size.
-
-2010-02-03  Doug Kwan  <dougkwan@google.com>
-
-       * arm-reloc-property.cc
-       (Arm_reloc_property_table::reloc_name_in_error_message): New method
-       definition.
-       * arm-reloc-property.h
-       (Arm_reloc_property_table::get_implemented_static_reloc_property):
-       New method definition.
-       (Arm_reloc_property_table::reloc_name_in_error_message): New method
-       declaration.
-       * arm-reloc.def (THM_MOVT_ABS, THM_MOVT_PREL, THM_MOVT_BREL): Change
-       overflow to N.
-       (GOT_PREL): Change implemented to Y.
-       * arm.cc (Target_arm::reloc_uses_thumb_bit): Remove method.
-       (Target_arm::Relocate::reloc_needs_sym_origin): Remove method.
-       (Arm_relocate_functions::movw_abs_nc): Remove method.
-       (Arm_relocate_functions::movt_abs): Ditto.
-       (Arm_relocate_functions::thm_movw_abs_nc): Ditto.
-       (Arm_relocate_functions::thm_movt_abs): Ditto.
-       (Arm_relocate_functions::movw_rel_nc): Ditto.
-       (Arm_relocate_functions::movw_rel): Ditto.
-       (Arm_relocate_functions::movt_rel): Ditto.
-       (Arm_relocate_functions:thm_movw_rel_nc): Ditto.
-       (Arm_relocate_functions:thm_movw_rel): Ditto.
-       (Arm_relocate_functions:thm_movt_rel): Ditto.
-       (Arm_relocate_functions::movw, Arm_relocate_functions::movt,
-       (Arm_relocate_functions::thm_movw, Arm_relocate_functions::thm_movt):
-       New method definitions.
-       (Arm_relocation_functions::arm_grp_alu): Add assertion for group index.
-       (Arm_relocation_functions::arm_grp_ldr): Ditto.
-       (Arm_relocation_functions::arm_grp_ldrs): Ditto.
-       (Arm_relocation_functions::arm_grp_ldc): Ditto.
-       (Target_arm::Relocate::relocate): Check for non-static or
-       unimplemented relocation code and exit early.  Change calls to
-       Target_arm::reloc_uses_thumb_bit and
-       Target_arm::Reloc::reloc_needs_sym_origin to use relocation property
-       instead.  Refactor code to handle similar relocations to increase
-       code sharing.  Remove check for unsupported relocation code in switch
-       statement.
-       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Use
-       relocation property table to find out size.  Change error message to
-       print out the name of a relocation code instead of the numeric value.
-       (Target_arm::scan_reloc_for_stub): Use relocation property table
-       instead of calling Target_arm::reloc_uses_thumb_bit().
-
-2010-02-02  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::relocate_section): Do view adjustment for all
-       types of relaxed input section.
-
-2010-02-02  Doug Kwan  <dougkwan@google.com>
-
-       * Makefile.am (HFILES): Add arm-reloc-property.h.
-       (DEFFILES): New.
-       (TARGETSOURCES): Add arm-reloc-property.cc
-       (ALL_TARGETOBJS): Add arm-reloc-property.$(OBJEXT)
-       (libgold_a_SOURCES): $(DEFFILES)
-       * Makefile.in: Regenerate.
-       * arm-reloc-property.cc: New file.
-       * arm-reloc-property.h: New file.
-       * arm-reloc.def: New file.
-       * arm.cc: Update comments.
-       (arm-reloc-property.h): New included header.
-       (arm_reloc_property_table): New global variable.
-       (Target_arm::do_select_as_default_target): New method definition.
-       * configure.tgt (armeb*-*-*,armbe*-*-*,arm*-*-*): Add
-       arm-reloc-property to targ_extra_obj.
-       * parameters.cc (set_parameters_target): Call
-       Target::select_as_default_target().
-       * target.h (Target::select_as_default_target): New method definition.
-       (Target::do_select_as_default_target): Same.
-
-2010-02-01  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_fixup::Arm_exidx_fixup): Initialize
-       first_output_text_section_.
-       (Arm_exidx_fixup::first_output_text_section): New method definition.
-       (Arm_exidx_fixup::first_output_text_section_): New data member.
-       (Arm_exidx_fixup::process_exidx_section): Record the first text
-       output section seen.
-       (Arm_output_section::fix_exidx_coverage): Set correct linked section
-       and entsize in output section header.
-
-2010-01-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc: Added support for the ARM relocations: R_ARM_THM_PC8,
-       R_ARM_THM_PC12, R_ARM_THM_ALU_PREL_11_0.
-       (Arm_relocate_functions::thm_alu11): New Method.
-       (Arm_relocate_functions::thm_pc8): New Method.
-       (Arm_relocate_functions::thm_pc12): New Method.
-       (Target_arm::Scan::local): Handle the relocations.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-       (Target_arm:Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
-
-2010-01-29  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Scan::global): General PLTs for the same set
-       of relocation types as ld.
-
-2010-01-29  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relocate_functions::arm_branch_common) Change visibility
-       to public.
-       (Arm_relocate_functions::thumb_branch_common): Ditto.
-       (Arm_relocate_functions::thm_call, Arm_relocate_functions::thm_jump24,
-       Arm_relocate_functions::thm_xpc22, Arm_relocate_functions::plt32,
-       Arm_relocate_functions::xpc25, Arm_relocate_functions::call,
-       Arm_relocate_functions::jump24): Remove.
-       (Target_arm::Relocate::relocate): Adjust code to call
-       Arm_relocation_functions::arm_branch_common and
-       Arm_relocation_functions::thumb_branch_common instead of their removed
-       wrappers.  Merge switch-cases together to reduce source code size.
-
-2010-01-29  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::Arm_relobj): Initialize new data member
-       output_local_symbol_count_needs_update_.
-       (Arm_relobj::output_local_symbol_count_needs_update,
-        Arm_relobj::set_output_local_symbol_count_needs_update,
-        Arm_relobj::update_output_local_symbol_count): New methods.
-       (Arm_relobj::output_local_symbol_count_needs_update_): New data
-       member.
-       (Arm_exidx_cantunwind::do_fixed_endian_write): Write address
-       of pointed function as in a R_ARM_PREL31 relocation.
-       (Arm_output_section<big_endian>::fix_exidx_coverage): Mark objects
-       for output local symbol count updating.
-       (Target_arm::do_relax): Update output local symbol counts in objects
-       if necessary.
-       * object.h (Sized_relobj::set_output_local_symbol_count): New method.
-
-2010-01-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc: Added support for the ARM relocations:
-       R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL, R_ARM_MOVW_BREL,
-       R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL.
-       (Arm_relocate_functions::movw_rel_nc): Renamed (was
-       movw_prel_nc).
-       (Arm_relocate_functions::movw_rel): New method.
-       (Arm_relocate_functions::movt_rel): Renamed (was movt_prel).
-       (Arm_relocate_functions::thm_movw_rel_nc): Renamed (was
-       thm_movw_prel_nc).
-       (Arm_relocate_functions::thm_movw_rel): New method.
-       (Arm_relocate_functions::thm_movt_rel): Renamed (was
-       thm_movt_prel).
-       (Target_arm::Scan::local): Handle MOVW_BREL/MOVT_BREL
-       relocations.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2010-01-27  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc: Added support for ARM group relocations.
-       (Target_arm::reloc_needs_sym_origin): New method.
-       (Arm_relocate_functions::calc_grp_kn): New method.
-       (Arm_relocate_functions::calc_grp_residual): New method.
-       (Arm_relocate_functions::calc_grp_gn): New method.
-       (Arm_relocate_functions::arm_grp_alu): New Method.
-       (Arm_relocate_functions::arm_grp_ldr): New Method.
-       (Arm_relocate_functions::arm_grp_ldrs): New Method.
-       (Arm_relocate_functions::arm_grp_ldc): New Method.
-       (Target_arm::Scan::local): Handle the ARM group relocations.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2010-01-26  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (set): Include.
-       (class Arm_exidx_fixup): Change type of last_input_section_ to const
-       pointer type.
-       (Arm_output_section::Text_section_list): New type.
-       (Arm_output_section::append_text_sections_to_list): New method.
-       (Arm_output_section::fix_exidx_coverage): Ditto.
-       (Arm_relobj::Arm_relobj): Initialize exidx_section_map_.
-       (Arm_relobj::convert_input_section_to_relaxed_section): Use
-       Relobj::set_section_offset() instead of
-       Sized_relobj::invalidate_section_offset().
-       (Arm_relobj::section_needs_reloc_stub_scanning): Add an extra
-       parameter for section headers. Ignore relocation sections for
-       unallocated sections and EXIDX sections.
-       (Target_arm::fix_exidx_coverage): New method.
-       (Target_arm::output_section_address_less_than): New type.
-       (Arm_exidx_fixup::add_exidx_cantunwind_as_needed): Use index of the
-       linked text section instead of the EXIDX section.
-       (Arm_output_section::create_stub_group): Add an assertion to check
-       that this is not an EXIDX output section.
-       (Arm_output_section::append_text_sections_to_list): New method.
-       (Arm_output_section::fix_exidx_coverage): Ditto.
-       (Arm_relobj::scan_sections_for_stubs): Adjust call to
-       Arm_relobj::section_needs_reloc_stub_scanning.
-       (Target_arm::do_relax): Fix EXIDX output section coverage in the
-       first pass.
-       (Target_arm::fix_exidx_coverage): New method.
-       * object.h (Relobj::set_output_section): New method.
-       (Sized_relobj::invalidate_section_offset): Remove method.
-       (Sized_relobj::do_invalidate_section_offset): Remove method.
-       (Sized_relobj::do_set_section_offset): Handle offset value -1.
-
-2010-01-25  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_merged_section::do_output_offset):
-       Fix warning due to signed and unsigned comparison on a 32-bit host.
-
-2010-01-22  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_relax): Record an output section for section
-       offset adjustment it contains any stub table that has changed.
-       * layout.cc (Layout::clean_up_after_relaxation): Adjust section
-       offsets in an output section if necessary.
-       * output.cc (Output_section::Output_section): Initialize
-       section_offsets_need_adjustments_.
-       (Output_section::add_input_section_for_script): Renamed to
-       Output_section::add_simple_input_section.
-       (Output_section::save_states): Add a comment.
-       (Output_section::discard_states): New method defintion.
-       (Output_section::adjust_section_offsets): Same.
-       * output.h (Output_section::add_input_section_for_script): Renamed to
-       Output_section::add_simple_input_section.
-       (Output_section::discard_states): New method declaration.
-       (Output_section::adjust_section_offsets): Same.
-       (Output_section::section_offsets_need_adjustment,
-       Output_section::set_section_offsets_need_adjustment): New method
-       definitions.
-       (Output_section::section_offsets_need_adjustment_): New data member.
-       * script-sections.cc
-       (Output_section_element_input::set_section_address): Adjust code for
-       renaming of Output_section::add_input_section_for_script.
-       (Orphan_output_section::set_section_address): Same.
-
-2010-01-22  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Target_arm): Updated fix_v4bx method and usage of
-       Fix_v4bx enum values .
-       * options.h (General_options): New option definitions.
-       (General_options::fix_v4bx): New method.
-       (General_options::Fix_v4bx): New enum.
-       * options.cc (General_options::parse_fix_v4bx): New method.
-       (General_options::parse_fix_v4bx_interworking): New method.
-
-2010-01-22  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_fixup): New class.
-
-2010-01-21  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_cantunwind, Arm_exidx_merged_section): New
-       classes.
-       (Arm_exidx_section_offset_map): New type.
-
-2010-01-21  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_exidx_input_section): New class.
-       (Arm_relobj::exidx_input_section_by_link,
-       Arm_relobj::exidx_input_section_by_shndx,
-       Arm_relobj::make_exidx_input_section): New methods.
-       (read_arm_attributes_section): Remove.
-       (Arm_relobj::do_read_symbols): Look for ARM.exidx sections and record
-       information about them.
-       (Arm_dynobj::do_read_symbols): Move code in read_arm_attributes_section
-       to here.
-
-2010-01-20  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Arm_input_section_map): Change key type from
-       Input_section_specifier to Section_id.
-       (Target_arm::new_arm_input_section: Adjust code for change of key
-       type.
-       (Target_arm::find_arm_input_section): Ditto.
-       * gc.h (object.h): Include for Section_id nand Section_id_hash.
-       (Section_id): Remove.
-       (Garbage_collection::Section_id_hash): Remove.
-       * icf.h (object.h): Include for Section_id nand Section_id_hash.
-       (Section_id): Remove.
-       (Icf::Section_id_hash): Remove.
-       * object.h (Section_id, Const_section_id, Section_id_hash,
-       Const_section_id_hash): New type definitions.
-       * output.cc (Output_section::add_relaxed_input_section): Change to
-       use Const_section_id instead of Input_section_specifier as key type.
-       (Output_section::add_merge_input_section): Ditto.
-       (Output_section::build_relaxation_map): Change to use Section_id
-       instead of Input_section_specifier as key type.
-       (Output_section::convert_input_sections_in_list_to_relaxed_sections):
-       Ditto.
-       (Output_section::convert_input_sections_to_relaxed_sections): Change
-       to use Const_section_id instead of Input_section_specifier as key type.
-       (Output_section::find_merge_section): Ditto.
-       (Output_section::find_relaxed_input_section): Ditto.
-       * output.h (Input_section_specifier): Remove class.
-       (Output_section::Output_section_data_by_input_section_map): Change
-       key type to Const_section_id.
-       (Output_section::Output_relaxed_input_section_by_input_section_map):
-       Ditto.
-       (Output_section::Relaxation_map): Change key type to Section_id.
-
-2010-01-20  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc: Added support for R_ARM_V4BX relocation
-       (class Arm_v4bx_stub): New class.
-       (DEF_STUBS): Updated definition to support v4_veneer_bx.
-       (Stub_factory::make_arm_v4bx_stub): New method.
-       (Stub_factory::elf32_arm_stub_v4_veneer_bx): New veneer template.
-       (Stub_table::empty): Handle v4bx stubs.
-       (Stub_table::add_arm_v4bx_stub): New method.
-       (Stub_table::find_arm_v4bx_stub): New method.
-       (Arm_relocate_functions::v4bx): New method.
-       (Target_arm::fix_v4bx): New method.
-       (Target_arm::Target_arm): Handle R_ARM_V4BX.
-       (Stub_table::relocate_stubs): Likewise.
-       (Stub_table::do_write): Likewise.
-       (Stub_table::update_data_size_and_addralign): Likewise.
-       (Stub_table::finalize_stubs):  Likewise.
-       (Target_arm::Scan::local): Likewise.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::do_finalize_sections): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-       (Target_arm::scan_reloc_for_stub): Likewise.
-       (Target_arm::scan_reloc_section_for_stubs): Likewise.
-
-2010-01-19  Ian Lance Taylor  <iant@google.com>
-
-       * output.cc (Output_section_headers::do_sized_write): Write large
-       segment count to sh_info field.
-       (Output_file_header::do_sized_write): For large segment count,
-       write PN_XNUM to e_phnum field.
-
-2010-01-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Arm_relocate_functions::thm_jump6): New function.
-       (Arm_relocate_functions::thm_jump8): New function.
-       (Arm_relocate_functions::thm_jump11): New function.
-       (Target_arm::Scan::local): Handle R_ARM_THM_JUMP6, R_ARM_THM_JUMP8,
-       R_ARM_THM_JUMP11.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::Relocate::relocate): Likewise.
-       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2010-01-14  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (map, utility): Include headers.
-       (Target_arm::apply_cortex_a8_workaround): New method.
-       (Arm_relobj::do_relocate_sections): Apply any Cortex-A8 workaround.
-       (Target_arm::Scan::local): Handle R_ARM_THM_JUMP24, R_ARM_THM_JUMP19.
-       (Target_arm::Scan::global): R_ARM_THM_JUMP19.
-       (Target_arm::do_finalize_sections): Set fix_cortex_a8_ according to
-       the --[no-]fix-cortex-a8 command line options.
-       (Target_arm::Relocate::relocate): Handle R_ARM_JUMP19.
-       (Target_arm::relocate_stub): Use addend in instruction template.
-       * options.h (DEFINE_bool): Set the user-set flag.
-       (General_options): Add --[no-]-fix-cortex options.
-       * output.cc (Output_section::convert_input_sections_to_relaxed_sections)
-       : Update fast look-up map after conversion.
-
-2010-01-14  Sriraman Tallam  <tmsriram@google.com>
-
-       * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack
-       in the first pass of do_layout.
-
-2010-01-13  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,
-       Arm_relobj::scan_sections_for_stubs): Rearrange code to avoid an
-       apparent compiler problem of not folding static constant integral
-       data members of elfcpp::Elf_sizes<32>.
-
-2010-01-13  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,
-       Arm_relobj::section_needs_cortex_a8_stub_scanning,
-       Arm_relobj::scan_section_for_cortex_a8_erratum,
-       Arm_relobj::scan_span_for_cortex_a8_erratum): New methods.
-       (Arm_relobj::scan_sections_for_stubs): Move code deciding what
-       sections to scan for relocation stubs into a new method
-       Arm_relobj::section_needs_reloc_stub_scanning.  Handle both
-       relocation and Cortex-A8 stub scanning.
-       (Target_arm::do_relax): Force stubs to be after stubbed sections
-       if fixing the Cortex-A8 erratum.  Remove all Cortex-A8 stubs at
-       the beginning of a new relaxation pass.  Update a comment.
-       (Target_arm::scan_span_for_cortex_a8_erratum): New method definition.
-
-2010-01-12  Ian Lance Taylor  <iant@google.com>
-
-       * target-reloc.h (visibility_error): New inline function.
-       (relocate_section): Call visibility_error.
-       * testsuite/Makefile.am (check_DATA): Add protected_3.err.
-       (MOSTLYCLEANFILES): Likewise.
-       (protected_4_pic.o, protected_3.err): New targets.
-       * testsuite/protected_4.cc: New file.
-
-2010-01-12  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Cortex_a8_reloc): New class.
-       (Target_arm::Target_arm): Initialize new data members fix_cortex_a8_
-       and cortex_a8_relocs_info_.
-       (Target_arm::fix_cortex_a8): New method definition.
-       (Target_arm::Cortex_a8_relocs_info): New type.
-       (Target_arm::fix_cortex_a8_, Target_arm::cortex_a8_relocs_info_):
-       New data member declarations.
-       (Target_arm::scan_reloc_for_stub): Record information about
-       relocations for THUMB branches that might be exempted from the
-       Cortex-A8 workaround.
-       (Target_arm::do_relax): Clear all Cortex-A8 relocation information
-       at the beginning of a relaxation pass.
-
-2010-01-12  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::mapping_symbols_info_): New data member.
-       (Arm_relobj::Mapping_symbol_position,
-        Arm_reloj::Mapping_symbol_position_less,
-        Arm_relobj::Mapping_symbols_info): New types.
-       (Target_arm::is_mapping_symbol_name): New method definition.
-       (Arm_relobj::do_count_local_symbols): Save information about mapping
-       symbols.
-
-2010-01-11  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relocate_functions::thumb32_branch_offset,
-       Arm_relocate_functions::thumb32_branch_upper,
-       Arm_relocate_functions::thumb32_branch_lower,
-       Arm_relocate_functions::thumb32_cond_branch_offset,
-       Arm_relocate_functions::thumb32_cond_branch_upper,
-       Arm_relocate_functions::thumb32_cond_branch_lower,
-       Arm_relocate_functions::thm_jump19): New methods to handle THUMB
-       branch offset encoding.
-       (Arm_relocate_functions::thumb_branch_common): Use new branch
-       offset encoding methods to avoid code duplication.
-       (Stub_template::Stub_template) Handle THUMB16_SPECIAL_TYPE.
-       (Stub_addend_reader::operator()): Use new branch encoding method
-       to avoid code duplication.
-
-2010-01-11  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::do_gc_process_relocs): New method.
-       (Target_arm::do_finalize_sections): Define special EXIDX section
-       symbols only if referenced.
-       * gc.h (Garbage_collection::add_reference): New method.
-       (gc_process_relocs): Use Garbage_collection::add_reference to avoid
-       code duplication.
-
-2010-01-11  Ian Lance Taylor  <iant@google.com>
-
-       * script.cc (Version_script_info::build_expression_list_lookup):
-       Change complaing about duplicate wildcard match from error to
-       warning.
-
-       * script.cc (class Lazy_demangler): Recreate--revert part of patch
-       of 2009-12-30.
-       (Version_script_info::Version_script_info): Initialize globs_,
-       default_version_, default_is_global_, and exact_.  Don't
-       initialize globals_ or locals_.
-       (Version_script_info::build_lookup_tables): Build local symbols
-       first.
-       (Version_script_info::unquote): New function.
-       (Version_script_info::add_exact_match): New function.
-       (Version_script_info::build_expression_list_lookup): Remove lookup
-       parameter.  Add is_global parameter.  Change all callers.  Handle
-       wildcard pattern specially.  Unquote pattern.  Call
-       add_exact_match.
-       (Version_script_info::get_name_to_match): New function.
-       (Version_script_info::get_symbol_version): New function.
-       (Version_script_info::get_symbol_version_helper): Remove.
-       (Version_script_info::check_unmatched_names): Call unquote.
-       * script.h (class Version_script_info): Change get_symbol_version
-       to be non-inline and add is_global parameter; change all callers.
-       Rewrite symbol_is_local.  Update declarations.  Define struct
-       Version_tree_match, Exact, Globs.  Don't define struct Lookup.
-       Remove globals_ and locals_ members.  Add exact_, globs_,
-       default_version_, is_global_.
-       (Version_script_info::Glob): Remove pattern, add expression and
-       is_global.  Update constructor.  Change all callers.
-       * dynobj.cc (Versions::finalize): Mark the version symbol as the
-       default version.
-       (Versions::symbol_section_contents): If a symbol is undefined, or
-       defined in a dynamic object, set the version index to
-       VER_NDX_LOCAL.
-       * symtab.cc (Symbol_table::add_from_relobj): Don't call
-       symbol_is_local.
-       (Symbol_table::add_from_pluginobj): Likewise.
-       * testsuite/ver_matching_test.sh: blaza1 and blaza go into V2.
-
-2010-01-11  Doug Kwan  <dougkwan@google.com>
-
-       * Makefile.am (incremental_dump_DEPENDENCIES): Add libintl dependency.
-       (incremental_dump_LDADD): Add linking option for libintl.
-       * Makefile.in: Regenerate.
-
-2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/11144
-       * testsuite/Makefile.am (dynamic_list.stdout): Use --dyn-syms
-       instead of -Ds.
-       * testsuite/Makefile.in: Regenerated.
-
-2010-01-10  Doug Kwan  <dougkwan@google.com>
-
-       * options.h (DEFINE_var): Use parentheses around argument varname__
-       in macro body to avoid any unintended subsequent substitutions.
-
-2010-01-10  Ian Lance Taylor  <iant@google.com>
-
-       * resolve.cc (Symbol_table::resolve): Add symbols to list of ODR
-       candidates before doing symbol resolution.
-
-       * resolve.cc (Symbol_table::resolve): Add symbols to the list of
-       ODR candidates if only one is weak.
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       * script.cc (Version_script_info::build_expression_list_lookup):
-       Don't warn about ambiguous version, just record the ambiguity.
-       (Version_script_info::get_symbol_version_helper): Give error if
-       version is ambiguous.
-
-2010-01-08  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Stub_table::Stub_table): Initalize cortex_a8_stubs_,
-       prev_data_size_ and prev_addralign_.  Remove initializer for
-       deleted data member has_been_changed_.
-       (Stub_table::empty): Look at both reloc_stubs_ and cortex_a8_stubs_
-       to determine if the table is empty.
-       (Stub_table::has_been_changed, Stub_table_set_has_been_changed):
-       Remove.
-       (Stub_table::add_reloc_stub): Define method in class definition
-       instead of just declaring it there.
-       (Stub_table::add_cortex_a8_stub): New method definition.
-       (Stub_table::update_data_size_and_addralign): Ditto.
-       (Stub_table::finalize_stubs): Ditto.
-       (Stub_table::apply_cortex_a8_workaround_to_address_range): Ditto.
-       (Stub_table::do_addralign_): Return address alignment in the
-       (Stub_table::do_reset_address_and_file_offset): Define method in
-       class definition instead of declaring it there.  Set current data
-       size to be the data size of the previous pass.
-       (Stub_table::set_final_data_size): Use current data size as the
-       final data size.
-       (Stub_table::relocate_stub): Change parameter type of stub from
-       Reloc_stub pointer to Stub pointer.
-       (Stub_table::addralign_, Stub_table::has_been_changed_): Remove.
-       (Stub_table::Cortex_a8_stub_list): New typedef.
-       (Stub_table::cortex_a8_stubs_, Stub_table::prev_data_size_,
-        Stub_table::prev_addralign_): New data member.
-       (Arm_relobj::Arm_relobj): Initialize data member
-       section_has_cortex_a8_workaround_.
-       (Arm_relobj::section_has_cortex_a8_workaround,
-        Arm_relobj::mark_section_for_cortex_a8_workaround): New method
-        definitions.
-       (Arm_relobj::section_has_cortex_a8_workaround_): New data member
-       declarations.
-       (Target_arm::relocate_stub): Change parameter type of stub from
-       Reloc_stub pointer to Stub pointer.
-       (Insn_template::size, Insn_template::alignment): Handle
-       THUMB16_SPECIAL_TYPE.
-       (Stub_table::remove_all_cortex_a8_stubs, Stub_table::finalize_stubs,
-        Stub_table::update_data_size_and_addralign,
-        Stub_table::apply_cortex_a8_workaround_to_address_range): New method
-       definitions.
-       (Stub_table::relocate_stubs): Handle Cortex-A8 stubs.
-       (Stub_table::do_write): Ditto.
-       (Target_arm::do_relax): Adjust code for changes in Stub_table.
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       PR 11108
-       * symtab.h (class Symbol): Remove fields is_target_special_ and
-       has_plt_offset_.  Add field is_defined_in_discarded_section_.
-       (Symbol::is_defined_in_discarded_section): New function.
-       (Symbol::set_is_defined_in_discarded_section): New function.
-       (Symbol::has_plt_offset): Rewrite.
-       (Symbol::set_plt_offset): Verify that new offset is not -1U.
-       * symtab.cc (Symbol::init_fields): Initialize plt_offset_ to -1U.
-       Don't initialize is_target_special_ or has_plt_offset_.
-       Initialize is_defined_in_discarded_section_.
-       (Symbol_table::add_from_relobj): If appropriate, set
-       is_defined_in_discarded_section.
-       * resolve.cc (Symbol::override_base_with_special): Don't test
-       is_target_special_.  Change has_plt_offset_ to has_plt_offset().
-       * target-reloc.h (relocate_section): Do special handling for
-       symbols defined in discarded sections for global symbols as well
-       as local symbols.
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       * dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
-       the SHT_SYMTAB case.
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj::do_layout): Don't get confused if
-       layout_eh_frame returns NULL.
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       PR 11084
-       * dynobj.cc (Sized_dynobj::find_dynsym_sections): If there is no
-       dynamic symbol table, use the normal symbol table.
-       (Sized_dynobj::do_read_symbols): Remove assertion about type of
-       symbol table.
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       PR 11072
-       * layout.cc (Layout::include_section): Remove .gnu_debuglink
-       sections.
-
-2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * version.cc (print_version): Change to "Copyright 2010".
-
-2010-01-08  Ian Lance Taylor  <iant@google.com>
-
-       PR 10287
-       PR 11063
-       * i386.cc (class Target_i386): Change return type of plt_section
-       to be non-const.
-       (class Output_data_plt_i386): Add tls_desc_rel_ field.
-       (Output_data_plt_i386::Output_data_plt_i386): Initialize
-       tls_desc_rel_ field.
-       (Output_data_plt_i386::rel_tls_desc): New function.
-       (Target_i386::rel_tls_desc_section): New function.
-       (Target_i386::Scan::local): Rewrite R_386_TLS_GOTDESC handling.
-       (Target_i386::Scan::global): For R_386_TLS_GOTDESC put
-       R_386_TLS_DESC reloc in rel_tls_desc_section.
-       * x86_64.cc (class Target_x86_64): Add tlsdesc_reloc_info_ field.
-       Define struct Tlsdesc_info.
-       (Target_x86_64::Target_x86_64): Initialize tlsdesc_reloc_info_.
-       (Target_x86_64::do_reloc_symbol_index): New function.
-       (Target_x86_64::add_tlsdesc_info): New function.
-       (class Output_data_plt_x86_64): Add tlsdesc_rel_ field.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64): Initialize
-       tlsdesc_rel_ field.
-       (Output_data_plt_x86_64::rela_plt): Rename from rel_plt.  Change
-       all callers.
-       (Output_data_plt_x86_64::rela_tlsdesc): New function.
-       (Target_x86_64::rela_tlsdesc_section): New function.
-       (Target_x86_64::Scan::local): Rewrite R_X86_64_GOTPC32_TLSDESC
-       handling.
-       (Target_x86_64::Scan::global): For R_X86_64_GOTPC32_TLSDESC put
-       (Target_x86_64::do_reloc_addend): New function.
-       R_X86_64_TLSDESC reloc in rela_tlsdesc_section.
-       * output.h (class Output_reloc) [SHT_REL]: Add new constructor
-       declarations.  Define TARGET_CODE.  Add arg field to u1_ union.
-       (Output_reloc::type): New function.
-       (Output_reloc::is_local_section_symbol): Check for TARGET_CODE.
-       (Output_reloc::is_target_specific): New function.
-       (Output_reloc::target_arg): New function.
-       (class Output_reloc) [SHT_RELA]: Add four new constructors for
-       absolute relocs and target specific relocs.
-       (class Output_data_reloc) [SHT_REL]: Add add_absolute and
-       add_target_specific.
-       (class Output_data_reloc) [SHT_RELA]: Likewise.
-       * output.cc (Output_reloc::Output_reloc): Add four new versions
-       for absolute relocs and target specific relocs.
-       (Output_reloc::set_needs_dynsym_index): Add TARGET_CODE case.
-       (Output_reloc::get_symbol_index): Likewise.
-       (Output_reloc::local_section_offset): Check that local_sym_index_
-       is not TARGET_CODE or 0.
-       (Output_reloc::symbol_value): Likewise.
-       (Output_reloc::write) [SHT_RELA]: Call target for target specific
-       reloc.
-       * target.h (class Target): Add reloc_symbol_index and reloc_addend
-       functions.  Add do_reloc_symbol_index and do_reloc_addend virtual
-       functions.
-       * layout.cc (add_target_dynamic_tags): Use output section for
-       DT_PLTRELSZ and DT_JMPREL.
-
-2010-01-07  Ian Lance Taylor  <iant@google.com>
-
-       PR 11061
-       * output.h (class Output_reloc) [SHT_RELA]: Add is_relative
-       function.
-       (class Output_data_reloc_generic): Define.
-       (class Output_data_reloc_base): Change base class to
-       Output_data_reloc_generic.  Change add() method to call
-       bump_relative_reloc_count for a relative reloc.  Remove
-       sort_relocs_ field.
-       * output.cc (Output_data_reloc_base::do_write): Change sort_reloc_
-       to sort_relocs().
-       * layout.cc (Layout::add_target_dynamic_tags): Change dyn_rel to
-       Output_data_reloc_generic*.  Add DT_RELCOUNT/DT_RELACOUNT tag if
-       appropriate.
-       * layout.h (class Layout): Update declaration.
-
-2010-01-07  Ian Lance Taylor  <iant@google.com>
-
-       * output.h (class Output_data): Add const version of
-       output_section and do_output_section.
-       (class Output_section_data): Add const version of
-       do_output_section.
-       (class Output_section): Likewise.
-       * layout.cc (Layout::add_target_dynamic_tags): New function.
-       * layout.h (class Layout): Update declarations.
-       * arm.cc (Target_arm::do_finalize_sections): Use
-       add_target_dynamic_tags.
-       * i386.cc (Target_i386::do_finalize_sections): Likewise.
-       * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
-       * sparc.cc (Target_sparc::do_finalize_sections): Likewise.
-       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
-
-2010-01-07  Ian Lance Taylor  <iant@google.com>
-
-       PR 11042
-       * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Mark the dynamic
-       object as needed.
-
-2010-01-07  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       PR 11019
-       * object.cc: Instantiate Xindex::initialize_symtab_xindex and
-       Xindex::read_symtab_xindex.
-
-2010-01-07  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Insn_template::Type): New enum value THUMB16_SPECIAL_TYPE.
-       (Insn_template::thumb16_bcond_insn): New method declaration.
-       (Insn_template): Fix spelling.
-       (Stub::thumb16_special): New method declaration.
-       (Stub::do_write): Define virtual method which was previously pure
-       virtual.
-       (Stub::do_thumb16_special): New method declaration.
-       (Stub::do_fixed_endian_write): New template member.
-       (Reloc_stub::do_write): Remove.
-       (Reloc_stub::do_fixed_endian_write): Remove.
-       (Cortex_a8_stub): New class definition.
-       (Stub_factory::make_cortex_a8_stub): New method definition.
-       (Stub_factory::Stub_factory): Add missing static storage class
-       qualifier for elf32_arm_stub_a8_veneer_blx.
-
-2010-01-07  Ian Lance Taylor  <iant@google.com>
-
-       PR 10980
-       * options.h (class General_options): Add --warn-unresolved-symbols
-       and --error-unresolved-symbols.
-       * errors.cc (Errors::undefined_symbol): Implement
-       --warn-unresolved-symbols.
-
-       * options.h (class General_options): Add -z text and -z textoff.
-       * layout.cc (Layout::finish_dynamic_section): Implement -z text.
-
-2010-01-06  Sriraman Tallam  <tmsriram@google.com>
-
-       * gc.h (Garbage_collection::Cident_section_map): New typedef.
-       (Garbage_collection::cident_sections): New function.
-       (Garbage_collection::add_cident_section): New function.
-       (Garbage_collection::cident_sections_): New member.
-       (gc_process_relocs): Add references to sections whose names are C
-       identifiers.
-       * gold.h (cident_section_start_prefix): New constant.
-       (cident_section_stop_prefix): New constant.
-       (is_cident): New function.
-       * layout.cc (Layout::define_section_symbols): Replace string constants
-       with the newly defined constants.
-       * object.cc (Sized_relobj::do_layout): Track sections whose names are
-       C identifiers.
-       * testsuite/Makefile.am: Add gc_orphan_section_test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gc_orphan_section_test.cc: New file.
-       * testsuite/gc_orphan_section_test.sh: New file.
-
-2010-01-06  Ian Lance Taylor  <iant@google.com>
-
-       PR 10980
-       * options.h (class General_options): Add --warn-shared-textrel.
-       * layout.cc (Layout::finish_dynamic_section): Implement
-       --warn-shared-textrel.
-
-       PR 10980
-       * options.h (class General_options): Add --warn-multiple-gp.
-
-2010-01-06  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * Makefile.am (incremental_dump_DEPENDENCIES): Remove
-       $(THREADSLIB) and $(LIBDL).
-       * Makefile.in: Rebuild.
-
-2010-01-06  Ian Lance Taylor  <iant@google.com>
-
-       PR 10980
-       * options.cc (General_options::parse_section_start): New function.
-       (General_options::section_start): New function.
-       (General_options::General_options): Initialize all members.
-       * options.h: Include <map>
-       (class General_options): Add --section-start.  Add section_starts_
-       member.
-       * layout.cc (Layout::attach_allocated_section_to_segment): If
-       --section-start was used, set the address of the segment.  Remove
-       local sort_sections.
-       (Layout::relaxation_loop_body): If the address of the load segment
-       has been set by --section-start, don't use it.
-       * output.h (Output_segment::update_flags_for_output_section): New
-       function.
-       * output.cc (Output_segment::add_output_section): Call
-       update_flags_for_output_section.
-
-2010-01-05  Ian Lance Taylor  <iant@google.com>
-
-       PR 10980
-       * options.h (class General_options): Add --undefined-version.
-       * script.cc (struct Version_expression): Add was_matched_by_symbol
-       field.
-       (Version_script_info::matched_symbol): New function.
-       (Version_script_info::get_symbol_version_helper): Call
-       matched_symbol.
-       (Version_script_info::check_unmatched_names): New function.
-       * script.h (class Version_script_info): Update declarations.
-       * gold.cc (queue_middle_tasks): Handle --no-undefined-version.
-
-       * options.h (class General_options): Use DEFINE_bool_alias for
-       allow_multiple_definition.
-       * resolve.cc (Symbol_table::should_override): Don't test
-       allow_multiple_definition.
-
-       PR 10980
-       * options.h (class General_options): Add --cref.
-       * main.cc (main): Print cref table if --cref.  Don't close mapfile
-       until after printing cref table.
-       * cref.cc: Include "symtab.h".
-       (class Cref_inputs): Define Cref_table_compare and Cref_table.
-       (Cref_table_compare::operator()): New function.
-       (Cref_inputs::gather_cref): New function.
-       (filecol): New static const.
-       (Cref_inputs::print_cref): New function.
-       (Cref::print_cref): New function.
-       * cref.h: Include <cstdio>.
-       (class Cref): Update declarations.
-       * mapfile.h (Mapfile::file): New function.
-       * object.h (class Object): Define Symbols.  Declare virtual
-       do_get_global_symbols.
-       (Object::get_global_symbols): New function.
-       * object.cc (Input_objects::add_object): Pass object to cref_ if
-       --cref.
-       (Input_objects::archive_start): Likewise.
-       (Input_objects::archive_stop): Likewise.
-       (Input_objects::print_cref): New function.
-       * dynobj.h (Sized_dynobj::do_get_global_symbols): New function.
-       * dynobj.cc (big_endian>::do_add_symbols): Create symbols_ if
-       --cref.
-       * plugin.cc (Sized_pluginobj::do_get_global_symbols): New
-       function.
-       * plugin.h (class Sized_pluginobj): Update declarations.
-
-2010-01-05  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol_table::add_from_object): Rename def parameter
-       to is_default_version.  Rename insdef to insdefault.
-       (Symbol_table::add_from_relobj): Rename def to is_default_version
-       and local to is_forced_local.
-       (Symbol_table::add_from_pluginobj): Likewise.
-       (Symbol_table::add_from_dynobj): Likewise.
-       (Symbol_table::define_special_symbol): Rename insdef to
-       insdefault.
-
-2010-01-04  Ian Lance Taylor  <iant@google.com>
-
-       PR 10980
-       * options.h (class General_options): Add
-       --allow-multiple-definition and -z muldefs.
-       * resolve.cc (Symbol_table::should_override): Don't warn about a
-       multiple symbol definition if --allow-multiple-definition or -z
-       muldefs.
-
-       PR 10980
-       * options.h (class General_options): Add --add-needed and
-       --copy-dt-needed-entries.  Tweak --as-needed help entry.
-       * object.cc (Input_objects::check_dynamic_dependencies): Give an
-       error if --copy-dt-needed-entries aka --add-needed is used and
-       would cause a change in behaviour.
-
-       PR 10980
-       * options.h (class General_options): Add -G as a short version of
-       --shared.  Add no-op options -assert, -g, and -i.
-
-2010-01-04  Sriraman Tallam  <tmsriram@google.com>
-
-       * gc.h (gc_process_relocs): Call is_section_foldable_candidate to
-       check for .text or .gnu.linkonce.t sections.
-       * icf.cc (Icf::find_identical_sections): Ditto.
-       Change the detection for mangled function name within the section
-       name.
-       * icf.h (is_section_foldable_candidate): New function.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10980
-       * options.h (class General_options): Permit two dashes with
-       --retain-symbols-file.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10979
-       * layout.cc (Layout::relaxation_loop_body): If -Ttext was used,
-       don't put the file header and segment headers in the text
-       segment.
-
-       PR 10979
-       * common.cc (Sort_commons::operator()): Stabilize sort when both
-       entries are NULL.
-       (Symbol_table::do_allocate_commons_list): When allocating common
-       symbols, skip a symbol which is no longer common.
-       * symtab.h (Symbol::is_common): Test whether the symbol comes from
-       an object before checking its type.
-       * testsuite/common_test_2.c: New file.
-       * testsuite/common_test_3.c: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add common_test_2.
-       (common_test_2_SOURCES, common_test_2_DEPENDENCIES): Define.
-       (common_test_2_LDFLAGS, common_test_2_LDADD): Define.
-       (common_test_2_pic.o, common_test_2.so): New targets.
-       (common_test_3_pic.o, common_test_3.so): New targets.
-       * testsuite/Makefile.in: Rebuild.
-
-       PR 10979
-       * script.cc (read_input_script): If we see a new SECTIONS clause,
-       and we have added an input section, give an error.
-       * layout.h (class Layout): Add have_added_input_section function.
-       Add have_added_input_section_ field.
-       * layout.cc (Layout::Layout): Initialize
-       have_added_input_section_.
-       (Layout::layout): Set have_added_input_section_.
-       (Layout::layout_eh_frame): Likewise.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10931
-       * options.h (class General_options): Add --sort-common option.
-       * symtab.h (class Symbol_table): Define Sort_commons_order enum.
-       * common.cc (Sort_common): Add sort_order parameter to
-       constructor.  Add sort_order_ field.
-       (Sort_commons::operator): Check sort_order_.
-       (Symbol_table::allocate_commons): Determine the sort order.
-       (Symbol_table::do_allocate_commons): Add sort_order parameter.
-       Change all callers.
-       (Symbol_table::do_allocate_commons_list): Likewise.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10916
-       * symtab.cc (Symbol_table::add_from_relobj): When not exporting
-       symbols from this object, don't change the visibility of an
-       undefined symbol.
-       * testsuite/exclude_libs_test_1.c (lib1_ref): New function.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10861
-       * script.h (class Version_script_info): Define Language enum.
-       Update declarations.  Define Glob, Exact, and Lookup types.  Add
-       new fields globals_, locals_, and is_finalized_.
-       * script.cc: Various formatting fixes.
-       (class Parser_closure): Change language_stack_ from a vector of
-       std::string to one of Version_script_info::Language.  Adjust all
-       uses accordingly.
-       (class Lazy_demangler): Remove.
-       (struct Version_expression): Change language from std::string to
-       Version_script_info::Language.
-       (Version_script_info::Version_script_info): New function.
-       (Version_script_info::~Version_script_info): Don't call clear.
-       (Version_script_info::finalize): New function.
-       (Version_script_info::build_lookup_tables): New function.
-       (Version_script_info::build_expression_list_lookup): New
-       function.
-       (Version_script_info::get_symbol_version_helper): Rewrite to use
-       lookup tables.
-       (Version_script_info::print_expression_list): Adjust to use
-       Version_script_info::Language.
-       (script_push_lex_into_version_mode): Check that the version script
-       has not been finalized.
-       (version_script_push_lang): Change language string to
-       Version_script_info::Language.
-       * options.cc (Command_line::version_script): New function.
-       * options.h (class General_options): Add finalize_dynamic_list
-       function.  Change version_script from declaration to definition.
-       * testsuite/ver_test_4.script: Remove duplicate def of t2_2.
-       * testsuite/version_script.map: Remove duplicate def of foo.
-       * testsuite/Makefile.am (ver_matching_def.so): Depend upon
-       version_script.map.
-       * testsuite/Makefile.in: Rebuild.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10843
-       * target-reloc.h (relocate_for_relocatable): When copying a reloc,
-       if the input symbol index is 0, make the output symbol index 0.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10670
-       * options.h (class General_options): Add -x/--discard-all.
-       * object.cc (Sized_relobj::do_count_local_symbols): Handle
-       --discard-all.  If the local symbol needs a dynamic entry, check
-       that before handling --discard-locals.
-
-2009-12-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 10450
-       * output.cc (Output_segment::Output_segment): If PT_TLS, set the
-       flags to PF_R.
-       (Output_segment::add_output_section): Don't change the flags if
-       the type is PT_TLS.
-
-       PR 10450
-       * dynobj.cc (Dynobj::create_gnu_hash_table): Add symbols to the
-       GNU hash table if they need a dynamic value.  Otherwise, don't add
-       them if they are defined in a dynamic object or are forced local.
-
-2009-12-29  Ian Lance Taylor  <iant@google.com>
-
-       PR 10450
-       * layout.cc (Layout::create_dynamic_symtab): Only set entsize of
-       .gnu.hash table for a 32-bit target.
-
-       PR 10450
-       * symtab.h (Symbol::needs_dynsym_entry): A symbol in both a
-       regular and a dynamic object only needs a dynamic symbol table
-       entry if it is externally visible.
-
-       PR 10450
-       * i386.cc (class Target_i386): Initialize global_offset_table_ in
-       constructor.  Add global_offset_table_ field.
-       (Target_i386::got_section): Set global_offset_table_.
-       (Target_i386::do_finalize_sections): Set global_offset_table_
-       size.
-       * x86_64.cc (class Target_x86_64): Initialize global_offset_table_
-       in constructor.  Add global_offset_table_ field.
-       (Target_x86_64::got_section): Set global_offset_table_.
-       (Target_x86_64::do_finalize_sections): Set global_offset_table_
-       size.
-
-       * layout.cc (Layout::Layout): Initialize increase_relro_.
-       (Layout::get_output_section): Add is_relro, is_last_relro, and
-       is_first_non_relro parameters.  Change all callers.
-       (Layout::choose_output_section): Likewise.
-       (Layout::add_output_section_data): Likewise.
-       (Layout::make_output_section): Likewise.
-       (Layout::set_segment_offsets): Clear increase_relro when using a
-       linker script.
-       * layout.h (class Layout): Add increase_relro method.  Add
-       increase_relro_ field.  Update declarations.
-       * output.cc (Output_section::Output_section): Initialize
-       is_last_relro_ and is_first_non_relro_.
-       (Output_segment::add_output_section): Group relro sections is
-       do_sort is true.  Handle is_last_relro and is_first_non_relro.
-       (Output_segment::maximum_alignment): Remove relro handling.
-       (Output_segment::set_section_addresses): Add increase_relro
-       parameter.  Change all callers.  Add initial alignment to align
-       relro sections on separate page.  Remove old relro handling.
-       (Output_segment::set_section_list_addresses): Remove in_relro
-       parameter.  Change all callers.
-       (Output_segment::set_offset): Add increase parameter.  Change all
-       callers.  Remove old relro handling.
-       * output.h (class Output_section): Add new methods: is_last_relro,
-       set_is_last_relro, is_first_non_relro, set_is_first_non_relro.
-       Add is_last_relro_ and is_first_non_relro_ fields.
-       * i386.cc (Target_i386::got_section): Don't call set_is_relro.
-       Create separate .got.plt section.  Call increase_relro.
-       * x86_64.cc (Target_x86_64::got_section): Likewise.
-       * testsuite/relro_script_test.t: Add .got.plt.
-
-       PR 10450
-       * layout.cc (Layout::Layout): Initialize dynamic_symbol_ field.
-       (Layout::create_initial_dynamic_sections): Set dynamic_symbol_.
-       (Layout::finalize): Call set_dynamic_symbol_size.
-       (Layout::set_dynamic_symbol_size): New function.
-       * layout.h (class Layout): Add dynamic_symbol_ field.  Declare
-       set_dynamic_symbol_size.
-
-       PR 10450
-       * output.h (class Output_section): Add is_entsize_zero_ field.
-       * output.cc (Output_section::Output_section): Initialize
-       is_entsize_zero_.
-       (Output_section::set_entsize): If two different entsizes are
-       requested, force it to zero.
-       (Output_section::add_input_section): Set flags for .debug_str
-       before updating section flags.  Set entsize.
-       (Output_section::update_flags_for_input_section): Set SHF_MERGE
-       and SHF_STRING if all input sections have those flags.
-
-2009-12-29   Rafael Espindola  <espindola@google.com>
-
-       * main.cc (main): Fix the sys time reporting.
-       * workqueue.cc (Workqueue::find_and_run_task): Fix the sys time
-       reporting.
-
-2009-12-29  Sriraman Tallam  <tmsriram@google.com>
-
-       * options.cc (General_options::parse_version): Allow -v to exit
-       without an error if there is nothing to link.
-
-2009-12-29  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Set the MCMODEL_MEDIUM conditional to false if
-       using a version of gcc before 4.1.
-       * configure: Rebuild.
-
-2009-12-28  Chris Demetriou  <cgd@google.com>
-
-       * attributes.cc (Output_attributes_section_data::do_write): Use
-       std::vector::front rather than std::vector::data.
-
-2009-12-28  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.h (class Symbol_table): Add enum Defined.
-       * resolve.cc (Symbol_table::should_override): Add defined
-       parameter.  Change all callers.  Test whether object is NULL
-       before calling a method on it.
-       (Symbol_table::report_resolve_problem): Add defined parameter.
-       Change all callers.
-       (Symbol_table::should_override_with_special): Likewise.
-       * symtab.cc (Symbol_table::define_in_output_data): Add defined
-       parameter.  Change all callers.
-       (Symbol_table::do_define_in_output_data): Likewise.
-       (Symbol_table::define_in_output_segment): Likewise.
-       (Symbol_table::do_define_in_output_segment): Likewise.
-       (Symbol_table::define_as_constant): Likewise.
-       (Symbol_table::do_define_as_constant): Likewise.
-       * script.h (class Symbol_assignment): Add is_defsym parameter to
-       constructor; change all callers.
-       * script.cc (Script_options::add_symbol_assignment): Add is_defsym
-       parameter.  Change all callers.  Add is_defsym_ field.
-       (class Parser_closure): Add parsing_defsym parameter to
-       constructor; change all callers.  Add parsing_defsym accessor
-       function.  Add parsing_defsym_ field.
-
-2009-12-28  Ian Lance Taylor  <iant@google.com>
-
-       * gold.cc (queue_middle_tasks): Fix formatting.
-       * object.cc (Relobj::is_section_name_included): Likewise.
-
-2009-12-23  Ian Lance Taylor  <iant@google.com>
-
-       * i386.cc (Target_i386::do_calls_non_split): Recognize
-       -fsplit-stack prologue for a function with a static chain.
-       * x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
-       -fsplit-stack prologue when using %r11.
-
-2009-12-21  Sriraman Tallam  <tmsriram@google.com>
-
-       * options.cc (General_options::parse_version): Make -v continue and do
-       the link like GNU ld does.
-
-2009-12-17  Rafael Avila de Espindola  <espindola@google.com>
-
-       * Makefile.am (CCFILES): Add timer.cc.
-       (HFILES): Add timer.h.
-       * configure.ac: Check for sysconf and times.
-       * main.cc: include timer.h.
-       (main): Use Timer instead of get_run_time.
-       * timer.cc: New.
-       * timer.h: New.
-       * workqueue.cc: include timer.h.
-       (Workqueue::find_and_run_task):
-       Report user, sys and wall time.
-       * Makefile.in: Regenerate.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2009-12-16  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::scan_sections_for_stubs): Exclude ICF-eliminated
-       sections.
-       * object.cc (Sized_relobj::do_finalize_local_symbols): Handle
-       relaxed input sections.
-       * output.cc (Output_section::find_relaxed_input_section): Change
-       return type to Output_relaxed_input_section pointer.  Adjust code
-       for new type of relaxed_input_section_map_.
-       * output.h (Output_section::find_relaxed_input_section): Change
-       return type to Output_relaxed_input_section pointer.
-       (Output_section::Output_relaxed_input_section_by_input_section_map):
-       New type.
-       (Output_section::relaxed_input_section_map_): Change type to
-       Output_section::Output_relaxed_input_section_by_input_section_map.
-       * symtab.cc (Symbol_table::compute_final_value): Handle relaxed
-       input section.
-
-2009-12-15  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::create_shstrtab): Only write out after input
-       sections if we are compressing debug sections.
-
-2009-12-15  Ian Lance Taylor  <iant@google.com>
-
-       * archive.cc (Archive::add_symbols): Only look up a symbol without
-       a version if there is, in fact, a version.
-
-2009-12-14  Ian Lance Taylor  <iant@google.com>
-
-       Revert -Wshadow changes, all changes from:
-       2009-12-11  Doug Kwan  <dougkwan@google.com>
-       2009-12-11  Nick Clifton  <nickc@redhat.com>
-       * configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
-
-2009-12-11  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::do_finalize_sections): Fix build breakage
-       due to -Wshadow.
-       * attributes.cc (Object_attribute::size): Ditto.
-       (Attributes_section_data::size): Ditto.
-       (Attributes_section_data::Attributes_section_data): Ditto.
-       (Output_attributes_section_data::do_write): Ditto.
-       * attributes.h (Object_attribute::set_type): Ditto.
-       * testsuite/tls_test_main.cc (safe_lock, safe_unlock): Ditto.
-
-2009-12-11  Nick Clifton  <nickc@redhat.com>
-
-       * archive.cc: Fix shadowed variable warnings.
-       * arm.cc: Likewise.
-       * compressed_output.cc: Likewise.
-       * compressed_output.h: Likewise.
-       * configure: Likewise.
-       * dwarf_reader.cc: Likewise.
-       * dynobj.cc: Likewise.
-       * dynobj.h: Likewise.
-       * ehframe.cc: Likewise.
-       * ehframe.h: Likewise.
-       * errors.cc: Likewise.
-       * expression.cc: Likewise.
-       * fileread.cc: Likewise.
-       * fileread.h: Likewise.
-       * freebsd.h: Likewise.
-       * i386.cc: Likewise.
-       * icf.cc: Likewise.
-       * incremental.h: Likewise.
-       * layout.cc: Likewise.
-       * layout.h: Likewise.
-       * mapfile.cc: Likewise.
-       * merge.cc: Likewise.
-       * merge.h: Likewise.
-       * object.cc: Likewise.
-       * object.h: Likewise.
-       * options.h: Likewise.
-       * output.cc: Likewise.
-       * output.h: Likewise.
-       * parameters.cc: Likewise.
-       * plugin.cc: Likewise.
-       * powerpc.cc: Likewise.
-       * reduced_debug_output.cc: Likewise.
-       * reduced_debug_output.h: Likewise.
-       * reloc.cc: Likewise.
-       * reloc.h: Likewise.
-       * resolve.cc: Likewise.
-       * script-sections.cc: Likewise.
-       * script.cc: Likewise.
-       * script.h: Likewise.
-       * sparc.cc: Likewise.
-       * symtab.cc: Likewise.
-       * symtab.h: Likewise.
-       * target-select.cc: Likewise.
-       * target-select.h: Likewise.
-       * token.h: Likewise.
-       * workqueue.cc: Likewise.
-       * workqueue.h: Likewise.
-       * x86_64.cc: Likewise.
-
-2009-12-10  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (attributes.h): New include.
-       (Arm_relobj::Arm_relobj): Initialize attributes_section_data_.
-       (Arm_relobj::~Arm_relobj): Delete object pointed by
-       attributes_section_data_.
-       (Arm_relobj::attributes_section_data): New method definition.
-       (Arm_relobj::attributes_section_data_): New data member declaration.
-       (Arm_dynobj::Arm_dynobj): Initialize attributes_section_data_.
-       (Arm_dynobj::~Arm_dynobj): Delete object pointed by
-       attributes_section_data_.
-       (Arm_dynobj::attributes_section_data): New method definition.
-       (Arm_dynobj::attributes_section_data_): New data member declaration.
-       (Target_arm::Target_arm): Initialize attributes_section_data_.  Change
-       initialization value of may_use_blx_ to false.
-       (Target_arm::using_thumb2, Target_arm::using_thumb_only,
-       Target_arm::may_use_arm_nop, Target_arm::may_use_thumb2_nop): Use
-       object attributes to compute results instead of hard-coding.
-       (Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order,
-       Target_arm::get_secondary_compatible_arch,
-       Target_arm::set_secondary_compatible_arch
-       Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name,
-       Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes):
-       New method declarations.
-       (Target_arm::get_aeabi_object_attribute): New method definition.
-       (Target_arm::attributes_section_data_): New data member declaration.
-       (read_arm_attributes_section): New template definition.
-       (Arm_relobj::do_read_symbols): Read attributes section if it exists.
-       (Arm_dynobj::do_read_symbols): Ditto.
-       (Target_arm::do_finalize_sections): Merge attributes sections from
-       input.  Check for BLX use after attributes section merging.
-       Fix __exidx_start and __exidx_end visibility.  Create an
-       .ARM.attributes section if necessary.
-       (Target_arm::get_secondary_compatible_arch,
-       Target_arm::set_secondary_compatible_arch,
-       Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name,
-       Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes,
-       Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order):
-       New method definitions.
-
-2009-12-09  Ian Lance Taylor  <iant@google.com>
-
-       * plugin.cc (Plugin::load): Don't cast from void* to a function
-       pointer.
-
-2009-12-09  Ian Lance Taylor  <iant@google.com>
-
-       * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
-       information fields.
-
-2009-12-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (two_file_shared_1_pic_2_test_DEPENDENCIES):
-       Replace two_file_shared_1.so with two_file_shared_2.so.
-       * testsuite/Makefile.in: Regenerated.
-
-2009-12-08  Doug Kwan  <dougkwan@google.com>
-
-       * Makefile.am (CCFILES): Add attributes.cc and int_encoding.cc.
-       (HFILES): Add attributes.h and int_encoding.h.
-       * Makefile.in: Regenerate.
-       * dwarf_reader.cc (read_unsigned_LEB_128, read_signed_LEB_128): Move
-       function definitions to int_encoding.cc
-       * dwarf_reader.h (read_unsigned_LEB_128, read_signed_LEB_128): Move
-       prototypes to int_encoding.h
-       * reduced_debug_output.cc (int_encoding.h): New include.
-       (write_unsigned_LEB_128, get_length_as_unsigned_LEB_128): Move
-       function definitions to int_encoding.cc
-       (insert_into_vector, read_from_pointer): Move template definitions to
-       int_encoding.h
-       * attributes.cc: New file.
-       * attributes.h: New file.
-       * int_encoding.cc: New file.
-       * int_encoding.h: New file.
-
-2009-12-07  Rafael Avila de Espindola  <espindola@google.com>
-
-       PR gold/11055
-       * incremental-dump.cc (dump_incremental_inputs): New.
-       (main): Use dump_incremental_inputs.
-
-2009-12-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/10893
-       * i386.cc (Target_i386::Scan::globa): Use is_func instead of
-       checking elfcpp::STT_FUNC.
-       (Target_i386::Relocate::relocate): Likewise.
-       * x86_64.cc (Target_x86_64::Scan::global): Likewise.
-
-       * symtab.cc (Symbol_table::sized_write_symbol): Turn IFUNC
-       symbols from shared libraries into normal FUNC symbols.
-
-       * symtab.h (Symbol): Add is_func and use it.
-
-2009-12-05  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::arm_info): Initialize new fields
-       attributes_section and attributes_vendor.
-       * i386.cc (Target_i386::i386_info): Same.
-       * object.cc (Sized_relobj::do_layout): Skip attribute section.
-       * powerpc.cc (Target_powerpc::powerpc_info): Initialize new
-       fields attributes_section and attributes_vendor.
-       * sparc.cc (Target_sparc::sparc_info): Same.
-       * target.h (Target::attributes_section, Target::attributes_vendor,
-       Target::is_attributes_section, Target::attribute_arg_type,
-       Target::attributes_order): New method definitions.
-       (Target::Target_info::attributes_section,
-       Target::Target_info::attributes_vendor): New fields.
-       (Target::do_attribute_arg_type, Target::do_attributes_order): New
-       virtual method definitions.
-       * x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields
-       attributes_section and attributes_vendor.
-       * testsuite/testfile.cc (Target_test::test_target_info): Same.
-
-2009-12-05  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc: Update comments about interworking and stub generation.
-       (Target_arm::Relocate::reloc_is_non_pic): Update list of relocations
-       considered as non-PIC.
-       (Arm_relocate_functions::base_abs): Fix formatting.
-       (Arm_relocate_functions::got_prel): Fix comment.  Change interface
-       of function to use GOT entry address instead of offset.
-       (Target_arm::Scan::global): Issue an error if a symbol would need a
-       PLT does not get one because it is untyped.  Remove code to create
-       dynamic symbols for relative branches.
-       (Target_arm::Relocate::relocate: Use 0 instead of false since function
-       takes unsigned integer instead of boolean.
-
-2009-12-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testsuite/Makefile.am (constructor_test_LDADD): New. Empty.
-       (two_file_test_LDADD): Likewise.
-       (common_test_1_LDADD): Likewise.
-       (exception_test_LDADD) Likewise.
-       (weak_test_LDADD): Likewise.
-       (many_sections_test_LDADD): Likewise.
-       (initpri1_LDADD): Likewise.
-       (script_test_1_LDADD): Likewise.
-       (script_test_2_LDADD): Likewise.
-       (justsyms_LDADD): Likewise.
-       (binary_test_LDADD): Likewise.
-       (large_LDADD): Likewise.
-       * testsuite/Makefile.in: Regenerated.
-
-2009-12-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * resolve.cc (symbol_to_bits): Treat STB_GNU_UNIQUE as STB_GLOBAL.
-       (Symbol_table::override_with_special): Likewise.
-       (Symbol_table::add_from_object): Likewise.
-
-2009-12-04  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
-       Don't set the data_offset twice.
-
-2009-12-04  Rafael Avila de Espindola  <espindola@google.com>
-
-       * testsuite/Makefile.in: Regenerate.
-
-2009-12-03  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc: Remove comment about missing .ARM.exidx section symbols.
-       (Target_arm::do_finalize_sections): Add parameter for symbol table
-       pointer.  Add __exidx_start and __exidx_end symbols as appropriate.
-       * i386.cc (Target_i386::do_finalize_sections): Add an additional
-       parameter for symbol table pointer.
-       * layout.cc (Layout::finalize): Call Target::finalize_sections with
-       an additional parameter for a pointer to symbol table.
-       * powerpc.cc (Target_powerpc::do_finalize_sections): Add an additional
-       parameter for a symbol table pointer.
-       * sparc.cc (Target_sparc::do_finalize_sections): Ditto.
-       * target.h (Target::finalize_sections, Target::do_finalize_sections):
-       Ditto.
-       * x86_64.cc (Target_x86_64::do_finalize_sections): Add an additional
-       parameter for a symbol table pointer.
-
-2009-12-03  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental.cc (Incremental_inputs_header)
-       (Incremental_inputs_header_write, Incremental_inputs_entry)
-       (Incremental_inputs_entry_write): Move ...
-       * incremental.h (Incremental_inputs_header)
-       (Incremental_inputs_header_write, Incremental_inputs_entry)
-       (Incremental_inputs_entry_write): here.
-
-2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental.cc (make_sized_incremental_binary): Set the target.
-       Error if it is incompatible.
-       * output.h (Output_file): Add filename method.
-
-2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental.cc (Incremental_inputs_entry): Remove unused argument
-       from the get_* methods.
-
-2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental-dump.cc (main): Check that the offeset of a script is 0.
-       * incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
-       Write 0 for the data_offset of scripts.
-
-2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
-
-       * testsuite/Makefile.am: Add the incremental_test.sh test.
-       * testsuite/incremental_test.sh: New.
-       * testsuite/incremental_test_1.c: New.
-       * testsuite/incremental_test_2.c: New.
-
-2009-12-01  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental-dump.cc (main): Fix typos.
-
-2009-11-27  Rafael Avila de Espindola  <espindola@google.com>
-
-       PR gold/11025
-       * incremental-dump.cc (main): Use llu to print 64 bit values.
-
-2009-11-26  Per Øyvind Karlsen <peroyvind@mandriva.org>
-           H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (incremental_dump_DEPENDENCIES): Add $(THREADSLIB)
-       $(LIBDL).
-       (incremental_dump_LDADD): Likewise.
-       * Makefile.in: Regenerated.
-
-2009-11-25  Doug Kwan  <dougkwan@google.com>
-
-       Revert:
-
-       2009-11-25  Doug Kwan  <dougkwan@google.com>
-
-               * arm.cc (Target_arm::Target_arm): Move method definition
-               outside of class definition.  Add code to handle
-               --target1-rel, --target1-abs and --target2= options.
-               (Target_arm::get_reloc_reloc_type): Change method to be
-               non-static and const.
-               (Target_arm::target1_is_rel_, Target_arm::target2_reloc_):
-               New data member declaration.
-               (Target_arm::Scan::local, Target_arm::Scan::global,
-               Target_arm::Relocate::relocate,
-               Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
-               Adjust call to Target_arm::get_real_reloc_type.
-               (Target_arm::get_real_reloc_type): Use command line options
-               to determine real types of R_ARM_TARGET1 and R_ARM_TARGET2.
-               * options.h (--target1-rel, --target1-abs, --target2): New
-               ARM-only options.
-
-2009-11-25  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Target_arm): Move method definition outside of
-       class definition.  Add code to handle --target1-rel, --target1-abs
-       and --target2= options.
-       (Target_arm::get_reloc_reloc_type): Change method to be non-static
-       and const.
-       (Target_arm::target1_is_rel_, Target_arm::target2_reloc_): New data
-       member declaration.
-       (Target_arm::Scan::local, Target_arm::Scan::global,
-       Target_arm::Relocate::relocate,
-       Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Adjust
-       call to Target_arm::get_real_reloc_type.
-       (Target_arm::get_real_reloc_type): Use command line options to
-       determine real types of R_ARM_TARGET1 and R_ARM_TARGET2.
-       * options.h (--target1-rel, --target1-abs, --target2): New ARM-only
-       options.
-
-2009-11-25  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::may_use_thumb2_nop): New method definition.
-       (Arm_relocate_functions::thumb_branch_common): New metod declaration.
-       (Arm_relocate_functions::abs12, Arm_relocate_functions::abs16): Fix
-       formatting.
-       (Arm_relocate_functions::thm_call): Replace body with a call to
-       Arm_relocate_functions::thumb_branch_common.
-       (Arm_relocate_functions::thm_jump24,
-       Arm_relocate_functions::thm_xpc22): New method definitions.
-       (Arm_relocate_functions::thumb_branch_common): New method definition.
-       (Reloc_stub::stbu_type_for_reloc): Fix incorrect uses of bit-wise-or
-       operator.
-       (Target_arm::Relocate::relocate): Adjust call to thm_call.
-       Add code to handle R_ARM_THM_XPC22 and R_ARM_THM_JUMP24.
-
-2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
-
-       * Makefile.am: Build incremental-dump
-       * Makefile.in: Regenerate.
-       * incremental-dump.cc: New.
-       * incremental.cc (Incremental_inputs_header_data,
-       Incremental_inputs_entry_data): Move to incremental.h
-       * incremental.h: (Incremental_inputs_header_data,
-       Incremental_inputs_entry_data): Move from incremental.cc
-
-2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental.cc (Incremental_inputs_header,
-       Incremental_inputs_header_write, Incremental_inputs_entry,
-       Incremental_inputs_entry_write): Add a typedef with the data type.
-
-2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
-
-       * incremental.cc (Incremental_inputs_header,
-       Incremental_inputs_header_write, Incremental_inputs_entry,
-       Incremental_inputs_entry_write): Update comment about which
-       type has the filed descriptions.
-
-2009-11-15  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::may_use_arm_nop): New method definition.
-       (Arm_relocate_functions::arm_branch_common): Change method defintion
-       in class definition to a method declaration and update list of formal
-       parameters.
-       (Arm_relocate_functions::plt32, Arm_relocate_functions::call,
-       Arm_relocation_functions::jump24): Adjust call to
-       Arm_relocate_functions::arm_branch_common.  Update list of formal
-       parameters.
-       (Arm_relocate_functions::xpc25): New method definition.
-       (Arm_relocate_functions::arm_branch_common): Move method defintion
-       out from class definition.  Use stubs for mode-switching and extending
-       branch ranges.
-       (Target_arm::Relocate::relocate): Handle weakly-undefined symbols
-       specially.  Change code to enable use of stubs in ARM branches.
-
-2009-11-10  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::do_relocate_sections): Remove options parameter
-       in method declaration.
-       (Target_arm::relocate_stub): New method declaration.
-       (Target_arm::default_target): Change to return a pointer instead of
-       a const reference.
-       (Reloc_stub::stub_type_for_reloc): Adjust for the change in
-       Target_arm::default_target.
-       (Arm_Relobj::do_relocate_sections): Remove options paramater in
-       method definition.
-       (Target_arm::relocate_section): Adjust view.
-       (Target_arm::relocate_stub): New method definition.
-
-2009-11-10  Doug Kwan  <dougkwan@google.com>
-
-       * i386.cc (Target_i386::do_calls_non_split): Add a cast to avoid
-       a format warning.
-       * incremental.cc (open_incremental_binary): Initialized local
-       variables to avoid warnings.
-       * object.cc (make_elf_object): Ditto.
-       * x86_64.cc (Target_x86_64::do_calls_non_split): Add a cast to avoid
-       a format warning.
-
-009-11-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gold/10930
-       * testsuite/plugin_test.c: Include "config.h".
-
-2009-11-09  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::fake_relnum_for_stubs): New constant.
-       (arm_symbol_value): Remove.
-       (Arm_relocate_functions::arm_branch_common,
-       Arm_relocate_functions::abs8, Arm_relocate_functions::thm_abs5,
-       Arm_relocate_functions::abs12, Arm_relocate_functions::abs16,
-       Arm_relocate_functions::abs32, Arm_relocate_functions::rel32,
-       Arm_relocate_functions::thm_call, Arm_relocate_functions::plt32,
-       Arm_relocate_functions::call, Arm_relocate_functions::jump24,
-       Arm_relocate_functions::prel31, Arm_relocate_functions::mov_abs_nc,
-       Arm_relocate_functions::movt_abs, Arm_relocate_functions::movw_abs_nc,
-       Arm_relocate_functions::thm_mobw_abs_nc,
-       Arm_relocate_functions::thm_mov_abs,
-       Arm_relocate_functions::movw_prel_nc,
-       Arm_relocate_functions::thm_movt_abs,
-       Arm_relocate_functions::movt_prel,
-       Arm_relocate_functions::thm_movw_prel_nc,
-       Arm_relocate_functions::thm_movt_prel): Adjust callers of the above.
-       (Target_arm::Relocate::relocate): Only decompose address into two
-       parts if relocation type uses the thumb-bit and pass the actual
-       bit instead of a flag indicating that the thumb-bit is used.  Adjust
-       calls to methods in Arm_relocate_functions for this change.
-
-2009-11-08  Ian Lance Taylor  <iant@google.com>
-
-       PR 10925
-       * reloc.cc: Instantiate
-       Sized_relobj::initialize_input_to_output_maps and
-       Sized_relobj:free_input_to_output_maps.
-
-2009-11-06  Ian Lance Taylor  <iant@google.com>
-
-       PR 10876
-       * defstd.cc (in_segment): Set only_if_ref true for "end".
-
-2009-11-06  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (class Reloc_stub): Correct a comment.
-       (Target_arm::Target_arm): Initialize arm_input_section_map_.
-       (Target_arm::scan_section_for_stubs): New method declaration.
-       (Target_arm::do_make_elf_object, Target_arm::do_make_output_section):
-       Change methods from private to protected.
-       (Target_arm::do_may_relax): New method definition.
-       (Target_arm::do_relax, Target_arm::group_sections,
-       Target_arm::scan_reloc_for_stub,
-       Target_arm::scan_reloc_section_for_stubs): New method declarations.
-       (Target_arm::arm_input_section_map_): New data member declaration.
-       (Target_arm::scan_reloc_for_stub,
-       Target_arm::scan_reloc_section_for_stubs,
-       Target_arm::scan_section_for_stubs, Target_arm::group_sections,
-       Target_arm::do_relax): New method definitions.
-
-2009-11-06  Mikolaj Zalewski  <mikolaj@google.com>
-
-       * configure.ac: Check for (struct stat)::st_mtim
-       * fileread.cc (File_read::get_mtime): Use st_mtim if available.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2009-11-05  Ian Lance Taylor  <iant@google.com>
-
-       PR 10910
-       * output.cc (Output_segment::add_output_section): Add missing
-       return statement.
-
-2009-11-04  Ian Lance Taylor  <iant@google.com>
-
-       PR 10880
-       * object.h (class Object): Add is_needed and set_is_needed
-       methods.  Add is_needed_ field.  Make bool fields into bitfields.
-       * symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is
-       defined in a dynamic object and referenced by a regular object,
-       set is_needed for the dynamic object.
-       * layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED
-       if the file is marked with as_needed and it is not needed.
-
-2009-11-04  Ian Lance Taylor  <iant@google.com>
-
-       PR 10887
-       * arm.cc (Target_arm::do_finalize_sections): Don't add dynamic
-       tags if data is discarded by linker script.
-       * i386.cc (Target_i386::do_finalize_sections): Likewise.
-       * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
-       * sparc.cc (Target_sparc::do_finalize_sections): Likewise.
-       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
-
-2009-11-04  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::get_output_section): Add is_interp and
-       is_dynamic_linker_section parameters.  Change all callers.
-       (Layout::choose_output_section): Likewise.
-       (Layout::make_output_section): Likewise.
-       (Layout::add_output_section_data): Add is_dynamic_linker_section
-       parameter.  Change all callers.
-       * layout.h (class Layout): Update declarations.
-       * output.h (class Output_section): Add is_interp, set_is_interp,
-       is_dynamic_linker_section, set_is_dynamic_linker_section methods.
-       Add is_interp_, is_dynamic_linker_section_ fields.  Change
-       generate_code_fills_at_write_ to a bitfield.
-       * output.cc (Output_section::Output_sections): Initialize new
-       fields.
-       (Output_segment::add_output_section): Add do_sort parameter.
-       Change all callers.
-
-2009-11-03  Ian Lance Taylor  <iant@google.com>
-
-       PR 10860
-       * options.h (class General_options): Add --warn-common.
-       * resolve.cc (Symbol_table::resolve): Handle --warn-common when
-       merging two common symbols.
-       (Symbol_table::should_override): Handle --warn-common when merging
-       a common symbol with a defined symbol.  Use report_resolve_problem
-       for multiple definitions.
-       (Symbol_table::report_resolve_problem): New function.
-       * symtab.h (class Symbol_table): Declare report_resolve_problem.
-
-2009-11-03  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Target_arm): Initialize stub_tables_ and
-       stub_factory_.
-       (Target_arm::stub_factory): New method definition.
-       (Target_arm::new_arm_input_section,
-       Target_arm::find_arm_input_section, Target_arm::new_stub_table,
-       Target_arm::reloc_uses_thumb_bit): New method declarations.
-       (Target_arm::Stub_table_list, Target_arm::Arm_input_section_map):
-       New type definitions.
-       (Target_arm::stub_tables_, Target_arm::stub_factory_): New data
-       member declarations.
-       (Target_arm::reloc_uses_thumb_bit, Target_arm::new_arm_input_section,
-       Target_arm::find_arm_input_section, Target_arm::new_stub_table):
-       New method definitions.
-
-2009-11-03  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Add --warn_constructors.
-
-2009-11-03  Ian Lance Taylor  <iant@google.com>
-
-       PR 10893
-       * defstd.cc (in_section): Add entries for __rel_iplt_start,
-       __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
-
-2009-11-03  Ian Lance Taylor  <iant@google.com>
-
-       PR 10895
-       * po/Make-in ($(srcdir)/$(PACKAGE).pot): Pass -C and
-       --msgid-bugs-address.
-       (install-pdf): New target.
-       (install-data_yes): Look up one directory to find mkinstalldirs.
-
-2009-11-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * po/Make-in (.po.gmo): Don't generate .gmo files in source
-       tree.
-
-2009-10-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Stub_addend_reader): Fix bug in previouls check-in.
-
-2009-10-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Stub_addend_reader): New struct template definition
-       and partial specializations.
-       (Stub_addend_reader::operator()): New method definition for a
-       partially specialized template.
-
-2009-10-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj::processor_specific_flags): New method
-       definition.
-       (Arm_relobj::do_read_symbols): New method declaration.
-       (Arm_relobj::processor_specific_flags_): New data member declaration.
-       (Arm_dynobj): New class definition.
-       (Target_arm::do_finalize_sections): Add input_objects parameter.
-       (Target_arm::do_adjust_elf_header): New method declaration.
-       (Target_arm::are_eabi_versions_compatible,
-       (Target_arm::merge_processor_specific_flags): New method declaration.
-       (Target_arm::do_make_elf_object): New overloaded method definitions
-       and declaration.
-       (Arm_relobj::do_read_symbols): New method definition.
-       (Arm_dynobj::do_read_symbols): Ditto.
-       (Target_arm::do_finalize_sections): Add input_objects parameters.
-       Merge processor-specific flags from all input objects.
-       (Target_arm::are_eabi_versions_compatible,
-       Target_arm::merge_processor_specific_flags,
-       Target_arm::do_adjust_elf_header, Target_arm::do_make_elf_object):
-       New method definitions.
-       * i386.cc (Target_i386::do_finalize_sections): Add unnamed
-       Input_objects pointer type parameter.
-       * layout.cc (Layout::finalize): Pass input objects to target's.
-       finalize_sections function.
-       * output.cc (Output_file_header::do_sized_write): Set ELF file
-       header's processor-specific flags.
-       * powerpc.cc (Target_powerpc::do_finalize_sections): Add unnamed
-       Input_objects pointer type parameter.
-       * sparc.cc (Target_sparc::do_finalize_sections): Same.
-       * target.h (Input_objects): New forward class declaration.
-       (Target::processor_specific_flags,
-       Target::are_processor_specific_flags_sect): New method definitions.
-       (Target::finalize_sections): Add input_objects parameter.
-       (Target::Target): Initialize processor_specific_flags_ and
-       are_processor_specific_flags_set_.
-       (Target::do_finalize_sections): Add unnamed Input_objects pointer type
-       parameter.
-       (Target::set_processor_specific_flags): New method definition.
-       (Target::processor_specific_flags_,
-       Target::are_processor_specific_flags_set_): New data member
-       declarations.
-       * x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed
-       Input_objects pointer type parameter.
-
-2009-10-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc: Use Arm_address instead of elfcpp::Elf_types<32>::Elf_Addr.
-
-2009-10-28  Ian Lance Taylor  <iant@google.com>
-
-       * object.h (class Relobj): Drop options parameter from
-       gc_process_relocs, scan_relocs, relocate, do_gc_process_relocs,
-       do_scan_relocs, do_relocate.  Change all callers.
-       (class Sized_relobj): Drop options parameters from
-       do_gc_process_relocs, do_scan_relocs, do_relocate,
-       do_relocate_sections, relocate_sections, emit_relocs_scan,
-       emit_relocs_scan_reltype.  Change all callers.
-       (struct Relocate_info): Remove options field and all references to
-       it.
-       * reloc.h (class Read_relocs): Remove options constructor
-       parameter and options_ field.  Change all callers.
-       (class Gc_process_relocs, class Scan_relocs): Likewise.
-       (class Relocate_task): Likewise.
-       * target-reloc.h (scan_relocs): Remove options parameter.  Change
-       all callers.
-       (scan_relocatable_relocs): Likewise.
-       * target.h (class Sized_target): Remove options parameter from
-       gc_process_relocs, scan_relocs, scan_relocatable_relocs.  Change
-       all callers.
-       * gc.h (gc_process_relocs): Remove options parameter.  Change all
-       callers.
-       * arm.cc: Update functions to remove options parameters.
-       * i386.cc: Likewise.
-       * powerpc.cc: Likewise.
-       * sparc.cc: Likewise.
-       * x86_64.cc: Likewise.
-       * testsuite/testfile.cc: Likewise.
-
-2009-10-28  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_relobj): New class definition.
-       (Arm_relobj::scan_sections_for_stubs,
-       Arm_relobj::do_count_local_symbols, Arm_relobj::do_relocate_sections):
-       New method definitions.
-
-2009-10-28  Cary Coutant  <ccoutant@google.com>
-
-       * plugin.h (Plugin::Plugin): Initialize cleanup_done_.
-       (Plugin::cleanup_done_): New member.
-       (Plugin_manager::Plugin_manager): Remove cleanup_done_.
-       (Plugin_manager::cleanup_done_): Remove.
-       (Plugin_manager::add_input_file): Edit error message.
-       * plugin.cc (Plugin::cleanup): Test and set cleanup_done_.
-       (Plugin_manager::cleanup): Remove use of cleanup_done_.
-
-2009-10-27  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * fileread.cc: (File_read::View::~View): Use the new
-       data_ownership_ filed.
-       (File_read::~File_read): Dispose the new whole_file_view_.
-       (File_read::open): Mmap the whole file if needed.
-       (File_read::open): Use whole_file_view_ instead of contents_.
-       (File_read::find_view): Use whole_file_view_ if applicable.
-       (File_read::do_read): Use whole_file_view_ instead of contents_.
-       (File_read::make_view): Use whole_file_view_ instead of contents_,
-       update File_read::View::View call.
-       (File_read::find_or_make_view): Update File_read::View::View
-       call.
-       * fileread.h: (File_read::File_read): Initialize whole_file_view_,
-       remove contents_
-       (File_read::View::Data_ownership): New enum.
-       (File_read::View::View): Replace bool mapped_ with Data_ownership
-       argument.
-       (File_read::View::mapped_): Remove (replaced by data_ownership_).
-       (File_read::View::data_ownership_): New field.
-       (File_read::contents_): Remove (replaced by whole_file_view_).
-       (File_read::whole_file_view_): New field.
-       * options.h (class General_options): Add --keep-files-mapped.
-
-2009-10-27  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.cc (add_from_pluginobj): Pass correct value for is_ordinary.
-       * testsuite/Makefile.am (plugin_test_5): New test case.
-       * testsuite/Makefile.in: Regenerate.
-
-2009-10-25  Doug Kwan  <dougkwan@google.com>
-
-       * object.h (Sized_relobj::View_size, Sized_relobj::Views): Change
-       from private to protected to allow access by child class.
-       (Sized_relobj::do_relocate_sections): New method declaration.
-       (Sized_relobj::relocate_sections): Virtualize.
-       * reloc.cc (Sized_relobj::do_relocate_sections): Rename from
-       Sized_relobj::relocate_sections.  Instantiate template explicitly
-       for different target sizes and endianity.
-
-2009-10-24  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_output_section, Arm_relobj): Forward class declarations.
-       (Arm_input_section::as_arm_input_section): New method.
-       (Arm_output_section): New class definition.
-       (Arm_output_section::create_stub_group,
-       Arm_output_section::group_sections): New method definitions.
-
-2009-10-22  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Arm_input_section): New class definition.
-       (Arm_input_section::init, Arm_input_section:do_write,
-       Arm_input_section::set_final_data_size,
-       Arm_input_section::do_reset_address_and_file_offset): New method
-       definitions.
-
-2009-10-21  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Stub_table, Arm_input_section): New forward class
-       declarations.
-       (Stub_table): New class defintion.
-       (Stub_table::add_reloc_stub, Stub_table::relocate_stubs
-       Stub_table::do_reset_address_and_file_offset, Stub_table::do_write):
-       New method definition.
-
-2009-10-21  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc: Update copyright comments.
-       (Target_arm): New forward class template declaration.
-       (Arm_address): New type.
-       (ARM_MAX_FWD_BRANCH_OFFSET, ARM_MAX_BWD_BRANCH_OFFSET,
-       THM_MAX_FWD_BRANCH_OFFSET, THM_MAX_BWD_BRANCH_OFFSET,
-       THM2_MAX_FWD_BRANCH_OFFSET, THM2_MAX_BWD_BRANCH_OFFSET): New
-       constants.
-       (Insn_template): Same.
-       (DEF_STUBS): New macro.
-       (Stub_type): New enum type.
-       (Stub_template): New class definition.
-       (Stub): Same.
-       (Reloc_stub): Same.
-       (Stub_factory): Same.
-       (Target_arm::Target_arm): Initialize may_use_blx_ and
-       should_force_pic_veneer_.
-       (Target_arm::may_use_blx, Target_arm::set_may_use_blx,
-       Target_arm::should_force_pic_veneer,
-       Target_arm::set_should_force_pic_veneer, Target_arm::using_thumb2,
-       Target_arm::using_thumb_only, Target_arm:;default_target): New
-       method defintions.
-       (Target_arm::may_use_blx_, Target_arm::should_force_pic_veneer_):
-       New data member declarations.
-       (Insn_template::size, Insn_template::alignment): New method defintions.
-       (Stub_template::Stub_template): New method definition.
-       (Reloc_stub::Key::name, Reloc_stub::stub_type_for_reloc,
-       Reloc_stub::do_fixed_endian_write, Reloc_stub::do_write): Same.
-       (Stub_factory::Stub_factory): New method definition.
-       * gold.h (string_hash): New template.
-       * output.h (Input_section_specifier::hash_value): Use
-       gold::string_hash.
-       (Input_section_specifier::string_hash): Remove.
-       * stringpool.cc (Stringpool_template::string_hash): Use
-       gold::string_hash.
-
-2009-10-20  Doug Kwan  <dougkwan@google.com>
-
-       * object.cc (Sized_relobj::do_finalize_local_symbols): Handle section
-       symbols of relaxed input sections.
-       * output.h (Output_section::find_relaxed_input_section): Make
-       method public.
-
-2009-10-16  Doug Kwan  <dougkwan@google.com>
-
-       * dynobj.cc (Versions::Versions): Initialize version_script_.
-       Only insert base version symbol definition for a shared object
-       if version script defines any version versions.
-       (Versions::define_base_version): New method definition.
-       (Versions::add_def): Check that base version is not needed.
-       (Versions::add_need): Define base version lazily.
-       * dynobj.h (Versions::define_base_version): New method declaration.
-       (Versions::needs_base_version_): New data member declaration.
-       * testsuite/Makefile.am (check_SCRIPTS): Add no_version_test.sh
-       (check_DATA): Add no_version_test.stdout.
-       (libno_version_test.so, no_version_test.o no_version_test.stdout):
-       New make rules.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/no_version_test.c: New file.
-       * testsuite/no_version_test.sh: Ditto.
-
-2009-10-16  Doug Kwan  <dougkwan@google.com>
-
-       * expression.cc (class Segment_start_expression): New class definition.
-       (Segment_start_expression::value): New method definition.
-       (script_exp_function_segment_start): Return a new
-       Segment_start_expression.
-       * script-c.h (script_saw_segment_start_expression): New function
-       prototype.
-       * script-sections.cc (Script_sections::Script_sections): Initialize
-       SAW_SEGMENT_START_EXPRESSION_ to false.
-       (Script_sections::set_section_addresses): Use -Ttext, -Tdata
-       and -Tbbs options to specify section addresses if given in
-       command line and no SEGMENT_START expression is seen in a script.
-       * script-sections.h (Script_sections::saw_segment_start_expression,
-       Script_sections::set_saw_segment_start_expression): New method
-       definition.
-       (Script_sections::saw_segment_start_expression_): New data member
-       declaration.
-       * script.cc (script_saw_segment_start_expression): New function.
-       * yyscript.y (SEGMENT_START): Call script_saw_segment_start_expression.
-       * testsuite/Makefile.am (check_SCRIPTS): Add script_test_6.sh,
-       script_test_7.sh and script_test_8.sh.
-       (check_DATA): Add script_test_6.stdout, script_test_7.stdout and
-       script_test_8.stdout.
-       (MOSTLYCLEANFILES): Add script_test_6, script_test_7 and script_test_8.
-       (script_test_6, script_test_6.stdout, script_test_7,
-       script_test_7.stdout, script_test_8, script_test_8.stdout): New rules.
-       * Makefile.in: Regenerate.
-       * testsuite/script_test_6.sh: New file.
-       * testsuite/script_test_6.t: Same.
-       * testsuite/script_test_7.sh: Same.
-       * testsuite/script_test_7.t: Same.
-       * testsuite/script_test_8.sh: Same.
-
-2009-10-16  Doug Kwan  <dougkwan@google.com>
-
-       * output.cc (Output_segment::set_section_list_address): Cast
-       expressions to unsigned long long type to avoid format warnings.
-
-2009-10-15  Ian Lance Taylor  <iant@google.com>
-
-       * script.cc (Script_options::add_symbol_assignment): Always add a
-       dot assignment to script_sections_.
-       * script-sections.cc (Script_sections::add_dot_assignment):
-       Initialize if necessary.
-
-       * layout.cc (Layout::relaxation_loop_body): Don't crash if we see
-       program headers with no load segment if there is a linker script.
-
-       * layout.cc (Layout::set_segment_offsets): Align the file offset
-       to the segment aligment for -N or -n with no load segment.
-       * output.cc (Output_segment::add_output_section): Don't crash if
-       the first section is a TLS section.
-       (Output_segment::set_section_list_addresses): Print an error
-       message if the address moves backward in a linker script.
-       * script-sections.cc
-       (Output_section_element_input::set_section_addresses): Don't
-       increase *dot_value for a SHF_TLS/SHT_NOBITS section.
-       (Orphan_output_section::set_section_addresses): Likewise.
-
-2009-10-15  Doug Kwan  <dougkwan@google.com>
-
-       * layout.cc (Layout::finish_dynamic_section): Generate tags
-       DT_FINI_ARRAY, DT_FINI_ARRAYSZ, DT_INIT_ARRAY, DT_INIT_ARRAYSZ,
-       DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ as needed. If -Bsymbolic is
-       used, add DT_SYMBOLIC and set DF_SYMBOLIC in DT_FLAGS.
-
-2009-10-14  Ian Lance Taylor  <iant@google.com>
-
-       * object.h (class Relocate_info): Add reloc_shdr and data_shdr
-       fields.
-       * object.cc (Sized_relobj::relocate_sections): Set reloc_shdr and
-       data_shdr fields of relinfo.
-       * i386.cc (class Target_i386::Relocate): Remove ldo_addrs_ field.
-       (Target_i386::Relocate::relocate_tls): Don't call fix_up_ldo.  For
-       R_386_TLS_LDO_32, adjust based on section flags.
-       (Target_i386::Relocate::fix_up_ldo): Remove.
-
-2009-10-13  Ian Lance Taylor  <iant@google.com>
-
-       Add support for -pie.
-       * options.h (class General_options): Add -pie and
-       --pic-executable.
-       (General_options::output_is_position_independent): Test -pie.
-       (General_options::output_is_executable): Return true if not shared
-       and not relocatable.
-       (General_options::output_is_pie): Remove.
-       * options.cc (General_options::finalize): Reject incompatible uses
-       of -pie.
-       * gold.cc (queue_middle_tasks): A -pie link is not static.
-       * symtab.h (Symbol::needs_plt_entry): Return false if -pie.
-       * symtab.cc (Symbol::final_value_is_known): Return false if
-       output_is_position_independent.
-       * layout.cc (Layout::set_segment_offsets): Start at address 0 if
-       output_is_position_independent.
-       * output.cc (Output_file_header::do_sized_write): Use ET_DYN if
-       output_is_position_independent.
-       * i386.cc (Output_data_plt_i386::do_write): Use the PIC PLT if
-       output_is_position_independent.
-       * testsuite/Makefile.am (check_PROGRAMS): Add basic_pie_test and
-       two_file_pie_test.
-       (basic_pie_test.o, basic_pie_test): New targets.
-       (two_file_test_1_pie.o, two_file_test_1b_pie.o): New targets.
-       (two_file_test_2_pie.o, two_file_test_main_pie.o): New targets.
-       (two_file_pie_test): New target.
-       * testsuite/Makefile.in: Rebuild.
-       * README: Remove note saying that -pie is not supported.
-
-2009-10-13  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
-
-       * options.h (class General_options): Add -init and -fini.
-       * layout.cc (Layout::finish_dynamic_section): Emit
-       given init and fini functions.
-
-2009-10-13  Sriraman Tallam  <tmsriram@google.com>
-
-       * gc.h (gc_process_relocs): Check if icf is enabled using new
-       function.
-       * gold.cc (queue_initial_tasks): Likewise.
-       (queue_middle_tasks): Likewise.
-       * object.cc (do_layout): Likewise.
-       * symtab.cc (is_section_folded): Likewise.
-       * main.cc (main): Likewise.
-       * reloc.cc (Read_relocs::run): Likewise.
-       (Sized_relobj::do_scan_relocs): Likewise.
-       * icf.cc (is_function_ctor_or_dtor): New function.
-       (Icf::find_identical_sections): Check if function is ctor or dtor when
-       safe icf is chosen.
-       * options.h (General_options::icf): Change option to be an enum.
-       (Icf_status): New enum.
-       (icf_enabled): New method.
-       (icf_safe_folding): New method.
-       (set_icf_status): New method.
-       (icf_status_): New variable.
-       * (options.cc) (General_options::finalize): Set icf_status_.
-       * testsuite/Makefile.am: Add commands to build icf_safe_test. Modify
-       icf_test and icf_keep_unique_test to use the --icf enum flag.
-       * testsuite/icf_safe_test.sh: New file.
-       * testsuite/icf_safe_test.cc: New file.
-
-2009-10-12  Sriraman Tallam  <tmsriram@google.com>
-
-       * symtab.h: Check for GOLD_SYMTAB_H before header includes. Remove
-       includes to gc.h and icf.h.
-       * arm.cc: Include gc.h.
-       * gold.cc: Likewise.
-       * i386.cc: Likewise.
-       * powerpc.cc: Likewise.
-       * sparc.cc: Likewise.
-       * x86_64.cc: Likewise.
-       * gc.h: Include icf.h.
-
-2009-10-11  Ian Lance Taylor  <iant@google.com>
-
-       * plugin.cc: Include "gold.h" before other header files.
-
-2009-10-10  Chris Demetriou  <cgd@google.com>
-
-       * options.h (Input_file_argument::Input_file_type): New enum.
-       (Input_file_argument::is_lib_): Replace with...
-       (Input_file_argument::type_): New member.
-       (Input_file_argument::Input_file_argument): Take Input_file_type
-       'type' rather than boolean 'is_lib' as second argument.
-       (Input_file_argument::is_lib): Use type_.
-       (Input_file_argument::is_searched_file): New function.
-       (Input_file_argument::may_need_search): Handle is_searched_file.
-       * options.cc (General_options::parse_library): Support -l:filename.
-       (General_options::parse_just_symbols): Update for Input_file_argument
-       changes.
-       (Command_line::process): Likewise.
-       * archive.cc (Archive::get_file_and_offset): Likewise.
-       * plugin.cc (Plugin_manager::release_input_file): Likewise.
-       * script.cc (read_script_file, script_add_file): Likewise.
-       * fileread.cc (Input_file::Input_file): Likewise.
-       (Input_file::will_search_for): Handle is_searched_file.
-       (Input_file::open): Likewise.
-       * readsyms.cc (Read_symbols::get_name): Likewise.
-       * testsuite/Makefile.am (searched_file_test): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/searched_file_test.cc: New file.
-       * testsuite/searched_file_test_lib.cc: New file.
-
-2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       * descriptor.cc: Include <cstdio> and "binary-io.h".
-       (Descriptors::open): Open the files in binary mode always.
-       * script.cc (Lex::get_token): Treat \r as whitespace.
-
-2009-10-09  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/retain_symbols_file_test.sh: Don't test for __tcf_0.
-
-2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-           Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Check for readv function also.
-       * fileread.cc (readv): Define if not HAVE_READV.
-       * fileread.h (File_read:: max_readv_entries): Set to 1 if readv
-       does not exist.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2009-10-09  Doug Kwan  <dougkwan@google.com>
-
-       * layout.cc (Layout::make_output_section): Call target hook to make
-       ordinary output section.
-       (Layout::finalize): Adjust parameter list of call the
-       Target::may_relax().
-       * layout.h (class Layout::section_list): New method.
-       * merge.h (Output_merge_base::entsize): Change visibility to public.
-       (Output_merge_base::is_string, Output_merge_base::do_is_string):
-       New methods.
-       (Output_merge_string::do_is_string): New method.
-       * object.cc (Sized_relobj::do_setup): renamed from
-       Sized_relobj::set_up.
-       * object.h (Sized_relobj::adjust_shndx,
-       Sized_relobj::initializ_input_to_output_maps,
-       Sized_relobj::free_input_to_output_maps): Change visibilities to
-       protected.
-       (Sized_relobj::setup): Virtualize.
-       (Sized_relobj::do_setup): New method declaration.
-       (Sized_relobj::invalidate_section_offset,
-       Sized_relobj::do_invalidate_section_offset): New method decfinitions.
-       (Sized_relobj::elf_file, Sized_relobj::local_values): New methods.
-       * options.cc (parse_int): New function.
-       * options.h (parse_int): New declaration.
-       (DEFINE_int): New macro.
-       (stub_group_size): New option.
-       * output.cc (Output_section::Output_section): Initialize memebers
-       merge_section_map_, merge_section_by_properties_map_,
-       relaxed_input_section_map_, is_relaxed_input_section_map_valid_.
-       (Output_section::add_input_section): Handled deferred code-fill
-       generation and remove an old comment.
-       (Output_section::add_relaxed_input_section): New method definition.
-       (Output_section::add_merge_input_section): Use merge section by
-       properties map to speed to search.  Update merge section maps
-       as appropriate.
-       (Output_section::build_relaxation_map): New method definition.
-       (Output_section::convert_input_sections_in_list_to_relaxed_sections):
-       Same.
-       (Output_section::relax_input_section): Renamed to
-       Output_section::convert_input_sections_to_relaxed_sections and change
-       interface to take a vector of pointers to relaxed sections.
-       (Output_section::find_merge_section,
-       Output_section::find_relaxed_input_section): New method definitions.
-       (Output_section::is_input_address_mapped,
-       Output_section::output_offset, Output_section::output_address):
-       Use output section data maps to speed up searching.
-       (Output_section::find_starting_output_address): Add comments.
-       (Output_section::do_write,
-       Output_section::write_to_postprocessing_buffer): Do code-fill
-       generation as appropriate.
-       (Output_section::get_input_sections): Invalidate relaxed input section
-       map.
-       (Output_section::restore_states): Adjust type of checkpoint .
-       Invalidate relaxed input section map.
-       * output.h (Output_merge_base): New class declaration.
-       (Input_section_specifier): New class defintion.
-       (class Output_relaxed_input_section) Change base class to
-       Output_section_data_build.
-       (Output_relaxed_input_section::Output_relaxed_input_section): Adjust
-       base class initializer.
-       (Output_section::add_relaxed_input_section): New method declaration.
-       (Output_section::Input_section): Change visibility to protected.
-       (Output_section::Input_section::relobj,
-       Output_section::Input_section::shndx): Handle relaxed input sections.
-       Output_section::input_sections) Change visibility to protected.  Also
-       define overload to return a non-const pointer.
-       (Output_section::Merge_section_properties): New class defintion.
-       (Output_section::Merge_section_by_properties_map,
-       Output_section::Output_section_data_by_input_section_map,
-       Output_section::Relaxation_map): New types.
-       (Output_section::relax_input_section): Rename method to
-       Output_section::convert_input_sections_to_relaxed_sections and change
-       interface to take a vector of relaxed section pointers.
-       (Output_section::find_merge_section,
-       Output_section::find_relaxed_input_section,
-       Output_section::build_relaxation_map,
-       Output_section::convert_input_sections_in_list_to_relaxed_sections):
-       New method declarations.
-       (Output_section::merge_section_map_
-       Output_section::merge_section_by_properties_map_,
-       Output_section::relaxed_input_section_map_,
-       Output_section::is_relaxed_input_section_map_valid_,
-       Output_section::generate_code_fills_at_write_): New data members.
-       * script-sections.cc
-       (Output_section_element_input::set_section_addresses): Call
-       current_data_size and addralign methods of relaxed input sections.
-       (Orphan_output_section::set_section_addresses): Call current_data_size
-       and addralign methods of relaxed input sections.
-       * symtab.cc (Symbol_table::compute_final_value): Extract template
-       from the body of Symbol_table::sized_finalize_symbol.
-       (Symbol_table::sized_finalized_symbol): Call
-       Symbol_table::compute_final_value.
-       * symtab.h (Symbol_table::Compute_final_value_status): New enum type.
-       (Symbol_table::compute_final_value): New templated method declaration.
-       * target.cc (Target::do_make_output_section): New method defintion.
-       * target.h (Target::make_output_section): New method declaration.
-       (Target::relax): Add more parameters for input objects, symbol table
-       and layout.  Adjust call to do_relax.
-       (Target::do_make_output_section): New method declaration.
-       (Target::do_relax): Add parameters for input objects, symbol table
-       and layout.
-
-2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-
-       * pread.c: Include stdio.h.
-
-2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-
-       * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not
-       defined.
-
-2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-
-       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
-       Change read_shndx type to unsigned int.
-       (Sized_dwarf_line_info::read_lines): Change shndx type to unsigned
-       int.
-       (Sized_dwarf_line_info::read_line_mappings): Likewise.
-       * dwarf_reader.h (Sized_dwarf_line_info::Sized_dwarf_line_info):
-       Change read_shndx type to unsigned int.
-       (Sized_dwarf_line_info::read_lines): Change shndx type to unsigned
-       int.
-       (Sized_dwarf_line_info::read_line_mappings): Likewise.
-       * layout.cc (Layout::create_symtab_sections): Cast the result of
-       local_symcount * symsize to off_t in the gold_assert.
-
-2009-10-09  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Target_arm::relocate::reloc_is_non_pic): Return true for
-       R_ARM_THM_ABS5, R_ARM_ABS8, R_ARM_ABS12, R_ARM_ABS16,
-       R_ARM_BASE_ABS.
-       (Arm_relocate_functions::abs8): Remove has_thumb_bit parameter.
-       (Arm_relocate_functions::thm_abs5): New function.
-       (Arm_relocate_functions::abs12): New function.
-       (Arm_relocate_functions::abs16): New function.
-       (Arm_relocate_functions::base_abs): New function.
-       (Scan::check_non_pic): Handle R_ARM_ABS32_NOI.
-       (Scan::local): Remove special handling of R_ARM_ABS8.  Handle
-       R_ARM_ABS32_NOI, R_ARM_THM_ABS5, R_ARM_ABS12, R_ARM_ABS16, and
-       R_ARM_BASE_ABS.
-       (Scan::global): Likewise.
-       (Relocate::relocate): Handle R_ARM_ABS12, R_ARM_ABS16,
-       R_ARM_ABS32_NOI, R_ARM_THM_ABS5, and R_ARM_BASE_ABS.
-       (Relocatable_size_for_reloc::get_size_for_reloc): Handle
-       R_ARM_ABS16, R_ARM_THM_ABS5, R_ARM_ABS32_NOI, R_ARM_ABS12, and
-       R_ARM_BASE_ABS.
-
-2009-10-09  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Arm_relocate_functions::movw_prel_nc): New function.
-       (Arm_relocate_functions::movt_prel): New function.
-       (Arm_relocate_functions::thm_movw_prel_nc): New function.
-       (Arm_relocate_functions::thm_movt_prel): New function.
-       (Scan::local): Handle R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL,
-       R_ARM_THM_MOVW_PREL_NC, and R_ARM_THM_MOVT_PREL.
-       (Scan::global, Relocate::relocate): Likewise.
-       (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
-
-2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * gold.cc: (queue_initial_tasks): Pass incremental_inputs to
-       Incremental_checker.
-       * incremental.cc: (INCREMENTAL_LINK_VERSION): Change type to
-       unsigned int.
-       (class Incremental_inputs_header): New class.
-       (Incremental_inputs_header_writer): Edit comment.
-       (Incremental_inputs_entry): New class.
-       (Incremental_inputs_entry_writer): Edit comment.
-       (Sized_incremental_binary::do_find_incremental_inputs_section):
-       Add *strtab_shndx parameter, fill it.
-       (Sized_incremental_binary::do_check_inputs): New method.
-       (Incremental_checker::can_incrementally_link_output_file): Use
-       Sized_incremental_binary::check_inputs.
-       (Incremental_inputs::report_command_line): Save command line in
-       command_line_.
-       * incremental.h:
-       (Incremental_binary::find_incremental_inputs_section): New
-       method.
-       (Incremental_binary::do_find_incremental_inputs_section): Add
-       strtab_shndx parameter.
-       (Incremental_binary::do_check_inputs): New pure virtual method.
-       (Sized_incremental_binary::do_check_inputs): Declare.
-       (Incremental_checker::Incremental_checker): Add incremental_inputs
-       parameter, use it to initialize incremental_inputs_.
-       (Incremental_checker::incremental_inputs_): New field.
-       (Incremental_checker::command_line): New method.
-       (Incremental_checker::inputs): New method.
-       (Incremental_checker::command_line_): New field.
-
-2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * incremental.cc: Include <cstdarg> and "target-select.h".
-       (vexplain_no_incremental): New function.
-       (explain_no_incremental): New function.
-       (Incremental_binary::error): New method.
-       (Sized_incremental_binary::do_find_incremental_inputs_section): New
-       method.
-       (make_sized_incremental_binary): New function.
-       (open_incremental_binary): New function.
-       (can_incrementally_link_file): Add checks if output is ELF and has
-       inputs section.
-       * incremental.h: Include "elfcpp_file.h" and "output.h".
-       (Incremental_binary): New class.
-       (Sized_incremental_binary): New class.
-       (open_incremental_binary): Declare.
-       * object.cc (is_elf_object): Use
-       elfcpp::Elf_recognizer::is_elf_file.
-       (make_elf_object): Use elfcpp::Elf_recognizer::is_valid_header.
-       * output.h (Output_file::filesize): New method.
-
-2009-10-07  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
-       New function.
-       (Arm_relocate_functions::insert_val_arm_movw_movt): New function.
-       (Arm_relocate_functions::extract_thumb_movw_movt_addend): New
-       function.
-       (Arm_relocate_functions::insert_val_thumb_movw_movt): New
-       function.
-       (Arm_relocate_functions::movw_abs_nc): New function.
-       (Arm_relocate_functions::movt_abs): New function.
-       (Arm_relocate_functions::thm_movw_abs_nc): New function.
-       (Arm_relocate_functions::thm_movt_abs): New function.
-       (Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
-       R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS.
-       (Scan::global): Likewise.
-       (Relocate::relocate): Likewise.
-       (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
-
-2009-10-07  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (Arm_relocate_functions::got_prel) New function.
-       (Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
-       (Relocate::relocate): Likewise.
-       (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
-
-2009-10-06  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Define
-       split_stack_adjust_size parameter.
-       * object.h (class Object): Add uses_split_stack_ and
-       has_no_split_stack_ fields.  Add uses_split_stack and
-       has_no_split_stack accessor functions.  Declare
-       handle_split_stack_section.
-       (class Reloc_symbol_changes): Define.
-       (class Sized_relobj): Define Function_offsets.  Declare
-       split_stack_adjust, split_stack_adjust_reltype, and
-       find_functions.
-       * object.cc (Object::handle_split_stack_section): New function.
-       (Sized_relobj::do_layout): Call handle_split_stack_section.
-       * dynobj.cc (Sized_dynobj::do_layout): Call
-       handle_split_stack_section.
-       * reloc.cc (Sized_relobj::relocate_sections): Call
-       split_stack_adjust for executable sections in split_stack
-       objects.  Pass reloc_map to relocate_section.
-       (Sized_relobj::split_stack_adjust): New function.
-       (Sized_relobj::split_stack_adjust_reltype): New function.
-       (Sized_relobj::find_functions): New function.
-       * target-reloc.h: Include "object.h".
-       (relocate_section): Add reloc_symbol_changes parameter.  Change
-       all callers.
-       * target.h (class Target): Add calls_non_split method.  Declare
-       do_calls_non_split virtual method.  Declare match_view and
-       set_view_to_nop.
-       * target.cc: Include "elfcpp.h".
-       (Target::do_calls_non_split): New function.
-       (Target::match_view): New function.
-       (Target::set_view_to_nop): New function.
-       * gold.cc (queue_middle_tasks): Give an error if mixing
-       split-stack and non-split-stack objects with -r.
-       * i386.cc (Target_i386::relocate_section): Add
-       reloc_symbol_changes parameter.
-       (Target_i386::do_calls_non_split): New function.
-       * x86_64.cc (Target_x86_64::relocate_section): Add
-       reloc_symbol_changes parameter.
-       (Target_x86_64::do_calls_non_split): New function.
-       * arm.cc (Target_arm::relocate_section): Add reloc_symbol_changes
-       parameter.
-       * powerpc.cc (Target_powerpc::relocate_section): Add
-       reloc_symbol_changes parameter.
-       * sparc.cc (Target_sparc::relocate_section): Add
-       reloc_symbol_changes parameter.
-       * configure.ac: Call AM_CONDITIONAL for the default target.
-       * configure: Rebuild.
-       * testsuite/Makefile.am (TEST_AS): New variable.
-       (check_SCRIPTS): Add split_i386.sh and split_x86_64.sh.
-       (check_DATA): Add split_i386 and split_x86_64 files.
-       (SPLIT_DEFSYMS): Define.
-       (split_i386_[1234n].o): New targets.
-       (split_i386_[124]): New targets.
-       (split_i386_[1234r].stdout): New targets.
-       (split_x86_64_[1234n].o): New targets.
-       (split_x86_64_[124]): New targets.
-       (split_x86_64_[1234r].stdout): New targets.
-       (MOSTLYCLEANFILES): Add new executables.
-       * testsuite/split_i386.sh: New file.
-       * testsuite/split_x86_64.sh: New file.
-       * testsuite/split_i386_1.s: New file.
-       * testsuite/split_i386_2.s: New file.
-       * testsuite/split_i386_3.s: New file.
-       * testsuite/split_i386_4.s: New file.
-       * testsuite/split_i386_n.s: New file.
-       * testsuite/split_x86_64_1.s: New file.
-       * testsuite/split_x86_64_2.s: New file.
-       * testsuite/split_x86_64_3.s: New file.
-       * testsuite/split_x86_64_4.s: New file.
-       * testsuite/split_x86_64_n.s: New file.
-       * testsuite/testfile.cc (Target_test): Update relocation_section
-       function.
-       * testsuite/Makefile.in: Rebuild.
-
-2009-10-06  Ian Lance Taylor  <iant@google.com>
-
-       * i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
-       (Target_i386::Relocate::relocate_tls): Call fix_up_ldo before
-       changing local_dynamic_type_ from LOCAL_DYNAMIC_NONE.  When
-       handling R_386_TLS_LDO_32, if local_dynamic_type_ is NONE, push
-       the address on ldo_addrs_.
-       (Target_i386::Relocate::fix_up_ldo): New function.
-
-2009-10-06   Rafael Espindola  <espindola@google.com>
-
-       * plugin.cc (add_input_library): New.
-       (Plugin::load): Add add_input_library to tv.
-       (Plugin_manager::add_input_file): Add the is_lib argument.
-       (add_input_file): Update call to Plugin_manager::add_input_file.
-       (add_input_library): New.
-       * plugin.h (Plugin_manager::add_input_file): Add the is_lib argument.
-
-2009-09-30  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::may_need_copy_reloc): Check for THUMB function
-       symbol and call Symbol::may_need_copy_reloc to determine if
-       a copy reloc is needed.
-       * copy-relocs.cc (Copy_relocs::need_copy_reloc): Return false if -z
-       nocopyreloc is given in command line.
-       (Copy_relocs::emit_copy_reloc): Assert that -z nocopyreloc is not
-       given in command line.
-       * i386.cc (Target_i386::may_need_copy_reloc): Remove.
-       (Target_i386::Scan::global): Use Symbol::may_need_copy_reloc instead
-       of the removed Target_i386::may_need_copy_reloc.
-       * options.h (copyreloc): New option with default value false.
-       * powerpc.cc (Target_powerpc::may_need_copy_reloc): Remove.
-       (Target_powerpc::Scan::global): Use Symbol::may_need_copy_reloc
-       instead of the removed Target_powerpc::may_need_copy_reloc.
-       * sparc.cc (Target_powerpc::may_need_copy_reloc): Remove.
-       (Target_sparc::Scan::global): Use Symbol::may_need_copy_reloc
-       instead of the removed Target_sparc::may_need_copy_reloc.
-       * symtab.h (Symbol::may_need_copy_reloc): New method definition.
-       * x86_64.cc (Target_powerpc::may_need_copy_reloc): Remove.
-       (Target_x86_64::Scan::global): Use Symbol::may_need_copy_reloc
-       instead of the removed Target_x86_64::may_need_copy_reloc.
-
-2009-09-30  Ian Lance Taylor  <iant@google.com>
-
-       * object.h (class Object): Remove target_ field, and target,
-       sized_target, and set_target methods.
-       (Object::sized_target): Remove.
-       (class Sized_relobj): Update declarations.  Remove sized_target.
-       * object.cc (Sized_relobj::setup): Remove target parameter.
-       Change all callers.
-       (Input_objects::add_object): Don't do anything with the target.
-       (make_elf_sized_object): Add punconfigured parameter.  Change all
-       callers.  Set or test parameter target.
-       * dynobj.cc (Sized_dynobj::target): Remove target parameter.
-       Change all callers.
-       * parameters.cc (Parameters::set_target): Change parameter type to
-       be non-const.
-       (Parameters::default_target): Remove.
-       (set_parameters_target): Change parameter type to be non-const.
-       (parameters_force_valid_target): New function.
-       (parameters_clear_target): New function.
-       * parameters.h (class Parameters): Update declarations.  Remove
-       default_target method.  Add sized_target and clear_target
-       methods.  Change target_ to be non-const.
-       (set_parameters_target): Update declaration.
-       (parameters_force_valid_target): Declare.
-       (parameters_clear_target): Declare.
-       * readsyms.cc (Read_symbols::do_read_symbols): Pass punconfigured
-       as NULL if we aren't searching.
-       (Add_symbols::run): Don't check for compatible target.
-       * fileread.cc (Input_file::open_binary): Call
-       parameters_force_valid_target.
-       * gold.cc (queue_middle_tasks): Likewise.
-       * plugin.cc (make_sized_plugin_object): Likewise.  Don't call
-       set_target on object.
-       * dynobj.h (class Sized_dynobj): Update declarations.
-       * archive.cc (Archive::get_elf_object_for_member): Return NULL if
-       make_elf_object returns NULL.
-       (Archive::include_member): Don't check whether object target is
-       compatible.
-       * output.cc (Output_section::add_input_section): Get target from
-       parameters.
-       (Output_section::relax_input_section): Likewise.
-       * reloc.cc (Sized_relobj::do_gc_process_relocs): Get target from
-       parameters.
-       (Sized_relobj::do_scan_relocs): Likewise.
-       (Sized_relobj::relocate_sections): Likewise.
-       * resolve.cc (Symbol_table::resolve): Likewise.
-       * symtab.cc (Symbol_table::wrap_symbol): Likewise.  Remove object
-       parameter.  Change all callers.
-       (Symbol_table::add_from_object): Get target from parameters.
-       (Symbol_table::add_from_relobj): Don't check object target.
-       (Symbol_table::add_from_dynobj): Likewise.
-       (Symbol_table::define_special_symbol): Get target from
-       parameters.
-       * symtab.h (class Symbol_table): Update declaration.
-       * testsuite/binary_unittest.cc (gold_testsuite): Remove target
-       parameter.  Change all callers.  Clear parameter target.
-       (Binary_test): Test target here.
-       * testsuite/object_unittest.cc (gold_testsuite): Remove
-       target_test_pointer parameter.  Change all callers.
-       (Object_test): Test target here.
-
-2009-09-26  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/initpri1.c: Don't try to use constructor priorities if
-       compiling with gcc before 4.3.
-
-2009-09-22  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * testsuite/retain_symbols_file_test.sh (check_present): Change
-       output file name to retain_symbols_file_test.stdout.
-       (check_absent): Likewise.
-
-2009-09-18  Craig Silverstein  <csilvers@google.com>
-
-       * object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
-       * options.cc: Include <cerrno> and <fstream>.
-       (General_options::finalize): Parse -retain-symbols-file tag.
-       * options.h: New flag.
-       (General_options): New method should_retain_symbol, new
-       variable symbols_to_retain.
-       * symtab.cc (Symbol_table::sized_finalize_symbol): Test
-       should_retain_symbol map.
-       * testsuite/Makefile.am (retain_symbols_file_test): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/retain_symbols_file_test.sh: New file.
-
-2009-09-18  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2009-09-17  Doug Kwan  <dougkwan@google.com>
-
-       * debug.h (DEBUG_RELAXATION): New constant.
-       (DEBUG_ALL): Add DEBUG_RELAXATION.
-       (debug_string_to_enum): Add relaxation debug option.
-       * layout.cc
-       (Layout::Relaxation_debug_check::check_output_data_for_reset_values,
-       Layout::Relaxation_debug_check::read_sections,
-       Layout::Relaxation_debug_check::read_sections): New method definitions.
-       (Layout::Layout): Initialize data members
-       record_output_section_data_from_scrips_,
-       script_output_section_data_list_ and relaxation_debug_check_.
-       (Layout::save_segments, Layout::restore_segments,
-       Layout::clean_up_after_relaxation, Layout::prepare_for_relaxation,
-       Layout::relaxation_loop_body): New method definitions.
-       (Layout::finalize): Support relaxation.  Move section layout code to
-       Layout::relaxation_loop_body.
-       (Layout::set_asection_address_from_script): Move code for orphan
-       section placement out.
-       (Layout::place_orphan_sections_in_script): New method definition.
-       * layout.h (Output_segment_headers, Output_file_header):
-       New forward class declarations.
-       (Layout::~Layout): Define.
-       (Layout::new_output_section_data_from_script): New method definition.
-       (Layout::place_orphan_sections_in_script): New method declaration.
-       (Layout::Segment_states): New type declaration.
-       (Layout::save_segments, Layout::restore_segments,
-       Layout::clean_up_after_relaxation, Layout::prepare_for_relaxation,
-       Layout::relaxation_loop_body): New method declarations.
-       (Layout::Output_section_data_list): New type declaration.
-       (Layout::Relaxation_debug_check): New class definition.
-       (Layout::record_output_section_data_from_script_,
-       Layout::script_output_section_data_list_, Layout::segment_states_,
-       Layout::relaxation_debug_check_): New data members.
-       * output.cc: (Output_section_headers::do_size): New method definition.
-       (Output_section_headers::Output_section_headers): Move size
-       computation to Output_section_headers::do_size.
-       (Output_segment_headers::do_size): New method definition.
-       (Output_file_header::Output_file_header): Move size computation to
-       Output_file_header::do_size and call it.
-       (Output_file_header::do_size): New method definition.
-       (Output_data_group::Output_data_group): Adjust call to
-       Output_section_data.
-       (Output_data_dynamic::set_final_data_size): Add DT_NULL tag only once.
-       (Output_symtab_xindex::do_write): Add array bound check.
-       (Output_section::Input_section::print_to_mapfile): Handle
-       RELAXED_INPUT_SECTION_CODE.
-       (Output_section::Output_section): Initialize data member checkpoint_.
-       (Output_section::~Output_section): Delete checkpoint object pointed
-       by checkpoint_.
-       (Output_section::add_input_section): Always add an Input_section if
-       relaxing.
-       (Output_section::add_merge_input_section): Add assert.
-       (Output_section::relax_input_section): New method definition.
-       (Output_section::set_final_data_size): Set load address to zero for
-       an unallocated section.
-       (Output_section::do_address_and_file_offset_have_reset_values):
-       New method definition.
-       (Output_section::Input_section_sort_enty::Input_section_sort_enty):
-       Handle relaxed input section.
-       (Output_section::sort_attached_input_sections): Checkpoint input
-       section list lazily.
-       (Output_section::get_input_sections): Change type of input_sections to
-       list of Simple_input_section pointers.  Checkpoint input section list
-       lazily.  Also handle relaxed input sections.
-       (Output_section::add_input_section_for_script): Take a reference to
-       a Simple_input_section object instead of Relobj pointer and section
-       index as parameter.  Handle relaxed input sections.
-       (Output_section::save_states, Output_section::restore_states): New
-       method definitions.
-       * output.h (Output_data::Output_data): Initialize is_data_size_fixed_.
-       (Output_data::is_data_size_fixed): New method definition.
-       (Output_data::reset_addresss_and_file_offset): Do not reset data size
-       if it is fixed.
-       (Output_data::address_and_file_offset_have_reset_values): New method
-       definition.
-       (Output_data::do_address_and_file_offset_have_reset_values): New method
-       definition.
-       (Output_data::set_data_size): Check that data size is not fixed.
-       (Output_data::fix_data_size): New method definition.
-       (Output_data::is_data_size_fixed_): New data member.
-       (Output_section_headers::set_final_data_size): New method definition.
-       (Output_section_headers::do_size): New method declaration.
-       (Output_segment_headers::set_final_data_size): New method definition.
-       (Output_segment_headers::do_size): New method declaration.
-       (Output_file_header::set_final_data_size)::New method definition.
-       (Output_file_header::do_size)::New method declaration.
-       (Output_section_data::Output_section_data): Add new parameter
-       is_data_size_fixed and use it to fix data size.
-       (Output_data_const::Output_data_const): Adjust call to base class
-       constructor and fix data size.
-       (Output_data_const_buffer::Output_data_const_buffer): Adjust call to
-       base class constructor and fix data size.
-       (Output_data_fixed_space::Output_data_fixed_space): Adjust call to
-       base class constructor and fix data size.
-       (Output_data_zero_fill::Output_data_zero_fill): Adjust call to base
-       class constructor and fix data size.
-       (Output_data_group::set_final_data_size): New method definition.
-       (Output_data_dynamic::Dynamic_entry::tag): New method definition.
-       (Output_symtab_xindex::Output_symtab_xindex): Adjust call to base
-       class constructor and fix data size.
-       (Output_relaxed_input_section): New class definition.
-       (Output_section::Simple_input_section): New class definition.
-       (Output_section::get_input_sections): Adjust parameter list.
-       (Output_section::add_input_section_for_script): Same.
-       (Output_section::save_states, Output_section::restore_states,
-       Output_section::do_address_and_file_offset_have_reset_values,
-       (Output_section::Input_section::Input_section): Handle
-       RELAXED_INPUT_SECTION_CODE.  Add new overload for
-       Output_relaxed_input_section.
-       (Output_section::Input_section::is_input_section,
-       Output_section::Input_section::set_output_section): Handle relaxed
-       input section.
-       (Output_section::Input_section::is_relaxed_input_section,
-       Output_section::Input_section::output_section_data,
-       Output_section::Input_section::relaxed_input_section): New method
-       definitions.
-       (Output_section::Input_section::RELAXED_INPUT_SECTION_CODE): New enum
-       value.
-       (Output_section::Input_section::u1_): Update comments.
-       (Output_section::Input_section::u2_): Add new union member poris.
-       (Output_section::Checkpoint_output_section): New classs definition.
-       (Output_section::relax_input_section): New method declaration.
-       (Output_section::checkpoint_): New data member.
-       (Output_segment): Update comments.
-       (Output_segment::Output_segment): Un-privatize copy constructor.
-       (Output_segment::operator=): Un-privatize.
-       * script-sections.cc (Output_section_element::Input_section_list):
-       Change element type to Output_section::Simple_input_section.
-       (Output_section_element_dot_assignment::set_section_addresses):
-       Register output section data for relaxation clean up.
-       (Output_data_exression::Output_data_expression): Adjust call to base
-       constructor to fix data size.
-       (Output_section_element_data::set_section_addresses): Register
-       Output_data_expression object for relaxation clean up.
-       (struct Input_section_info): Replace Relobj pointer and section index
-       pair with Output_section::Simple_input_section and Convert struct to a
-       class.
-       (Input_section_sorter::operator()): Adjust access to
-       Input_section_info data member to use accessors.
-       (Output_section_element_input::set_section_addresses): Use layout
-       parameter.  Adjust code to use Output_section::Simple_input_section
-       and Input_secction_info classes.  Register filler for relaxation
-       clean up.
-       (Orphan_output_section::set_section_addresses): Replace Relobj pointer
-       and section index pair with Output_section::Simple_input_section
-       class.  Adjust code accordingly.
-       (Phdrs_element::release_segment): New method definition.
-       (Script_sections::attach_sections_using_phdrs_clause): Do not modify
-       segment list.
-       (Script_sections::release_segments): New method definition.
-       * script-sections.h (Script_sections::release_segments): New
-       method declaration.
-       * target.h (Target::may_relax, Target::relax,
-       Target::do_may_relax, Target::do_relax): New method definitions.
-
-2009-09-17  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
-
-       * arm.cc (has_signed_unsigned_overflow): New function.
-       (Arm_relocate_functions::abs8): New function.
-       (Target_arm::Scan::local): Handle R_ARM_ABS8.
-       (Target_arm::Scan::global): Likewise.
-       (Target_arm::relocate::relocate): Likewise.
-       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
-       Likewise.
-
-2009-09-16  Cary Coutant  <ccoutant@google.com>
-
-       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add more generated files.
-       * testsuite/Makefile.in: Regenerate.
-
-2009-09-11  Nick Clifton  <nickc@redhat.com>
-
-       * po/gold.pot: Updated by the Translation project.
-
-2009-09-08  Cary Coutant  <ccoutant@google.com>
-
-       * output.cc (Output_file::open): Add execute permission to empty file.
-       * testsuite/Makefile.am (permission_test): New test.
-       * testsuite/Makefile.in: Regenerate.
-
-2009-09-02  Ian Lance Taylor  <iant@google.com>
-
-       * output.cc (Output_file::resize): Call map_no_anonymous rather
-       than map.
-
-2009-09-01  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * gold.cc: Include "incremental.h".
-       (queue_initial_tasks): Call Incremental_checker methods.
-       * incremental.cc: Include "output.h".
-       (Incremental_checker::can_incrementally_link_output_file): New
-       method.
-       * incremental.h (Incremental_checker): New class.
-
-       * output.cc (Output_file::open_for_modification): New method.
-       (Output_file::map_anonymous): Changed return type to bool.  Record
-       map in base_ field.
-       (Output_file::map_no_anonymous): New method, broken out of map.
-       (Output_file::map): Use map_no_anonymous and map_anonymous.
-       * output.h (class Output_file): Update declarations.
-
-2009-08-24  Cary Coutant  <ccoutant@google.com>
-
-       * options.h (Command_line::Pre_options): New class.
-       (Command_line::pre_options): New member.
-       * options.cc (gold::options::ready_to_register): New variable.
-       (One_option::register_option): Do nothing if not registering options.
-       Assert if same short option registered twice.
-       (General_options::General_options): Turn off option registration when
-       done constructing.
-       (Command_line::Pre_options::Pre_options): New constructor.
-
-2009-08-24  Cary Coutant  <ccoutant@google.com>
-
-       * options.h (General_options::no_keep_memory): Remove incorrect
-       short option.
-
-2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.am (am__skiplex, am__skipyacc): New.
-       * Makefile.in: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.am (AM_CPPFLAGS): Renamed from ...
-       (INCLUDES): ... this.
-       * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
-       (AM_CPPFLAGS): Renamed from ...
-       (INCLUDE): ... this.
-       * Makefile.in, testsuite/Makefile.in: Regenerate.
-
-       * Makefile.in: Regenerate.
-       * aclocal.m4: Likewise.
-       * config.in: Likewise.
-       * configure: Likewise.
-       * testsuite/Makefile.in: Likewise.
-
-       * Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
-       * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
-       * Makefile.in: Regenerate.
-       * testsuite/Makefile.in: Regenerate.
-
-2009-08-19  Cary Coutant  <ccoutant@google.com>
-
-       * resolve.cc (Symbol_table::resolve): Don't complain about defined
-       symbols in shared libraries overridden by hidden or internal symbols
-       in the main program.
-
-2009-08-19  Chris Demetriou  <cgd@google.com>
-
-       * testsuite/debug_msg.sh: Match .* rather than ${srcdir} when
-       checking source file names in error messages.
-
-2009-08-18  Doug Kwan  <dougkwan@google.com>
-
-       * dynobj.cc (Sized_dynobj::setup): Take a Target object instead of
-       an elcpp::Ehdr as parameter.  Adjust call to set_target.
-       * dynobj.h (Sized_dynobj::setup): Take a Target object instead of
-       an elfcpp::Ehdr as parameter.
-       * object.cc (Object::set_target): Remove the version that looks up
-       a target and sets it.
-       (Sized_relobj::setup): Take a Target object instead of
-       an elfcpp::Ehdr as parameter.  Adjust call to set_target.
-       (make_elf_sized_object): Find target and ask target to
-       make an ELF object.
-       * object.h: (Object::set_target): Remove the version that looks up
-       a target and sets it.
-       (Sized_relobj::setup): Take a Target object instead of
-       an elfcpp:Ehdr as parameter.
-       * target.cc: Include dynobj.h.
-       (Target::do_make_elf_object_implementation): New.
-       (Target::do_make_elf_object): New.
-       * target.h (Target::make_elf_object): New template declaration.
-       (Target::do_make_elf_object): New method declarations.
-       (Target::do_make_elf_object_implementation): New template declaration.
-
-2009-08-14  Ian Lance Taylor  <iant@google.com>
-
-       * gold.h (FUNCTION_NAME): Define.
-       (gold_unreachable): Use FUNCTION_NAME.
-
-2009-08-12  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.cc (Icf::find_identical_sections): Issue a warning when a
-       symbol in the --keep-unique list is not found.
-
-2009-08-12  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.cc (Icf::find_identical_sections): Unfold symbols that have
-       been maked as --keep-unique.
-       (Icf::unfold_section): New function.
-       * icf.h (Icf::unfold_section): New function.
-       * options.h (General_options::keep_unique): New option.
-       * testsuite/Makefile.am: Add commands to build icf_keep_unique_test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/icf_keep_unique_test.sh: New file.
-       * testsuite/icf_keep_unique_test.cc: New file.
-
-2009-08-12  Cary Coutant  <ccoutant@google.com>
-
-       PR 10471
-       * resolve.cc (Symbol_table::resolve): Check for references from
-       dynamic objects to hidden and internal symbols.
-       * testsuite/Makefile.am (hidden_test.sh): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/hidden_test.sh: New script.
-       * testsuite/hidden_test_1.c: New test source.
-       * testsuite/hidden_test_main.c: New test source.
-
-2009-08-11  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc: Update comments.
-       (Target_arm::do_finalize_sections): Add a special PT_ARM_EXIDX
-       segment to locate the .ARM.exidx section if present.
-
-2009-08-09  Doug Kwan  <dougkwan@google.com>
-
-       * dynobj.h (Sized_dynobj::do_section_entsize): Revert the previous
-       patch.
-
-2009-08-07  Sriraman Tallam  <tmsriram@google.com>
-       * dynobj.h (Sized_dynobj::do_section_entsize): Add return to avoid
-       compiler warnings.
-
-2009-08-06  Sriraman Tallam  <tmsriram@google.com>
-
-       * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for a
-       valid tls_segment only for non-debug-section relocations.
-       * testsuite/Makefile.am: Add gc_tls_test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gc_tls_test.cc: New file.
-       * testsuite/gc_tls_test.sh: New file.
-
-2009-08-05  Sriraman Tallam  <tmsriram@google.com>
-
-       * icf.cc: New file.
-       * icf.h: New file.
-       * Makefile.am (CCFILES): Add icf.cc.
-       (HFILES): Add icf.h
-       * Makefile.in: Regenerate.
-       * dynobj.h (Sized_dynobj::do_section_entsize): New function.
-       * gc.h (gc_process_relocs): Populate lists used by icf to contain
-       section, symbol and addend information for the relocs.
-       * gold.cc (queue_middle_tasks): Call identical code folding.
-       * gold.h: Add defines for multimap.
-       * layout.cc (Layout::create_symtab_sections): Add symtab as parameter
-       to the call of finalize_local_symbols.
-       * main.cc (main): Create object of class Icf.
-       * object.cc (Sized_relobj::do_layout): Allow this function to be
-       called twice during icf.
-       (Sized_relobj::do_finalize_local_symbols): Fold symbols corresponding
-       to sections marked as identical by icf.
-       (Sized_relobj::do_section_flags): Get section_flags from Symbols_data
-       when available.
-       (Sized_relobj::do_section_entsize): New function.
-       * object.h (Object::section_entsize): New function.
-       (Object::do_section_entsize): New pure virtual function.
-       (Relobj::finalize_local_symbols): Add new parameter.
-       (Relobj::do_section_entsize): New function.
-       * options.h (General_options::icf): New option.
-       (General_options::icf_iterations): New option.
-       (General_options::print_icf_sections): New option.
-       * plugin.cc (Sized_pluginobj::do_section_entsize): New function.
-       * plugin.h (Sized_pluginobj::do_section_entsize): New function.
-       * reloc.cc (Read_relocs::run): Delay scanning relocs when doing
-       icf.
-       * symtab.cc (Symbol_table::is_section_folded): New function.
-       (Symbol_table::sized_finalize_symbol):  Fold symbols corresponding
-       to sections marked as identical by icf.
-       * symtab.h (Symbol_table::set_icf): New function.
-       (Symbol_table::icf): New function.
-       (Symbol_table::is_section_folded): New function.
-       (Symbol_table::icf_): New data member.
-       * target-reloc.h (relocate_section): Ignore sections folded by icf.
-       * testsuite/Makefile.am: Add commands to build icf_test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/icf_test.sh: New file.
-       * testsuite/icf_test.cc: New file.
-
-2009-07-24  Chris Demetriou  <cgd@google.com>
-
-       * layout.cc (is_compressible_debug_section): Fix incorrect
-       comment about compressed section names.
-
-2009-07-20  Ian Lance Taylor  <ian@airs.com>
-
-       PR 10419
-       * x86_64.cc (Target_x86_64::do_code_fill): Correct nop sequences.
-
-2009-07-16  Ian Lance Taylor  <iant@google.com>
-
-       PR 10400
-       * layout.h: #include <map>.
-       (class Kept_section): Change from struct to class.  Add accessors
-       and setters.  Add section size to Comdat_group mapping.  Change
-       Comdat_group to std::map.  Add is_comdat_ field.  Add
-       linkonce_size field in union.
-       (class Layout): Update declaration of find_or_add_kept_section.
-       Don't declare find_kept_object.
-       * layout.cc (Layout::find_or_add_kept_section): Remove candidate
-       parameter.  Add object, shndx, is_comdat, and is_group_name
-       parameters.  Change all callers.  Adjust for new Kept_section.
-       (Layout::find_kept_object): Remove.
-       * object.cc (Sized_relobj::include_section_group): Update use of
-       Kept_section.  Rename secnum to shndx.  Only record
-       Kept_comdat_section if sections are the same size.
-       (Sized_relobj::include_linkonce_section): Update use of
-       Kept_section.  Only record Kept_comdat_section if sections are the
-       same size.  Set size of linkonce section.
-       (Sized_relobj::map_to_kept_section): Update call to
-       get_kept_comdat_section.
-       * object.h (class Sized_relobj): Rename fields in
-       Kept_comdat_section to drop trailing underscores; change object
-       field to Relobj*.  Change Kept_comdat_section_table to store
-       struct rather than pointer.
-       (Sized_relobj::set_kept_comdat_section): Remove kept parameter.
-       Add kept_object and kept_shndx parameters.  Change all callers.
-       (Sized_relobj::get_kept_comdat_section): Change return type to
-       bool.  Add kept_object and kept_shndx parameters.  Change all
-       callers.
-       * plugin.cc (Pluginobj::include_comdat_group): Update call to
-       Layout::find_or_add_kept_section.
-
-2009-07-09  Ian Lance Taylor  <iant@google.com>
-
-       * merge.cc (Object_merge_map::initialize_input_to_output_map):
-       Reserve space in the hash table.
-
-2009-07-06  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * fileread.cc (File_read::get_mtime): New method.
-       * fileread.h (Timespec): New structure.
-       (File_read::get_mtime): New method.
-       * incremental.cc (Incremental_inputs_entry_data::timestamp_usec):
-       Renamed from timestamp_nsec.
-       (Incremental_inputs_entry_write::timestamp_sec): Fix argument to
-       Elf_Xword.
-       (Incremental_inputs_entry_write::timestamp_usec): Renamed from
-       timestamp_nsec.
-       (Incremental_inputs::report_archive): Save mtime; style fix.
-       (Incremental_inputs::report_obejct): Save mtime; style fix.
-       (Incremental_inputs::report_script): Save mtime; style fix.
-       (Incremental_inputs::finalize_inputs): Style fix.
-       (Incremental_inputs::finalize): Style fix.
-       (Incremental_inputs::create_input_section_data): Store inputs
-       mtime.
-       * incremental.h (Incremental_inputs::report_script): Add mtime
-       argument.
-       (Incremental_inputs::Input_info::Input_info): Intialize only one
-       union member.
-       (Incremental_inputs::Input_info::archive): Move to nameless
-       union.
-       (Incremental_inputs::Input_info::obejct): Move to nameless union.
-       (Incremental_inputs::Input_info::script): Move to nameless union.
-       (Incremental_inputs::mtime): New field.
-       * script.cc (read_input_script): Pass file mtime to
-       Incremental_input.
-       * script.h (Script_info::inputs): Style fix.
-
-2009-07-01  Ian Lance Taylor  <ian@airs.com>
-
-       * freebsd.h (Target_freebsd::do_adjust_elf_header): Use size
-       instead of 32.
-
-2009-06-24  Ian Lance Taylor  <iant@google.com>
-
-       PR 10156
-       * layout.cc (Layout::choose_output_section): If we find an
-       existing section, update the flags.
-       (Layout::create_notes): New function, broken out of
-       Layout::finalize.
-       (Layout::finalize): Don't create note sections.
-       (Layout::create_note): Don't crash if linker script discards
-       section.
-       (Layout::create_gold_note): Likewise.
-       (Layout::create_build_id): Likewise.  Don't set
-       after_input_sections on the section.
-       (Layout::create_executable_stack_info): Remove target parameter.
-       Change caller.
-       * layout.h (class Layout): Declare create_notes.  Update
-       declaration of create_executable_stack_info.
-       * gold.cc (queue_middle_tasks): Call create_notes.
-       * output.cc (Output_section::update_flags_for_input_section): Move
-       here from output.h.  If SHF_ALLOC flag is newly set, mark address
-       invalid.
-       * output.h (Output_data::mark_address_invalid): New function.
-       (class Output_section): Only declare, not define,
-       update_flags_for_input_section.  Remove set_flags.
-
-2009-06-24  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.cc (Output_section_definition::
-       set_section_addresses): Rename shadowing local load_address to
-       laddr.
-
-2009-06-24  Ian Lance Taylor  <iant@google.com>
-
-       PR 10244
-       * reloc.cc (relocate_sections): Skip empty relocation sections.
-
-2009-06-23  Ian Lance Taylor  <iant@google.com>
-
-       PR 10156
-       * layout.cc (Layout::create_note): Use choose_output_section
-       rather than make_output_section.
-
-2009-06-23  Ian Lance Taylor  <iant@google.com>
-
-       PR 10237
-       * options.cc (General_options::parse_V): Set printed_version_.
-       (General_options::General_options): Initialize printed_version_.
-       * options.h (class General_options): Add printed_version_ field.
-       * gold.cc (queue_initial_tasks): If there are no input files,
-       don't give a fatal error if we printed the version information.
-       (queue_middle_tasks): If using -r with a shared object, give a
-       fatal error rather than an ordinary error.
-
-2009-06-23  Ian Lance Taylor  <iant@google.com>
-
-       PR 10219
-       * layout.cc (Layout::Layout): Initialize have_stabstr_section_.
-       (Layout::make_output_section): Set have_stabstr_section_ if we see
-       a .stab*str section.
-       (Layout::finalize): Call link_stabs_sections.
-       (Layout::link_stabs_sections): New file.
-       * layout.h (class Layout): Add have_stabstr_section_ field.
-       Declare link_stabs_sections.
-
-2009-06-23  Doug Kwan  <dougkwan@google.com>
-
-       * Makefile.am (libgold_a_LIBADD): New.
-       (ld_new_DEPENDENCIES, ld_new_LDADD): Remove LIBOBJS
-       * Makefile.in: Regenerate.
-       * config.in (HAVE_DECL_MEMMEM, HAVE_DECL_STRNDUP): New.
-       * configure: Regenerate.
-       * configure.ac (AC_CHECK_DECLS): Add strndup and memmem.
-       * fileread.cc: Include sys/state.h
-       * gold.h: Declare memmem and strndup if found missing.
-       * gold_reloc.h: Include byteswap.h if HAVE_BYTESWAP_H is defined.
-
-2009-06-23  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Call AC_CHECK_DECLS using C, not C++.
-       * configure: Rebuild.
-
-2009-06-23  Ian Lance Taylor  <iant@google.com>
-
-       PR 10147
-       * object.cc (Object::section_contents): Don't try to get a view if
-       the section has length zero.
-       (Object::handle_gnu_warning_section): If the section is empty, use
-       the name of the section as the warning.
-
-2009-06-23  Ian Lance Taylor  <iant@google.com>
-
-       PR 10133
-       * stringpool.h (class Stringpool_template): Add optimize_ field.
-       (Stringpool_template::set_optimize): New function.
-       * stringpool.cc (Stringpool_template::Stringpool_template):
-       Initialize optimize_ field.
-       (Stringpool_template::set_string_offsets): Test local optimize
-       fild rather than parameter.
-       * layout.cc (Layout::Layout): Call set_optimize on the section
-       name stringpool.
-
-2009-06-22  Ian Lance Taylor  <iant@google.com>
-
-       PR 10030
-       * yyscript.y: Parse TARGET.
-       * script.cc (script_set_target): New function.
-       * script-c.h (script_set_target): Declare.
-       * options.cc (General_options::string_to_object_format): Rename
-       from string_to_object_format in anonymous namespace.  Change
-       callers.
-       * options.h (class General_options): Declare
-       string_to_object_format.
-
-2009-06-22  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.cc (Script_sections::create_segments): Don't put
-       program headers in a PT_LOAD segment if -n or -N.
-
-2009-06-22  Ian Lance Taylor  <iant@google.com>
-
-       PR 10141
-       * options.h (class General_options): Add -z lazy and -z now.  Sort
-       -z options into alphabetical order.
-       * layout.cc (Layout::finish_dynamic_section): Handle -z now.
-
-2009-06-21  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::make_output_section): Call
-       Target::new_output_section.
-       (Layout::attach_allocated_section_to_segment): Put large section
-       sections in a separate load segment with the large segment flag
-       set.
-       (Layout::segment_precedes): Sort large data segments after other
-       load segments.
-       (align_file_offset): New static function.
-       (Layout::set_segment_offsets): Use align_file_offset.
-       * output.h (class Output_section): Add is_small_section_ and
-       is_large_section_ fields.
-       (Output_section::is_small_section): New function.
-       (Output_section::set_is_small_section):  New function.
-       (Output_section::is_large_section): New function.
-       (Output_section::set_is_large_section): New function.
-       (Output_section::is_large_data_section): New function.
-       (class Output_segment): Add is_large_data_segment_ field.
-       (Output_segment::is_large_data_segment): New function.
-       (Output_segment::set_is_large_data_segment): New function.
-       * output.cc (Output_section::Output_section): Initialize new
-       fields.
-       (Output_segment::Output_segment): Likewise.
-       (Output_segment::add_output_section): Add assertion that large
-       data sections always go in large data segments.  Force small data
-       sections to the end of the list of data sections.  Force small BSS
-       sections to the start of the list of BSS sections.  For large BSS
-       sections to the end of the list of BSS sections.
-       * symtab.h (class Symbol): Declare is_common_shndx.
-       (Symbol::is_defined): Check Symbol::is_common_shndx.
-       (Symbol::is_common): Likewise.
-       (class Symbol_table): Define enum Commons_section_type.  Update
-       declarations.  Add small_commons_ and large_commons_ fields.
-       * symtab.cc (Symbol::is_common_shndx): New function.
-       (Symbol_table::Symbol_table): Initialize new fields.
-       (Symbol_table::add_from_object): Put small and large common
-       symbols in the right list.
-       (Symbol_table::sized_finalized_symbol): Check
-       Symbol::is_common_shndx.
-       (Symbol_table::sized_write_globals): Likewise.
-       * common.cc (Symbol_table::do_allocate_commons): Allocate new
-       common symbol lists.  Don't call do_allocate_commons_list if the
-       list is empty.
-       (Symbol_table::do_allocate_commons_list): Remove is_tls
-       parameter.  Add comons_section_type parameter.  Change all
-       callers.  Handle small and large common symbols.
-       * object.cc (Sized_relobj::do_finalize_local_symbols): Check
-       Symbol::is_common_shndx.
-       * resolve.cc (symbol_to_bits): Likewise.
-       * target.h (Target::small_common_shndx): New function.
-       (Target::small_common_section_flags): New function.
-       (Target::large_common_shndx): New function.
-       (Target::large_common_section_flags): New function.
-       (Target::new_output_section): New function.
-       (Target::Target_info): Add small_common_shndx, large_common_shndx,
-       small_common_section_flags, and large_common_section_flags
-       fields.
-       (Target::do_new_output_section): New virtual function.
-       * arm.cc (Target_arm::arm_info): Initialize new fields.
-       * i386.cc (Target_i386::i386_info): Likewise.
-       * powerpc.cc (Target_powerpc::powerpc_info) [all versions]:
-       Likewise.
-       * sparc.c (Target_sparc::sparc_info) [all versions]: Likewise.
-       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
-       (Target_x86_64::do_new_output_section): New function.
-       * configure.ac: Define conditional MCMODEL_MEDIUM.
-       * testsuite/Makefile.am (check_PROGRAMS): Add large.
-       (large_SOURCES, large_CFLAGS, large_DEPENDENCIES): Define.
-       (large_LDFLAGS): Define.
-       * testsuite/large.c: New file.
-       * testsuite/testfile.cc (Target_test::test_target_info):
-       Initialize new fields.
-       * configure, testsuite/Makefile.in: Rebuild.
-
-2009-06-05  Doug Kwan  <dougkwan@google.com>
-
-       * Makefile.am (CCFILES): Add target.cc.
-       * Makefile.in: Regenerate.
-       * i386.cc (class Target_i386): Define new virtual method to
-       override do_is_local_label_name in parent.
-       * object.cc (Sized_relobj::do_count_local_symbols): Discard
-       local symbols if --discard-locals or -X is given.
-       * options.h (class General_options): Declare new options
-       '--discard-locals' and '-X' for discarding locals.
-       * target.h (class Target): Define new methods is_local_label_name.
-       Declare new virtual method do_is_local_label_name.
-       * target.cc: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add discard_locals_test.
-       (check_SCRIPTS): Add discard_locals_test.sh.
-       (check_DATA): Add discard_local_tests.syms.
-       (discard_locals_test_SOURCES, discard_locals_test_LDFLAGS): Define.
-       (discard_local_tests.syms, discard_locals_test.o): New make rules.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/discard_locals_test.c: New file.
-       * testsuite/discard_locals_test.sh: Same.
-
-2009-06-05  Doug Kwan  <dougkwan@google.com>
-
-       * object.cc (Sized_relobj::Sized_relobj): Initialize
-       discarded_eh_frame_shndx_ to -1U.
-       (Sized_relobj::do_layout): Record index of a discard .eh_frame
-       section.
-       (Sized_relobj::do_count_local_symbols): Skip local symbols in
-       a discarded .eh_frame section.
-       (Sized_relobj::do_finalize_local_symbols): Ditto.
-       * object.h (class Sized_relobj): Declare new member
-       discarded_eh_frame_shndx_.
-       * testsuite/Makefile.am (check_PROGRAMS): Add local_labels_test.
-       (local_labels_test.o, local_labels_test): New rules.
-       * testsuite/Makefile.in: Regenerate.
-
-2009-06-04  Doug Kwan  <dougkwan@google.com>
-
-       * layout.cc (Layout::section_name_mapping): Add mapping for
-       special ARM sections.
-
-2009-06-03  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (utils::sign_extend): Reverse test in gold_assert.
-       (utils::has_overflow): Same.
-
-2009-06-03  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::section_name_mapping): New array, replacing
-       Layout::linkonce_mapping.
-       (Layout::section_name_mapping_count): New variable, replacing
-       Layout::linkonce_mapping_count.
-       (Layout::linkonce_output_name): Remove.
-       (Layout::output_section_name): Rewrite.
-       * layout.h (class Layout): Rename Linkonce_mapping to
-       Section_name_mapping, linkonce_mapping to section_name_mapping,
-       linkonce_mapping_count to section_name_mapping_count.  Don't
-       declare linkonce_output_name.
-
-2009-06-03  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (namespace utils): New.
-       (Target_arm::reloc_is_non_pic): Define new method.
-       (class Arm_relocate_functions): New.
-       (Target_arm::Relocate::relocate): Handle relocation types used by
-       Android.
-
-2009-06-03  Ian Lance Taylor  <iant@google.com>
-
-       * arm.cc (Target_arm::scan::global): Use || instead of |.
-
-2009-06-02  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Target_arm::Scan::Scan):  Initialize
-       issued_non_pic_error_.
-       (class Target_arm::Scan): Declare new method check_non_pic.
-       Define new method symbol_needs_plt_entry.
-       Declare new data member issued_non_pic_error_.
-       (class Target_arm::Relocate): Declare new method
-       should_apply_static_reloc.
-       (Target_arm::may_need_copy_reloc): Handle STT_ARM_TFUNC.
-       (Target_arm::Scan::check_non_pic): Define new method.
-       (Target_arm::Scan::local): Handle a small subset of reloc types used
-       by Android.
-       (Target_arm::Scan::local): Same.
-       (Target_arm::Relocate::should_apply_statci_reloc): Define new method.
-
-2009-05-31  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * incremental.cc (Incremental_inputs::report_command_line): Filter
-       out --incremental-* options.
-
-2009-05-29  Doug Kwan  <dougkwan@google.com>
-
-       * arm.cc (Output_data_plt_arm): Forward declaration for new
-       template class.
-       (class Target_arm): Update comment.
-       (Target_arm::Target_arm): Initialize new data members GOT_,
-       PLT_, GOT_PLT_, REL_DYN_, COPY_RELOCS_ and DYNBSS_.
-       Declare new methods Target_arm::got_section, Target_arm::make_plt_entry
-       and Target_arm::rel_dyn_section.
-       Declare new_enum Target_arm::Got_type.
-       Declare new data members GOT_, PLT_, GOT_PLT_, REL_DYN_, COPY_RELOCS_
-       and DYNBSS_.
-       Update commments for member do_dynsym_value.
-       (Target_arm::got_size, Target_arm::plt_section,
-       Target_arm::may_need_copy_reloc and Target_arm::copy_reloc): Define
-       new methods inside class defintion.
-       (Target_arm::got_section): Define new method.
-       (Target_arm::rel_dyn_section): Same.
-       (Output_data_plt_arm): New template class.
-       (Output_data_plt_arm::Output_data_plt_arm): Define constructor.
-       (Output_data_plt_arm:do_adjust_output_section): Define new method.
-       (Output_data_plt_arm::add_entry): Same.
-       (Output_data_plt_arm::first_plt_entry): Define new
-       static data member for PLT instruction template.
-       (Output_data_plt_arm::plt_entry): Same.
-       (Output_data_plt_arm::do_write): Define new method.
-       (Target_arm::make_plt_entry): Same.
-       (Target_arm::do_finalize_sections): Same.
-       (Target_arm::do_dynsym_value): Same.
-
-2009-05-28  Doug Kwan  <dougkwan@google.com>
-
-       * Makefile.am (TARGETSOURCES): Add arm.cc.
-       (ALL_TARGETOBJECTS): Add arm.$(OBJEXT)
-       * Makefile.in: Regenerate.
-       * arm.cc: New file.
-       * configure.tgt: Add armbe*-*-*, armeb*-*-* and arm*-*-* targets.
-
-2009-05-26  Doug Kwan  <dougkwan@google.com>
-
-       * options.cc (General_options::parse_exclude_libs).  Fix a comment.
-       (General_options::check_excluded_libs): Strip off directories in
-       archive name before matching like GNU ld does.
-       * testsuite/Makefile.am (MOSTLYCLEANFILES,
-       exclude_libs_test_DEPENDENCIES): Add alt/libexclude_libs_test_3.a
-       (exclude_libs_test_LDFLAGS): Add linker option
-       -Wl,--exclude-libs,libexclude_libs_test_3
-       (exclude_libs_test_LADD): Add alt/libexclude_libs_test_3.a as
-       an explicit archive without using -l.
-       (alt/libexclude_libs_test_3.a): New make rule.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/exclude_libs_test.c : Declare lib3_default().
-       (main): Call it.
-       * exclude_libs_test.sh: Add tests for alt/exclude_libs_test_3.a.
-       * exclude_libs_test_3.c: New file.
-
-2009-05-26  Nick Clifton  <nickc@redhat.com>
-
-       * po/id.po: New Indonesian translation.
-       * po/gold.pot: Updated template file.
-
-2009-05-22  Sriraman Tallam  <tmsriram@google.com>
-
-       * testsuite/Makefile.am: Add -ffunction-sections to compile
-       gc_comdat_test files.  Add -Wl,--gc-sections to build
-       gc_comdat_test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gc_comdat_test.sh: Fix the condition around grep.
-
-2009-05-21  Sriraman Tallam  <tmsriram@google.com>
-
-       * object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
-       kept comdat section was garbage collected.
-       * testsuite/Makefile.am: Add test gc_comdat_test.sh.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/gc_comdat_test.sh: New file.
-       * testsuite/gc_comdat_test_1.cc: New file.
-       * testsuite/gc_comdat_test_2.cc: New file.
-
-2009-05-19  Doug Kwan  <dougkwan@google.com>
-
-       * archive.cc (Archive::Archive): Move constructor from archive.h
-       to here.  Initialize no_export_.
-       (Archive::get_elf_object_for_member): Set no_export flag of object.
-       * archive.h (Archive::Archive): Move constructor body to
-       archive.cc.
-       (Archive::no_export): New method.
-       (Archive::no_export_): New field.
-       * object.h (Object::Object): Initialize no_export_ to false.
-       (Object::no_export, Object::set_no_export): New methods.
-       (Object::no_export_): New field.
-       * options.cc (General_options::parse_exclude_libs): New method.
-       (General_options::check_excluded_libs) Same.
-       * options.h (exclude_libs): New option.
-       (General_options::check_excluded_libs): New method declaration.
-       (General_options::excluded_libs_): New field.
-       * symtab.cc (Symbol_table::add_from_relobj): Hide symbols with
-       default or protected visibility if an object has no-export flag set.
-       testsuite/Makefile.am (check_PROGRAMS): Add exclude_libs_test.
-       (check_SCRIPTS): Add exclude_libs_test.sh.
-       (check_DATA): Add exclude_libs_test.syms.
-       (MOSTLYCLEANFILES): Add exclude_libs_test.syms,
-       libexclude_libs_test_1.a and libexclude_libs_test_2.a.
-       (exclude_libs_test_SOURCES, exclude_libs_test_DEPENDENCIES,
-       exclude_libs_test_LDFLAGS and exclude_libs_test_LDADD): Define.
-       (exclude_libs_test.syms, libexclude_libs_test_1.a,
-       libexclude_libs_test_2.a): New rules.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/exclude_libs_test.c: New file.
-       * testsuite/exclude_libs_test.sh: Ditto.
-       * testsuite/exclude_libs_test_1.c: Ditto.
-       * testsuite/exclude_libs_test_2.c: Ditto.
-
-2009-05-15  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Check for declarations for cases where libiberty.h
-       checks HAVE_DECL_xxx.
-       * configure, config.in: Rebuild.
-
-2009-05-15  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * gold.h (Incremental_argument_list): Remove (invalid) forward
-       declaration.
-       * incremental.cc (Incremental_inputs::report_achive): New method.
-       (Incremental_inputs::report_object): New method.
-       (Incremental_inputs::report_script): New method.
-       (Incremental_inputs::finalize_inputs): New method.
-       (Incremental_inputs::finalize): Call finalize_inputs().
-       (Incremental_inputs::sized_create_incremental_inputs_section_data):
-       Create inputs entries.
-       * incremental.h (Incremental_input_type): New enum.
-       (Incremental_inputs::Incremental_input): Initialize new fields.
-       (Incremental_inputs::report_inputs): New method.
-       (Incremental_inputs::report_achive): New method.
-       (Incremental_inputs::report_object): New method.
-       (Incremental_inputs::report_script): New method.
-       (Incremental_inputs::finalize_inputs): New method.
-       (Incremental_inputs::Input_info): New struct.
-       (Incremental_inputs::Input_info_map): New typedef.
-       (Incremental_inputs::lock_): New field.
-       (Incremental_inputs::Inputs_): New field.
-       (Incremental_inputs::Inputs_map): New field.
-       * main.cc (main): Call Incremental_input::report_inputs.
-       * options.h (Input_argument_list): Typedef moved from
-       Input_arguments.
-       (Input_file_group::Files): Remove, use ::Input_argument_list.
-       (Input_file_group::Input_argument_list): Remove, use
-       ::Input_argument_list.
-       * plugin.cc (Plugin_manager::add_input_file): Add error in
-       incremental build.
-       * read_syms.cc (do_read_syms): Call Incremental_input::report_*
-       functions.
-       * script.cc (read_input_script): Call
-       Incremental_input::report_script.
-       * script.h (Script_info): New class.
-
-2009-04-27  Ian Lance Taylor  <iant@google.com>
-
-       * x86_64.cc (do_adjust_output_section): Set entsize to
-       plt_entry_size.
-
-2009-04-23  Elliott Hughes  <enh@google.com>
-
-       * output.cc (Output_file::close): After short writes, continue
-       writing from the correct offset in the buffer being written.
-
-2009-04-23  Chris Demetriou  <cgd@google.com>
-
-       * configure.ac (HAVE_TR1_UNORDERED_MAP_REHASH): New define.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * gold.h: Avoid std::tr1::unordered_map and std::tr1::unordered_set
-       if HAVE_TR1_UNORDERED_MAP_REHASH is not defined.
-
-2009-04-21  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * incremental.cc (Incremental_inputs_header_data): Renamed from
-       Incremental_input_header_data.
-       (Incremental_inputs_header_data::data_size): New field.
-       (Incremental_inputs_header_data::put_input_file_count): Renamed
-       from input_file_count.
-       (Incremental_inputs_header_data::put_command_line_offset): Renamed
-       from command_line_offset.
-       (Incremental_inputs_header_data::put_reserved): Renamed from
-       put_reserved.
-       (Incremental_inputs_entry_data): Renamed from
-       Incremental_input_entry_data.
-       (Incremental_inputs_entry_data::data_size): New field.
-       (Incremental_inputs::report_command_line): New method.
-       (Incremental_inputs::finalize): New method.
-       (Incremental_inputs::create_incremental_inputs_data): New method.
-       (Incremental_inputs::sized_create_incremental_inputs_data): New method.
-       * incremental.h: New file.
-       * layout.cc (Layout::Layout): Handle new incremental_inputs_.
-       (Layout::finalize): Create incremental inputs section in
-       incremental builds.
-       (Layout::create_incremental_info_sections): New method.
-       * layout.h (Layout::incremental_inputs): New method.
-       (Layout::create_incremental_info_sections): New method.
-       (Layout::incremental_inputs_): New field.
-       * main.cc (main): Notify Incremental_input of the command line.
-
-2009-04-01  Ian Lance Taylor  <iant@google.com>
-           Mikolaj Zalewski  <mikolajz@google.com>
-
-       * gold.h (reserve_unordered_map): Define, three versions, one for
-       each version of Unordered_map.
-       * layout.cc (Layout::Layout): Remove options parameter.  Add
-       number_of_input_files parameter.  Don't initialize options_.
-       Initialize number_of_input_files_ and resized_signatures_.  Move
-       sections_are_attached_.
-       (Layout::layout_group): Reserve space for group_signatures_.
-       (Layout::find_or_add_kept_section): Change name parameter to be a
-       reference.  Resize signatures_ map when it gets large enough.
-       (Layout::layout_eh_frame): Use parameters->options() instead of
-       this->options_.
-       (Layout::make_output_section): Likewise.
-       (Layout::attach_allocated_section_to_segment): Likewise.
-       (Layout::finalize, Layout::create_executable_stack): Likewise.
-       (Layout::set_segment_offsets, Layout::create_interp): Likewise.
-       (Layout::finish_dynamic_section, Layout::write_binary): Likewise.
-       * layout.h (class Layout): Update declarations.  Remove options_
-       field.  Add number_of_input_files_ and resized_signatures_
-       fields.  Move sections_are_attached_ field.
-       * main.cc (main): Pass number of input files to Layout
-       constructor.  Don't pass options.
-
-2009-03-30  Ian Lance Taylor  <iant@google.com>
-
-       * ffsll.c (ffsll): Correct implementation.
-
-2009-03-27  Ian Lance Taylor  <iant@google.com>
-
-       * ffsll.c: New file.
-       * configure.ac: Call AC_REPLACE_FUNCS on ffsll.
-       * gold.h (ffsll): Declare if HAVE_FFSLL is not defined.
-       * ftruncate.c (ftruncate): Declare before definition.
-       * mremap.c (mremap): Likewise.
-       * pread.c (pread): Likewise.
-       * configure, Makefile.in, config.in: Rebuild.
-
-       * mremap.c: New file.
-       * configure.ac: Call AC_REPLACE_FUNCS on mremap.
-       * gold.h (MREMAP_MAYMOVE): Define if HAVE_MREMAP is not defined.
-       (mremap): Declare if HAVE_MREMAP is not defined.
-       * configure, Makefile.in, config.in: Rebuild.
-
-2009-03-27  Cary Coutant  <ccoutant@google.com>
-
-       * powerpc.cc (Target_powerpc::check_non_pic): Assert that output is
-       position independent.
-       * sparc.cc (Target_sparc::check_non_pic): Likewise.
-       * x86_64.cc (Target_x86_64::check_non_pic): Likewise.
-
-2009-03-24  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.h (needs_plt_entry): Check for unsatisfied reference from
-       an executable.
-       (needs_dynamic_reloc): Likewise.
-
-2009-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * yyscript.y (file_cmd): Recognize EXTERN.
-       (extern_name_list, extern_name_list_body): New nonterminals.
-       * script.cc (script_add_extern): Define.
-       * script-c.h (script_add_extern): Declare.
-
-2009-03-24  Rafael Avila de Espindola  <espindola@google.com>
-
-       * object.cc (is_elf_object): Define.
-       * object.h (is_elf_object): Declare.
-       * archive.cc (Archive::get_elf_object_for_member): Call
-       is_elf_object.
-       * readsyms.cc (Read_symbols::do_read_symbols): Likewise.
-
-2009-03-24  Elliott Hughes  <enh@google.com>
-
-       * output.cc (Output_file::map_anonymous): Define.
-       (Output_file::map): Use map_anonymous.  If the regular mmap fails,
-       try an anonymous one.  Report the size if the mmap fails.
-       * output.h (class Output_file): Declare map_anonymous.
-
-2009-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * target-select.cc (instantiate_target): Don't acquire the lock if
-       the instantiated_target_ field has already been set.
-
-2009-03-23  Ian Lance Taylor  <iant@google.com>
-
-       * gold-threads.h (class Initialize_lock): Define.
-       * gold-threads.cc (class Initialize_lock_once): Define.
-       (initialize_lock_control): New static variable.
-       (initialize_lock_pointer): New static variable.
-       (initialize_lock_once): New static function.
-       (Initialize_lock::Initialize_lock): Define.
-       (Initialize_lock::initialize): Define.
-       * target-select.h: Include "gold-threads.h".
-       (class Target_selector): Add lock_ and initialize_lock_ fields.
-       Don't define instantiate_target, just declare it.
-       * target-select.cc (Target_selector::Target_selector): Initialize
-       new fields.
-       (Target_selector::instantiate_target): Define.
-       * descriptors.h: Include "gold-threads.h".
-       (class Descriptors): Add initialize_lock_ field.
-       * descriptors.cc (Descriptors::Descriptors): Initialize new
-       field.
-       (Descriptors::open): Use initialize_lock_ field
-       * errors.h (class Errors): Add initialize_lock_ field.
-       * errors.cc (Errors::Errors): Initialize new field.
-       (Errors::initialize_lock): Use initialize_lock_ field.
-       * powerpc.cc (class Target_selector_powerpc): Remove
-       instantiated_target_ field.  In do_recognize call
-       instantiate_target rather than do_instantiate_target.  In
-       do_instantiate_target just allocate a new target.
-       * sparc.cc (class Target_selector_sparc): Likewise.
-
-       * freebsd.h: New file.
-       * i386.cc: Include "freebsd.h".
-       (Target_i386): Derive from Target_freebsd rather than
-       Sized_target.
-       (Target_selector_i386): Derive from Target_selector_freebsd rather
-       than Target_selector.
-       * x86_64.cc: Include "freebsd.h".
-       (Target_x86_64): Derive from Target_freebsd rather than
-       Sized_target.
-       (Target_selector_x86_64): Derive from Target_selector_freebsd
-       rather than Target_selector.
-       * target.h (class Target): Add adjust_elf_header and
-       do_adjust_elf_header.
-       * output.cc (Output_file_header:: do_sized_write): Call target
-       adjust_elf_header routine.
-       * configure.tgt: Set targ_osabi.
-       * configure.ac: Define GOLD_DEFAULT_OSABI.
-       * parameters.cc (Parameters::default_target): Pass
-       GOLD_DEFAULT_OSABI to select_target.
-       * target-select.h (class Target_selector): Make instantiate_target
-       protected rather than private.
-       * Makefile.am (HFILES): Add freebsd.h.
-       * configure, Makefile.in, config.in: Rebuild.
-
-       * merge.cc (do_add_input_section): Correct pend value.  Change
-       message about last entry not being null terminated from error to
-       warning.
-
-2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * incremental.cc: New file.
-       * Makefile.am (CCFILES): Add incremental.cc.
-       * Makefile.in: Rebuild.
-
-2009-03-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
-
-       * layout.cc (Layout::output_section_name): Preserve names
-       of '.note.' sections.
-
-2009-03-19  Ian Lance Taylor  <iant@google.com>
-
-       * descriptors.cc (Descriptors::open): Check that the options are
-       valid before using them.
-
-2009-03-18  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.h: Include <list>.
-       (class Script_sections): Change Sections_elements from std::vector
-       to std::list.  Typedef public Elements_iterator.  Add
-       orphan_section_placement_, data_segment_align_start_, and
-       saw_data_segment_align_ fields.  Remove data_segment_align_index_
-       field.
-       * script-sections.cc (class Orphan_section_placement): New class.
-       (class Sections_element): Add virtual functions is_relro and
-       orphan_section_init.  Remove virtual function place_orphan_here.
-       (class Output_section_definition): Add is_relro and
-       orphan_section_init.  Remove place_orphan_here.
-       (class Orphan_output_section): Likewise.
-       (Script_sections::Script_sections): Update for field changes.
-       (Script_sections::data_segment_align): Set saw_data_segment_align_
-       and data_segment_align_start_, not data_segment_align_index.
-       (Script_sections::data_segment_relro_end): Check
-       saw_data_segment_align_.  Use data_segment_align_start_ rather
-       than data_segment_align_index_.
-       (Script_sections::place_orphan): Rewrite to use
-       Orphan_section_placement.
-
-2009-03-17  Ian Lance Taylor  <iant@google.com>
-
-       * archive.cc (Archive::add_symbols): Check for a version attached
-       to the symbol name in the archive map.
-       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_11.
-       (ver_test_11_SOURCES, ver_test_11_DEPENDENCIES): Define.
-       (ver_test_11_LDFLAGS, ver_test_11_LDADD): Define.
-       (ver_test_11.a): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-       * configure.ac: Check for chsize and posix_fallocate.  Replace
-       ftruncate.
-       * ftruncate.c: New file, from gnulib.
-       * output.cc (posix_fallocate): Define dummy version if not
-       HAVE_POSIX_FALLOCATE.
-       (Output_file::map): Call posix_fallocate rather than lseek and
-       write.
-       * gold.h (ftruncate): Declare if not HAVE_FTRUNCATE.
-       * configure, Makefile.in, config.in: Rebuild.
-
-2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
-
-       * layout.h (Layout::create_note): Add section_name parameter.
-       * layout.cc (Layout::create_note): Likewise.
-       (Layout::create_build_id, Layout::create_gold_note): Fix callers.
-
-2009-03-17  Ian Lance Taylor  <iant@google.com>
-
-       * descriptors.cc: Include "options.h".
-       (FD_CLOEXEC, O_CLOEXEC): Define if not defined.
-       (Descriptors::open): Always use O_CLOEXEC when opening a new
-       descriptor.  If we have a plugin, and O_CLOEXEC was not defined,
-       then set FD_CLOEXEC.
-
-       * sparc.cc (class Target_sparc): Add has_got_section.
-       (Target_sparc::Scan::global): If we see _GLOBAL_OFFSET_TABLE_,
-       make sure we have a GOT section.
-
-       * sparc.cc (optimize_tls_reloc): Recognize R_SPARC_TLS_IE_ADD.
-       (Target_sparc::Scan::local): Likewise.
-       (Target_sparc::Scan::global): Likewise.
-       (Target_sparc::Relocate::relocate): Likewise.
-       (Target_sparc::Relocate::relocate_tls): Likewise.
-
-       * symtab.cc (Symbol_table::define_default_version): New function,
-       broken out of add_from_object.
-       (Symbol_table::add_from_object): Call define_default_version.
-       (Symbol_table::define_special_symbol): Add resolve_oldsym
-       parameter.  Change all callers.  If the version for a symbol comes
-       from a version script, resolve it with the symbol with the same
-       name with no version.  Also add the symbol without a version if
-       appropriate.
-       (do_define_in_output_data): If resolving with oldsym, don't delete
-       sym.
-       (do_define_in_output_segment): Likewise.
-       (do_define_as_constant): Likewise.
-       * symtab.h (class Symbol_table): Update declarations.
-
-2009-03-13  Ian Lance Taylor  <iant@google.com>
-
-       * readsyms.cc (Read_symbols::incompatible_warning): New function.
-       (Read_symbols::requeue): New function.
-       (Read_symbols::do_read_symbols): If make_elf_object fails because
-       the target type is not configured, and the file was searched for,
-       issue a warning and retry with the next directory.
-       (Add_symbols::run): If the file has an incompatible format, and
-       it was searched for, requeue the Read_symbols task.  On error,
-       release the object.
-       * readsyms.h (class Read_symbols): Add dirindex_ field.  Add
-       dirindex parameter to constructor.  Change all callers.  Declare
-       incompatible_warning and requeue.
-       (class Add_symbols): Add dirpath_, dirindex_, mapfile_,
-       input_argument_ and input_group_ fields.  Add them to
-       constructor.  Change all callers.
-       (class Read_script): Add dirindex_ field.  Add it to constructor.
-       Change all callers.
-       * archive.cc (Archive::setup): Remove input_objects parameter.
-       Change all callers.
-       (Archive::get_file_and_offset): Likewise.
-       (Archive::read_all_symbols): Likewise.
-       (Archive::read_symbols): Likewise.
-       (Archive::get_elf_object_for_member): Remove input_objects
-       parameter.  Add punconfigured parameter.  Change all callers.
-       (Archive::add_symbols): Change return type to bool.  Check return
-       value of include_member.
-       (Archive::include_all_members): Likewise.
-       (Archive::include_member): Change return type to bool.  Return
-       false if first included object has incompatible target.  Set
-       included_member_ field.
-       (Add_archive_symbols::run): If add_symbols returns false, requeue
-       Read_symbols task.
-       * archive.h (class Archive): Add included_member_ field.
-       Initialize it in constructor.  Add input_file and searched_for
-       methods.  Update declarations.
-       (class Add_archive_symbols): Add dirpath_, dirindex_, and
-       input_argument_ fields.  Add them to constructor.  Change all
-       callers.
-       * script.cc: Include "target-select.h".
-       (class Parser_closure): Add skip_on_incompatible_target_ and
-       found_incompatible_target_ fields.  Add
-       skip_on_incompatible_target parameter to constructor.  Change all
-       callers.  Add methods skip_on_incompatible_target,
-       clear_skip_on_incompatible_target, found_incompatible_target, and
-       set_found_incompatible_target.
-       (read_input_script): Add dirindex parameter.  Change all callers.
-       If parser finds an incompatible target, requeue Read_symbols
-       task.
-       (script_set_symbol): Clear skip_on_incompatible_target in
-       closure.
-       (script_add_assertion, script_parse_option): Likewise.
-       (script_start_sections, script_add_phdr): Likewise.
-       (script_check_output_format): New function.
-       * script.h (read_input_script): Update declaration.
-       * script-c.h (script_check_output_format): Declare.
-       * yyscript.y (file_cmd): Handle OUTPUT_FORMAT.
-       (ignore_cmd): Remove OUTPUT_FORMAT.
-       * fileread.cc (Input_file::Input_file): Add explicit this.
-       (Input_file::will_search_for): New function.
-       (Input_file::open): Add pindex parameter.  Change all callers.
-       * fileread.h (class Input_file): Add input_file_argument method.
-       Declare will_search_for.  Update declarations.
-       * object.cc (make_elf_object): Add punconfigured parameter.
-       Change all callers.
-       * object.h (class Object): Make input_file public.  Add
-       searched_for method.
-       (make_elf_object): Update declaration.
-       * dirsearch.cc (Dirsearch::find): Add pindex parameter.  Use it to
-       restart search.
-       * dirsearch.h (class Dirsearch): Update declaration.
-       * options.h (class General_options): Add --warn-search-mismatch.
-       * parameters.cc (Parameters::is_compatible_target): New function.
-       * parameters.h (class Parameters): Declare is_compatible_target.
-       * workqueue.cc (Workqueue::add_blocker): New function.
-       * workqueue.h (class Workqueue): Declare add_blocker.
-
-       * fileread.cc (Input_file::open): Remove options parameter.
-       Change all callers.
-       (Input_file::open_binary): Likewise.
-       * script.cc (read_input_script): Likewise.
-       * readsyms.h (class Read_symbols): Remove options_ field.  Remove
-       options parameter from constructor.  Change all callers.
-       (class Read_script): Likewise.
-       * fileread.h (class Input_file): Update declarations.
-       * script.h (read_input_script): Update declaration.
-
-2009-03-10  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: New Spanish translation.
-
-2009-03-06  Cary Coutant  <ccoutant@google.com>
-
-       * options.cc (parse_short_option): Keep dash_z from registering itself.
-
-2009-03-03  Ian Lance Taylor  <iant@google.com>
-
-       PR 9918
-       * target-reloc.h (relocate_section): Pass output_section to
-       relocate.
-       * i386.cc (Target_i386::should_apply_static_reloc): Add
-       output_section parameter.  Change all callers.
-       (Target_i386::Relocate::relocate): Add output_section parameter.
-       * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
-       * sparc.cc (Target_sparc::Relocate::relocate): Likewise.
-       * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
-       * testsuite/two_file_shared.sh: New script.
-       * testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh.
-       (check_DATA): Add two_file_shared.dbg.
-       (two_file_shared.dbg): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2009-03-01  Ian Lance Taylor  <iant@google.com>
-
-       * configure.ac: Check for byteswap.h.
-       * configure: Rebuild.
-       * config.in: Rebuild.
-
-2009-03-01  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * layout.cc (Layout::find_or_add_kept_section): New function.
-       (Layout::add_comdat): Removed.
-       * layout.h (struct Kept_section): Move out of class Layout.
-       Remove trailing underscores from field names.  Add group_sections
-       field.  Rename group_ field to is_group.  Change all uses.
-       (class Layout): Declare find_or_add_kept_section, not add_comdat.
-       * object.cc (Sized_relobj::Sized_relobj): Don't initialize
-       comdat_groups_ field.
-       (Sized_relobj::include_section_group): Use
-       find_or_add_kept_section and Kept_section::group_sections.
-       (Sized_relobj::include_linkonce_section): Likewise.
-       * object.cc (class Sized_relobj): Don't define Comdat_group or
-       Comdat_group_table.  Remove find_comdat_group and
-       add_comdat_group.  Remove comdat_groups_ field.
-       * plugin.cc (include_comdat_group): Use
-       Layout::find_or_add_kept_section.
-
-2009-02-28  Ian Lance Taylor  <iant@google.com>
-
-       * README: --gc-sections and map files are now supported.  Document
-       some build requirements.
-
-       PR 6992
-       * symtab.cc (Symbol_table::sized_write_section_symbol): In a
-       relocatable link set the value of the section symbol to zero.
-       * object.cc (Sized_relobj::do_finalize_local_symbols): In a
-       relocatable link don't include the section address in the local
-       symbol value.
-
-2009-02-27  Ian Lance Taylor  <iant@google.com>
-
-       PR 6811
-       * options.h (class Search_directory): Add is_system_directory.
-       (class General_options): Declare is_in_system_directory.
-       * options.cc (get_relative_sysroot): Make static.
-       (get_default_sysroot): Make static.
-       (General_optoins::is_in_system_directory): New function.
-       * fileread.cc (Input_file::is_in_system_directory): New function.
-       * fileread.h (class Input_file): Declare is_in_system_directory.
-       * object.h (class Object): Add is_in_system_directory.
-       (class Input_objects): Remove system_library_directory_ field.
-       * object.cc (Input_objects::add_object): Don't set
-       system_library_directory_.
-       (input_objects::found_in_system_library_directory): Remove.
-       * symtab.cc (Symbol_table::write_globals): Remove input_objects
-       parameter.  Change all callers.
-       (Symbol_table::sized_write_globals): Likewise.
-       (Symbol_table::warn_about_undefined_dynobj_symbol): Likewise.
-       Call Object::is_in_system_directory.
-       * symtab.h (class Symbol_table): Update declarations.
-
-       PR 5990
-       * descriptors.h (Open_descriptor): Add is_on_stack field.
-       * descriptors.cc (Descriptors::open): If the descriptor is on the
-       top of the stack, remove it.  Initialize is_on_stack field.
-       (Descriptors::release): Only add pod to stack if it is not on the
-       stack already.
-       (Descriptors::close_some_descriptor): Clear stack_next and
-       is_on_stack fields.
-
-       PR 7091
-       * output.cc (Output_section::find_starting_output_address): Rename
-       from starting_output_address; add PADDR parameter; change return
-       type.
-       * output.h (class Output_section): Declare
-       find_starting_output_address instead of starting_output_address.
-       * object.cc (Sized_relobj::do_finalize_local_symbols): Handle a
-       section symbol for which we can't find a merge section.
-
-       PR 9836
-       * symtab.cc (Symbol_table::add_from_object): If the visibility is
-       hidden or internal, force the symbol to be local.
-       * resolve.cc (Symbol::override_visibility): Define.
-       (Symbol::override_base): Use override_visibility.
-       (Symbol_table::resolve): Likewise.
-       (Symbol::override_base_with_special): Likewise.
-       (Symbol_table::override_with_special): If the visibility is hidden
-       or internal, force the symbol to be local.
-       * symtab.h (class Symbol): Add set_visibility and
-       override_visibility.
-       * testsuite/ver_test_1.sh: New file.
-       * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_1.sh.
-       (check_DATA): Add ver_test_1.syms.
-       (ver_test_1.syms): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2009-02-25  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::choose_output_section): Don't rename sections
-       when using a linker script that has a SECTIONS clause.
-       * Makefile.in: Regenerate.
-
-       * testsuite/Makefile.am (script_test_5.sh): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/script_test_5.cc: New file.
-       * testsuite/script_test_5.sh: New file.
-       * testsuite/script_test_5.t: New file.
-
-2009-02-13  Rafael Avila de Espindola  <espindola@google.com>
-
-       * archive.cc (Archive::include_member): Update calls to add_symbols.
-       * dynobj.cc (Sized_dynobj<size, big_endian>::make_version_map): Add
-       the Layout argument.
-       * dynobj.h (do_add_symbols): Add the Layout argument.
-       * object.cc (Sized_relobj<size, big_endian>::do_add_symbols): Add the
-       Layout argument.
-       * object.h (Object::add_symbols): Add the Layout argument.
-       (Object::do_add_symbols): Add the Layout argument.
-       (Sized_relobj::do_add_symbols): Add the Layout argument.
-       * plugin.cc (Sized_pluginobj<size, big_endian>::do_add_symbols):
-       Unify the two versions.
-       (Add_plugin_symbols): Remove.
-       * plugin.h (Pluginobj::add_symbols, Pluginobj::do_add_symbols): Remove.
-       (Sized_pluginobj::do_add_symbols): Unify the two versions.
-       (Add_plugin_symbols): Remove.
-       * readsyms.cc (Read_symbols::do_read_symbols): Update call to
-       Add_symbols. Use Add_symbols instead of Add_plugin_symbols.
-       (Add_symbols::run): Make it work with Pulginobj.
-
-2009-02-06  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj::do_layout): Make info message start
-       with lower case letter.
-
-2009-02-06  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * binary.cc: Fix file comment.
-
-       * options.h (enum Incremental_disposition): Define.
-       (class General_options): Add new options: --incremental,
-       --incremental_changed, --incremental_unchanged,
-       --incremental_unknown.  Add incremental_disposition_ and
-       implicit_incremental_ fields.
-       (General_options::incremental_disposition): New function.
-       (class Position_dependent_options): Add incremental_disposition
-       option.
-       (Position_dependent_options::copy_from_options): Set incremental
-       dispositions.
-       * options.cc (General_options::parse_incremental_changed): New
-       function.
-       (General_options::parse_incremental_unchanged): New function.
-       (General_options::parse_incremental_unknown): New function.
-       (General_options::General_options): Initialize new fields
-       incremental_disposition_ and implicit_incremental_.
-       (General_options::finalize): Check for uasge of --incremental-*
-       without --incremental.
-
-2009-02-06  Chris Demetriou  <cgd@google.com>
-
-       * gold.h (gold_undefined_symbol): Change to take only a Symbol
-       pointer and to report location as the file name associated with
-       the symbol.
-       (gold_undefined_symbol_at_location): New function to replace the
-       old gold_undefined_symbol functionality.
-       * target-reloc.h (relocate_section): Update to use
-       gold_undefined_symbol_at_location.
-       * symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
-       Call gold_undefined_symbol function rather than gold_error.
-       * errors.h (Errors::undefined_symbol): Take location as a
-       string, rather than calculating it from a relocation.
-       * errors.cc (Errors::fatal): Print "fatal error:" before the
-       formatted message.
-       (Errors::error, Errors::error_at_location): Print "error: "
-       before the formatted message.
-       (Errors::undefined_symbol): Take location as a string, rather
-       than calculating it from a relocation.
-       (gold_undefined_symbol_at_location): New function akin to
-       old gold_undefined_symbol, calculates location from relocation.
-       (gold_undefined_symbol): Change to take only a Symbol pointer
-       and to report location as the file name associated with the symbol.
-       * testsuite/debug_msg.sh: Update for changed error messages.
-       * testsuite/undef_symbol.sh: Likewise.
-
-2009-02-04  Duncan Sands  <baldrick@free.fr>
-
-       PR 9812
-       * reduced_debug_output.h
-       (Output_reduced_debug_abbrev_section::failed): Use format for
-       gold_warning.
-       (Output_reduced_debug_info_section::faild): Likewise.
-
-2009-01-31  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * script.cc (Lazy_demangler): New class.
-       (Version_script_info::get_symbol_version_helper): Demangle a
-       symbol only once.
-
-2009-01-29  Cary Coutant  <ccoutant@google.com>
-
-       * i386.cc (Target_i386::Relocate::relocate): Recognize non-PIC calls
-       to __tls_get_addr.
-       * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
-
-2009-01-28  Ian Lance Taylor  <iant@google.com>
-
-       * version.cc (version_string): Bump to 1.9.
-
-       * gold.h: Include <cstring> and <stdint.h>.
-       * version.cc: Include <cstdio>.
-       * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a
-       warning.
-       * reduced_debug_output.cc (insert_into_vector): Rename from
-       Insert_into_vector; change all callers.  Use Swap_unaligned to
-       avoid aliasing issue; remove union since it is unnecessary.
-
-2009-01-27  Sriraman Tallam  <tmsriram@google.com>
-
-       * Makefile.am (CCFILES): Add gc.cc.
-       (HFILES): Add gc.h.
-       * Makefile.in: Regenerate.
-       * gold.cc (Gc_runner): New class.
-       (queue_initial_tasks): Call garbage collection related tasks
-       when corresponding options are invoked.
-       (queue_middle_gc_tasks): New function.
-       (queue_middle_tasks): Reorder tasks to allow relocs to be read and
-       processed early before laying out sections during garbage collection.
-       * gold.h (queue_middle_gc_tasks): New function.
-       (is_prefix_of): Move from "layout.cc".
-       * i386.cc (Target_i386::gc_process_relocs): New function.
-       * layout.cc (is_prefix_of): Remove. Move to "gold.h"
-       * main.cc (main): Create object of class "Garbage_collection".
-       * object.cc (Relobj::copy_symbols_data): New function.
-       (Relobj::is_section_name_included): New function.
-       (Sized_relobj::do_layout): Allow this function to be called twice
-       during garbage collection and defer layout of section during the
-       first call.
-       * object.h (Relobj::get_symbols_data): New function.
-       (Relobj::is_section_name_included): New function.
-       (Relobj::copy_symbols_data): New function.
-       (Relobj::set_symbols_data): New function.
-       (Relobj::get_relocs_data): New function.
-       (Relobj::set_relocs_data): New function.
-       (Relobj::is_output_section_offset_invalid): New pure virtual function.
-       (Relobj::gc_process_relocs): New function.
-       (Relobj::do_gc_process_relocs): New pure virtual function.
-       (Relobj::sd_): New data member.
-       (Sized_relobj::is_output_section_offset_invalid): New function.
-       (Sized_relobj::do_gc_process_relocs): New function.
-       * options.h (General_options::gc_sections): Modify to not be a no-op.
-       (General_options::print_gc_sections): New option.
-       * plugin.cc (Plugin_finish::run): Remove function call to
-       Plugin_manager::layout_deferred_objects.  Move it to "gold.cc".
-       * powerpc.cc (Target_powerpc::gc_process_relocs): New function.
-       * reloc.cc (Read_relocs::run): Add task to process relocs and
-       determine unreferenced sections when doing garbage collection.
-       (Gc_process_relocs): New class.
-       (Sized_relobj::do_gc_process_relocs): New function.
-       (Sized_relobj::do_scan_relocs): Don't try to scan the relocs for
-       sections that are garbage collected.
-       * reloc.h (Gc_process_relocs): New class.
-       * sparc.cc (Target_sparc::gc_process_relocs): New function.
-       * symtab.cc (Symbol::should_add_dynsym_entry): Do not add entries for
-       symbols whose corresponding sections are garbage collected.
-       (Symbol_table::Symbol_table): Add new parameter for the garbage
-       collection object.
-       (Symbol_table::gc_mark_undef_symbols): New function.
-       (Symbol_table::gc_mark_symbol_for_shlib): New function.
-       (Symbol_table::gc_mark_dyn_syms): New function.
-       (Symbol_table::resolve): Do not treat symbols seen in dynamic objects
-       as garbage.
-       (Symbol_table::add_from_object): Likewise.
-       (Symbol_table::add_from_relobj): When building shared objects, do not
-       treat externally visible symbols as garbage.
-       (Symbol_table::sized_finalize_symbol): Do not check dynamic symbol
-       table information for static and relocatable links.
-       * symtab.h (Symbol_table::set_gc): New function.
-       (Symbol_table::gc): New function.
-       (Symbol_table::gc_mark_undef_symbols): New function.
-       (Symbol_table::gc_mark_symbol_for_shlib): New function.
-       (Symbol_table::gc_mark_dyn_syms): New function.
-       (Symbol_table::gc_): New data member.
-       * target.h (Sized_target::gc_process_relocs): New pure virtual
-       function.
-       * x86_64.cc (Target_x86_64::gc_process_relocs): New function.
-       * testsuite/testfile.cc (Target_test::gc_process_relocs): New function.
-
-2009-01-20  Chris Faylor <me.sourceware@sourceware.org>
-
-       * options.h (General_options::gc_sections): Define as a no-op for now.
-       (General_options::no_keep_memory): Ditto.
-       (General_options::Bshareable): Define.
-       * options.cc (General_options::finalize): Honor -Bshareable.
-
-2009-01-20  Andreas Schwab  <schwab@suse.de>
-
-       * powerpc.cc (Powerpc_relocate_functions::rel16_ha): Don't try to
-       read the value in the contents, since we don't use it.  Use the
-       template endianness when writing.
-       (Relocate::relocate): Use it for R_PPC_REL16_HA.
-
-2009-01-19  Andreas Schwab  <schwab@suse.de>
-
-       * configure.tgt (powerpc64-*): Fix targ_obj.
-
-2009-01-15  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj::write_local_symbols): Don't write out
-       local symbols when stripping all symbols.
-
-2009-01-14  Cary Coutant  <ccoutant@google.com>
-
-       * output.cc (Output_reloc): Add explicit instantiations.
-
-2009-01-14  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Archive::get_elf_object_for_member): Remove call
-       to File_read::claim_for_plugin.
-       * descriptors.cc (Descriptors::open): Remove reference to
-       is_claimed.
-       (Descriptors::claim_for_plugin): Remove.
-       * descriptors.h (Descriptors::claim_for_plugin): Remove.
-       (Descriptors::is_claimed): Remove.
-       (claim_descriptor_for_plugin): Remove.
-       * fileread.cc (File_read::claim_for_plugin): Remove.
-       * fileread.h (File_read::claim_for_plugin): Remove.
-       (File_read::descriptor): Reopen descriptor if necessary.
-       * plugin.cc  (Plugin::load): Add two new APIs to transfer vector.
-       (Plugin_manager::all_symbols_read): Add task parameter. Change
-       all callers.
-       (Plugin_manager::get_input_file): New function.
-       (Plugin_manager::release_input_file): New function.
-       (Pluginobj::Pluginobj): Add filesize parameter and initialize
-       corresponding data member.
-       (Sized_pluginobj::Sized_pluginobj): Add filesize parameter
-       and pass to base constructor. Change all callers.
-       (get_input_file, release_input_file): New functions.
-       (make_sized_plugin_object): Add filesize parameter. Change all callers.
-       * plugin.h (Plugin_manager::Plugin_manager): Initialize task_ member.
-       (Plugin_manager::all_symbols_read): Add task parameter.
-       (Plugin_manager::get_input_file): New function.
-       (Plugin_manager::release_input_file): New function.
-       (Plugin_manager::task_): New data member.
-       (Pluginobj::Pluginobj): Add filesize parameter.
-       (Pluginobj::filename): New function.
-       (Pluginobj::descriptor): New function.
-       (Pluginobj::filesize): New function.
-       (Pluginobj::filesize_): New data member.
-       (Sized_pluginobj::Sized_pluginobj): Add filesize parameter.
-       * readsyms.cc (Read_symbols::do_read_symbols): Remove call to
-       File_read::claim_for_plugin; use Object::unlock to unlock the file.
-
-       * testsuite/Makefile.am (plugin_test_4): New test case for plugins
-       with archive libraries.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test.c (struct sym_info): New type.
-       (get_input_file, release_input_file): New static variables.
-       (onload): Capture new transfer vector entries.
-       (claim_file_hook): Stop reading at end of file according to filesize.
-       Factor out parsing of readelf output into separate function.
-       (all_symbols_read_hook): Exercise get_input_file and release_input_file
-       APIs and get the source file name from the symbol table.  Convert
-       source file name to corresponding object file name.  Print info
-       message when adding new input files.
-       (parse_readelf_line): New function.
-       * testsuite/plugin_test_1.sh: Add checks for new info messages.
-       * testsuite/plugin_test_2.sh: Likewise.
-       * testsuite/plugin_test_3.sh: Likewise.
-       * testsuite/plugin_test_4.sh: New test case.
-
-2009-01-07  Ian Lance Taylor  <iant@google.com>
-
-       * version.cc (version_string): Bump to 1.8.
-
-2008-12-23  Cary Coutant  <ccoutant@google.com>
-
-       * gold.cc (gold_exit): Call plugin cleanup handlers on exit.
-       * plugin.cc (Plugin_manager::finish): Rename as
-       layout_deferred_objects.  Move cleanup to separate function.
-       (Plugin_manager::cleanup): New function.
-       (Plugin_finish::run): Call layout_deferred_objects and cleanup
-       separately.
-       * plugin.h (Plugin_manager::finish): Rename as
-       layout_deferred_objects.
-       (Plugin_manager::cleanup): New function.
-       (Plugin_manager::cleanup_done): New field.
-
-2008-12-23  Cary Coutant  <ccoutant@google.com>
-
-       * plugin.cc (is_visible_from_outside): New function.
-       (Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside
-       so we don't return "IR only" status for exported symbols or -r links.
-
-       * testsuite/Makefile.am (plugin_test_3): New test case.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test_3.sh: New file.
-
-2008-12-22  Cary Coutant  <ccoutant@google.com>
-
-       * object.cc (Sized_relobj::layout_section): New function.
-       (Sized_relobj::do_layout): Defer layout of input sections until after
-       plugin has provided replacement files.
-       (Sized_relobj::do_layout_deferred_sections): New function.
-       * object.h (Relobj::set_section_offset): Remove virtual keyword.
-       (Relobj::layout_deferred_sections): New function.
-       (Relobj::do_layout_deferred_sections): New function.
-       (Sized_relobj::do_layout_deferred_sections): New function.
-       (Sized_relobj::layout_section): New function.
-       (Sized_relobj::Deferred_layout): New structure.
-       (Sized_relobj::deferred_layout_): New field.
-       * plugin.cc (Plugin_manager::finish): Renamed, was cleanup.
-       Change all callers.  Layout deferred sections.
-       (class Plugin_finish): Renamed, was Plugin_cleanup.  Change all
-       references.
-       (Plugin_hook::run): Move code from do_plugin_hook inline.
-       (Plugin_hook::do_plugin_hook): Remove.
-       * plugin.h (Plugin_manager::Plugin_manager): Add missing initializers.
-       (Plugin_manager::finish): Renamed, was cleanup.
-       (Plugin_manager::should_defer_layout): New function.
-       (Plugin_manager::add_deferred_layout_object): New function.
-       (Plugin_manager::Deferred_layout_list): New type.
-       (Plugin_manager::deferred_layout_objects_): New field.
-       (Plugin_hook::do_plugin_hook): Remove.
-
-2008-12-17  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Add --no case for
-       --export-dynamic.
-
-2008-12-16  Cary Coutant  <ccoutant@google.com>
-
-       * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
-       vector.
-       (Plugin_manager::claim_file): Create plugin object even if
-       plugin did not call the add_symbols callback.
-       (Plugin_obj::get_symbol_resolution_info): Guard against plugin
-       asking for more symbols than were added.
-       * testsuite/Makefile.am (plugin_test_1): Add test case with
-       no global symbols.
-       (empty.syms): New target.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test.c (claim_file_hook): Add new debug
-       message. Don't call add_symbols if no globals.
-       (all_symbols_read_hook): Don't provide replacement for empty
-       claimed file.
-
-2008-12-12  Ian Lance Taylor  <iant@google.com>
-
-       * target-reloc.h (Default_scan_relocatable_relocs): Only discard
-       r_type == 0 for a local symbol with r_sym == 0.
-       (scan_relocatable_relocs): Pass r_sym to
-       local_non_section_strategy.
-       * reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add
-       r_sym parameter.
-
-       * configure.ac: Update test for TLS descriptors: they are
-       supported as of glibc 2.9.
-       * configure: Rebuild.
-
-2008-12-11  Ian Lance Taylor  <iant@google.com>
-
-       PR 7091
-       * target-reloc.h (Default_scan_relocatable_relocs): For each
-       function, map r_type == 0 to RELOC_DISCARD.
-
-2008-12-10  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacement
-       object to override a kept COMDAT group from a plugin object.
-
-2008-12-09  Ian Lance Taylor  <iant@google.com>
-
-       PR 7088
-       * yyscript.y (file_cmd): Handle INPUT.
-
-       * testsuite/initpri1.c: Change all declarations to be full
-       prototypes by adding void, to avoid compiler warnings.
-
-2008-12-05  Rafael Avila de Espindola  <espindola@google.com>
-
-       * options.cc (General_options::parse_plugin_opt): New.
-       (General_options::add_plugin): The argument now is just the filename.
-       (General_options::add_plugin_option): New.
-       * options.h (plugin_opt): New.
-       (add_plugin): Change argument name.
-       (add_plugin_option): New.
-       * plugin.cc (Plugin::load): Don't parse the plugin option.
-       * plugin.h (Plugin::Plugin): Rename argument. Init filename_.
-       (Plugin::add_option): New.
-       (Plugin::args_): Change type.
-       (Plugin::filename_): New.
-       (Plugin_manager::add_plugin_option): New.
-       * testsuite/Makefile.am (plugin_test_1): Use new syntax.
-       * testsuite/Makefile.in: Regenerate.
-
-2008-12-05  Cary Coutant  <ccoutant@google.com>
-
-       * layout.cc (Layout::include_section): Check for SHF_EXCLUDE.
-       Handle --strip-lto-sections option.
-       * options.h (strip_lto_sections): New option.
-
-2008-12-01  Cary Coutant  <ccoutant@google.com>
-
-       * plugin.cc (ld_plugin_message): Change format parameter to const.
-       Fix mismatch between new[] and delete.
-
-2008-11-14  Cary Coutant  <ccoutant@google.com>
-
-       * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
-       instead of -1U.
-
-2008-11-05  Craig Silverstein  <csilvers@google.com>
-
-       * options.cc (General_options::parse_dynamic_list): New function.
-       * options.h (General_options): New flags dynamic_list,
-       dynamic_list_data, dynamic_list_cpp_new, and
-       dynamic_list_cpp_typeinfo.  New variable dynamic_list_.
-       (General_options::in_dynamic_list): New function.
-       * script.cc (Lex::Mode): New enum DYNAMIC_LIST.
-       (Lex::can_start_name): Add support for DYNAMIC_LIST mode.
-       (Lex::can_continue_name): Likewise.
-       (yylex): Likewise.
-       (read_script_file): New parameter script_options.
-       (read_dynamic_list): New function.
-       (Script_options::define_dynamic_list): New function.
-       (dynamic_list_keyword_parsecodes): New variable.
-       (dynamic_list_keywords): New variable.
-       * script.h (Script_options::define_dynamic_list): New function
-       prototype.
-       (read_dynamic_list): New function prototype.
-       * symtab.cc (strprefix): New macro.
-       (Symbol::should_add_dynsym_entry): Support dynamic_list,
-       dynamic_list_data, dynamic_list_cpp_new, and
-       dynamic_list_cpp_typeinfo.
-       * yyscript.y (PARSING_DYNAMIC_LIST): New token.
-       (dynamic_list_expr): New rule.
-       (dynamic_list_nodes): Likewise.
-       (dynamic_list_node): Likewise.
-       * testsuite/Makefile.am (dynamic_list): New test.
-       * testsuite/Makefile.in: Regenerated.
-       * testsuite/dynamic_list.t: New file.
-       * testsuite/dynamic_list.sh: New file.
-
-2008-11-05  Craig Silverstein  <csilvers@google.com>
-
-       * testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
-       * testsuite/tls_test_c.c (t11): Add explicit "void" to prototype.
-       (t11_last): Likewise.
-       * testsuite/ver_test_6.c (main): Likewise.
-
-2008-10-07  Cary Coutant  <ccoutant@google.com>
-
-       * options.c (General_options::finalize): Add check for -static and
-       -shared.
-       * gold.cc (queue_middle_tasks): Assert that list of dynamic objects
-       is not empty.
-
-2008-10-02  Cary Coutant  <ccoutant@google.com>
-
-       * plugin.cc (make_sized_plugin_object): Fix conditional
-       compilation to work when not all targets are enabled.
-
-2008-09-29  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Archive::get_file_and_offset): Use filename instead
-       of name to get library path.
-       (Archive::include_member): Unlock external member of a thin archive.
-
-       * testsuite/Makefile.am (TEST_AR): New variable.
-       (thin_archive_test_1): New test.
-       (thin_archive_test_2): New test.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/thin_archive_main.cc: New file.
-       * testsuite/thin_archive_test_1.cc: New file.
-       * testsuite/thin_archive_test_2.cc: New file.
-       * testsuite/thin_archive_test_3.cc: New file.
-       * testsuite/thin_archive_test_4.cc: New file.
-
-2008-09-29  Cary Coutant  <ccoutant@google.com>
-
-       * mapfile.cc (Mapfile::print_input_section): Change -1U to -1ULL.
-       * object.cc (Sized_relobj::do_layout): Use constant invalid_address
-       instead of -1U.
-       (Sized_relobj::do_finalize_local_symbols): Likewise.
-       (Sized_relobj::map_to_kept_section): Likewise.
-       * object.h (Sized_relobj::invalid_address): New constant.
-       (Sized_relobj::do_output_section_offset): Check for invalid_address
-       and return -1ULL.
-       * output.cc (Output_reloc::local_section_offset): Use constant
-       invalid_address instead of -1U.
-       (Output_reloc::get_address): Likewise.
-       (Output_section::output_address): Change -1U to -1ULL.
-       * output.h (Output_reloc::invalid_address): New constant.
-       * reloc.cc (Sized_relobj::write_sections): Use constant
-       invalid_address instead of -1U.
-       (Sized_relobj::relocate_sections): Likewise.
-       * symtab.cc (Symbol_table::sized_finalize_symbol): Handle symbol
-       values for merge sections.
-       * target-reloc.h (relocate_for_relocatable): Use constant
-       invalid_address instead of -1U.
-
-2008-09-19  Cary Coutant  <ccoutant@google.com>
-
-       Add plugin functionality for link-time optimization (LTO).
-       * configure.ac (plugins): Add --enable-plugins option.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * Makefile.am (LIBDL): New variable.
-       (CCFILES): Add plugin.cc.
-       (HFILES): Add plugin.h.
-       (ldadd_var): Add LIBDL.
-       * Makefile.in: Regenerate.
-
-       * archive.cc: Include "plugin.h".
-       (Archive::setup): Don't preread archive symbols when using a plugin.
-       (Archive::get_file_and_offset): Add memsize parameter.  Change callers.
-       (Archive::get_elf_object_for_member): Call plugin hooks for claiming
-       files.
-       (Archive::include_member): Add symbols from plugin objects.
-       * archive.h (Archive::get_file_and_offset): Add memsize parameter.
-       * descriptors.cc (Descriptors::open): Check for file descriptors
-       abandoned by plugins.
-       (Descriptors::claim_for_plugin): New function.
-       * descriptors.h (Descriptors::claim_for_plugin): New function.
-       (Open_descriptor::is_claimed): New field.
-       (claim_descriptor_for_plugin): New function.
-       * fileread.cc (File_read::claim_for_plugin): New function.
-       * fileread.h (File_read::claim_for_plugin): New function.
-       (File_read::descriptor): New function.
-       * gold.cc: Include "plugin.h".
-       (queue_initial_tasks): Add task to call plugin hooks for generating
-       new object files.
-       * main.cc: Include "plugin.h".
-       (main): Load plugin libraries.
-       * object.h (Pluginobj): Declare.
-       (Object::pluginobj): New function.
-       (Object::do_pluginobj): New function.
-       (Object::set_target): New function.
-       * options.cc: Include "plugin.h".
-       (General_options::parse_plugin): New function.
-       (General_options::General_options): Initialize plugins_ field.
-       (General_options::add_plugin): New function.
-       * options.h (Plugin_manager): Declare.
-       (General_options): Add --plugin option.
-       (General_options::has_plugins): New function.
-       (General_options::plugins): New function.
-       (General_options::add_plugin): New function.
-       (General_options::plugins_): New field.
-       * plugin.cc: New file.
-       * plugin.h: New file.
-       * readsyms.cc: Include "plugin.h".
-       (Read_symbols::do_read_symbols): Check for archive before checking
-       for ELF file.  Call plugin hooks to claim files.
-       * resolve.cc (Symbol_table::resolve): Record when symbol is referenced
-       from a real object file; force override when processing replacement
-       files.
-       * symtab.cc (Symbol::init_fields): Initialize in_real_elf_ field.
-       (Symbol::init_base_object): Likewise.
-       (Symbol::init_base_output_data): Likewise.
-       (Symbol::init_base_output_segment): Likewise.
-       (Symbol::init_base_constant): Likewise.
-       (Symbol::init_base_undefined): Likewise.
-       (Symbol::output_section): Assert that object is not a plugin.
-       (Symbol_table::add_from_pluginobj): New function.
-       (Symbol_table::sized_finalize_symbol): Treat symbols from plugins as
-       undefined.
-       (Symbol_table::sized_write_globals): Likewise.
-       (Symbol_table::add_from_pluginobj): Instantiate template.
-       * symtab.h (Sized_pluginobj): Declare.
-       (Symbol::in_real_elf): New function.
-       (Symbol::set_in_real_elf): New function.
-       (Symbol::in_real_elf_): New field.
-       (Symbol_table::add_from_pluginobj): New function.
-
-       * testsuite/Makefile.am (AM_CFLAGS): New variable.
-       (LIBDL): New variable.
-       (LDADD): Add LIBDL.
-       (check_PROGRAMS): Add plugin_test_1 and plugin_test_2.
-       (check_SCRIPTS): Add plugin_test_1.sh and plugin_test_2.sh.
-       (check_DATA): Add plugin_test_1.err and plugin_test_2.err.
-       (MOSTLYCLEANFILES): Likewise.
-       * testsuite/Makefile.in: Regenerate.
-       * testsuite/plugin_test.c: New file.
-       * testsuite/plugin_test_1.sh: New file.
-       * testsuite/plugin_test_2.sh: New file.
-
-2008-09-16  Ian Lance Taylor  <iant@google.com>
-
-       * target-reloc.h (relocate_section): Check whether a symbol is
-       defined by the ABI before reporting an undefined symbol error.
-       * target.h (Target::is_defined_by_abi): Make parameter const.
-       (Target::do_is_defined_by_abi): Likewise.
-       * i386.cc (Target_i386::do_is_defined_by_abi): Likewise.
-       * powerpc.cc (Target_powerpc::do_is_defined_by_abi): Likewise.
-       * sparc.cc (Target_sparc::do_is_defined_by_abi): Likewise.
-       * x86_64.cc (Target_x86_64::do_is_defined_by_abi): Likewise.
-       * testsuite/Makefile.am (tls_test_shared.so): Add -Wl,-z,defs.
-       * testsuite/Makefile.in: Rebuild.
-
-       * fileread.cc (make_view): Add casts to avoid warning.
-
-2008-09-16  Alexandre Oliva  <aoliva@redhat.com>
-
-       * i386.cc (Target_i386::define_tls_base_symbol): Update comments.
-       * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
-
-2008-09-16  Alexandre Oliva  <aoliva@redhat.com>
-
-       * options.h (General_options::output_is_executable): New.
-       (General_options::output_is_pie): New.
-       * i386.cc (Target_i386::define_tls_base_symbol): Use SEGMENT_START
-       for shared libraries.
-       * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
-
-2008-09-11  Chris Demetriou  <cgd@google.com>
-
-       * options.h (origin): New -z option.
-       * layout.cc (Layout:finish_dynamic_section): If "-z origin"
-       is specified, set DF_ORIGIN in DT_FLAGS and set DF_1_ORIGIN
-       in DT_FLAGS_1.
-
-2008-09-05  Cary Coutant  <ccoutant@google.com>
-
-       * fileread.cc (File_read::make_view): Add check for attempt to map
-       beyond end of file.
-
-2008-09-05  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.cc (Symbol_table::add_from_dynobj): Fix typos in
-       explicit instantiations.
-
-2008-08-28  Kris Van Hees  <kris.van.hees@oracle.com>
-
-       PR gold/6858
-       * options.cc (General_options::finalize): Allow undefined symbols
-       in shlibs if linking -shared.
-
-       PR gold/6859
-       * symtab.cc (Symbol::init_base_undefined): Mark explicitly undefined
-       symbols as not needing a dynsym entry.
-
-2008-08-20  Craig Silverstein  <csilvers@google.com>
-
-       * fileread.cc (File_read::open): Do not lock the file unless it
-       was successfully opened.
-
-2008-08-14  Cary Coutant  <ccoutant@google.com>
-
-       * x86_64.cc (Target_x86_64::Relocate::relocat_tls):
-       Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
-       * testsuite/tls_test.cc (struct int128): 128-bit struct
-       for testing TLS relocs with non-zero addend.
-       (v12): New TLS variable.
-       (t12): New test.
-       (t_last): Add check for v12.
-       * testsuite/tls_test.h (t12): New function.
-       * testsuite/tls_test_main.cc (thread_routine): Call new test.
-
-2008-08-13  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::attach_allocated_section_to_segment): Don't
-       set tls_segment_ or relro_segment_.
-       (Layout::make_output_segment): Set tls_segment_ and relro_segment_
-       when appropriate.
-       * output.h (Output_section::clear_is_relro): New function.
-       * output.cc (Output_segment::add_output_section): Handle SHF_TLS
-       sections specially even when output_data_ is empty.
-       (Output_segment::maximum_alignment): When first section is relro,
-       only force alignment for PT_LOAD segments.
-       * script.cc (script_data_segment_align): New function.
-       (script_data_segment_relro_end): New function.
-       * script-c.h (script_data_segment_align): Declare.
-       (script_data_segment_relro_end): Declare.
-       * script-sections.h (class Script_sections): Declare
-       data_segment_align and data_segment_relro_end.  Add fields
-       segment_align_index_ and saw_relro_end_.
-       * script-sections.cc (class Sections_element): Add set_is_relro
-       virtual function.  Add new bool* parameter to place_orphan_here.
-       Add get_output_section virtual function.
-       (class Output_section_definition): Add set_is_relro.  Add new
-       bool* parameter to place_orphan_here.  Add get_output_section.
-       Add is_relro_ field.
-       (Output_section_definition::Output_section_definition): Initialize
-       evaluated_address_, evaluated_load_address, evaluated_addralign_,
-       and is_relro_ fields.
-       (Output_section_definition::place_orphan_here): Add is_relro
-       parameter.
-       (Output_section_definition::set_section_addresses): Set relro for
-       output section.
-       (Output_section_definition::alternate_constraint): Likewise.
-       (class Orphan_output_section): Add new bool* parameter to
-       place_orphan_here.  Add get_output_section.
-       (Orphan_output_section::place_orphan_here): Add is_relro
-       parameter.
-       (Script_sections::Script_sections): Initialize
-       data_segment_align_index_ and saw_relro_end_.
-       (Script_sections::data_segment_align): New function.
-       (Script_sections::data_segment_relro_end): New function.
-       (Script_sections::place_orphan): Set or clear is_relro.
-       (Script_sections::set_section_addresses): Force alignment of first
-       TLS section.
-       * yyscript.y (exp): Call script_data_segment_align and
-       script_data_segment_relro_end.
-       * testsuite/relro_script_test.t: New file.
-       * testsuite/relro_test.cc (using_script): Declare.
-       (t1, t2): Test using_script.
-       * testsuite/Makefile.am (check_PROGRAMS): Add relro_script_test.
-       (relro_script_test_SOURCES): Define.
-       (relro_script_test_DEPENDENCIES): Define.
-       (relro_script_test_LDFLAGS): Define.
-       (relro_script_test_LDADD): Define.
-       (relro_script_test.so): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-08-06  Cary Coutant <ccoutant@google.com>
-
-       * archive.cc (Archive::total_archives, Archive::total_members)
-       (Archive::total_members_loaded): New variables.
-       (Archive::setup): Add parameter.  Add option to preread
-       archive symbols.
-       (Archive::read_armap): Add counter.
-       (Archive::get_file_and_offset): New function.
-       (Archive::get_elf_object_for_member): New function.
-       (Archive::read_all_symbols): New function.
-       (Archive::read_symbols): New function.
-       (Archive::add_symbols): Add counters.
-       (Archive::include_all_members): Use armap to find members if it's
-       already built.
-       (Archive::include_member): Skip reading symbols if already read.
-       Factored code into Archive::get_file_and_offset and
-       Archive::get_elf_object_for_member.  Changed call to
-       Mapfile::report_include_archive_member.
-       (Archive::print_stats): New function.
-       * archive.h: Declare Object and Read_symbols_data classes.
-       (Archive::Archive): Add initializers for new members.
-       (Archive::setup): Add parameter.
-       (Archive::print_stats): New function.
-       (Archive::total_archives, Archive::total_members)
-       (Archive::total_members_loaded): New variables.
-       (Archive::get_file_and_offset): New function.
-       (Archive::get_elf_object_for_member): New function.
-       (Archive::read_all_symbols): New function.
-       (Archive::read_symbols): New function.
-       (Archive::Archive_member): New class.
-       (Archive::members_): New member.
-       (Archive::num_members_): New member.
-       * main.cc: Include archive.h.
-       (main): Call Archive::print_stats.
-       * mapfile.cc (Mapfile::report_include_archive_member): Delete
-       archive parameter; member_name is now the fully-decorated name.
-       * mapfile.h (Mapfile::report_include_archive_member): Likewise.
-       * options.h: (General_options): Add --preread-archive-symbols option.
-       * readsyms.cc (Read_symbols::do_read_symbols): Change call to
-       Archive::setup.
-
-2008-08-04  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.h (Symbol::use_plt_offset): New function.
-       * i386.cc (Relocate::relocate): Call Symbol::use_plt_offset.
-       * powerpc.cc (Relocate::relocate): Likewise.
-       * sparc.cc (Relocate::relocate): Likewise.
-       * x86_64.cc (Relocate::relocate): Likewise.
-       * testsuite/weak_plt.sh: New test.
-       * testsuite/weak_plt_main.cc: New test.
-       * testsuite/weak_plt_shared.cc: New test.
-       * testsuite/Makefile.am (check_SCRIPTS): Add weak_plt.sh.
-       (check_PROGRAMS): Add weak_plt.
-       (check_DATA): Add weak_plt_shared.so.
-       (weak_plt_main_pic.o, weak_plt): New targets.
-       (weak_plt_shared_pic.o, weak_plt_shared.so): New targets.
-       * testsuite/Makefile.in: Rebuild.
-
-       * testsuite/Makefile.am (weak_alias_test_1.so): Depend upon
-       gcctestdir/ld.
-       (weak_alias_test_2.so, weak_alias_test_4.so): Likewise.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-08-04  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am (POTFILES.in): Set LC_ALL=C.
-       * Makefile.in: Regenerate.
-       * po/POTFILES.in: Regenerate.
-
-2008-07-29  Ian Lance Taylor  <iant@google.com>
-
-       * script.cc (Script_options::finalize_symbols): Finalize SECTIONS
-       symbols before other symbols.
-       * testsuite/script_test_2.cc (test_addr): Declare.
-       (test_addr_alias): Declare.
-       (main): Check that test_addr and test_addr_alias have the right
-       values.
-       * testsuite/script_test_2.t: Define test_addr_alias and
-       test_addr.
-
-2008-07-24  Ian Lance Taylor  <iant@google.com>
-
-       PR 5990
-       * descriptors.cc: New file.
-       * descriptors.h: New file.
-       * gold-threads.h (class Hold_optional_lock): New class.
-       * fileread.cc: Include "descriptors.h".
-       (File_read::~File_read): Release descriptor rather than closing
-       it.
-       (File_read::open) [file]: Call open_descriptor rather than open.
-       Set is_descriptor_opened_.
-       (File_read::open) [memory]: Assert that descriptor is not open.
-       (File_read::reopen_descriptor): New function.
-       (File_read::release): Release descriptor.
-       (File_read::do_read): Make non-const.  Reopen descriptor.
-       (File_read::read): Make non-const.
-       (File_read::make_view): Reopen descriptor.
-       (File_read::do_readv): Likewise.
-       * fileread.h (class File_read): Add is_descriptor_opened_ field.
-       Update declarations.
-       * layout.cc: Include "descriptors.h".
-       (Layout::create_build_id): Use open_descriptor rather than open.
-       * output.cc: Include "descriptors.h".
-       (Output_file::open): Use open_descriptor rather than open.
-       * archive.cc (Archive::const_iterator): Change Archive to be
-       non-const.
-       (Archive::begin, Archive::end): Make non-const.
-       (Archive::count_members): Likewise.
-       * archive.h (class Archive): Update declarations.
-       * object.h (Object::read): Make non-const.
-       * Makefile.am (CCFILES): Add descriptors.cc.
-       (HFILES): Add descriptors.h.
-       * Makefile.in: Rebuild.
-
-       PR 6716
-       * gold.h: Always include <clocale>.  Add Solaris workarounds
-       following code in binutils/sysdep.h.
-
-       PR 6048
-       * ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether
-       this->eh_frame_hdr_ is NULL before using it.
-
-       * dynobj.cc (Versions::Versions): Update comment.
-
-       * dynobj.cc (Versions::Versions): If there is an soname, use it as
-       the base version name.
-
-       * stringpool.cc (Stringpool_template::add_with_length): Set key to
-       array size plus one.
-       (Stringpool_template::set_string_offsets): Subtract one from key
-       before using it as an array index.
-       (Stringpool_template::get_offset_with_length): Likewise.
-       (Stringpool_template::write_to_buffer): Likewise.
-       * stringpool.h (Stringpool_template::get_offset_from_key):
-       Likewise.
-
-2008-07-23  Ian Lance Taylor  <iant@google.com>
-
-       PR 6658
-       * object.h (Merged_symbol_value::value): Do our best to handle a
-       negative addend.
-
-       PR 6647
-       * script.cc (Version_script_info::get_versions): Don't add empty
-       version tag to return value.
-       (Version_script_info::get_symbol_version_helper): Change return
-       type to bool.  Add pversion parameter.  Change all callers.
-       (script_register_vers_node): Don't require a non-NULL tag.
-       * script.h (class Version_script_info): Update declarations.
-       (Version_script_info::get_symbol_version): Change return type to
-       bool.  Add version parameter.  Change all callers.
-       * symtab.cc (Sized_symbol::add_from_relobj): Rework version
-       handling.  Handle an empty version from a version script.
-       (Symbol_table::define_special_symbol): Likewise.
-       * testsuite/ver_test_10.script: New file.
-       * testsuite/ver_test_10.sh: New file.
-       * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_10.sh.
-       (check_DATA): Add ver_test_10.syms.
-       (ver_test_10.syms, ver_test_10.so): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-07-23  Simon Baldwin  <simonb@google.com>
-
-       * symtab.cc (Symbol_table::sized_write_symbol): Only set st_size
-       to zero for undefined symbols from dynamic libraries.
-
-2008-07-23  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol_table::resolve): Remove version parameter.
-       Change all callers.
-       * symtab.h (class Symbol_table): Update declaration.
-       * testsuite/ver_test_9.cc: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_9.
-       (ver_test_9_SOURCES, ver_test_9_DEPENDENCIES): Define.
-       (ver_test_9_LDFLAGS, ver_test_9_LDADD): Define.
-       (ver_test_9.so, ver_test_9.o): New targets.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-07-22  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Define --check-sections.
-       * layout.cc (Layout::set_segment_offsets): Handle
-       --check-sections.
-
-       * options.h (class General_options): Define -n/--nmagic and
-       -N/--omagic.
-       * options.cc (General_options::finalize): For -n/--nmagic or
-       -N/--omagic, set -static.
-       * layout.cc (Layout::attach_allocated_section_to_segment): If
-       -N/--omagic, don't put read-only and read-write sections in
-       different segments.
-       (Layout::find_first_load_seg): If -N/--omagic, don't insist on
-       finding a read-only segment.
-       (Layout::set_segment_offsets): If -N/--omagic or -n/--nmagic,
-       don't set the minimum segment alignment to the common page size,
-       and don't set the file offset to the address modulo the page size.
-       * script-sections.cc (Script_sections::create_segments): If
-       -n/--omagic, don't put read-only and read-write sections in
-       different segments.
-
-       * cref.cc: New file.
-       * cref.h: New file.
-       * options.h (class General_options): Add --print-symbol-counts.
-       * main.cc (main): Issue defined symbol report if requested.
-       * archive.cc (Archive::interpret_header): Make into a const member
-       function.
-       (Archive::add_symbols): Call Input_objects::archive_start and
-       archive_stop.
-       (Archive::const_iterator): Define new class.
-       (Archive::begin, Archive::end): New functions.
-       (Archive::include_all_members): Rewrite to use iterator.
-       (Archive::count_members): New function.
-       * archive.h (class Archive): Update declarations.
-       (Archive::filename): New function.
-       * object.cc: Include "cref.h".
-       (Sized_relobj::Sized_relobj): Initialize defined_count_.
-       (Sized_relobj::do_get_global_symbol_counts): New function.
-       (Input_objects::add_object): Add object to cross-referencer.
-       (Input_objects::archive_start): New function.
-       (Input_objects::archive_stop): New function.
-       (Input_objects::print_symbol_counts): New function.
-       * object.h: Declare Cref and Archive.
-       (Object::get_global_symbol_counts): New function.
-       (Object::do_get_global_symbol_counts): New pure virtual function.
-       (class Sized_relobj): Add defined_count_ field.  Update
-       declarations.
-       (class Input_objects): Add cref_ field.  Update constructor.
-       Update declarations.
-       * dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize symbols_ and
-       defined_count_.
-       (Sized_dynobj::do_add_symbols): Allocate symbols_ if printing
-       symbol counts.
-       (Sized_dynobj::do_get_global_symbol_counts): New function.
-       * dynobj.h (class Sized_dynobj): Add fields symbols_ and
-       defined_count_.  Update declarations.  Define Symbols typedef.
-       * symtab.cc (Symbol_table::add_from_relobj): Add defined
-       parameter.  Change all callers.
-       (Symbol_table::add_from_dynobj): Add sympointers and defined
-       parameters.  Change all callers.
-       * symtab.h (class Symbol_table): Update declarations.
-       * Makefile.am (CCFILES): Add cref.cc.
-       (HFILES): Add cref.h.
-       * Makefile.in: Rebuild.
-
-2008-07-22  Simon Baldwin  <simonb@google.com>
-
-       * symtab.cc (Symbol_table::sized_write_symbol): Set symbol size
-       to zero when writing undefined symbols.
-
-2008-07-22  Ian Lance Taylor  <iant@google.com>
-
-       * output.cc (Output_section::add_input_section): Don't try to
-       merge empty merge sections.
-
-2008-07-21  Craig Silverstein  <csilvers@google.com>
-
-       * symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
-       Include symbol version in error message.
-
-2008-07-20  Chris Demetriou  <cgd@google.com>
-
-       * configure.ac (gold_cv_c_random_seed): New configured variable.
-       (RANDOM_SEED_CFLAGS): New substituted variable.
-       * Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Add $(RANDOM_SEED_CFLAGS).
-       * configure: Rebuild.
-       * Makefile.in: Likewise.
-       * testsuite/Makefile.in: Likewise.
-
-2008-07-18  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol_table::add_from_object): Rewrite the case
-       where we see NAME/NULL and NAME/VERSION  as separate symbols.
-       * testsuite/ver_test_main.cc (main): Call t4.
-       (t4, t4_2a): Define.
-       * testsuite/ver_test_2.cc (t4_2): Define.
-       * testsuite/ver_test_2.script: Put t4_2a in VER2.
-       * testsuite/ver_test_4.cc (t4_2a): Define.
-       * testsuite/ver_test_4.script: Put t4_2a in VER2.
-       * testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.
-
-2008-07-17  Ian Lance Taylor  <iant@google.com>
-
-       * dynobj.cc (Versions::add_def): If we give an error about a
-       missing version, go ahead and create the version anyhow.
-
-2008-07-10  Ian Lance Taylor  <iant@google.com>
-
-       Handle output sections with more than 0x7fffffff bytes.
-       * object.h (class Relobj): Change map_to_output_ to
-       output_sections_, and just keep a section pointer.  Change all
-       uses.  Move comdat group support to Sized_relobj.
-       (Relobj::is_section_specially_mapped): Remove.
-       (Relobj::output_section): Remove poff parameter.  Change all
-       callers.
-       (Relobj::output_section_offset): New function.
-       (Relobj::set_section_offset): Rewrite.
-       (Relobj::map_to_output): Remove.
-       (Relobj::output_sections): New function.
-       (Relobj::do_output_section_offset): New pure virtual function.
-       (Relobj::do_set_section_offset): Likewise.
-       (class Sized_relobj): Add section_offsets_ field.  Add comdat
-       group support from Relobj.  Update declarations.
-       (Sized_relobj::get_output_section_offset): New function.
-       (Sized_relobj::do_output_section_offset): New function.
-       (Sized_relobj::do_set_section_offset): New function.
-       * object.cc (Relobj::output_section_address): Remove.
-       (Sized_relobj::Sized_relobj): Initialize new fields.
-       (Sized_relobj::include_section_group): Cast find_kept_object to
-       Sized_relobj.
-       (Sized_relobj::include_linkonce_section): Likewise.
-       (Sized_relobj::do_layout): Use separate arrays for output section
-       and output offset.
-       (Sized_relobj::do_count_local_symbols): Change map_to_output to
-       output_sections.
-       (Sized_relobj::do_finalize_local_symbols): Change map_to_output to
-       output_sections and section_offsets.
-       (Sized_relobj::write_local_symbols): Likewise.
-       (map_to_kept_section): Compute output address directly.
-       * reloc.cc (Sized_relobj::do_read_relocs): Change map_to_output to
-       output_sections and section_offsets.
-       (Sized_relobj::write_sections): Likewise.
-       (Sized_relobj::relocate_sections): Likewise.
-       * symtab.cc (sized_finalize_symbol): Use output_section_offset.
-       * output.h (class Output_reloc): Update declarations.  Change
-       u2_.relobj to Sized_relobj*.
-       (class Output_data_reloc): Change add functions to use
-       Sized_relobj*.
-       * output.cc (Output_reloc::Output_reloc): Change relobj to
-       Sized_relobj*.
-       (Output_reloc::local_section_offset): Change return type to
-       Elf_Addr.  Use get_output_section_offset.
-       (Output_reloc::get_address): Likewise.
-       (Output_section::is_input_address_mapped): Don't call
-       is_section_specially_mapped.
-       (Output_section::output_offset): Likewise.
-       (Output_section::output_address): Likewise.
-       (Output_section::starting_output_address): Likewise.
-       * copy-relocs.cc (Copy_relocs::copy_reloc): Change object
-       parameter to Sized_relobj*.
-       (Copy_relocs::need_copy_reloc): Likewise.
-       (Copy_relocs::save): Likewise.
-       * copy-relocs.h (class Copy_relocs): Update declarations.
-       (class Copy_relocs::Copy_reloc_entry): Change constructor to use
-       Sized_relobj*.  Change relobj_ field to Sized_relobj*.
-       * target-reloc.h (relocate_for_relocatable): Change
-       offset_in_output_section type to Elf_Addr.  Change code that uses
-       it as well.
-       * layout.cc (Layout::layout): Always set *off.
-       * mapfile.cc (Mapfile::print_input_section): Use
-       output_section_offset.
-       * i386.cc (Target_i386::copy_reloc): Change object parameter to
-       Sized_relobj*.
-       * powerpc.cc (Target_powerpc::copy_reloc): Likewise.
-       * sparc.cc (Target_sparc::copy_reloc): Likewise.
-       * x86_64.cc (Target_x86_64::copy_reloc): Likewise.
-
-2008-07-03  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::include_section): Do not discard unrecognized
-       SHT_STRTAB sections.
-
-2008-06-30  Craig Silverstein  <csilvers@cs.stanford.edu>
-
-       * script.cc (Lex::can_continue_name): Make '?' allowable in
-       version-script names.
-       * testsuite/version_script.map: Change glob pattern to use '?'
-
-2008-06-30  Manish Singh  <yosh@gimp.org>
-
-       PR 6585
-       * symtab.cc (Symbol_table::add_undefined_symbols_from_command_line):
-       Correct typo.
-
-2008-06-30  Ian Lance Taylor  <iant@google.com>
-
-       PR 6660
-       PR 6682
-       * powerpc.cc (Powerpc_relocate_functions::addr16_ha) [both
-       versions]: Don't try to read the value in the contents, since we
-       don't use it.  Use the template endianness when writing.
-
-2008-06-25  Cary Coutant  <ccoutant@google.com>
-
-       * fileread.cc (File_read::make_view): Assert on zero-length view.
-       * object.cc (Sized_relobj::do_read_symbols): Don't try to read
-       symbol table when there are no symbols to read.
-
-2008-06-23  Craig Silverstein  <csilvers@google.com>
-
-       * version.cc (version_string): Bump to 1.7
-
-2008-06-18  Craig Silverstein  <csilvers@google.com>
-
-       * powerpc.cc (Powerpc_relocate_functions::addr16_ha): cast
-       constant 0xFFFF to type Valtype.
-       (Powerpc_relocate_functions::rel16_ha): Likewise.
-
-2008-06-17  Ian Lance Taylor  <iant@google.com>
-
-       * output.h (Output_section::Input_section): Initialize p2align_ to
-       zero for Output_section_data constructors.
-       (Output_section::Input_section::addralign): If not an input
-       section, return the alignment of the Output_section_data.
-       * testsuite/copy_test.cc: New file.
-       * testsuite/copy_test_1.cc: New file.
-       * testsuite/copy_test_2.cc: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add copy_test.
-       (copy_test_SOURCES, copy_test_DEPENDENCIES): New variables.
-       (copy_test_LDFLAGS, copy_test_LDADD): New variables.
-       (copy_test_1_pic.o, copy_test_1.so): New targets.
-       (copy_test_2_pic.o, copy_test_2.so): New targets.
-       * testsuite/Makefile.in: Rebuild.
-
-       * script-sections.cc (Script_sections::place_orphan): Initialize
-       local variable exact.
-
-2008-06-13  David Edelsohn  <edelsohn@gnu.org>
-
-       * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
-
-2008-06-12  David Edelsohn  <edelsohn@gnu.org>
-           David S. Miller  <davem@davemloft.net>
-
-       * powerpc.cc: New file.
-       * Makefile.am (TARGETSOURCES): Add powerpc.cc
-       (ALL_TARGETOBJS): Add powerpc.$(OBJEXT)
-       * configure.tgt: Add entries for powerpc-* and powerpc64-*.
-       * Makefile.in: Rebuild.
-
-2008-06-09  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and
-       <exception>.
-       (throwing, orig_terminate): New static variables.
-       (terminate_handler): New static function.
-       (t2): Set terminate handler.
-
-2008-06-05  Kris Van Hees  <kris.van.hees@oracle.com>
-
-       PR 6584
-       * binary.cc (Binary_to_elf::sized_convert): Fix .data
-       alignment.
-
-2008-05-30  Cary Coutant  <ccoutant@google.com>
-
-       * archive.cc (Archive::include_all_members) Correct to step
-       over symbol table and extended name table in thin archives.
-
-2008-05-29  Kris Van Hees  <kris.van.hees@oracle.com>
-
-       PR 6407
-       * target-reloc.h (relocate_for_relocatable): Fix new_offset
-       calculation.
-
-2008-05-28  Caleb Howe  <cshowe@google.com>
-
-       * reduced_debug_output.cc: New file.
-       * reduced_debug_output.h: New file.
-       * options.h (class General_options): Add --strip-debug-non-line.
-       * options.cc (General_options::finalize): Add strip_debug_non_line
-       to the strip heirarchy.
-       * layout.h (class Layout): Add debug_abbrev_ and debug_info_
-       fields.
-       * layout.cc: Include "reduced_debug_output.h".
-       (Layout::Layout): Initialize new fields.
-       (line_only_debug_sections): New static array.
-       (is_lines_only_debug_sections): New static inline function.
-       (Layout::include_section): Handle --strip-debug-non-line.
-       (Layout::make_output_section): If --strip-debug-non-line, build
-       new output sections for .debug_abbrev and .debug_info.
-       * dwarf_reader.cc (read_unsigned_LEB_128): Move to namespace
-       gold.  Warn about possible overflow.
-       (read_signed_LEB_128): Likewise.
-       * dwarf_reader.h: (read_unsigned_LEB_128): Declare.
-       (read_signed_LEB_128): Declare.
-       * Makefile.am (CCFILES): Add reduced_debug_output.cc.
-       (HFILES): Add reduced_debug_output.h.
-       * Makefile.in: Rebuild.
-
-2008-05-21  Ian Lance Taylor  <iant@google.com>
-
-       * mapfile.cc: New file.
-       * mapfile.h: New file.
-       * options.h (class General_options): Add -M/--print-map and -Map.
-       * options.cc (General_options::finalize): Make -M equivalent to
-       -Map -.
-       * main.cc: Include <cstdio> and "mapfile.h".
-       (main): Open mapfile if requested.
-       * gold.cc (class Middle_runner): Add mapfile_ field.  Update
-       constructor.  Change caller.
-       (queue_initial_tasks): Add mapfile parameter.  Change caller.
-       (queue_middle_tasks): Likewise.
-       * gold.h (queue_initial_tasks, queue_middle_tasks): Update
-       declarations.
-       * archive.cc: Include "mapfile.h".
-       (Archive::add_symbols): Add mapfile parameter.  Change all
-       callers.  Pass mapfile, symbol, and reason to include_member.
-       (Archive::include_all_members): Add mapfile parameter.  Change all
-       callers.
-       (Archive::include_member): Add mapfile, sym, and why parameters.
-       Change all callers.  Report inclusion to map file.
-       * archive.h: Include "fileread.h".
-       (class Archive): Update declarations.
-       (Archive::file): New const method.
-       (class Add_archive_symbols): Add mapfile_ field.  Update
-       constructor.  Change all callers.
-       * readsyms.h (class Read_symbols): Likewise.
-       (class Finish_group): Likewise.
-       (class Read_script): Likewise.
-       * common.cc: Include "mapfile.h".
-       (Symbol_table::allocate_commons): Add mapfile parameter.  Change
-       all callers.
-       (Symbol_table::do_allocate_commons): Likewise.
-       (Symbol_table::do_allocate_commons_list): Likewise.  Report common
-       symbol allocation to mapfile.
-       * common.h (class Allocate_commons_task): Add mapfile_ field.
-       Update constructor.  Change all callers.
-       * symtab.h (class Symbol_table): Update declarations.
-       * layout.cc: Include "mapfile.h".
-       (Layout_task_runner::run): Print information to mapfile.
-       (Layout::create_gold_note): Change Output_data_fixed_space to
-       Output_data_zero_fill.
-       (Layout::create_build_id): Likewise.
-       (Layout::print_to_mapfile): New function.
-       * layout.h (class Layout_task_runner): Add mapfile_ field.  Update
-       constructor.  Change caller.
-       (class Layout): Declare print_to_mapfile.
-       * output.cc (Output_section::Input_section::print_to_mapfile): New
-       function.
-       (Output_section::add_input_section): If producing a map, always
-       add to input_sections_ list.
-       (Output_section::do_print_to_mapfile): New function.
-       (Output_segment::print_sections_to_mapfile): New function.
-       (Output_segment::print_section_list_to_mapfile): New function.
-       * output.h: Include "mapfile.h".
-       (Output_data::print_to_mapfile): New function.
-       (Output_data::do_print_to_mapfile): New virtual function.
-       (Output_segment_headers::do_print_to_mapfile): New function.
-       (Output_file_header::do_print_to_mapfile): New function.
-       (Output_data_const::do_print_to_mapfile): New function.
-       (class Output_data_const_buffer): Add map_name_ field.  Update
-       constructor.  Change all callers.  Add do_print_to_mapfile
-       function.
-       (class Output_data_fixed_space): Likewise.
-       (class Output_data_space): Likewise.
-       (class Output_data_zero_fill): New class.
-       (Output_data_strtab::do_print_to_mapfile): New function.
-       (Output_data_reloc_base::do_print_to_mapfile): New function.
-       (Output_relocatable_relocs::do_print_to_mapfile): New function.
-       (Output_data_group::do_print_to_mapfile): New function.
-       (Output_data_got::do_print_to_mapfile): New function.
-       (Output_data_dynamic::do_print_to_mapfile): New function.
-       (Output_symtab_xindex::do_print_to_mapfile): New function.
-       (class Output_section): Declare do_print_to_mapflie.  Declare
-       print_to_mapfile in Input_section.
-       (class Output_segment): Declare new functions.
-       * object.h (Sized_relobj::symbol_count): New function.
-       * script-sections.cc
-       (Output_section_element_dot_assignment::set_section_addresses):
-       Change Output_data_fixed_space to Output_data_zero_fill.
-       (Output_data_expression::do_print_to_mapfile): New function.
-       * script.cc (read_input_script): Add mapfile parameter.  Change
-       all callers.
-       * script.h (read_input_script): Update declaration.
-       * ehframe.h (Eh_frame_hdr::do_print_to_mapfile): New function.
-       (Eh_frame::do_print_to_mapfile): New function.
-       * merge.h (Output_merge_data::do_print_to_mapfile): New function.
-       (Output_merge_string::do_print_to_mapfile): New function.
-       * i386.cc (Output_data_plt_i386::do_print_to_mapfile): New
-       function.
-       * sparc.cc (Output_data_plt_sparc::do_print_to_mapfile): New
-       function.
-       * x86_64.cc (Output_data_plt_x86_64::do_print_to_mapfile): New
-       function.
-       * Makefile.am (CCFILES): Add mapfile.cc.
-       (HFILES): Add mapfile.h.
-       * Makefile.in: Rebuild.
-
-2008-05-19  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Add -z relro.
-       * layout.cc (Layout::Layout): Initialize relro_segment_.
-       (Layout::add_output_section_data): Return the output section.
-       (Layout::make_output_section): Rcognize relro sections and mark
-       them appropriately.
-       (Layout::attach_allocated_section_to_segment): Put relro sections
-       in a PT_GNU_RELRO segment.
-       (Layout::create_initial_dynamic_sections): Mark the .dynamic
-       section as relro.
-       (Layout::segment_precedes): Sort PT_GNU_RELRO segments after
-       PT_TLS segments.
-       (Layout::linkonce_mapping): Map d.rel.ro.local to
-       .data.rel.ro.local.
-       (Layout::output_section_name): Us .data.rel.ro.local for any
-       section which begins with that.
-       * layout.h (class Layout): Update add_output_section_data
-       declaration.  Add relro_segment_ field.
-       * output.cc (Output_section::Output_section): Initialize is_relro_
-       and is_relro_local_ fields.
-       (Output_segment::add_output_section): Group relro sections.
-       (Output_segment::is_first_section_relro): New function.
-       (Output_segment::maximum_alignment): If there is a relro section,
-       align the segment to the common page size.
-       (Output_segment::set_section_addresses): Track whether we are
-       looking at relro sections.  If the last section is a relro
-       section, align to the common page size.
-       (Output_segment::set_section_list_addresses): Add in_relro
-       parameter.  Change all callers.  Align to the page size when
-       moving from relro to non-relro section.
-       (Output_segment::set_offset): Align memsz of a PT_GNU_RELRO
-       segment.
-       * output.h (class Output_section): Add is_relro_ and
-       is_relro_local_ fields.
-       (Output_section::is_relro): New function.
-       (Output_section::set_is_relro): New function.
-       (Output_section::is_relro_local): New function.
-       (Output_section::set_is_relro_local): New function.
-       (class Output_segment): Update declarations.
-       * i386.cc (Target_i386::got_section): Mark .got section as relro.
-       * sparc.cc (Target_sparc::got_section): Likewise.
-       * x86_64.cc (Target_x86_64::got_section): Likewise.
-       * testsuite/relro_test_main.cc: New file.
-       * testsuite/relro_test.cc: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add relro_test.
-       (relro_test_SOURCES, relro_test_DEPENDENCIES): New variables.
-       (relro_test_LDFLAGS, relro_test_LDADD): New variables.
-       (relro_test.so, relro_test_pic.o): New targets.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-05-16  Ian Lance Taylor  <iant@google.com>
-
-       * output.cc (Output_segment::add_output_section): Remove front
-       parameter.
-       * output.h (class Output_segment): Remove
-       add_initial_output_section and overloaded add_output_section.
-       Update declaration of remaining add_output_section.
-       * layout.cc (Layout::create_interp): Call add_output_section
-       rather than add_initial_output_section.
-       (Layout::finish_dynamic_section): Likewise.
-
-       * i386.cc (Target_i386::Relocate::relocate_tls): Set dynamic type
-       for TLS_GOTDESC and TLS_DESC_CALL.  Only optimize TLS_LDO_32 if we
-       know the dynamic type.
-       * x86_64.cc (Target_x86_64::Relocate): Add saw_tls_block_reloc_
-       field.  Initialize it in constructor.
-       (Target_x86_64::Relocate::relocate_tls): Record that we saw a TLS
-       block reloc for TLSGD, GOTPC32_TLSDESC, TLSDESC_CALL, and TLSLD.
-       Only optimize DTPOFF32 and DTPOFF64 if we have seen a TLS block
-       reloc.
-
-       * output.cc (Output_reloc::get_address): Change return type to
-       Elf_Addr.
-       * output.h (class Output_reloc): Update get_address declaration.
-       * x86_64.cc (Output_data_plt_x86_64::do_write): Use 64-bit types
-       for section addresses.
-
-2008-05-09  Ian Lance Taylor  <iant@google.com>
-
-       PR 6493
-       * gold.cc (gold_nomem): Use return value of write.
-
-2008-05-08  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.c (Symbol::init_base_output_data): Add version
-       parameter.  Change all callers.
-       (Symbol::init_base_output_segment): Likewise.
-       (Symbol::init_base_constant): Likewise.
-       (Symbol::init_base_undefined): Likewise.
-       (Sized_symbol::init_output_data): Likewise.
-       (Sized_symbol::init_output_segment): Likewise.
-       (Sized_symbol::init_constant): Likewise.
-       (Sized_symbol::init_undefined): Likewise.
-       (Symbol_table::do_define_in_output_data): If the new symbol has a
-       version, mark it as the default.
-       (Symbol_table::do_define_in_output_segment): Likewise.
-       (Symbol_table::do_define_as_constant): Likewise.
-       * symtab.h (class Symbol): Update declarations.
-       (class Sized_symbol): Likewise.
-       * resolve.cc (Symbol::override_version): New function.
-       (Symbol::override_base): Call override_version.
-       (Symbol::override_base_with_special): Likewise.
-       * testsuite/ver_script_8.script: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_8.
-       (ver_test_8_SOURCES, ver_test_8_DEPENDENCIES): Define.
-       (ver_test_8_LDFLAGS, ver_test_8_LDADD): Define.
-       (ver_test_8_1.so, ver_test_8_2.so): New targets.
-
-2008-05-06  Ian Lance Taylor  <iant@google.com>
-
-       PR 6049
-       * options.h (DEFINE_set): Add VARNAME_begin and VARNAME_end
-       functions.
-       (class General_options): Remove existing --undefined, and add
-       --no-undefined instead.  Add new --undefined as synonym for -u.
-       * archive.cc (Archive::add_symbols): Check whether symbol was
-       named with -u.
-       * gold.cc (queue_middle_tasks): Add -u symbols to symbol table.
-       * symtab.h (class Symbol): Rename CONSTANT to IS_CONSTANT; change
-       all uses.  Add IS_UNDEFINED.  Update declarations to split
-       different versions of init_base.  Declare init_base_undefined.
-       (Symbol::is_defined): Handle IS_UNDEFINED.
-       (Symbol::is_undefined): Likewise.
-       (Symbol::is_weak_undefined): Call is_undefined.
-       (Symbol::is_absolute): Handle IS_CONSTANT.
-       (class Sized_symbol): Update declarations to split different
-       versions of init.  Declare init_undefined.
-       (class Symbol_table): Declare new functions.
-       * symtab.cc (Symbol::init_base_object): Rename from init_base.
-       Change all callers.
-       (Symbol::init_base_output_data): Likewise.
-       (Symbol::init_base_output_segment): Likewise.
-       (Symbol::init_base_constant): Likewise.
-       (Symbol::init_base_undefined): New function.
-       (Sized_symbol::init_object): Rename from init.  Change all
-       callers.
-       (Sized_symbol::init_output_data): Likewise.
-       (Sized_symbol::init_output_segment): Likewise.
-       (Sized_symbol::init_constant): Likewise.
-       (Sized_symbol::init_undefined): New function.
-       (Symbol_table::add_undefined_symbols_from_command_line): New
-       function.
-       (Symbol_table::do_add_undefined_symbols_from_command_line): New
-       function.
-       (Symbol::final_value_is_known): Handle IS_UNDEFINED.
-       (Symbol::output_section): Likewise.
-       (Symbol::set_output_section): Likewise.
-       (Symbol_table::sized_finalize_symbol): Likewise.
-       (Symbol_table::sized_write_globals): Likewise.
-       * resolve.cc (Symbol_table::should_override): Likewise.
-       (Symbol::override_base_with_special): Likewise.
-
-       * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected
-       symbol, change it to have default visibility.
-       * testsuite/protected_1.cc: New file.
-       * testsuite/protected_2.cc: New file.
-       * testsuite/protected_3.cc: New file.
-       * testsuite/protected_main_1.cc: New file.
-       * testsuite/protected_main_2.cc: New file.
-       * testsuite/protected_main_3.cc: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add protected_1.
-       (protected_1_SOURCES, protected_1_DEPENDENCIES): Define.
-       (protected_1_LDFLAGS, protected_1_LDADD): Define.
-       (protected_1.so): New target.
-       (protected_1_pic.o, protected_2_pic.o): New targets.
-       (protected_3_pic.o): New target.
-       (check_PROGRAMS): Add protected_2.
-       (protected_2_SOURCES, protected_2_DEPENDENCIES): Define.
-       (protected_2_LDFLAGS, protected_2_LDADD): Define.
-       * testsuite/Makefile.in: Rebuild.
-
-       * options.h (DEFINE_var): Add set_user_set_##varname__.
-       (DEFINE_bool_alias): New macro.
-       (class General_options): Define -Bstatic using DEFINE_bool_alias
-       rather than DEFINE_special.  Add --undefined as an alias for -z
-       defs.
-       * options.cc (General_options::parse_Bstatic): Remove.
-
-       * options.h (class General_options): Add --fatal-warnings.
-       * main.cc (main): Implement --fatal-warnings.
-       * errors.h (Errors::warning_count): New function.
-
-       * options.h (class General_options): Add -Bsymbolic-functions.
-       * symtab.h (Symbol::is_preemptible): Check for
-       -Bsymbolic-functions.
-
-2008-05-05  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (DEFINE_bool): For DASH_Z, create the negative option
-       as noVARNAME rather than no-VARNAME.
-       (class General_options): Add option -z combreloc.
-       * output.h (class Output_reloc) [SHT_REL]: Declare compare and
-       get_address.
-       (Output_reloc::sort_before) [SHT_REL]: New function.
-       (Output_reloc::sort_before) [SHT_RELA]: New function.
-       (class Output_data_reloc_base): Add sort_relocs_ field.  Define
-       Sort_relocs_comparison.
-       (Output_data_reloc_base::Output_data_reloc_base): Add sort_relocs
-       parameter.  Change all callers.
-       (Output_data_reloc::Output_data_reloc) [both versions]: Add
-       sort_relocs parameter.  Change all callers.
-       * output.cc (Output_reloc::get_address): New function, broken out
-       of write_rel.
-       (Output_reloc::write_rel): Call it.
-       (Output_reloc::compare): New function.
-       (Output_data_reloc_base::do_write): Optionally sort relocs.
-
-       * configure.ac: If targ_extra_obj is set, link it in.
-       * configure.tgt: Initialize all variables.
-       (x86_64*): Set targ_extra_obj and targ_extra_size.
-       * configure: Rebuild.
-
-       * object.cc (Sized_relobj::include_section_group): Adjust section
-       indexes read from group data.  Build vector to pass to
-       layout_group.
-       * layout.cc (Layout::layout_group): Add flags and shndxes
-       parameters.  Remove contents parameter.  Change caller.  Update
-       explicit instantiations.
-       * layout.h (class Layout): Update layout_group declaration.
-       * output.cc (Output_data_group::Output_data_group): Add flags and
-       input_shndxes parameters.  Remove contents parameter.  Change
-       caller.
-       (Output_data_group::do_write): Change input_sections_ to
-       input_shndxes_.
-       * output.h (class Output_data_group): Update constructor
-       declaration.  Rename input_sections_ to input_shndxes_.
-       * testsuite/many_sections_test.cc: Add template.
-
-2008-04-30  Cary Coutant  <ccoutant@google.com>
-
-       * target-reloc.h (relocate_section): Fix dead-pointer bug.
-
-       * layout.cc (Layout::include_section): Refactored check for debug
-       info section.
-       (Layout::add_comdat): Add new parameters.  Change type
-       of signature parameter.  Add object and shndx to signatures table.
-       (Layout::find_kept_object): New function.
-       * layout.h: Include <cstring>.
-       (Layout::is_debug_info_section): New function.
-       (Layout::add_comdat): Add new parameters.
-       (Layout::find_kept_object): New function.
-       (Layout::Kept_section): New struct.
-       (Layout::Signatures): Change type of map range.
-       * object.cc (Relobj::output_section_address): New function.
-       (Sized_relobj::include_section_group): Add new parameters.  Change
-       calls to Layout::add_comdat.  Change to build table of kept comdat
-       groups and table mapping discarded sections to kept sections.
-       (Sized_relobj::include_linkonce_section): Likewise.  Add new parameter.
-       (Sized_relobj::do_layout): Change calls to include_section_group and
-       include_linkonce_section.
-       (Sized_relobj::do_finalize_local_symbols): Do not set local symbol
-       value to zero when section is discarded.
-       (Sized_relobj::map_to_kept_section): New function.
-       * object.h (Relobj::output_section_address): New function.
-       (Relobj::Comdat_group): New type.
-       (Relobj::find_comdat_group): New function.
-       (Relobj::Comdat_group_table): New type.
-       (Relobj::Kept_comdat_section): New type.
-       (Relobj::Kept_comdat_section_table): New type.
-       (Relobj::add_comdat_group): New function.
-       (Relobj::set_kept_comdat_section): New function.
-       (Relobj::get_kept_comdat_section): New function.
-       (Relobj::comdat_groups_): New field.
-       (Relobj::kept_comdat_sections_): New field.
-       (Symbol_value::input_value): Update comment.
-       (Sized_relobj::map_to_kept_section) New function.
-       (Sized_relobj::include_linkonce_section): Add new parameter.
-       * target-reloc.h (Comdat_behavior): New type.
-       (get_comdat_behavior): New function.
-       (relocate_section): Add code to map a discarded section to the
-       corresponding kept section when applying a relocation.
-
-2008-04-30  Craig Silverstein  <csilvers@google.com>
-
-       * dwarf_reader.cc (next_generation_count): New static var.
-       (Addr2line_cache_entry): New struct.
-       (addr2line_cache): New static var.
-       (Dwarf_line_info::one_addr2line): Added caching.
-       (Dwarf_line_info::clear_addr2line_cache): New function.
-       * dwarf_reader.h (Dwarf_line_info::one_addr2line): Add
-       cache-size parameter.
-       (Dwarf_line_info::one_addr2line_cache): New function.
-       * symtab.cc (Symbol_table::detect_odr_violations): Pass
-       new cache-size argument to one_addr2line(), and clear cache.
-
-2008-04-28  Cary Coutant  <ccoutant@google.com>
-
-       * i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
-       R_386_PC8 relocations.
-
-2008-04-23  Ian Lance Taylor  <iant@google.com>
-
-       * object.cc (Sized_relobj::include_section_group): Check for
-       invalid section group.
-
-       * object.cc (make_elf_object): Correct test for 64-bit ELF file
-       header size.
-
-       * readsyms.cc (Read_symbols::do_read_symbols): Use get_view rather
-       than read for file header.
-       * archive.cc (Archive::include_member): Likewise.
-
-2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2008-04-19  Ian Lance Taylor  <iant@google.com>
-
-       * version.cc (version_string): Bump to 1.6.
-
-       * testsuite/Makefile.am (many_sections_r_test): New target.
-       (many_sections_r_test_SOURCES): Remove.
-       (many_sections_r_test_DEPENDENCIES): Remove.
-       (many_sections_r_test_LDFLAGS): Remove.
-       (many_sections_r_test_LDADD): Remove.
-
-       * object.cc (Sized_relobj::do_add_symbols): Always pass
-       local_symbol_count_ to add_from_relobj.
-
-       * testsuite/Makefile.am (many_sections_check.h): Only check one in
-       every thousand variables.
-       * testsuite/Makefile.in: Rebuild.
-
-       * object.cc (Xindex::initialize_symtab_xindex): New function.
-       (Xindex::read_symtab_xindex): New function.
-       (Xindex::sym_xindex_to_shndx): New function.
-       (Sized_relobj::find_symtab): Pick up SHT_SYMTAB_SHNDX section if
-       available.
-       (Sized_relobj::do_initialize_xindex): New function.
-       (Sized_relobj::do_read_symbols): Adjust section links.
-       (Sized_relobj::symbol_section_and_value): Add is_ordinary
-       parameter.  Change all callers.
-       (Sized_relobj::include_section_group): Adjust section links and
-       symbol section indexes.
-       (Sized_relobj::do_layout): Adjust section links.
-       (Sized_relobj::do_count_local_symbols): Adjust section links and
-       symbol section indexes.
-       (Sized_relobj::do_finalize_local_symbols): Distinguish between
-       ordinary and special symbols.
-       (Sized_relobj::write_local_symbols): Add symtab_xindex and
-       dynsym_xindex parameters.  Change all callers.  Adjust section
-       links.  Use SHN_XINDEX when needed.
-       (Sized_relobj::get_symbol_location_info): Adjust section links.
-       Don't get fooled by special symbols.
-       * object.h (class Xindex): Define.
-       (class Object): Add xindex_ parameter.  Declare virtual functoin
-       do_initialize_xindex.
-       (Object::adjust_sym_shndx): New function.
-       (Object::set_xindex): New protected function.
-       (class Symbol_value): Add is_ordinary_shndx_ field.
-       (Symbol_value::Symbol_value): Initialize is_ordinary_shndx_.
-       (Symbol_value::value): Assert ordinary section.
-       (Symbol_value::initialize_input_to_output_map): Likewise.
-       (Symbol_value::set_input_shndx): Add is_ordinary parameter.
-       Change all callers.
-       (Symbol_value::input_shndx): Add is_ordinary parameter.  Change
-       all callers.
-       (class Sized_relobj): Update declarations.
-       (Sized_relobj::local_symbol_input_shndx): Add is_ordinary
-       parameter.  Change all callers.
-       (Sized_relobj::adjust_shndx): New function.
-       * dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize dynsym_shndx_
-       field.
-       (Sized_dynobj::find_dynsym_sections): Remove pdynsym_shndx
-       parameter.  Change all callers.  Pick up SHT_DYNSYM_SHNDX section
-       for SHT_DYNSYM section if available.  Set dynsym_shndx_ field.
-       (Sized_dynobj::read_dynsym_section): Adjust section links.
-       (Sized_dynobj::read_dynamic): Likewise.
-       (Sized_dynobj::do_read_symbols): Use dynsym_shndx_ field.  Adjust
-       section links.
-       (Sized_dynobj::do_initialize_xindex): New function.
-       * dynobj.h (class Sized_dynobj): Add dynsym_shndx_ field.  Declare
-       do_initialize_xindex.
-       (Sized_dynobj::adjust_shndx): New function.
-       * layout.cc (Layout::Layout): Initialize symtab_xindex_ and
-       dynsym_xindex_ fields.
-       (Layout::finalize): Add a call to set_section_indexes before
-       creating the symtab sections.
-       (Layout::set_section_indexes): Don't do anything if the section
-       already has a section index.
-       (Layout::create_symtab_sections): Add shnum parameter.  Change
-       caller.  Create .symtab_shndx section if needed.
-       (Layout::create_shdrs): Add shstrtab_section parameter.  Change
-       caller.
-       (Layout::allocated_output_section_count): New function.
-       (Layout::create_dynamic_symtab): Create .dynsym_shndx section if
-       needed.
-       * layout.h (class Layout): Add symtab_xindex_ and dynsym_xindex_
-       fields.  Update declarations.
-       (Layout::symtab_xindex): New function.
-       (Layout::dynsym_xindex): New function.
-       (class Write_symbols_task): Add layout_ field.
-       (Write_symbols_task::Write_symbols_task): Add layout parameter.
-       Change caller.
-       * output.cc (Output_section_headers::Output_section_headers): Add
-       shstrtab_section parameter.  Change all callers.
-       (Output_section_headers::do_sized_write): Store overflow values
-       for section count and section string table section index in
-       section header zero.
-       (Output_file_header::do_sized_write): Check for overflow of
-       section count and section string table section index.
-       (Output_symtab_xindex::do_write): New function.
-       (Output_symtab_xindex::endian_do_write): New function.
-       * output.h (class Output_section_headers): Add shstrtab_section_.
-       Update declarations.
-       (class Output_symtab_xindex): Define.
-       (Output_section::has_out_shndx): New function.
-       * symtab.cc (Symbol::init_fields): Initialize is_ordinary_shndx_
-       field.
-       (Symbol::init_base): Add st_shndx and is_ordinary parameters.
-       Change all callers.
-       (Sized_symbol::init): Likewise.
-       (Symbol::output_section): Check for ordinary symbol.
-       (Symbol_table::add_from_object): Remove orig_sym parameter.  Add
-       st_shndx, is_ordinary, and orig_st_shndx parameters.  Change all
-       callers.
-       (Symbol_table::add_from_relobj): Add symndx_offset parameter.
-       Change all callers.  Simplify handling of symbols from sections
-       not included in the link.
-       (Symbol_table::add_from_dynobj): Handle ordinary symbol
-       distinction.
-       (Weak_alias_sorter::operator()): Assert that symbols are
-       ordinary.
-       (Symbol_table::sized_finalize_symbol): Handle ordinary symbol
-       distinction.
-       (Symbol_table::write_globals): Add symtab_xindex and dynsym_xindex
-       parameters.  Change all callers.
-       (Symbol_table::sized_write_globals): Likewise.  Handle ordinary
-       symbol distinction.  Use SHN_XINDEX when needed.
-       (Symbol_table::write_section_symbol): Add symtab_xindex
-       parameter.  Change all callers.
-       (Symbol_table::sized_write_section_symbol): Likewise.  Use
-       SHN_XINDEX when needed.
-       * symtab.h (class Symbol): Add is_ordinary_shndx_ field.  Update
-       declarations.
-       (Symbol::shndx): Add is_ordinary parameter.  Change all callers.
-       (Symbol::is_defined): Check is_ordinary.
-       (Symbol::is_undefined, Symbol::is_weak_undefined): Likewise.
-       (Symbol::is_absolute, Symbol::is_common): Likewise.
-       (class Sized_symbol): Update declarations.
-       (class Symbol_table): Update declarations.
-       * resolve.cc (Symbol::override_base): Add st_shndx and is_ordinary
-       parameters.  Change all callers.
-       (Sized_symbol::override): Likewise.
-       (Symbol_table::override): Likewise.
-       (symbol_to_bits): Add is_ordinary parameter.  Change all callers.
-       (Symbol_table::resolve): Remove orig_sym parameter.  Add st_shndx,
-       is_ordinary, and orig_st_shndx parameters.  Change all callers.
-       * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Require symbol
-       to be in an ordinary section.
-       * dwarf_reader.cc (Sized_dwarf_line_info::symbol_section): Add
-       object and is_ordinary parameters.  Change all callers.
-       (Sized_dwarf_line_info::read_relocs): Add object parameter.
-       Change all callers.  Don't add undefined or non-ordinary symbols
-       to reloc_map_.
-       (Sized_dwarf_line_info::read_line_mappings): Add object parameter.
-       Change all callers.
-       * dwarf_reader.h (class Sized_dwarf_line_info): Update
-       declarations.
-       * ehframe.cc (Eh_frame::read_fde): Check for ordinary symbol.
-       * reloc.cc (Sized_relobj::do_read_relocs): Adjust section links.
-       (Sized_relobj::relocate_sections): Likewise.
-       * target-reloc.h (scan_relocs): Adjust section symbol index.
-       (scan_relocatable_relocs): Likewise.
-       * i386.cc (Scan::local): Check for ordinary symbols.
-       * sparc.cc (Scan::local): Likewise.
-       * x86_64.cc (Scan::local): Likewise.
-       * testsuite/binary_unittest.cc (Sized_binary_test): Update calls
-       to symbol_section_and_value.
-       * testsuite/many_sections_test.cc: New file.
-       * testsuite/Makefile.am (BUILT_SOURCES): Define.
-       (check_PROGRAMS): Add many_sections_test.
-       (many_sections_test_SOURCES): Define.
-       (many_sections_test_DEPENDENCIES): Define.
-       (many_sections_test_LDFLAGS): Define.
-       (BUILT_SOURCES): Add many_sections_define.h.
-       (many_sections_define.h): New target.
-       (BUILT_SOURCES): Add many_sections_check.h.
-       (many_sections_check.h): New target.
-       (check_PROGRAMS): Add many_sections_r_test.
-       (many_sections_r_test_SOURCES): Define.
-       (many_sections_r_test_DEPENDENCIES): Define.
-       (many_sections_r_test_LDFLAGS): Define.
-       (many_sections_r_test_LDADD): Define.
-       (many_sections_r_test.o): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-04-17  Cary Coutant  <ccoutant@google.com>
-
-       * errors.cc (Errors::info): New function.
-       (gold_info): New function.
-       * errors.h (Errors::info): New function.
-       * gold.h (gold_info): New function.
-       * object.cc (Input_objects::add_object): Print trace output.
-       * options.cc (options::parse_set): New function.
-       (General_options::parse_wrap): Deleted.
-       (General_options::General_options): Deleted initializer.
-       * options.h (options::String_set): New typedef.
-       (options::parse_set): New function.
-       (DEFINE_set): New macro.
-       (General_options::wrap): Changed to use DEFINE_set. Changed
-       callers of any_wrap_symbols and is_wrap_symbol.
-       (General_options::trace, General_options::trace_symbol):
-       New options.
-       (General_options::any_wrap_symbols, General_options::is_wrap_symbol)
-       (General_options::wrap_symbols_): Deleted.
-       * symtab.cc (Symbol_table::add_from_object): Print trace output.
-
-2008-04-17  David S. Miller  <davem@davemloft.net>
-
-       * options.cc (General_options::parse_V): New function.
-       * options.h: Add entries for -V and -Qy.
-
-2008-04-17  Ian Lance Taylor  <iant@google.com>
-
-       * common.cc (Symbol_table::allocate_commons): Remove options
-       parameter.  Change caller.
-       (Symbol_table::do_allocate_commons): Remove options parameter.
-       Change caller.  Just call do_allocate_commons_list twice.
-       (Symbol_table::do_allocate_commons_list): New function, broken out
-       of do_allocate_commons.
-       * common.h (class Allocate_commons_task): Remove options_ field.
-       Update constructor.
-       * symtab.cc (Symbol_table::Symbol_table): Initialize
-       tls_commons_.
-       (Symbol_table::add_from_object): Put TLS common symbols on
-       tls_commons_ list.
-       (Symbol_table::sized_finalize_symbol): Handle STT_TLS symbols
-       which are IN_OUTPUT_DATA.
-       * symtab.h (class Symbol_table): Add tls_commons_ field.  Update
-       allocate_commons and do_allocate_commons declarations.  Declare
-       do_allocate_commons_list.
-       * gold.cc (queue_middle_tasks): Update creation of
-       Allocate_commons_task to not pass options.
-       * testsuite/Makefile.am (INCLUDES): Add -I.. .
-       (TLS_TEST_C_FLAGS): New variable.
-       (tls_test_c_pic.o): New target.
-       (tls_test_shared.so): Link in tls_test_c_pic.o.
-       (tls_test_c_pic_ie.o): New target.
-       (tls_test_ie_shared.so): Link in tls_test_c_pic_ie.o.
-       (tls_test_DEPENDENCIES, tls_test_LDADD): Add tls_test_c.o.
-       (tls_test_c.o): New target.
-       (tls_pic_test_DEPENDENCIES): Add tls_test_c_pic.o.
-       (tls_pic_test_LDADD): Likewise.
-       (tls_shared_gd_to_ie_test_DEPENDENCIES): Add tls_test_c_pic.o.
-       (tls_shared_gd_to_ie_test_LDADD): Likewise.
-       (tls_test_c_gnu2.o): New target.
-       (tls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): Add
-       tls_test_c_gnu2.o.
-       (tls_shared_gnu2_gd_to_ie_test_LDADD): Likewise.
-       (tls_test_gnu2_shared.so): Link in tls_test_c_gnu2.o.
-       (tls_test_shared_nonpic.so): Link in tls_test_c.o.
-       * testsuite/tls_test.cc: Include "config.h".
-       (t_last): Call t11_last.
-       * testsuite/tls_test.h (t11, t11_last): Declare.
-       * testsuite/tls_test_c.c: New file.
-       * testsuite/tls_test_main.cc (thread_routine): Call t11.
-       * configure.ac: Check for OpenMP support.
-       * configure, config.in, Makefile.in: Rebuild.
-       * testsuite/Makefile.in: Rebuild.
-
-2008-04-16  Cary Coutant  <ccoutant@google.com>
-
-       * i386.cc (Target_i386::define_tls_base_symbol): New function.
-       (Target_i386::tls_base_symbol_defined_): New field.
-       (Target_i386::Scan::local): Define _TLS_MODULE_BASE_ symbol.
-       (Target_i386::Scan::global): Likewise.
-       * symtab.cc (sized_finalize_symbol): Add check for TLS symbol.
-       * x86_64.cc (Target_x86_64::define_tls_base_symbol): New function.
-       (Target_x86_64::tls_base_symbol_defined_): New field.
-       (Target_x86_64::Scan::local): Define _TLS_MODULE_BASE_ symbol.
-       (Target_x86_64::Scan::global): Likewise.
-
-2008-04-16  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.h (Symbol::is_strong_undefined): Removed unused function.
-       (Symbol::needs_plt_entry): Allow weak undefined symbols.
-       (Symbol::needs_dynamic_reloc): Allow weak undefined symbols when
-       building shared libraries.
-       * testsuite/Makefile.am (weak_undef_nonpic_test): New target.
-       (weak_undef_file1_nonpic.o, weak_undef_file2_nonpic.o)
-       (weak_undef_lib_nonpic.so, alt/weak_undef_lib_nonpic.so): New targets.
-       * testsuite/Makefile.in: Rebuild.
-       * testsuite/weak_undef.h: New file.
-       * testsuite/weak_undef_file1.cc: Add extra test cases.
-       * testsuite/weak_undef_file2.cc: Likewise.
-       * testsuite/weak_undef_test.cc: Likewise.
-
-2008-04-16  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc (Target_sparc::Scan): Change from struct to class.
-       Add issued_non_pic_error_ field.  Declare check_non_pic.
-       (Target_sparc::Scan::check_non_pic): New function.
-       (Target_sparc::Scan::local): Call check_non_pic as appropriate.
-       (Target_sparc::Scan::global): Likewise.
-
-       * configure.ac (FN_PTRS_IN_SO_WITHOUT_PIC): Add sparc64.
-       * configure: Rebuild.
-
-       * options.h (DEFINE_enable): New macro.
-       (new_dtags): New enable option.
-       (initfirst, interpose, loadfltr, nodefaultlib,
-       nodelete, nodlopen, nodump): New -z options.
-       * layout.cc (Layout:finish_dynamic_section): If new
-       dtags enabled, emit DT_RUNPATH.  Also, emit a
-       DT_FLAGS_1 containing any specified -z flags.
-
-2008-04-16  Ian Lance Taylor  <iant@google.com>
-
-       * copy-relocs.cc: New file.
-       * copy-relocs.h: New file.
-       * reloc.cc: Remove Copy_relocs code.
-       * reloc.h: Likewise.
-       * reloc-types.h (struct Reloc_types) [both versions]: Add
-       get_reloc_addend_noerror.
-       * output.h (class Output_data_reloc<elfcpp::SHT_REL>): Add
-       variants of add_global which take an addend which must be zero.
-       * i386.cc: Include "copy-relocs.h".
-       (class Target_i386): Change type of copy_relocs_ to variable,
-       update initializer.
-       (Target_i386::copy_reloc): Rewrite to pass to Copy_relocs class.
-       Change all callers.
-       (Target_i386::do_finalize_sections): Change handling of
-       copy_relocs_.
-       * sparc.cc: Include "copy-relocs.h".
-       (class Target_sparc): Change type of copy_relocs_ to variable,
-       update initializer.
-       (Target_sparc::copy_reloc): Rewrite to pass to Copy_relocs class.
-       Change all callers.
-       (Target_sparc::do_finalize_sections): Change handling of
-       copy_relocs_.
-       * x86_64.cc: Include "copy-relocs.h".
-       (class Target_x86_64): Change type of copy_relocs_ to variable,
-       update initializer.
-       (Target_x86_64::copy_reloc): Rewrite to pass to Copy_relocs
-       class.  Change all callers.
-       (Target_x86_64::do_finalize_sections): Change handling of
-       copy_relocs_.
-       * Makefile.am (CCFILES): Add copy-relocs.cc.
-       (HFILES): Add copy-relocs.h.
-
-       * Makefile.in, aclocal.m4, testsuite/Makefile.in: Rebuild.
-
-       * testsuite/script_test_4.sh: Permit leading zeroes.
-
-2008-04-15  Ian Lance Taylor  <iant@google.com>
-
-       * script-sections.cc (Script_sections::create_segments): Use
-       header_size_adjustment even when there is enough room for the
-       headers.
-       * testsuite/script_test_4.sh: New file.
-       * testsuite/script_test_4.t: New file.
-       * testsuite/Makefile.am (check_SCRIPTS): Add script_test_4.sh.
-       (check_DATA): Add script_test_4.stdout.
-       (MOSTLYCLEANFILES): Likewise.
-       (script_test_4): New target.
-       (script_test_4.stdout): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-       * sparc.cc: Add definitions for Output_data_plt_sparc class
-       constants.
-
-2008-04-14  David S. Miller  <davem@davemloft.net>
-
-       * sparc.cc: New file.
-       * Makefile.am (TARGETSOURCES): Add sparc.cc
-       (ALL_TARGETOBJS): Add sparc.$(OBJEXT)
-       * configure.tgt: Document targ_extra_size and
-       targ_extra_big_endian.  Add entries for sparc-* and
-       sparc64-*.
-       * configure.ac: Handle targ_extra_size and
-       targ_extra_big_endian.
-       * Makefile.in: Rebuild.
-       * configure: Likewise.
-       * po/POTFILES.in: Likewise.
-       * po/gold.pot: Likewise.
-
-2008-04-14  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::Layout): Initialize sections_are_attached_.
-       (Layout::get_output_section): Ignore SHF_WRITE and SHF_EXECINSTR
-       in the name/type/flags to section mapping.  Don't call
-       allocate_output_section.
-       (Layout::choose_output_section): Change parameter from adjust_name
-       to is_input_section.  Don't permit input sections after sections
-       are attached to segments.  Don't call allocate_output_section.
-       (Layout::layout_eh_frame): Call update_flags_for_input_section,
-       not write_enable_output_section.
-       (Layout::make_output_section): Don't push to
-       unattached_section_list_ nor call attach_to_segment.  Call
-       attach_section_to_segment if sections are attached.
-       (Layout::attach_sections_to_segments): New function.
-       (Layout::attach_section_to_segment): New function.
-       (Layout::attach_allocated_section_to_segment): Rename from
-       attach_to_segment.  Remove flags parameter.
-       (Layout::allocate_output_section): Remove function.
-       (Layout::write_enable_output_section): Remove function.
-       * layout.h (class Layout): Update for above changes.  Add new
-       field sections_are_attached_.
-       * output.h (Output_section::update_flags_for_input_section): New
-       function.
-       * output.cc (Output_section::add_input_section): Call
-       update_flags_for_input_section.
-       * gold.cc (queue_middle_tasks): Call attach_sections_to_segments.
-
-2008-04-11  Cary Coutant  <ccoutant@google.com>
-
-       * i386.cc (Target_i386::got_mod_index_entry): Restore code previously
-       thought unnecessary.
-       * x86_64.cc (Target_x86_64::got_mod_index_entry): Likewise.
-
-2008-04-11  Ian Lance Taylor  <iant@google.com>
-
-       * output.h (class Output_section_data): Remove inline definition
-       of set_addralign.
-       * output.cc (Output_section_data::set_addralign): New function.
-
-2008-04-11  Cary Coutant  <ccoutant@google.com>
-
-       Add support for TLS descriptors for i386 and x86_64.
-       * i386.cc (Target_i386::Relocate::tls_desc_gd_to_ie): New function.
-       (Target_i386::Relocate::tls_desc_gd_to_le): New function.
-       (Target_i386::Got_type): Add GOT_TYPE_TLS_NOFFSET and
-       GOT_TYPE_TLS_DESC.
-       (Target_i386::got_mod_index_entry): Remove unnecessary code.
-       (Target_i386::Scan::local): Implement R_386_TLS_GOTDESC and
-       R_386_TLS_DESC_CALL relocations.  Fix problem with initial-exec
-       relocations.
-       (Target_i386::Scan::global): Fix problem with GD-to-IE relaxation.
-       Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations;
-       Fix problem with initial-exec relocations.
-       (Target_i386::Relocate::relocate_tls): Likewise.
-       (Target_i386::Relocate::tls_gd_to_ie): Fix problem with GD-to-IE
-       relaxation.
-       * output.cc (Output_data_dynamic::Dynamic_entry::write): Add
-       support for section-plus-offset dynamic table entries.
-       * output.h (Output_data_dynamic::add_section_plus_offset): New function.
-       (Output_data_dynamic::Dynamic_entry): Add support for
-       section-plus-offset dynamic table entries.
-       (Output_data_dynamic::Classification): Likewise.
-       (Output_data_dynamic::classification_): Renamed offset_.
-       * x86_64.cc (Target_x86_64::Relocate::tls_desc_gd_to_ie): New function.
-       (Target_x86_64::Relocate::tls_desc_gd_to_le): New function.
-       (Target_x86_64::make_plt_section): New function.
-       (Target_x86_64::reserve_tlsdesc_entries): New function.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64): Add new parameter.
-       (Output_data_plt_x86_64::reserve_tlsdesc_entry): New function.
-       (Output_data_plt_x86_64::has_tlsdesc_entry): New function.
-       (Output_data_plt_x86_64::get_tlsdesc_got_offset): New function.
-       (Output_data_plt_x86_64::get_tlsdesc_plt_offset): New function.
-       (Output_data_plt_x86_64::tlsdesc_plt_entry): New field.
-       (Output_data_plt_x86_64::set_final_data_size): Move out of line;
-       add extra PLT entry for TLS descriptors.
-       (Output_data_plt_x86_64::got_): New field.
-       (Output_data_plt_x86_64::tlsdesc_got_offset_): New field.
-       (Output_data_plt_x86_64::Output_data_plt_x86_64): Initialize new
-       fields.
-       (Output_data_plt_x86_64::do_write): Write extra PLT entry for TLS
-       descriptors.
-       (Target_x86_64::make_plt_entry): Factor out make_plt_section.
-       (Target_x86_64::got_mod_index_entry): Remove unnecessary code.
-       (Target_x86_64::Scan::local): Implement R_386_TLS_GOTDESC and
-       R_386_TLS_DESC_CALL relocations.
-       (Target_x86_64::Scan::global): Likewise.
-       (Target_x86_64::do_finalize_sections): Add dynamic table entries
-       for TLS descriptors.
-       (Relocate::relocate_tls): Fix problem with GD-to-IE relaxation.
-       Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations.
-       (Target_x86_64::Relocate::tls_gd_to_ie): Fix problem with
-       GD-to-IE relaxation.
-       * configure.ac: Export new conditional variables TLS_GNU2_DIALECT
-       and TLS_DESCRIPTORS.
-       * Makefile.in: Rebuild.
-       * configure: Rebuild.
-       * testsuite/Makefile.am (tls_shared_gd_to_ie_test): New target.
-       (tls_test_shared2.so): New target.
-       (tls_shared_gd_to_ie_test_SOURCES): New variable.
-       (tls_shared_gd_to_ie_test_DEPENDENCIES): New variable.
-       (tls_shared_gd_to_ie_test_LDFLAGS): New variable.
-       (tls_shared_gd_to_ie_test_LDADD): New variable.
-       (tls_shared_gnu2_gd_to_ie_test): New target.
-       (tls_test_gnu2.o, tls_test_file2_gnu2.o, tls_test_gnu2_shared2.so):
-       New targets.
-       (tls_shared_gnu2_gd_to_ie_test_SOURCES): New variable.
-       (ls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): New variable.
-       (tls_shared_gnu2_gd_to_ie_test_LDFLAGS): New variable.
-       (tls_shared_gnu2_gd_to_ie_test_LDADD): New variable.
-       (tls_shared_gnu2_test): New target.
-       (tls_test_gnu2_shared.so): New target.
-       (tls_shared_gnu2_test_SOURCES): New variable.
-       (tls_shared_gnu2_test_DEPENDENCIES): New variable.
-       (tls_shared_gnu2_test_LDFLAGS): New variable.
-       (tls_shared_gnu2_test_LDADD): New variable.
-       * testsuite/Makefile.in: Rebuild.
-       * testsuite/Makefile.
-
-2008-04-11  Ian Lance Taylor  <iant@google.com>
-
-       * testsuite/Makefile.am (justsyms_2r.o): Add dependency on
-       justsyms.t.
-       * testsuite/Makefile.in: Rebuild.
-
-       * testsuite/script_test_2a.cc (script_test_string_a): Make 8 bytes
-       long.
-       * testsuite/script_test_2.cc (main): Adjust test.
-
-2008-04-11  David S. Miller  <davem@davemloft.net>
-           Ian Lance Taylor  <iant@google.com>
-
-       * options.h (General_options): Add entries for '-Y' and
-       '-relax'.
-       * options.cc (General_options:finalize): If -Y was used, add those
-       entries to the library path instead of the default "/lib" and
-       "/usr/lib".
-
-2008-04-11  David S. Miller  <davem@davemloft.net>
-
-       * testsuite/justsyms.t: Start at 0x100.
-       * testsuite/justsyms_1.cc: Adjust justsyms_string assertion.
-       * testsuite/script_test_2b.cc (script_test_string_b): Make 8 bytes
-       long.
-       * testsuite/script_test_2.cc: Adjust string and section length
-       checks.
-
-2008-04-09  Ian Lance Taylor  <iant@google.com>
-
-       PR gold/5996
-       * script-sections.cc (Sections_element::allocate_to_segment): Add
-       orphan parameter.
-       (Output_section_definition::allocate_to_segment): Likewise.
-       (Orphan_output_section::allocate_to_segment): Likewise.
-       (Script_sections::attach_sections_using_phdrs_clause): Don't
-       propagate non-PT_LOAD segments to orphan sections.
-       * testsuite/Makefile.am (script_test_3.stdout): Generate using
-       readelf rather than objdump.
-       * testsuite/script_test_3.sh: Adjust accordingly.  Test that
-       .interp section and PT_INTERP segment are the same size.
-       * testsuite/Makefile.in: Rebuild.
-
-       * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
-       aliases for symbols defined in the same object.
-       * testsuite/Makefile.am (check_PROGRAMS): Add weak_alias_test.
-       (weak_alias_test_SOURCES): New variable.
-       (weak_alias_test_DEPENDENCIES): New variable.
-       (weak_alias_test_LDFLAGS): New variable.
-       (weak_alias_test_LDADD): New variable.
-       (weak_alias_test_1_pic.o, weak_alias_test_1.so): New targets.
-       (weak_alias_test_2_pic.o, weak_alias_test_2.so): New targets.
-       (weak_alias_test_3.o): New target.
-       (weak_alias_test_4_pic.o, weak_alias_test_4.so): New targets.
-       * testsuite/weak_alias_test_main.cc: New file.
-       * testsuite/weak_alias_test_1.cc: New file.
-       * testsuite/weak_alias_test_2.cc: New file.
-       * testsuite/weak_alias_test_3.cc: New file.
-
-2008-04-08  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Add --noinhibit-exec option.
-       * main.cc (main): Check --noinhibit-exec.
-
-       * options.h (class General_options): Define --wrap as a special
-       option.  Add wrap_symbols_ field.
-       (General_options::any_wrap_symbols): New function.
-       (General_options::is_wrap_symbol): New function.
-       * options.cc (General_options::parse_wrap): New function.
-       (General_options::General_options): Initialize wrap_symbols_.
-       * symtab.cc (Symbol_table::wrap_symbol): New function.
-       (Symbol_table::add_from_object): Handle --wrap.
-       * symtab.h (class Symbol_table): Declare wrap_symbol.
-       * target.h (Target::wrap_char): New function.
-       (Target::Target_info): Add wrap_char field.
-       * i386.cc (Target_i386::i386_info): Initialize wrap_char.
-       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
-       * testsuite/testfile.cc (Target_test::test_target_info):
-       Likewise.
-
-       * errors.cc (Errors::undefined_symbol): Mention symbol version if
-       there is one.
-
-       * layout.h (class Layout): Add added_eh_frame_data_ field.
-       * layout.cc (Layout::Layout): Initialize new field.
-       (Layout::layout_eh_frame): Don't add eh_frame_data_ to .eh_frame
-       output section until we find a section we merged successfully.
-       * object.cc (Sized_relobj::check_eh_frame_flags): Don't require
-       that the size be non-zero.
-
-       * merge.cc (Object_merge_map::get_output_offset): Remove inline
-       qualifier.
-
-2008-04-08  Craig Silverstein  <csilvers@google.com>
-
-       * configure.ac: Export new conditional variable HAVE_ZLIB.
-       * testsuite/Makefile.am (flagstest_o_specialfile): Condition
-       on HAVE_ZLIB.
-       (flagstest_o_specialfile_and_compress_debug_sections): Likewise.
-       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
-
-2008-04-07  Ian Lance Taylor  <iant@google.com>
-
-       * version.cc (version_string): Set to "1.5".
-
-       * x86_64.cc (Target_x86_64::Scan): Change from struct to class.
-       Add issued_non_pic_error_ field.  Declare check_non_pic.
-       (Target_x86_64::Scan::check_non_pic): New function.
-       (Target_x86_64::Scan::local): Call check_non_pic as appropriate.
-       (Target_x86_64::Scan::global): Likewise.
-
-       * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
-       addend parameter.  Change caller.  Handle merge sections.
-       (Output_reloc<SHT_REL>::symbol_value): Change parameter type from
-       Address to Addend.  Don't add in the result of
-       local_section_offset, pass down the addend and use the returned
-       value.
-       * output.h (class Output_reloc<SHT_REL>): Add Addend typedef.
-       Update declarations of local_section_offset and symbol_value.
-       * testsuite/two_file_test_1.cc (t18): New function.
-       * testsuite/two_file_test_2.cc (f18): New function.
-       * testsuite/two_file_test_main.cc (main): Call t18.
-       * testsuite/two_file_test.h (t18, f18): Declare.
-
-       * configure.ac: Don't test for objdump, c++filt, or readelf.
-       * testsuite/Makefile.am: Remove READELF and OBJDUMP_AND_CPPFILT
-       conditionals.
-       (TEST_READELF): New variable.
-       (TEST_OBJDUMP, TEST_CXXFILT, TEST_STRIP): New variables.
-       (check_PROGRAMS): Add two_file_strip_test.
-       (two_file_strip_test): New target.
-       (check_PROGRAMS): Add two_file_same_shared_strip_test.
-       (two_file_same_shared_strip_test_SOURCES): New variable.
-       (two_file_same_shared_strip_test_DEPENDENCIES): New variable.
-       (two_file_same_shared_strip_test_LDFLAGS): New variable.
-       (two_file_same_shared_strip_test_LDADD): New variable.
-       (two_file_shared_strip.so): New target.
-       (ver_test_2.syms, ver_test_4.syms): Use TEST_READELF.
-       (ver_test_5.syms, ver_test_7.syms): Likewise.
-       (ver_matching_test.stdout): Use TEST_OBJDUMP and TEST_CXXFILT.
-       (strip_test_3.stdout): Use TEST_OBJDUMP.
-       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
-
-2008-04-04  Cary Coutant  <ccoutant@google.com>
-
-       * symtab.h (Symbol::is_weak_undefined): New function.
-       (Symbol::is_strong_undefined): New function.
-       (Symbol::is_absolute): New function.
-       (Symbol::needs_plt_entry): Exclude weak undefined symbols.
-       (Symbol::needs_dynamic_reloc): Exclude weak undefined and
-       absolute symbols.
-       * testsuite/Makefile.am (check_PROGRAMS): Add weak_undef_test.
-       (weak_undef_test): New target.
-       * testsuite/Makefile.in: Rebuild.
-       * testsuite/weak_undef_file1.cc: New file.
-       * testsuite/weak_undef_file2.cc: New file.
-       * testsuite/weak_undef_test.cc: New file.
-
-2008-04-03  Craig Silverstein  <csilvers@google.com>
-
-       * compressed_output.h (class Output_compressed_section): Use
-       unsigned buffer.
-       * compressed_output.cc (zlib_compress): Use unsigned buffers,
-       add zlib header.
-       (zlib_compressed_suffix): Removed.
-       (Output_compressed_section::set_final_data_size): Use unsigned
-       buffers.
-       * testsuite/Makefile.am (flagstest_compress_debug_sections):
-       Fix linker invocation.
-       (flagstest_o_specialfile_and_compress_debug_sections):
-       Likewise.
-       * testsuite/Makefile.in: Regenerated.
-
-2008-04-02  David S. Miller  <davem@davemloft.net>
-
-       *  dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog,
-       Sized_dwarf_line_info::process_one_opcode): Use Swap_unaligned.
-
-2008-04-02  Craig Silverstein  <csilvers@google.com>
-
-       * TODO: New file.
-
-2008-04-02  Ian Lance Taylor  <iant@google.com>
-
-       * fileread.cc (File_read::find_view): Add byteshift and vshifted
-       parameters.  Update for new key type to views_.  Change all
-       callers.
-       (File_read::read): Adjust for byteshift in returned view.
-       (File_read::add_view): New function, broken out of
-       find_and_make_view.
-       (File_read::make_view): New function, broken out of
-       find_and_make_view.
-       (File_read::find_or_make_view): Add offset and aligned
-       parameters.  Rewrite accordingly.  Change all callers.
-       (File_read::get_view): Add offset and aligned parameters.  Adjust
-       for byteshift in return value.
-       (File_read::get_lasting_view): Likewise.
-       * fileread.h (class File_read): Update declarations.
-       (class File_read::View): Add byteshift_ field.  Add byteshift to
-       constructor.  Add byteshift method.
-       * archive.h (Archive::clear_uncached_views): New function.
-       (Archive::get_view): Add aligned parameter.  Change all callers.
-       * object.h (Object::get_view): Add aligned parameter.  Change all
-       callers.
-       (Object::get_lasting_view): Likewise.
-
-       * fileread.cc (File_read::release): Don't call clear_views if
-       there are multiple objects.
-       * fileread.h (File_read::clear_uncached_views): New function.
-       * archive.cc (Add_archive_symbols::run): Call clear_uncached_views
-       on the archive.
-
-2008-03-31  Cary Coutant  <ccoutant@google.com>
-
-       Add thin archive support.
-       * archive.cc (Archive::armagt): New const.
-       (Archive::setup): Remove task parameter and calls to unlock.
-       (Archive::unlock_nested_archives): New function.
-       (Archive::read_header): Add nested_off parameter. Change
-       all callers.
-       (Archive::interpret_header): Likewise.
-       (Archive::include_all_members): Change to handle thin
-       archives.
-       (Archive::include_member): Likewise.
-       * archive.h (Archive::Archive): Add new parameters and
-       initializers.
-       (Archive::armagt): New const.
-       (Archive::setup): Remove task parameter.
-       (Archive::unlock_nested_archives): New function.
-       (Archive::read_header): Add nested_off parameter.
-       (Archive::interpret_header): Likewise.
-       (Archive::Nested_archive_table): New typedef.
-       (Archive::is_thin_archive_): New field.
-       (Archive::nested_archives_): New field.
-       (Archive::options_): New field.
-       (Archive::dirpath_): New field.
-       (Archive::task_): New field.
-       * readsyms.cc (Read_symbols::do_read_symbols): Add check
-       for thin archives.  Pass additional parameters to
-       Archive::Archive.  Unlock the archive file after calling
-       Archive::setup.
-
-2008-03-29  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol_table::do_define_as_constant): Don't force a
-       version symbol to be local.
-       * testsuite/ver_test_4.sh: New file.
-       * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_4.sh.
-       (check_DATA): Add ver_test_4.syms.
-       (ver_test_4.syms): New target.
-       * testsuite/Makefile.in: Rebuild.
-
-       * output.cc
-       (Output_section::Input_section_sort_entry::has_priority): New
-       function.
-       (Output_section::Input_section_sort_entry::match_file_name): New
-       function.
-       (Output_section::Input_section_sort_entry::match_section_name):
-       Remove.
-       (Output_section::Input_section_sort_entry::match_section_name_prefix):
-       Remove.
-       (Output_section::Input_section_sort_entry::match_section_file):
-       Remove.
-       (Output_section::Input_section_sort_compare::operator()): Rewrite
-       using new Input_section_sort_entry functions.  Sort crtbegin and
-       crtend first.  Sort sections with no priority before sections with
-       a priority.
-       * testsuite/initpri1.c (d3): Check j != 4.
-       (cd5): New constructor/destructor function.
-       (main): Check j != 2.
-
-       * symtab.cc (Symbol_table::add_from_object): If we don't use the
-       new symbol when resolving, don't call set_is_default.
-       * testsuite/ver_test_7.cc: New file.
-       * testsuite/ver_test_7.sh: New file.
-       * testsuite/Makefile.am (ver_test_7.so): New target.
-       (ver_test_7.o): New target.
-       (check_SCRIPTS): Add ver_test_7.sh.
-       (check_DATA): Add ver_test_7.syms.
-       (ver_test_7.syms): New target.
-
-2008-03-28  Ian Lance Taylor  <iant@google.com>
-
-       * layout.cc (Layout::layout): If we see an input section with a
-       name that needs sorting, set the must_sort flag for the output
-       section.
-       (Layout::make_output_section): If the name of the output section
-       indicates that it might require sorting, set the may_sort flag.
-       * output.h (Output_section::may_sort_attached_input_sections): New
-       function.
-       (Output_section::set_may_sort_attached_input_sections): New
-       function.
-       (Output_section::must_sort_attached_input_sections): New
-       function.
-       (Output_section::set_must_sort_attached_input_sections): New
-       function.
-       (class Output_section): Declare Input_section_sort_entry.  Define
-       Input_section_sort_compare.  Declare
-       sort_attached_input_sections.  Add new fields:
-       may_sort_attached_input_sections_,
-       must_sort_attached_input_sections_,
-       attached_input_sections_are_sorted_.
-       * output.cc (Output_section::Output_section): Initialize new
-       fields.
-       (Output_section::add_input_section): Add an entry to
-       input_sections_ if may_sort or must_sort are true.
-       (Output_section::set_final_data_size): Call
-       sort_attached_input_sections if necessary.
-       (Output_section::Input_section_sort_entry): Define new class.
-       (Output_section::Input_section_sort_compare::operator()): New
-       function.
-       (Output_section::sort_attached_input_sections): New function.
-       * configure.ac: Check whether the compiler supports constructor
-       priorities.  Define a CONSTRUCTOR_PRIORITY automake conditional.
-       * testsuite/initpri1.c: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add initpri1 if
-       CONSTRUCTOR_PRIORITY.
-       (initpri1_SOURCES, initpri1_DEPENDENCIES): New variables.
-       (initpri1_LDFLAGS): New variable.
-       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
-
-2008-03-27  Ian Lance Taylor  <iant@google.com>
-
-       * common.cc (Sort_commons::operator): Correct sorting algorithm.
-       * testsuite/common_test_1.c: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add common_test_1.
-       (common_test_1_SOURCES): New variable.
-       (common_test_1_DEPENDENCIES): New variable.
-       (common_test_1_LDFLAGS): New variable.
-
-       * symtab.cc (Symbol_table::add_from_object): Handle saw_undefined_
-       and commons_ correctly when NAME/VERSION does not override
-       NAME/NULL.
-       * testsuite/ver_test_6.c: New file.
-       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_6
-       (ver_test_6_SOURCES, ver_test_6_DEPENDENCIES): New variables.
-       (ver_test_6_LDFLAGS, ver_test_6_LDADD): New variables.
-
-2008-03-26  Ian Lance Taylor  <iant@google.com>
-
-       * symtab.cc (Symbol_table::add_from_relobj): Don't set the version
-       of an undefined symbol from a version script.
-       * testsuite/Makefile.am (ver_test_5.so): New target.
-       (ver_test_5.o): New target.
-       (check_SCRIPTS): Add ver_test_5.sh.
-       (check_DATA): Add ver_test_5.syms.
-       (ver_test_5.syms): New target.
-       * testsuite/ver_test_5.cc: New file.
-       * testsuite/ver_test_5.script: New file.
-       * testsuite/ver_test_5.sh: New file.
-       * Makefile.in, testsuite/Makefile.in: Rebuild.
-
-       PR gold/5986
-       Fix problems building gold with gcc 4.3.0.
-       * gold.h (TEMPLATE_ATTRIBUTE_PRINTF_4): Define.
-       (gold_error_at_location, gold_warning_at_location): Use it.
-       * configure.ac: Check whether we can compile and use a template
-       function with a printf attribute.
-       * x86_64.cc (Target_x86_64::do_code_fill): Swap out a 32-bit value
-       when jumping over bytes.
-       * object.cc: Instantiate Object::read_section_data.
-       * debug.h: Include <cstring>
-       * dwarf_reader.cc: Include <algorithm>
-       * main.cc: Include <cstring>.
-       * options.cc: Include <cstring>.
-       * output.cc: Include <cstring>.
-       * script.cc: Include <cstring>.
-       * script.h: Include <string>.
-       * symtab.cc: Include <cstring> and <algorithm>.
-       * target-select.cc: Include <cstring>.
-       * version.cc: Include <string>.
-       * testsuite/testmain.cc: Include <cstdlib>.
-       * configure, config.in: Rebuild.
-
-2008-03-25  Ian Lance Taylor  <iant@google.com>
-
-       * options.cc: Include "../bfd/bfdver.h".
-       (options::help): Print bug reporting address.
-
-       * version.cc (print_version): Adjust output for current value of
-       BFD_VERSION_STRING.
-
-       * NEWS: New file.
-
-       * options.cc (options::help): Print list of supported targets.
-       * target-select.h: Include <vector>.
-       (class Target_selector): Make machine_, size_, and is_big_endian_
-       fields const.  Add bfd_name_ and instantiated_target_ fields.
-       (Target_selector::Target_selector): Add bfd_name parameter.
-       (Target_selector::recognize): Make non-virtual, call
-       do_recognize.
-       (Target_selector::recognize_by_name): Make non-virtual, call
-       do_recognize_by_name.
-       (Target_selector::supported_names): New function.
-       (Target_selector::bfd_name): New function.
-       (Target_selector::do_instantiate_target): New pure virtual
-       function.
-       (Target_selector::do_recognize): New virtual function.
-       (Target_selector::do_recognize_by_name): New virtual function.
-       (Target_selector::instantiate_target): New private function.
-       (supported_target_names): Declare.
-       * target-select.cc (Target_selector::Target_selector): Update for
-       new parameter and fields.
-       (select_target_by_name): Check that the name matches before
-       calling recognize_by_name.
-       (supported_target_names): New function.
-       * i386.cc (class Target_selector_i386): Update Target_selector
-       constructor call.  Remove recognize and recognize_by_name.  Add
-       do_instantiate_target.
-       * x86_64.cc (class Target_selector_x86_64): Likewise.
-       * testsuite/testfile.cc (class Target_selector_test): Update for
-       changes to Target_selector.
-
-       * README: Rewrite, with some notes on unsupported features.
-
-2008-03-24  Cary Coutant  <ccoutant@google.com>
-
-       * i386.cc (Target_i386::Got_type): New enum declaration.
-       (Target_i386::Scan::local): Updated callers of Output_data_got
-       member functions.
-       (Target_i386::Scan::global): Likewise.
-       (Target_i386::Relocate::relocate): Likewise.
-       (Target_i386::Relocate::relocate_tls): Likewise.
-       * object.h (Got_offset_list): New class.
-       (Sized_relobj::local_has_got_offset): Added got_type parameter.
-       (Sized_relobj::local_got_offset): Likewise.
-       (Sized_relobj::set_local_got_offset): Likewise.
-       (Sized_relobj::local_has_tls_got_offset): Removed.
-       (Sized_relobj::local_tls_got_offset): Removed.
-       (Sized_relobj::set_local_tls_got_offset): Removed.
-       (Sized_relobj::Local_got_offsets): Changed to store a list of offsets.
-       * output.cc (Output_data_got::add_global): Added got_type parameter.
-       (Output_data_got::add_global_with_rel): Likewise.
-       (Output_data_got::add_global_with_rela): Likewise.
-       (Output_data_got::add_global_pair_with_rel): New function.
-       (Output_data_got::add_global_pair_with_rela): New function.
-       (Output_data_got::add_local): Added got_type parameter.
-       (Output_data_got::add_local_with_rel): Likewise.
-       (Output_data_got::add_local_with_rela): Likewise.
-       (Output_data_got::add_local_pair_with_rel): New function.
-       (Output_data_got::add_local_pair_with_rela): New function.
-       (Output_data_got::add_global_tls): Removed.
-       (Output_data_got::add_global_tls_with_rel): Removed.
-       (Output_data_got::add_global_tls_with_rela): Removed.
-       (Output_data_got::add_local_tls): Removed.
-       (Output_data_got::add_local_tls_with_rel): Removed.
-       (Output_data_got::add_local_tls_with_rela): Removed.
-       * output.h (Output_data_got::add_global): Added got_type parameter.
-       (Output_data_got::add_global_with_rel): Likewise.
-       (Output_data_got::add_global_with_rela): Likewise.
-       (Output_data_got::add_global_pair_with_rel): New function.
-       (Output_data_got::add_global_pair_with_rela): New function.
-       (Output_data_got::add_local): Added got_type parameter.
-       (Output_data_got::add_local_with_rel): Likewise.
-       (Output_data_got::add_local_with_rela): Likewise.
-       (Output_data_got::add_local_pair_with_rel): New function.
-       (Output_data_got::add_local_pair_with_rela): New function.
-       (Output_data_got::add_global_tls): Removed.
-       (Output_data_got::add_global_tls_with_rel): Removed.
-       (Output_data_got::add_global_tls_with_rela): Removed.
-       (Output_data_got::add_local_tls): Removed.
-       (Output_data_got::add_local_tls_with_rel): Removed.
-       (Output_data_got::add_local_tls_with_rela): Removed.
-       * resolve.cc (Symbol::override_base_with_special): Removed
-       reference to has_got_offset_ field.
-       * symtab.cc (Symbol::init_fields): Replaced initialization
-       of got_offset_ with got_offsets_.  Removed initialization
-       of has_got_offset_
-       * symtab.h (Symbol::has_got_offset): Aded got_type parameter.
-       (Symbol::got_offset): Likewise.
-       (Symbol::set_got_offset): Likewise.
-       (Symbol::has_tls_got_offset): Removed.
-       (Symbol::tls_got_offset): Removed.
-       (Symbol::set_tls_got_offset): Removed.
-       (Symbol::got_offset_): Removed.
-       (Symbol::tls_mod_got_offset_): Removed.
-       (Symbol::tls_pair_got_offset_): Removed.
-       (Symbol::got_offsets_): New field.
-       (Symbol::has_got_offset): Removed.
-       (Symbol::has_tls_mod_got_offset): Removed.
-       (Symbol::has_tls_pair_got_offset): Removed.
-       * x86_64.cc (Target_x86_64::Got_type): New enum declaration.
-       (Target_x86_64::Scan::local): Updated callers of Output_data_got
-       member functions.
-       (Target_x86_64::Scan::global): Likewise.
-       (Target_x86_64::Relocate::relocate): Likewise.
-       (Target_x86_64::Relocate::relocate_tls): Likewise.
-
-2008-03-25  Ben Elliston  <bje@au.ibm.com>
-
-       * yyscript.y: Fix spelling error in comment.
-
-2008-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * options.h (class General_options): Define build_id option.
-       * layout.h (class Layout): Declare write_build_id, create_note,
-       create_build_id.  Add build_id_note_ member.
-       * layout.cc: Include <cerrno>, <fcntl.h>, <unistd.h>,
-       "libiberty.h", "md5.h", "sha1.h".
-       (Layout::Layout): Initialize eh_frame_data_,
-       eh_frame_hdr_section_, and build_id_note_.
-       (Layout::finalize): Call create_build_id.
-       (Layout::create_note): New function, broken out of
-       Layout::create_gold_note.
-       (Layout::create_gold_note): Call create_note.
-       (Layout::create_build_id): New function.
-       (Layout::write_build_id): New function.
-       (Close_task_runner::run): Call write_build_id.
-
-       * x86_64.cc: Correct license to GPLv3.
-
-2008-03-23  Ian Lance Taylor  <iant@google.com>
-
-       * options.cc: Include "demangle.h".
-       (parse_optional_string): New function.
-       (parse_long_option): Handle takes_optional_argument.
-       (parse_short_option): Update dash_z initializer.  Handle
-       takes_optional_argument.
-       (General_options::General_options): Initialize do_demangle_.
-       (General_options::finalize): Set do_demangle_.  Handle demangling
-       style.
-       * options.h (parse_optional_string): Declare.
-       (struct One_option): Add optional_arg field.  Update constructor.
-       Update call constructor calls.  Add takes_optional_argument
-       function.
-       (DEFINE_var): Add optional_arg__ parameter.  Change all callers.
-       (DEFINE_optional_string): Define.
-       (General_options::demangle): Change from DEFINE_bool to
-       DEFINE_optional_string.
-       (General_options::no_demangle): New function.
-       (General_options::do_demangle): New function.
-       (General_options::set_do_demangle): New function.
-       (General_options::execstack_status_): Move definition to end of
-       class definition.
-       (General_options::static_): Likewise.
-       (General_options::do_demangle_): New field.
-       * object.cc (big_endian>::get_symbol_location_info): Call
-       Options::do_demangle, not Options::demangle.
-       * symtab.cc (demangle): Likewise.
-
-2008-03-22  Ian Lance Taylor  <iant@google.com>
-
-       * gold.h: Include <cstddef> and <sys/types.h>
-       * options.h: Include <cstring>.
-
-2008-03-21  Ian Lance Taylor  <iant@google.com>
-
-       * Added source code to GNU binutils.
-\f
-Copyright (C) 2008-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/gold/ChangeLog-0815 b/gold/ChangeLog-0815
new file mode 100644 (file)
index 0000000..1767933
--- /dev/null
@@ -0,0 +1,18139 @@
+2015-12-17  Peter Collingbourne  <pcc@google.com>
+
+       PR gold/18780
+       * arm.cc (Target_arm::do_make_data_plt): Choose PLT generator based
+       on value of --long-plt flag.
+       (Output_data_plt_arm_standard::do_get_plt_entry_size): Moved to
+       Output_data_plt_arm_short.
+       (Output_data_plt_arm_standard::do_fill_plt_entry): Likewise.
+       (Output_data_plt_arm_standard::plt_entry): Likewise.
+       (Output_data_plt_arm_standard::do_fill_first_plt_entry): Fix
+       variable reference.
+       (Output_data_plt_arm_short): New class.
+       (Output_data_plt_arm_short::do_fill_plt_entry): Error out on too large
+       PLT offsets instead of asserting.
+       (Output_data_plt_arm_long): New class.
+       * options.h (General_options): Define --long-plt flag.
+
+2015-12-16  Roland McGrath  <mcgrathr@google.com>
+
+       PR ld/17473
+       * binary.cc: Move #include "safe-ctype.h" to be last #include.
+
+2015-12-13  Cary Coutant  <ccoutant@gmail.com>
+
+       * object.h (Object::get_output_view): remove const from return type.
+       (Object::do_get_output_view): Likewise.
+       (Sized_relobj_file::do_get_output_view): Likewise.
+       * reloc.cc (Sized_relobj_file::do_get_output_view): Likewise.
+
+2015-12-11  Cary Coutant  <ccoutant@gmail.com>
+
+       * target.h (Target::calls_non_split): Add prelocs, reloc_count
+       parameters.
+       (Target::do_calls_non_split): Likewise.
+       * target.cc (Target::do_calls_non_split): Likewise.
+       * reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Adjust
+       call to Target::calls_non_split.
+       * i386.cc (Target_i386::do_calls_non_split): Add prelocs, reloc_count
+       parameters.
+       * powerpc.cc (Target_powerpc::do_calls_non_split): Likewise.
+       * x86_64.cc (Target_x86_64::do_calls_non_split): Likewise.
+
+2015-12-11  Cary Coutant  <ccoutant@gmail.com>
+
+       * object.cc (Sized_relobj_file::Sized_relobj_file): Initialize
+       output_views_.
+       * object.h (Object::get_output_view): New function.
+       (Object::do_get_output_view): New function.
+       (Sized_relobj_file::do_get_output_view): New function.
+       (Sized_relobj_file::output_views_): New data member.
+       * reloc.cc: (Sized_relobj_file::do_relocate): Store pointer to
+       output views in class object.
+       (Sized_relobj_file::do_get_output_view): New function.
+
+2015-12-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19317
+       * symtab.cc (Symbol_table::add_from_relobj): Don't complain
+       plugin needed to handle slim lto object for relocatable link.
+
+2015-12-09  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): New constant
+       d_offset.  Use throughout.
+       (Target_powerpc::relocate_relocs): Likewise.
+
+2015-12-09  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Edit ELFv2
+       entry code.
+       (Target_powerpc::relocate_relocs): Edit relocs to suit.
+
+2015-12-09  Alan Modra  <amodra@gmail.com>
+
+       * object.h (struct Relocate_info): Add "rr".
+       * reloc.h (Relocatable_relocs::set_strategy): New accessor.
+       * reloc.cc (Sized_relobj_file::do_relocate_sections): Init
+       relinfo.rr for relocate_section and relocate_relocs.
+       * powerpc.cc (relocate): Add rel_type and preloc parameters.
+       Delete rela and r_type params, instead recalculate these from
+       preloc.
+       (relocate_relocs): Delete Relocatable_relocs* param, instead
+       use relinfo->rr.
+       * aarch64.cc: Likewise.
+       * arm.cc: Likewise.
+       * i386.cc: Likewise.
+       * mips.cc: Likewise.
+       * s390.cc: Likewise.
+       * sparc.cc: Likewise.
+       * target.h: Likewise.
+       * tilegx.cc: Likewise.
+       * x86_64.cc: Likewise.
+       * testsuite/testfile.cc: Likewise.
+       * target-reloc.h (relocate_section): Adjust to suit.
+       (apply_relocation, relocate_relocs): Likewise.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (add_2_2_12, ld_2_12, lis_2): Define.
+       (Target_powerpc::Scan::local, global): Handle R_PPC64_ENTRY.
+       (Target_powerpc::Relocate::relocate): Edit code at R_PPC64_ENTRY.
+
+2015-12-03  Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
+
+       * object.cc (Sized_relobj::do_for_all_local_got_entries): Use
+       Local_got_entry_key for searching in local_got_offsets_.
+       * object.h (class Local_got_entry_key): New class.
+       (Relobj::local_has_got_offset): New overloaded method.
+       (Relobj::local_got_offset): Likewise.
+       (Relobj::set_local_got_offset): Likewise.
+       (Relobj::do_local_has_got_offset): Add addend argument.
+       (Relobj::do_local_got_offset): Likewise.
+       (Relobj::do_set_local_got_offset): Likewise.
+       (Sized_relobj::do_local_has_got_offset): Add addend argument, and use
+       Local_got_entry_key for searching through local_got_offsets_.
+       (Sized_relobj::do_local_got_offset): Likewise.
+       (Sized_relobj::do_set_local_got_offset): Likewise.
+       (Sized_relobj::Local_got_offsets): Change type of the key from
+       unsigned int to Local_got_entry_key, and add hash and equal_to.
+       * output.cc (Got_entry::write): Take addend into account for
+       calculating value of the local symbol for GOT.
+       (Output_data_got::add_local): New definition of overloaded method.
+       (Output_data_got::add_local_with_rel): Likewise.
+       (Output_data_got::add_local_pair_with_rel): Likewise.
+       * output.h (Output_data_got::add_local): New declaration of overloaded
+       method.
+
+2015-11-25  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19291
+       * object.cc (Sized_relobj_file::write_local_symbols): If relocatable,
+       subtract section address from symbol value.
+
+2015-11-25  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Output_data_got_powerpc::Output_data_got_powerpc): Align
+       to 256 byte boundary.
+
+2015-11-19  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::get_reference_flags): Correct
+       GOT16 and TOC16 relocs to RELATIVE_REF.
+
+2015-11-14  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19244
+       PR gold/18548
+       * symtab.cc (Symbol_table::do_define_in_output_data): Check for forced
+       local symbols only for predefined symbols.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * powerpc.cc (Powerpc_relocate_functions::addr16_dq): New function.
+       (Powerpc_relocate_functions::addr16dx_ha): Likewise.
+       (Target_powerpc::Scan::local): Handle R_POWERPC_REL16DX_HA.
+       (Target_powerpc::Scan::global): Likewise.
+       (Target_powerpc::Relocate::relocate): Likewise.
+
+2015-11-09  Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
+
+       * layout.h (Layout::is_debug_info_section): Recognize .pdr debug
+       sections.
+
+2015-11-09  Cary Coutant  <ccoutant@gmail.com>
+           Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
+
+       * copy-relocs.h (Copy_relocs::copy_reloc): Replace reloc parameter
+       with type, offset, addend.
+       (Copy_relocs::save): Likewise.
+       * copy-relocs.cc (Copy_relocs::copy_reloc): Likewise.
+       (Copy_relocs::save): Likewise.
+       * aarch64.cc (Target_aarch64::copy_reloc): Pass r_type, r_offset,
+       and r_addend to Copy_relocs::copy_reloc.
+       * arm.cc (Target_arm::copy_reloc): Likewise.
+       * i386.cc (Target_i386::copy_reloc): Likewise.
+       * mips.cc (Target_mips::copy_reloc): Likewise.
+       * powerpc.cc (Target_powerpc::copy_reloc): Likewise.
+       * s390.cc (Target_s390::copy_reloc): Likewise.
+       * sparc.cc (Target_sparc::copy_reloc): Likewise.
+       * tilegx.cc (Target_tilegx::copy_reloc): Likewise.
+       * x86_64.cc (Target_x86_64::copy_reloc): Likewise.
+
+2015-11-05  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19119
+       PR gold/19172
+       PR gold/19197
+       Revert commit 6457197210144f50a696097c0d308d81d46d5510:
+       2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+               * options.h (General_options): Remove "obsolete" from -m.
+               * parameters.cc (set_parameters_target): Check if input target
+               is compatible with output emulation set by "-m emulation".
+
+2015-11-05  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19163
+       * aarch64.cc (Target_aarch64::Relocate::relocate): Don't apply
+       certain relocations if --no-apply-dynamic-relocs is set.
+       * options.h (--apply-dynamic-relocs): New aarch64-specific option.
+
+2015-11-03  Alan Modra  <amodra@gmail.com>
+
+       * po/POTFILES.in: Regenerate.
+
+2015-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: New (simplified) Chinese translation.
+
+2015-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/19184
+       * incremental.cc (Got_plt_view_info): Add got_entry_size.
+       (Local_got_offset_visitor::visit): Replace got_entry_size_
+       with info_.got_entry_size.
+       (Local_got_offset_visitor::got_entry_size_): Removed.
+       (Global_got_offset_visitor::visit): Replace got_entry_size_
+       with info_.got_entry_size.
+       (Global_got_offset_visitor::got_entry_size_): Removed.
+       (Output_section_incremental_inputs::write_got_plt): Initialize
+       view_info.got_entry_size.
+       * target.h (Sized_target::got_entry_size): New virtual function.
+       * x86_64.cc (Target_x86_64::got_entry_size): New function.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * testsuite/binary_test.cc: Add __attribute__((aligned(1))).
+       * testsuite/script_test_12a.c: Likewise.
+       * testsuite/script_test_1a.cc: Likewise.
+       * testsuite/script_test_2.cc: Likewise.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * testsuite/debug_msg.sh: Accept more fuzz in line numbers.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR gold/18959
+       * stringpool.cc (Stringpool_template::new_key_offset): Align all
+       strings, even zero-length.
+       (Stringpool_template::set_string_offsets): Likewise.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * s390.cc: New file.
+       * Makefile.am (TARGETSOURCES): Add s390.cc.
+       (ALL_TARGETOBJS): Add s390.o.
+       * Makefile.in: Regenerate.
+       * configure.ac: Add s390 support.
+       * configure: Regenerate.
+       * configure.tgt: Add s390-*-* and s390x-*-*.
+       * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Add s390
+       support.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * archive.cc (Archive::sym64name): New const.
+       (Archive::setup): Add support for SYM64 armap.
+       (Archive::read_armap): Likewise.
+       (Archive::interpret_header): Likewise.
+       (Archive::const_iterator::read_next_header): Likewise.
+       * archive.h (Archive::sym64name): New const.
+       (Archive::read_armap): Add mapsize template parameter.
+
+2015-10-28  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * dynobj.cc (Dynobj::create_elf_hash_table): Create hash table with
+       target-specific entry size.
+       (Dynobj::sized_create_elf_hash_table): Add size template parameter.
+       * dynobj.h (Dynobj::sized_create_elf_hash_table): Likewise.
+       * layout.cc (Layout::create_dynamic_symtab): Set entsize to
+       hash_entry_size.
+       * target.h (Target::hash_entry_size): New method.
+       (Target::Target_info::hash_entry_size): New data member.
+
+       * aarch64.cc (Target_aarch64::aarch64_info): Add hash_entry_size.
+       * arm.cc (Target_arm::arm_info): Likewise.
+       (Target_arm_nacl::arm_nacl_info): Likewise.
+       * i386.cc (Target_i386::i386_info): Likewise.
+       (Target_i386_nacl::i386_nacl_info): Likewise.
+       (Target_iamcu::iamcu_info): Likewise.
+       * mips.cc (Target_mips::mips_info): Likewise.
+       (Target_mips_nacl::mips_nacl_info): Likewise.
+       * powerpc.cc (Target_powerpc::powerpc_info): Likewise.
+       * sparc.cc (Target_sparc::sparc_info): Likewise.
+       * tilegx.cc (Target_tilegx::tilegx_info): Likewise.
+       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
+       (Target_x86_64_nacl::x86_64_nacl_info): Likewise.
+       * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
+
+2015-10-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/19177
+       * i386.cc (Target_i386::Relocate::relocate): Check R_386_GOT32
+       and R_386_GOT32X relocations without base register.
+
+2015-10.27  Han Shen  <shenhan@google.com>
+
+       PR gold/19042 - unsupported reloc 311/312.
+
+       * aarch64.cc (Target_aarch64::Scan::local): Add support for
+       reloc 311/312.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
+       Treat R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX the same
+       as R_X86_64_GOTPCREL.
+       (Target_x86_64<size>::Scan::local): Likewise.
+       (Target_x86_64<size>::Scan::possible_function_pointer_reloc):
+       Likewise.
+       (Target_x86_64<size>::Scan::global): Likewise.
+       (Target_x86_64<size>::Relocate::relocate): Likewise.
+       (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.cc (Target_i386::Scan::get_reference_flags(): Treat
+       R_386_GOT32X the same as R_386_GOT32.
+       (Target_i386::Scan::local): Likewise.
+       (Target_i386::Scan::possible_function_pointer_reloc): Likewise.
+       (Target_i386::Scan::global): Likewise.
+       (Target_i386::Relocate::relocate): Likewise.
+       (Target_i386::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2015-10-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (x86_64_mov_to_lea11): Replace
+       x86_64_mov_to_lea1.o with x86_64_mov_to_lea2.o.
+       (x86_64_mov_to_lea12): Replace x86_64_mov_to_lea2.o with
+       x86_64_mov_to_lea1.o.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/19119
+       * options.h (General_options): Remove "obsolete" from -m.
+       * parameters.cc (set_parameters_target): Check if input target
+       is compatible with output emulation set by "-m emulation".
+
+2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/19118
+       * i386.cc (Target_iamcu): New class.
+       (Target_selector_iamcu): Likewise.
+       (Target_iamcu::iamcu_info): New variable.
+       (target_selector_iamcu): Likewise.
+
+2015-10-07  Andreas Schwab  <schwab@suse.de>
+
+       * aarch64.cc (aarch64_info): Set abi_pagesize to 64K.
+
+2015-10-06  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18855
+       * sparc.cc (Sparc_relocate_functions::gdop_hix22): Remove addend
+       parameter.
+       (Sparc_relocate_functions::gdop_lox10): Likewise.
+       (Target_sparc::Relocate::relocate): Use addend when computing
+       symbol value for R_SPARC_GOTDATA_OP*.
+
+2015-09-07  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18930
+       PR gold/18886
+       * resolve.cc (Symbol::override_base): Don't convert IFUNC symbols here.
+       * symtab.cc (Symbol_table::add_from_dynobj): Convert them here instead.
+
+2015-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18886
+       * resolve.cc (Symbol::override_base): Turn IFUNC symbols from
+       shared libraries into normal FUNC symbols.
+       * symtab.cc (Symbol_table::sized_write_symbol): Assert IFUNC
+       symbols aren't from shared libraries.
+
+2015-09-02  Alan Modra  <amodra@gmail.com>
+
+       PR 18878
+       * powerpc.cc (Target_powerpc): Add savres_section_ and accessor.
+       (Target_powerpc::Branch_info::make_stub): Determine whether long
+       branch stub is for save/restore function.
+       (Branch_stub_ent): Add save_res_, and extra parm to constructor.
+       (Stub_table): Add need_save_res_.
+       (Stub_table:clear_stubs): Clear need_save_res_.
+       (Stub_table:set_address_and_size): Add save/restore section size.
+       (Stub_table::add_long_branch_entry): Add save_res param.  Set
+       need_save_res_, but don't add space for save/restore stubs.
+       (Stub_table::find_long_branch_entry): Return offset to local copy
+       of save/restore func.
+       (Stub_table::do_write): Don't output save/restore stubs.  Instead
+       copy the save/restore functions.
+       (Output_data_save_res:contents): New accessor.
+       (Target_powerpc::define_save_restore_funcs): Set savres_section_.
+
+2015-08-25  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18847
+       * script-sections.cc (Memory_region::set_address): New method.
+       (Script_sections::find_memory_region): Add explicit_only parameter.
+       (Output_section_definition::set_section_addresses): Handle case where
+       script specifies both address and vma region.
+       * script-sections.h (Script_sections::find_memory_region): Add
+       explicit_only parameter.
+
+2015-08-25  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18859
+       * object.cc (Input_objects::add_object): Store objects in a map,
+       indexed by soname; update as-needed flag when necessary.
+       * object.h (Object::clear_as_needed): New method.
+       (Input_objects::so_names_): Change from set to map.
+
+2015-08-25  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/14746
+       * expression.cc (Expression::Expression_eval_info): Add
+       is_valid_pointer field.
+       (Expression::eval_maybe_dot): Add is_valid_pointer parameter.
+       Adjust all callers.
+       (Addr_expression::value_from_output_section): Check whether address
+       is valid.
+       * script.cc (Symbol_assignment::set_if_absolute): Defer assignment
+       if evaluation failed due to address that is not yet valid.
+       * script.h: (Expression::eval_maybe_dot): Add is_valid_pointer
+       parameter.
+
+2015-08-25  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18866
+       PR gold/18703
+       * symtab.cc (Symbol_table): Reorder conditions to avoid internal error.
+
+2015-08-20  Alan Modra  <amodra@gmail.com>
+
+       PR gold/18846
+       * target-reloc.h (relocate_relocs <RELOC_ADJUST_FOR_SECTION_RELA>):
+       Subtract os->address() from addend.
+       * powerpc.cc (relocate_relocs): Likewise.
+
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * mips.cc (plt0_entry_o32, plt0_entry_n32, plt0_entry_n64,
+       lazy_stub_normal_1, lazy_stub_normal_1_n64,
+       lazy_stub_normal_2, lazy_stub_normal_2_n64, lazy_stub_big,
+       lazy_stub_big_n64, lazy_stub_micromips32_normal_1_n64,
+       lazy_stub_micromips32_normal_2_n64, lazy_stub_micromips32_big,
+       lazy_stub_micromips32_big_n64): Update to use 'or' for move instead
+       of 'addu/daddu'.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-26  Doug Kwan  <dougkwan@google.com>
+
+       * testsuite/arm_unaligned_reloc.{s,sh}: Make test less sensitive to
+       disassembler output format.
+
+2015-07-23  Ian Coolidge  <icoolidge@google.com>
+       Plumb --pic-veneer option for gold.
+
+       * arm.cc (Reloc_stub::stub_type_for_reloc): Plumb to stub
+       generation.
+       * options.h (General_options): Add --pic-veneer option.
+
+2015-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18663
+       * testsuite/Makefile.am (script_test_1_SOURCES): Set to
+       script_test_1a.cc script_test_1b.cc.
+       (script_test_11_r.o): Replace script_test_11.o with
+       script_test_11a.o script_test_11b.o.
+       (script_test_11.o): Removed.
+       (script_test_11a.o): New.
+       (script_test_11b.o): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+       * testsuite/script_test_1.h: New file.
+       * testsuite/script_test_1b.cc: Likewise.
+       * testsuite/script_test_11.h: Likewise.
+       * testsuite/script_test_11b.c: Likewise.
+       * testsuite/script_test_1.cc: Renamed to ...
+       * testsuite/script_test_1a.cc: This.
+       Include "script_test_1.h".
+       (main): Call check_int and check_ptr.
+       * testsuite/script_test_11.c: Renamed to ...
+       * testsuite/script_test_11a.c: This.
+       Include "script_test_11.h".
+       (main): Call ptr_equal.
+
+2015-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18628
+       * testsuite/ifuncdep2.c (global): Change protected to hidden.
+       * testsuite/ifuncmod1.c (global): Likewise.
+       * testsuite/ifuncmod5.c (global): Likewise.
+
+2015-07-22  Alan Modra  <amodra@gmail.com>
+
+       * aarch64.cc (try_fix_erratum_843419_optimized): Warning fix.
+
+2015-07-21  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18548
+       * symtab.cc (Symbol_table::do_define_in_output_data): Check for
+       forced local symbol even when oldsym != NULL.
+       (Symbol_table::do_define_in_output_segment): Likewise.
+       (Symbol_table::do_define_as_constant): Likewise.
+
+2015-07-21  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18698
+       * archive.cc (Library_base::should_include_member): Don't use entry
+       point for relocatable links, or if target is not yet valid.
+       * parameters.cc (Parameters::entry): Check target_valid().
+
+2015-07-20  Han Shen  <shenhan@google.com>
+
+       Optimize erratum 843419 fix.
+
+       * aarch64.cc (AArch64_insn_utilities::is_adr): New method.
+       (AArch64_insn_utilities::aarch64_adr_encode_imm): New method.
+       (AArch64_insn_utilities::aarch64_adrp_decode_imm): New method.
+       (E843419_stub): New sub-class of Erratum_stub.
+       (AArch64_relobj::try_fix_erratum_843419_optimized): New method.
+       (AArch64_relobj::section_needs_reloc_stub_scanning): Try optimized fix.
+       (AArch64_relobj::create_erratum_stub): Add 1 argument.
+       (Target_aarch64::scan_erratum_843419_span): Pass in adrp insn offset.
+
+2015-07-20  Han Shen  <shenhan@google.com>
+
+       Fix arm elf header flags wrt hardfp bit.
+
+       * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view.
+
+2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18689
+       * layout.cc (Layout::layout): Clear the SHF_COMPRESSED flag bit
+       from input group section for relocatable link.
+       * testsuite/Makefile.am (check_SCRIPTS): Add pr18689.sh.
+       (check_DATA): Add pr18689.stdout.
+       (MOSTLYCLEANFILES): Add pr18689a.o pr18689b.o.
+       (pr18689.stdout): New rule.
+       (pr18689a.o): Likewise.
+       (pr18689b.o): Likewise.
+       (pr18689.o): Likewise.
+       * testsuite/pr18689.c: New file.
+       * testsuite/pr18689.sh: Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-20  Yiran Wang  <yiran@google.com>
+       Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/15574
+       * resolve.cc (Symbol_table): Remove warning about references
+       from shared objects to hidden symbols.
+       * testsuite/Makefile.am (hidden_test): Add hidden_test.syms.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/hidden_test.sh: Check dynamic symbol table; update
+       expected error messages.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compressed_output.cc (Output_compressed_section::set_final_data_size):
+       Make --compress-debug-sections=zlib the same as
+       --compress-debug-sections=zlib-gabi.
+       * testsuite/Makefile.am (flagstest_compress_debug_sections.check):
+       Expect ".debug_.*" with the SHF_COMPRESSED bit, instead of
+       ".zdebug_".
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18322
+       * compressed_output.cc (zlib_compress): Add argument for
+       compression header size.  Set header size to compression header
+       size if it isn't 0.  Don't write out the zlib header here.
+       (Output_compressed_section::set_final_data_size): Support
+       zlib-gnu and zlib-gabi compressions.  Pass compression header
+       size to zlib_compress and write out compression header.  Set
+       the SHF_COMPRESSED bit for zlib-gabi compression.  Otherwise
+       clear the SHF_COMPRESSED bit
+       * options.h (compress_debug_sections): Add zlib-gnu and
+       zlib-gabi.
+       * output.h (Output_section::set_flags): New.
+       * testsuite/Makefile.am (check_PROGRAMS): Add
+       flagstest_compress_debug_sections_none,
+       flagstest_compress_debug_sections_gnu and
+       flagstest_compress_debug_sections_gabi.
+       (check_DATA): Add flagstest_compress_debug_sections_none.stdout.
+       flagstest_compress_debug_sections.stdout,
+       flagstest_compress_debug_sections.cmp,
+       flagstest_compress_debug_sections.check,
+       flagstest_compress_debug_sections_gnu.stdout,
+       flagstest_compress_debug_sections_gnu.cmp,
+       flagstest_compress_debug_sections_gnu.check,
+       flagstest_compress_debug_sections_gabi.stdout,
+       flagstest_compress_debug_sections_gabi.cmp and
+       flagstest_compress_debug_sections_gabi.check.
+       (flagstest_compress_debug_sections_none): New.
+       (flagstest_compress_debug_sections_none.stdout): Likewise.
+       (flagstest_compress_debug_sections.stdout): Likewise.
+       (flagstest_compress_debug_sections.check): Likewise.
+       (flagstest_compress_debug_sections.cmp): Likewise.
+       (flagstest_compress_debug_sections_gnu): Likewise.
+       (flagstest_compress_debug_sections_gnu.stdout): Likewise.
+       (flagstest_compress_debug_sections_gnu.check): Likewise.
+       (flagstest_compress_debug_sections_gnu.cmp): Likewise.
+       (flagstest_compress_debug_sections_gabi): Likewise.
+       (flagstest_compress_debug_sections_gabi.stdout): Likewise.
+       (flagstest_compress_debug_sections_gnu.check): Likewise.
+       (flagstest_compress_debug_sections_gnu.cmp): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18321
+       * compressed_output.h (decompress_input_section): Add arguments
+       for ELF class, big endian and sh_flags.
+       * compressed_output.cc (decompress_input_section): Likewise.
+       Support the SHF_COMPRESSED section.
+       * dynobj.h (Dynobj): Add elfsize and is_big_endian member
+       functions.
+       * plugin.h (Pluginobj): Likewise.
+       * layout.cc (Layout::get_output_section_flags): Also clear the
+       SHF_COMPRESSED bit.
+       * object.h (Compressed_section_info): Add flag to store sh_flags.
+       (Object): Add pure virtual elfsize and is_big_endian member
+       functions.
+       * object.cc (need_decompressed_section): Don't skip the ".zdebug"
+       prefix here.
+       (build_compressed_section_map): Check SHF_COMPRESSED for
+       uncompressed size.  Store sh_flags in Compressed_section_info.
+       Pass size, big_endian and sh_flags to decompress_input_section.
+       Skip the ".debug"/".zdebug" prefix when passing section name to
+       need_decompressed_section.
+       (Sized_relobj_file<size, big_endian>::do_find_special_section):
+       Don't check ".zdebug_*" sections.
+       (Object::decompressed_section_contents): Pass ELF class, big
+       endian and sh_flags to decompress_input_section.
+       * reloc.cc (Sized_relobj_file<size, big_endian>::write_sections):
+       Likewise.
+       * testsuite/Makefile.am (check_DATA): Add
+       debug_msg_cdebug_gabi.err and gdb_index_test_2_gabi.stdout.
+       (MOSTLYCLEANFILES): Add debug_msg_cdebug_gabi.err and
+       gdb_index_test_2_gabi.stdout.
+       (debug_msg_cdebug_gabi.o): New.
+       (odr_violation1_cdebug_gabi.o): Likewise.
+       (odr_violation2_cdebug_gabi.o): Likewise.
+       (debug_msg_cdebug_gabi.err): Likewise.
+       (check_SCRIPTS): Add gdb_index_test_2_gabi.sh.
+       (gdb_index_test_cdebug_gabi.o): Likewise.
+       (gdb_index_test_2_gabi): Likewise.
+       (gdb_index_test_2_gabi.stdout): Likewise.
+       * testsuite/gdb_index_test_2_gabi.sh: New file.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-09  Han Shen  <shenhan@google.com>
+
+       Use "gold_info" instead of "gold_warning" for erratum fix.
+
+       * aarch64.cc (Target_aarch64::scan_erratum_843419_span): Use
+       'gold_info'.
+       (Target_aarch64::scan_erratum_835769_span): USe 'gold_info'.
+
+2015-07-09  Han Shen  <shenhan@google.com>
+
+       Drop missing symbol warning for arm/aarch64.
+
+       * aarch64.cc (AArch64_relobj::scan_errata): Drop missing symbol warning.
+       * arm.cc (Arm_relobj::scan_section_for_cortex_a8_erratum): Drop missing
+       symbol warning.
+
+2015-07-07  Han Shen  <shenhan@google.com>
+
+       Make gold aarch64 accept long form of mapping symbols.
+
+       * aarch64.cc (AArch64_relobj::do_count_local_symbols): Make legal
+       of mapping symbols.
+
+2015-06-29  Doug Kwan  <dougkwan@google.com>
+
+       * testsuite/arm_bl_out_of_range.s: Align stub table so that it appears
+       at address expected by test.
+       * testsuite/arm_cortex_a8_b.s: Ditto.
+       * testsuite/arm_cortex_a8_b_cond.s: Ditto.
+       * testsuite/arm_cortex_a8_bl.s: Ditto.
+       * testsuite/arm_cortex_a8_blx.s: Ditto.
+       * testsuite/arm_cortex_a8_local.s: Ditto.
+       * testsuite/arm_fix_v4bx.s: Ditto.
+       * testsuite/arm_unaligned_reloc.s: Ditto.
+       * testsuite/thumb_bl_out_of_range.s: Ditto.
+       * testsuite/thumb_bl_out_of_range_local.s: Ditto.
+       * testsuite/thumb_blx_out_of_range.s: Ditto.
+
+2015-06-29  Han Shen  <shenhan@google.com>
+
+       Patch for erratum 843419 internal error.
+
+       * aarch64.cc (Erratum_stub::Insn_utilities): New typedef.
+       (Erratum_stub::update_erratum_insn): New method.
+       (Stub_table::relocate_stubs): Modified to place relocated insn.
+       (AArch64_relobj::fix_errata): Modified gold_assert.
+
+2015-06-12  Han Shen  <shenhan@google.com>
+
+       Fix erratum 835769.
+
+       * aarch64.cc (AArch64_insn_utilities::BYTES_PER_INSN): Move
+       defintion outside class definition.
+       (AArch64_insn_utilities::AARCH64_ZR): New static constant.
+       (AArch64_insn_utilities::aarch64_op31): New member.
+       (AArch64_insn_utilities::aarch64_ra): New member.
+       (AArch64_insn_utilities::aarch64_mac): New member.
+       (AArch64_insn_utilities::aarch64_mlxl): New member.
+       (ST_E_835769): New global enum member.
+       (Stub_table::relocate_stubs): Add 835769 handler.
+       (Stub_template_repertoire::Stub_template_repertoire): Install new
+       stub type.
+       (AArch64_relobj::scan_errata): This func is renamed from
+       scan_erratum_843419.
+       (AArch64_relobj::do_count_local_symbols): Add 835769 handler.
+       (AArch64_relobj::do_relocate_sections): Add 835769 handler.
+       (AArch64_relobj::scan_sections_for_stubs): Add 835769 handler.
+       (Target_aarch64::scan_erratum_835769_span): New method.
+       (Target_aarch64::create_erratum_stub): New method.
+       (Target_aarch64::is_erratum_835769_sequence): New method.
+       (Target_aarch64::scan_erratum_843419_sequence): Move part of the
+       code into create_erratum_stub.
+       * options.h (fix_cortex_a53_835769): New option.
+
+2015-06-11  Cary Coutant  <ccoutant@gmail.com>
+
+       * aarch64.cc (Erratum_stub::STUB_ADDR_ALIGN): Move initialization
+       outside class body.
+       (Reloc_stub::STUB_ADDR_ALIGN): Likewise.
+
+2015-06-11  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/17731
+       * layout.cc (corresponding_uncompressed_section_name): New function.
+       (Layout::choose_output_section): Call it.
+       * layout.h (corresponding_uncompressed_section_name): New function.
+       * script-sections.cc (Input_section_info::set_section_name): Check
+       for compressed debug section (.zdebug style).
+
+2015-06-11  Jing Yu  <jingyu@google.com>
+
+       * testsuite/Makefile.am: Add -O0 for script_test_12 test.
+       * testsuite/Makefile.in: Regenerate.
+
+2015-06-11  Davide Italiano  <dccitaliano@gmail.com>
+
+       * gold.h (is_cident): Correct typo.
+
+2015-06-10  Han Shen  <shenhan@google.com>
+       Patch for erratum-843419 (2 of 2 - fix erratum occurrences).
+
+       Now fixing for 843419 is fully functional.
+
+       The first part of the erratum fix CL is here -
+       https://sourceware.org/ml/binutils/2015-04/msg00229.html
+
+       * aarch64.cc(global enum): New constants representing stub types.
+       (Stub_template): New POD struct.
+       (Stub_template_repertoire): New class.
+       (Stub_base): New class.
+       (Erratum_stub): New class.
+       (Reloc_stub): Refactored to be a subclass of Stub_base.
+       (Reloc_stub::Stub_type): Removed.
+       (Reloc_stub::offset): Moved to Stub_base.
+       (Reloc_stub::set_offset): Moved to Stub_base.
+       (Reloc_stub::destination_address): Moved to Stub_base.
+       (Reloc_stub::set_destination_address): Moved to Stub_base.
+       (Reloc_stub::reset_destination_address): Moved to Stub_base.
+       (Reloc_stub::stub_type): Renamed and moved to Stub_base.
+       (Reloc_stub::stub_size): Renamed and moved to Stub_base.
+       (Reloc_stub::stub_insns): Renamed and moved to Stub_base.
+       (Reloc_stub::write): Moved to Stub_base.
+       (Reloc_stub::invalid_offset): Moved to Stub_base.
+       (Reloc_stub::invalid_address): Moved to Stub_base.
+       (Reloc_stub::stub_type_): Renamed and moved to Stub_base.
+       (Reloc_stub::stub_insns_): Moved to Stub_base.
+       (Reloc_stub::offset_): Moved to Stub_base.
+       (Reloc_stub::destination_address_): Moved to Stub_base.
+       (Stub_table::The_aarch64_relobj): New typedef.
+       (Stub_table::The_erratum_stub): New typedef.
+       (Stub_table::The_erratum_stub_less): New typedef.
+       (Stub_table::The_erratum_stub_set): New typedef.
+       (Stub_table::The_erratum_stub_set_iter): New typedef.
+       (Stub_table::empty): Added emptiness testing for erratum stubs.
+       (Stub_table::add_erratum_stub): New method to add an erratum stub.
+       (Stub_table::find_erratum_stub): New method.
+       (Stub_table::find_erratum_stubs_for_input_section): New method.
+       (Stub_table::erratum_stub_address): New method.
+       (Stub_table::update_date_size_changed_p): Modified to handle erratum stubs.
+       (Stub_table::do_addralign): Modified to handle erratum stubs.
+       (Stub_table::erratum_stubs_): New member.
+       (Stub_table::erratum_stub_size_): New member.
+       (Stub_table::relocate_stubs): Modified to handle erratum stubs.
+       (Stub_table::do_write): Modified to handle erratum stubs.
+       (AArch64_relobj::The_erratum_stub): New typedef.
+       (AArch64_relobj::Erratum_stub_set_iter): New typedef.
+       (AArch64_relobj::fix_errata): New method.
+       (Target_aarch64::The_reloc_stub_type): Removed.
+       (Target_aarch64::The_erratum_stub): New typede.
+       (AArch64_relocate_functions::construct_b): New method.
+
+2015-06-08  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: New French Translation.
+
+2015-06-07  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18288
+       * resolve.cc (symbol_to_bits): Remove type parameter; adjust all
+       callers. Don't use STT_COMMON to check for common symbols.
+       (Symbol_table::resolve): Warn if relocatable object has STT_COMMON
+       symbol that's not in a common section.
+       * symtab.h (Symbol::is_common): Don't use STT_COMMON to check for
+       common symbols.
+
+2015-06-04  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18200
+       * Makefile.am (diststuff): Add target.
+       * Makefile.in: Regenerate.
+
+2015-06-04  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/17498
+       * object.cc (Sized_relobj_file::do_count_local_symbols): Discard
+       temporary locals in merge sections.
+       * options.cc (General_options::parse_discard_all): New method.
+       (General_options::parse_discard_locals): New method.
+       (General_options::parse_discard_none): New method.
+       (General_options::General_options): Initialize discard_locals_.
+       * options.h (--discard-all): Convert to special option.
+       (--discard-locals): Likewise.
+       (--discard-none): New option.
+       (General_options::discard_all): New method.
+       (General_options::discard_locals): New method.
+       (General_options::discard_sec_merge): New method.
+       (General_options::Discard_locals): New enum.
+       (General_options::discard_locals_): New data member.
+
+2015-06-03  Cary Coutant  <cary@google.com>
+
+       * script-sections.cc (Script_sections::Script_sections): Initialize
+       segments_created_.
+       (Script_sections::create_note_and_tls_segments): Set flag when
+       segments are created.
+       (Script_sections::expected_segment_count): Count PT_INTERP.
+       (Script_sections::attach_sections_using_phdrs_clause): Set flag when
+       segments are created.
+       * script-sections.h (Script_sections::segments_created_): New data
+       member.
+
+2015-06-03  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/15370
+       * script-sections.cc
+       (Output_section_element_input::set_section_addresses): When there
+       are several patterns with no sort spec, put all sections in the same
+       bin.
+       * testsuite/Makefile.am (script_test_12): New testcase.
+       (script_test_12i): New testcase.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/script_test_12.t: New test linker script.
+       * testsuite/script_test_12i.t: New test linker script.
+       * testsuite/script_test_12a.c: New test source file.
+       * testsuite/script_test_12b.c: New test source file.
+
+2015-06-02  Cary Coutant  <ccoutant@gmail.com>
+
+       * nacl.h (Sniff_file): Switch parameters to get_view to get an
+       aligned view.
+
+2015-06-03  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/17819
+       * gold.cc (queue_final_tasks): When --build-id=tree, queue a
+       separate task to schedule the build id computation.
+       * layout.cc (Hash_task::Hash_task): Remove build_id_blocker,
+       add Output_file and offset.
+       (Hash_task::run): Get and release the input views.
+       (Hash_task::is_runnable): Always return NULL (always runnable).
+       (Layout::queue_build_id_tasks): Remove.
+       (Layout::write_build_id): Add array_of_hashes and size_of_hashes
+       parameters; use them instead of class members.
+       (Build_id_task_runner::run): New function.
+       (Close_task_runner::run): Pass array_of_hashes and size_of_hashes
+       to write_build_id.
+       * layout.h (Layout::queue_build_id_tasks): Remove.
+       (Layout::write_build_id): Add array_of_hashes and size_of_hashes
+       parameters.
+       (Layout::array_of_hashes_): Remove.
+       (Layout::size_of_array_of_hashes_): Remove.
+       (Layout::input_view_): Remove.
+       (Build_id_task_runner): New class.
+       (Close_task_runner::Close_task_runner): Add array_of_hashes and
+       size_of_hashes parameters.
+       (Close_task_runner::array_of_hashes_): New data member.
+       (Close_task_runner::size_of_hashes_): New data member.
+       * testsuite/Makefile.am
+       (flagstest_compress_debug_sections_and_build_id_tree): New test.
+       * testsuite/Makefile.in: Regenerate.
+
+2015-06-01  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * merge.cc (get_input_merge_map): Update for data structure change.
+       (get_or_make_input_merge_map): Update for data structure change.
+       * merge.h (Object_merge_map): Use a std::vector<std::pair>> instead of
+       a std::map. Remove first_shnum_, first_map_, second_shnum_, second_map_.
+
+2015-05-16  Alan Modra  <amodra@gmail.com>
+
+       * reloc.cc (Sized_relobj_file::find_functions): Use function_location.
+       * powerpc.cc (Target_powerpc::do_calls_non_split): New function.
+       (addi_12_1, addis_2_12, addis_12_1, cmpld_7_12_0): New constants.
+       (lis_0): Rename from lis_0_0.
+
+2015-04-29  Cary Coutant  <cary@google.com>
+           Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * gc.h (Garbage_collection::is_section_garbage): Change Object*
+       to Relobj*.
+       (Garbage_collection::add_reference): Likewise.
+       (Garbage_collection::gc_process_relocs): Likewise. Don't push
+       object/shndx pair onto *secvec for dynamic objects. Don't follow
+       relocations pointing to dynamic objects for GC.
+       * icf.cc (Icf::find_identical_sections): Change Object* to Relobj*.
+       (Icf::unfold_section): Likewise.
+       (Icf::is_section_folded): Likewise.
+       (Icf::get_folded_section): Likewise.
+       * icf.h: (Icf::get_folded_section): Likewise.
+       (Icf::unfold_section): Likewise.
+       (Icf::is_section_folded): Likewise.
+       (Icf::section_has_function_pointers): Likewise.
+       (Icf::set_section_has_function_pointers): Likewise.
+       * object.h (Section_id): Likewise.
+       (Const_section_id): Likewise.
+       * output.cc (Output_section::update_section_layout): Likewise.
+       * output.h: (Output_section_lookup_maps::find_relaxed_input_section):
+       Likewise.
+       * plugin.cc (update_section_order): Likewise.
+       (unique_segment_for_sections): Likewise.
+       * powerpc.cc (Powerpc_relobj::add_reference): Likewise.
+       (Target_powerpc::do_gc_add_reference): Likewise.
+       (Target_powerpc::gc_process_relocs): Likewise.
+       (Target_powerpc::do_gc_add_reference): Likewise.
+       * symtab.cc (Symbol_table::is_section_folded): Likewise.
+       (Symbol_table::gc_mark_symbol): Likewise.
+       * symtab.h: (Symbol_table::is_section_folded): Likewise.
+       * target.h: (Sized_target::gc_add_reference): Likewise.
+       (Sized_target::do_gc_add_reference): Likewise.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+
+2015-04-28  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::do_dynsym_value): Use Address rather
+       than unsigned int for find_global_entry result temp.  Compare
+       against invalid_address.
+       (Target_powerpc::do_plt_address_for_global): Likewise.
+       (Target_powerpc::Relocate::relocate): Likewise.  Don't assert
+       on plt call stub existence for debug info.  Do assert for plt
+       and global entry stub existence if an alloc section.
+
+2015-04-28  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Don't assert
+       on missing global entry stub due to bogus debug info.
+
+2015-04-27  Han Shen  <shenhan@google.com>
+
+       * options.h (--fix-cortex-a53-843419): Rename option.
+       * aarch64.cc (AArch64_relobj::do_count_local_symbols): Use renamed
+       option.
+       (AArch64_relobj::scan_sections_for_stubs): Use renamed option.
+
+2015-04-27  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       PR gold/18327
+       * output.cc (Output_section::is_input_address_mapped): Assume a missing
+       entry is mapped.
+       * testsuite/Makefile.am: Add the eh_test test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/eh_test_a.cc: New test.
+       * testsuite/eh_test_b.cc: New test.
+
+2015-04-23  Sriraman Tallam  <tmsriram@google.com>
+
+       * options.h (--weak-unresolved-symbols): New option.
+       * symtab.cc (Symbol_table::sized_write_globals): Change symbol
+       binding to weak with new option.
+       * symtab.h (is_weak_undefined): Check for new option.
+       (is_strong_undefined): Check for new option.
+       * testsuite/Makefile.am (weak_unresolved_symbols_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/weak_unresolved_symbols_test.cc: New file.
+
+2015-04-20  Ian Coolidge  <icoolidge@google.com>
+
+       * symtab.cc (Symbol::should_add_dynsym_entry): Return true for
+       GNU_UNIQUE.
+
+2015-04-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * gc.cc (Garbage_collection::do_transitive_closure): Use back and
+       push_back.
+       * gc.h (Garbage_collection): Use a std::vector instead of a std::queue.
+       * object.cc (Sized_relobj_file::do_layout): Use push_back.
+       * powerpc.cc (process_gc_mark): Use push_back.
+       (Target_powerpc::do_gc_mark_symbol): Use push_back.
+       * symtab.cc (Symbol_table::gc_mark_symbol): Use push_back.
+
+2015-04-16  Han Shen  <shenhan@google.com>
+
+       * aarch64.cc (AArch64_insn_utilities): New utility class.
+       (AArch64_relobj::Mapping_symbol_position): New struct.
+       (AArch64_relobj::Mapping_symbol_info): New typedef.
+       (AArch64_relobj::do_count_local_symbols): New function overriding
+       parent's implementation.
+       (AArch64_relobj::mapping_symbol_info_): New member
+       (AArch64_relobj::scan_erratum_843419): New method.
+       (Target_aarch64::scan_erratum_843419_span): New method.
+       (Target_aarch64::is_erratum_843419_sequence): New method.
+       * options.h (fix_cortex_a53): New option.
+
+2015-04-09  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.cc (Symbol::final_value_is_known): Check for TLS symbol
+       in a PIE link.
+       * testsuite/Makefile.am (tls_pie_test.sh): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/tls_pie_test.sh: New.
+
+2015-04-09  Cary Coutant  <ccoutant@google.com>
+
+       * debug.h (DEBUG_LOCATION): New.
+       (DEBUG_ALL): Include DEBUG_LOCATION.
+       (debug_string_to_enum): Add DEBUG_LOCATION.
+       * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Fix debug
+       output to print correct context.
+       (Sized_dwarf_line_info::do_addr2line): Add debug output. Return
+       up to 4 more locations at the beginning of the function.
+       * symtab.cc (Symbol_table::detect_odr_violations): Get canonical
+       result before sorting list of line numbers.
+       * testsuite/debug_msg.sh: Allow range of line numbers for
+       canonical results on optimized code.
+
+2015-04-07  HC Yen <hc.yen@mediatek.com>
+
+       Add AArch32 support for gold linker.
+       * arm.cc: Add V8 arch combine table.
+
+2015-04-06  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * aarch64.cc (do_reloc_addend): Fix signature to match the parent one.
+
+2015-04-06  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * gc.cc (Garbage_collection::do_transitive_closure): Avoid a call
+       to find by using the return value of insert.
+
+2015-04-06  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * gc.cc (Garbage_collection::do_transitive_closure): Avoid a copy
+       constructor call.
+
+2015-04-06  Ilya Tocar  <ilya.tocar@intel.com>
+
+       PR gold/17641
+       * x86_64.cc (Target_x86_64::can_convert_mov_to_lea): New.
+       (Target_x86_64::Scan::local): Don't create GOT entry, when we
+       can convert mov to lea.
+       (Target_x86_64::Scan::global): Ditto.
+       (Target_x86_64::Relocate::relocate): Convert mov foo@GOTPCREL(%rip),
+       %reg to lea foo(%rip), %reg if possible.
+       * testsuite/Makefile.am (x86_64_mov_to_lea): New test.
+       * testsuite/x86_64_mov_to_lea1.s: New.
+       * testsuite/x86_64_mov_to_lea2.s: Ditto.
+       * testsuite/x86_64_mov_to_lea3.s: Ditto.
+       * testsuite/x86_64_mov_to_lea4.s: Ditto.
+       * testsuite/x86_64_mov_to_lea.sh: Ditto.
+
+2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-04-01  Ilya Tocar  <ilya.tocar@intel.com>
+
+       PR gold/17640
+       * i386.cc (Target_i386::can_convert_mov_to_lea): New.
+       (Target_i386::Scan::local): Don't create GOT entry, when we
+       can convert GOT to GOTOFF.
+       (Target_i386::Scan::global): Ditto.
+       (Target_i386::Relocate::relocate): Convert  mov foo@GOT(%reg), %reg to
+       lea foo@GOTOFF(%reg), %reg if possible.
+       * testsuite/Makefile.am (i386_mov_to_lea): New test.
+       * testsuite/i386_mov_to_lea1.s: New.
+       * testsuite/i386_mov_to_lea2.s: Ditto.
+       * testsuite/i386_mov_to_lea3.s: Ditto.
+       * testsuite/i386_mov_to_lea4.s: Ditto.
+       * testsuite/i386_mov_to_lea5.s: Ditto.
+       * testsuite/i386_mov_to_lea.sh: Ditto.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ZLIB): New.
+       (ZLIBINC): Likewise.
+       (AM_CFLAGS): Add $(ZLIBINC).
+       (AM_CXXFLAGS): Likewise.
+       (ldadd_varldadd_var): Add $(ZLIB).
+       (incremental_dump_LDADD): Likewise.
+       (dwp_LDADD): Likewise.
+       * compressed_output.cc: Don't check HAVE_ZLIB_H to include
+       <zlib.h>.
+       (zlib_compress): Don't check HAVE_ZLIB_H.
+       (zlib_decompress): Likewise.
+       * options.h (compress_debug_sections): Likewise.
+       * configure.ac (AM_CONDITIONAL): Removed.
+       * testsuite/Makefile.am (ZLIB): New.
+       (LDADD): Add $(ZLIB).
+       Don't check HAVE_ZLIB.
+       * Makefile.in: Regenerated.
+       * config.in: Likewise.
+       * configure: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+2015-03-30  Jing Yu  <jingyu@google.com>
+
+       * aarch64-reloc.def: New TLSLD_ADD_DTPREL_HI12,
+       TLSLD_ADD_DTPREL_LO12_NC.
+       * aarch64.cc (Target_aarch64::define_tls_base_symbol): Always let
+       _TLS_MODULE_BASE_ point to the start of tls segment.
+       (Target_aarch64::optimize_tls_reloc): Add cases for
+       R_AARCH64_TLSLD_ADD_DTPREL_HI12 and
+       R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
+       (Target_aarch64::Scan::local): Likewise.
+       (Target_aarch64::Scan::global): Likewise.
+       (Target_aarch64::Relocate::relocate): Likewise.
+       (Target_aarch64::Relocate::relocate_tls): Likewise. And remove
+       subtracting tls segment size from symbol value for TLSLD_*_DTPREL
+       relocations.
+
+2015-03-27  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * merge.cc (Object_merge_map::add_mapping): call
+       Object_merge_map::Input_merge_map::add_mapping.
+       (Object_merge_map::Input_merge_map::add_mapping): New.
+       (Output_merge_data::do_add_input_section): Call
+       get_or_make_input_merge_map before a loop.
+       (Output_merge_string<Char_type>::finalize_merged_data): Call
+       get_or_make_input_merge_map before a loop.
+       * merge.h (Object_merge_map): Make Input_merge_map public.
+       * object.cc (Relobj::add_merge_mapping): Use get_or_create_merge_map.
+       (Relobj::get_or_create_merge_map): New.
+       * object.h (Relobj::get_or_create_merge_map): New.
+
+2015-03-24  Alan Modra  <amodra@gmail.com>
+
+       PR 18147
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Don't report
+       relocation errors for branches to strong undefined symbols.
+
+2015-03-23  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * merge.cc (Object_merge_map::get_input_merge_map): Make it const.
+       (Object_merge_map::is_merge_section_for): Remove.
+       (Object_merge_map::find_merge_section): New.
+       * merge.h (Object_merge_map::is_merge_section_for): Remove.
+       (Object_merge_map::find_merge_section): New.
+       (Object_merge_map::get_input_merge_map): Add a const version.
+       * object.cc (Relobj::is_merge_section_for): Remove.
+       (Relobj::find_merge_section): New.
+       * object.h (Relobj::is_merge_section_for): Remove.
+       (Relobj::find_merge_section): New.
+       * output.cc
+       (Output_section::Input_section::is_merge_section_for): Remove.
+       (Output_section::add_merge_input_section): Don't call
+       add_merge_input_section.
+       (Output_section::find_merge_section): Return const. Use
+       object->find_merge_section.
+       (Output_section::build_lookup_maps): Don't build a map for
+       merge sections.
+       (Output_section::is_input_address_mapped): Return false if
+       section is not found.
+       (Output_section::find_starting_output_address): Use
+       find_merge_section instead of is_merge_section_for.
+       (Output_section::add_script_input_section):  Don't build a map for
+       merge sections.
+       * output.h (Output_section_lookup_maps::merge_sections_by_id_): Remove.
+       (Output_section_lookup_maps::find_merge_section): Remove.
+       (Output_section_lookup_maps::add_merge_input_section) Remove.
+       (Output_section::find_merge_section): Return const.
+
+2015-03-22  Cary Coutant  <cary@google.com>
+
+       PR gold/18106
+       * i386.cc (Target_i386::Relocate::tls_gd_to_ie): Fix support for
+       non-SIB form of lea, with nop after the call.
+
+2015-03-21  Cary Coutant  <cary@google.com>
+
+       PR gold/14217
+       * output.cc (Output_segment::is_first_section_relro): Don't ignore
+       .tdata section.
+       (Output_segment::set_section_addresses): Don't align size of relro
+       segment for .tbss.
+
+2015-03-21  Cary Coutant  <cary@google.com>
+
+       PR gold/18010
+       * stringpool.cc (Stringpool_template): Don't optimize if section
+       alignment is greater than sizeof(char).
+
+2015-03-21  Cary Coutant  <cary@google.com>
+
+       PR gold/18048
+       * script-c.h (script_include_directive): Add first_token parameter.
+       * script.cc (script_include_directive): Add first_token parameter, and
+       pass it to read_script_file.
+       * yyscript.y (PARSING_SECTIONS_BLOCK, PARSING_SECTION_CMDS)
+       (PARSING_MEMORY_DEF): New tokens.
+       (top): Add new productions for INCLUDE files.
+       (file_cmd): Replace file_or_sections_cmd with copy of its productions.
+       Pass PARSING_LINKER_SCRIPT to script_include_directive.
+       (section_block_cmd): Likewise; pass PARSING_SECTIONS_BLOCK.
+       (section_cmd): Pass PARSING_SECTION_CMDS.
+       (file_or_sections_cmd): Remove.
+       (memory_def): Pass PARSING_MEMORY_DEF.
+       * testsuite/Makefile.am (memory_test_2): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/memory_test_inc.t: New script file.
+       * testsuite/memory_test_inc_1.t.src: New script file.
+       * testsuite/memory_test_inc_2.t.src: New script file.
+       * testsuite/memory_test_inc_3.t.src: New script file.
+
+2015-03-21  Cary Coutant  <cary@google.com>
+
+       * dwp.cc (Sized_relobj_dwo::do_section_contents): Delete.
+       (Sized_relobj_dwo::setup): Build compressed section map.
+       (Sized_relobj_dwo::do_decompressed_section_contents): Delete.
+       * dynobj.cc (Sized_dynobj::base_read_symbols): Build compressed
+       section map.
+       * object.cc (Sized_relobj_file::Sized_relobj_file): Remove
+       compressed_sections_ field.
+       (build_compressed_section_map): Take Object instead of
+       Sized_relobj_file parameter; add decompress_if_needed parameter.
+       (Sized_relobj_file::do_find_special_sections): Store compressed
+       section map in parent Object.
+       (Sized_relobj_file::do_decompressed_section_contents): Move
+       implementation to Object::decompressed_section_contents.
+       (Sized_relobj_file::do_discard_decompressed_sections): Move
+       implementation to Object::discard_decompressed_sections.
+       * object.h (build_compressed_section_map): Declare.
+       (Object::Object): Add compressed_sections_ field.
+       (Object::section_is_compressed): Move implementation here.
+       (Object::decompressed_section_contents): De-virtualize.
+       (Object::discard_decompressed_sections): De-virtualize.
+       (Object::do_section_is_compressed): Delete.
+       (Object::do_decompressed_section_contents): Delete.
+       (Object::set_compressed_sections): New method.
+       (Object::compressed_sections): New method.
+       (Object::compressed_sections_): New data member.
+       (Compressed_section_info, Compressed_section_map): Move to top of file.
+       (Sized_relobj_file::do_section_is_compressed): Delete.
+       (Sized_relobj_file::do_decompressed_section_contents): Delete.
+       (Sized_relobj_file::do_discard_decompressed_sections): Delete.
+       (Sized_relobj_file::compressed_sections_): Move to Object class.
+
+2015-03-21  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/18152
+       * gold.cc (queue_middle_tasks): Finalize .eh_frame after laying out
+       deferred objects.
+
+2015-03-11  Cary Coutant  <ccoutant@google.com>
+
+       * options.cc (General_options::finalize): Don't allow -z relro
+       with incremental linking.
+       * testsuite/Makefile.am (incremental_test): Add -z norelro.
+       (incremental_test_2): Likewise.
+       (incremental_test_3): Likewise.
+       (incremental_test_4): Likewise.
+       (incremental_test_5): Likewise.
+       (incremental_test_6): Likewise.
+       (incremental_copy_test): Likewise.
+       (incremental_common_test_1): Likewise.
+       (incremental_comdat_test_1): Likewise.
+       * testsuite/Makefile.in: Regenerate.
+
+2015-03-09  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/14675
+       * ehframe.cc (Eh_frame::add_ehframe_input_section): Change return type;
+       return enum indicating whether .eh_frame section is empty, optimizable,
+       unrecognized, or an end marker. Adjust explicit instantiations.
+       * ehframe.h (Eh_frame::Eh_frame_section_disposition): New enum type.
+       (Eh_frame::add_ehframe_input_section): Change return type.
+       * gold.cc (queue_middle_tasks): Call Layout::finalize_eh_frame_section.
+       * layout.cc (Layout::layout_eh_frame): Don't add optimized sections
+       to the .eh_frame output section until we see the end marker.
+       (Layout::finalize_eh_frame_section): New.
+       * layout.h: (Layout::finalize_eh_frame_section): New.
+
+2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * output.cc (Relobj::initialize_input_to_output_map<size>):
+       Remove typename on elfcpp::Elf_types<size>::Elf_Addr.
+
+2015-03-04  Cary Coutant  <ccoutant@google.com>
+
+       * parameters.cc (Parameters::set_target_once): Call
+       Target::select_as_default_target just once from here...
+       (set_parameters_target): ...instead of from here.
+
+2015-03-04  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * ehframe.cc (Cie::set_output_offset): Pass in and use a
+       Output_section_data instead of a Merge_map.
+       (Eh_frame::Eh_frame): Don't initialize merge_map_.
+       (Eh_frame::read_cie): Use add_merge_mapping instead of
+       Merge_map::add_mapping.
+       (Eh_frame::read_fde): Ditto.
+       (Eh_frame::set_final_data_size): Use this instead of this->merge_map_.
+       (Eh_frame::do_output_offset): Use merge_output_offset istead of
+       merge_map_->get_output_offset.
+       (Eh_frame::do_is_merge_section_for): Delete.
+       * ehframe.h (Fde::add_mapping): Pass in and use a Output_section_data
+       instead of a Merge_map.
+       (Cie::set_output_offset): Pass in a Output_section_data instead of a
+       Merge_map.
+       (Eh_frame::do_is_merge_section_for): Delete.
+       (Eh_frame::merge_map_): Delete.
+       * merge.cc (Object_merge_map::get_or_make_input_merge_map): Pass in
+       and use a Output_section_data instead of a Merge_map.
+       (Object_merge_map::add_mapping): Ditto.
+       (Object_merge_map::get_output_offset): Remove the merge_map argument.
+       (Object_merge_map::is_merge_section_for): Pass in and use a
+       Output_section_data instead of a Merge_map.
+       (Merge_map): Delete.
+       (Output_merge_base::do_output_offset): Use merge_output_offset instead
+       of merge_map_.get_output_offset.
+       (Output_merge_base::do_is_merge_section_for): Delete.
+       (Output_merge_data::do_add_input_section): Use
+       object->add_merge_mapping instead of add_mapping.
+       (Output_merge_string<Char_type>::finalize_merged_data): Ditto.
+       * merge.h (Merge_map): Delete forward declaration.
+       (Object_merge_map::add_mapping): Pass in and use a Output_section_data
+       instead of a Merge_map.
+       (Object_merge_map::get_output_offset): Remove the merge_map argument.
+       (Object_merge_map::is_merge_section_for): Pass in and use a
+       Output_section_data instead of a Merge_map.
+       (Input_merge_map::Object_merge_map::merge_map): Replace with
+       output_data.
+       (Object_merge_map::get_or_make_input_merge_map): Pass in and use a
+       Output_section_data instead of a Merge_map.
+       (Merge_map): Delete.
+       (Output_merge_base::Output_merge_base): Don't initialize merge_map_.
+       (Output_merge_base::do_is_merge_section_for): Delete.
+       (Output_merge_base::add_mapping): Delete.
+       (Output_merge_base::merge_map_): Delete.
+       * object.cc (Relobj::initialize_input_to_output_map): New.
+       (Relobj::initialize_input_to_output_map): New.
+       (Relobj::merge_output_offset): New.
+       (Relobj::is_merge_section_for): New.
+       (Relobj::initialize_input_to_output_map): Instantiate for 32 and 64
+       bits.
+       * object.h (Relobj::merge_map): Delete.
+       (initialize_input_to_output_map): New.
+       (set_merge_map): Delete.
+       (add_merge_mapping): New.
+       (merge_output_offset): New.
+       (is_merge_section_for): New.
+       * output.cc (Output_section::Input_section::is_merge_section_for):
+       Use object->is_merge_section_for.
+       * output.h (Output_section_data::is_merge_section_for): Delete.
+       (Output_section_data::do_is_merge_section_for): Delete.
+       * reloc.cc (Merged_symbol_value<size>::initialize_input_to_output_map):
+       Use object->initialize_input_to_output_map.
+       (Merged_symbol_value<size>::value_from_output_section): Use
+       object->merge_output_offset.
+
+2015-03-02  Peter Collingbourne  <pcc@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (Output_section::add_merge_input_section): Do not
+       attempt to merge sections with an entsize of 0.
+
+2015-03-02  Khem Raj  <raj.khem@gmail.com>
+
+       * attributes.h (class Output_attributes_section_data ): Add
+       do_print_to_mapfile function.
+
+2015-02-24  Alan Modra  <amodra@gmail.com>
+
+       PR 18010
+       * powerpc.cc (Powerpc_relocate_functions::addr16_ds): Always
+       complain if value is not a multiple of four.
+       (Target_powerpc::Relocate::relocate): Correct handling of
+       R_POWERPC_GOT_TPREL16 and R_POWERPC_GOT_TPREL16_LO for ppc64.
+
+2015-02-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac (default_size): Set to 32 for x32.
+       * configure: Regenerated.
+
+2015-02-18  Alan Modra  <amodra@gmail.com>
+
+       PR 17954
+       * powerpc.cc (Global_symbol_visitor_opd::operator()): Set default
+       visibility.
+
+2015-02-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * gc.h (Garbage_collection::add_reference): Don't use find.
+
+2015-02-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * object.cc (write_local_symbols): avoid std::vector copy.
+
+2015-02-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * merge.cc (get_output_offset): Use upper_bound instead of lower_bound.
+
+2015-02-09  Mark Wielaard  <mjw@redhat.com>
+
+       * gdb-index.cc (Gdb_index_info_reader::visit_top_die): Recognize
+       DW_LANG_Fortran03 and DW_LANG_Fortran08.
+
+2015-02-16  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/13577
+       PR gold/16992
+       * layout.cc (Layout::finish_dynamic_section): Don't set DT_SYMBOLIC or
+       DF_SYMBOLIC if --dynamic-list option is used.
+       * options.cc (General_options::finalize): --dynamic-list is not
+       mutually exclusive with -Bsymbolic.
+       * symtab.h (Symbol::is_preemptible): Don't exclude dynamic symbols not
+       listed in --dynamic-list.
+       * testsuite/Makefile.am (dynamic_list_lib2.so): Add
+       -Bsymbolic-functions.
+       * testsuite/Makefile.in: Regenerate.
+
+2015-02-16  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17971
+       * incremental.cc: Remove redundant include of "output.h".
+
+2015-02-12  Jing Yu  <jingyu@google.com>
+
+       * aarch64-reloc.def (TLSLE_MOVW_TPREL_G2, TLSLE_MOVW_TPREL_G1,
+       TLSLE_MOVW_TPREL_G1_NC, TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC,):
+       New relocation.
+       * aarch64.cc (Target_aarch64::Scan::local): Add cases for new
+       TLSLE_MOVW_* relocations.
+       (Target_aarch64::Scan::global): Likewise.
+       (Target_aarch64::Relocate::relocate): Likewise.
+       (Target_aarch64::Relocate::relocate_tls): Add cases and handlings
+       for new TLSLE_MOVW_* relocations.
+
+2015-02-11  Will Newton  <will.newton@linaro.org>
+
+       PR gold/13321
+       * arm.cc (Target_arm::make_plt_section): Create an ARM
+       state mapping symbol at the start of the PLT.
+
+2015-02-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (two_file_shared_2_pic_1_test_DEPENDENCIES):
+       Replace two_file_shared_2.so with two_file_shared_1.so.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-02-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add libweak_undef_2.a,
+       plugin_test_thin.a and defsym_test.
+       * testsuite/Makefile.in: Regenerate.
+
+2015-02-04  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * merge.cc (do_add_input_section): Combine loop epilogue into main loop
+       body.
+
+2015-02-04  Peter Collingbourne  <pcc@google.com>
+
+       * plugin.cc (Pluginobj::get_symbol_resolution_info): Resolve
+       forwarding symbols when computing symbol resolution info for plugins.
+       * plugin.h (Plugin_manager::symtab): New method.
+       (Pluginobj::get_symbol_resolution_info): Add symtab parameter.
+
+2015-02-03  Cary Coutant  <ccoutant@google.com>
+           Peter Collingbourne  <pcc@google.com>
+
+       PR gold/15660
+       * archive.cc (Thin_archive_object_unlocker): New class.
+       (Archive::include_member): Unlock external members of thin archives.
+       * testsuite/Makefile.am (plugin_test_1): Rename .syms files.
+       (plugin_test_2): Likewise.
+       (plugin_test_3): Likewise.
+       (plugin_test_4): Likewise.
+       (plugin_test_5): Likewise.
+       (plugin_test_6): Likewise.
+       (plugin_test_7): Likewise.
+       (plugin_test_8): Likewise.
+       (plugin_test_9): Likewise.
+       (plugin_test_10): Likewise.
+       (plugin_test_11): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test.c (claim_file_hook): Check for parallel .syms
+       file to decide whether to claim file.
+       (all_symbols_read_hook): Likewise.
+       * testsuite/plugin_test_1.sh: Adjust expected output.
+       * testsuite/plugin_test_2.sh: Likewise.
+       * testsuite/plugin_test_3.sh: Likewise.
+       * testsuite/plugin_test_6.sh: Likewise.
+       * testsuite/plugin_test_tls.sh: Likewise.
+       * testsuite/plugin_test_11.sh: New testcase.
+
+2015-02-03  Cary Coutant  <ccoutant@google.com>
+
+       * descriptors.cc (Descriptors::open): Set artificially-low limit for
+       file descriptors when debugging enabled. Add debug output.
+       (Descriptors::release): Add debug output.
+       (Descriptors::close_some_descriptor): Likewise.
+       (Descriptors::close_all): Likewise.
+       * fileread.cc (File_read::lock): Likewise.
+       (File_read::unlock): Likewise.
+
+2015-02-02  Cary Coutant  <ccoutant@google.com>
+
+       * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for
+       executable output file.
+
+2015-01-22  Han Shen  <shenhan@google.com>
+
+       * arm.cc (Target_arm::Target_arm): Add initialization for new members.
+       (Target_arm::do_plt_address_for_global): New method.
+       (Target_arm::do_plt_address_for_local): New method.
+       (Target_arm::rel_irelative_section): New method.
+       (Target_arm::make_data_plt): Add more parameters for plt ctor.
+       (Target_arm::do_make_data_plt): Add more parameters for plt ctor.
+       (Target_arm::Scan::symbol_needs_plt_entry): Add ifunc support.
+       (Target_arm::Scan::reloc_needs_plt_for_ifunc): Add ifunc support.
+       (Target_arm::Scan::check_non_pic): Add ifunc support.
+       (Target_arm::Scan::local): Add ifunc support.
+       (Target_arm::Scan::global): Add ifunc support.
+       (Target_arm::make_plt_section): New method.
+       (Target_arm::make_plt_entry): Change to call to make_plt_section.
+       (Target_arm::make_local_ifunc_plt_entry): New method.
+       (Target_arm::got_irelative_): New member.
+       (Target_arm::rel_irelative_): New member.
+       (Target_arm::got_section): Add creation for got_irelative_.
+       (Target_arm::rel_dyn_section): Add creation for rel_irelative_.
+       (Target_arm::Relocate::relocate): Properly set local ifunc address.
+       (Target_arm::do_dynsym_value): Properly set global ifunc address.
+       (Target_arm::scan_reloc_for_stub): Properly set global ifunc address.
+       (Output_data_plt_arm::IRelative_data): New type.
+       (Output_data_plt_arm::Output_data_plt_arm): Add more parameters.
+       (Output_data_plt_arm::add_entry): Add more parameters.
+       (Output_data_plt_arm::add_relocation): New method.
+       (Output_data_plt_arm::add_local_ifunc_entry): New method.
+       (Output_data_plt_arm::rel_irelative): New method.
+       (Output_data_plt_arm::entry_count): Modified.
+       (Output_data_plt_arm::address_for_global): New method.
+       (Output_data_plt_arm::address_for_local): New method.
+       (Output_data_plt_arm::set_final_data_size): Add irelative_count_.
+       (Output_data_plt_arm::insert_irelative_data): New method.
+       (Output_data_plt_arm::irelative_rel_): New member.
+       (Output_data_plt_arm::got_): New member.
+       (Output_data_plt_arm::got_irelative_): New member.
+       (Output_data_plt_arm::irelative_count_): New member.
+       (Output_data_plt_arm::IRelative_data_vec): New typedef.
+       (Output_data_plt_arm::irelative_data_vec_): New member.
+       (Output_data_plt_arm::do_write): Write out irelative entries.
+       (Output_data_plt_arm_standard::Output_data_plt_arm_standard): Add
+       more parameters to ctor.
+       (Output_data_plt_arm_nacl::Output_data_plt_arm_nacl): Add
+       more parameters to ctor.
+       * output.h (Output_data_reloc::add_local_relative): New method.
+       * aarch64.cc (Output_data_plt_aarch64): Fixed typo in comment.
+
+2015-01-29  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Correct GOT_TLSLD
+       and GOT_TLSGD to LE optimization.
+
+2015-01-28  Cary Coutant  <ccoutant@google.com>
+
+       * x86_64.cc (Target_x86_64::Scan::global): Allow IE-to-LE optimization
+       for undef TLS symbols.
+       (Target_x86_64::Relocate::relocate_tls): Likewise.
+       (Target_x86_64::Relocate::tls_ie_to_le): Likewise.
+
+2015-01-25  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (Output_segment::set_section_addresses): Fix calculation
+       of size of relro segment.
+
+2015-01-22  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::local <got relocs>): Correct
+       condition for need of ifunc plt entry.
+       (Target_powerpc::Scan::global <got relocs>): Likewise.
+
+2015-01-14  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * mips.cc (reloc_high): Add r_sym.
+       (Mips_relocate_functions::relhi16): Add r_sym parameter. Pass r_sym to
+       reloc_high constructor.
+       (Mips_relocate_functions::relgot16_local): Likewise.
+       (Mips_relocate_functions::rello16): Add r_sym parameter. Use r_sym and
+       r_type to decide whether LO16 matches HI16.
+       (Target_mips::Relocate::relocate): Pass r_sym to calls to relhi16,
+       rello16 and relgot16_local.
+
+2015-01-09  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::set_segment_offsets): Don't align start of segment
+       unless alignment is larger than page size.
+
+2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17729
+       * configure.ac (DEFAULT_TARGET_X86_64): Don't set for x32.
+       (DEFAULT_TARGET_X32): Set for x32.
+       * x86_64.cc (cmp_insn_32): New.
+       (lea_r10_insn_32): Likewise.
+       (lea_r11_insn_32): Likewise.
+       (cmp_insn_64): Likewise.
+       (lea_r10_insn_64): Likewise.
+       (lea_r11_insn_64): Likewise.
+       (Target_x86_64<size>::do_calls_non_split): Handle x32.
+       * testsuite/Makefile.am (check_SCRIPTS): Add split_x32.sh.
+       (check_DATA): Add split_x32 files.
+       (split_x32_[1234n].o): New targets.
+       (split_x32_[124]): New targets.
+       (split_x32_[1234r].stdout): New targets.
+       * testsuite/split_x32.sh: New file.
+       * testsuite/split_x32_1.s: Likewise.
+       * testsuite/split_x32_2.s: Likewise.
+       * testsuite/split_x32_3.s: Likewise.
+       * testsuite/split_x32_4.s: Likewise.
+       * testsuite/split_x32_n.s: Likewise.
+       * configure: Regenerated.
+       * testsuite/Makefile.in: Likewise.
+
+2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/17809
+       * x86_64.cc (Target_x86_64<size>::Relocate::tls_ie_to_le): Handle
+       x32.
+
+2015-01-02  Alan Modra  <amodra@gmail.com>
+
+       * version.cc (print_version): Just print current year.
+       * dwp.cc (print_version): Likewise.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-12-25  Alan Modra  <amodra@gmail.com>
+
+       * arm.cc (Target_arm::do_adjust_elf_header): Provide namespace on
+       new enums.
+       (Target_arm::merge_object_attributes, ): Likewise.
+
+2014-12-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.cc (Target_arm::do_adjust_elf_header): Set e_flags in ELF header
+       as hard float only when Tag_ABI_VFP_args is 1, using new enum value
+       AEABI_VFP_args_vfp to check that.
+       (Target_arm::merge_object_attributes): Handle new Tag_ABI_VFP_args
+       value and replace hardcoded values by enum values.
+
+2014-12-22  Cary Coutant  <ccoutant@google.com>
+
+       * powerpc.cc (Target_powerpc::relocate): Fix overflow check.
+
+2014-12-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/14608
+       * testsuite/debug_msg.cc (SometimesInlineFunction): Changed
+       to "return i * i * 3;".
+
+2014-12-16  Cary Coutant  <ccoutant@google.com>
+
+       * mapfile.cc (Mapfile::print_input_section): Print uncompressed sizes.
+       (Mapfile::print_output_data): Use current_data_size() to avoid
+       assert for sections requiring postprocessing; if address is not valid,
+       print 0.
+       (Mapfile::print_output_section): Use current_data_size(); print note
+       that addresses and sizes are before compression.
+
+2014-12-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
+       Cast current_group_size to unsigned long when reporting error.
+
+2014-12-10  Jing Yu  <jingyu@google.com>
+
+       * aarch64.cc (Target_aarch64): Add new variable stub_group_size_.
+       (AArch64_relocate_functions::maybe_apply_stub): Add new parameter.
+       Update error message.
+       (Target_aarch64::do_relax): Use absolute value of option
+       stub_group_size. Replace local variable with class member
+       stub_group_size_.
+
+2014-12-04  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Branch_info::make_stub): Ignore
+       addend of PLTREL24 reloc when not generating a plt stub.  Make
+       max_branch_offset an "Address".
+       (Stub_table::can_reach_stub): Make max_branch_offset an "Address".
+       (Target_powerpc::Relocate::relocate): Likewise.
+
+2014-12-04  Alan Modra  <amodra@gmail.com>
+
+       PR 17670
+       * symtab.cc (Symbol::set_undefined): Remove assertion.
+       * powerpc.cc (Target_powerpc::symval_for_branch): Don't assert
+       on symbols defined in discarded sections, instead return false.
+       Rearrange params, update all callers.
+       (Target_powerpc::Branch_info::make_stub): Don't make stubs for
+       branches to syms in discarded sections.
+       (Global_symbol_visitor_opd::operator()): Set discarded opd syms
+       undefined and flag as discarded.
+       (Target_powerpc::Relocate::relocate): Localize variable.
+
+2014-12-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/17675
+       * testsuite/Makefile.am (pie_copyrelocs_test_CXXFLAGS): New.
+       * testsuite/Makefile.in: Regenerated.
+
+2014-12-03  Alan Modra  <amodra@gmail.com>
+
+       PR 17566
+       * powerpc.cc (Target_powerpc::Scan::local): Use add_local_section
+       when adding dynamic relocations against section symbols.
+
+2014-12-01  Dimitry Ivanov <dimitry@google.com>
+
+       * layout.cc (Layout::finish_dynamic_section): When '-z global'
+       is specified set DF_1_GLOBAL in DT_FLAGS_1 flags.
+       * options.h (General_options): New -z option (global).
+
+2014-12-01  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17578
+       * layout.cc (Layout::layout_gnu_stack): Don't warn when -z execstack
+       is given.
+       (Layout::create_executable_stack_info): Warn when -z noexecstack is
+       given but some inputs require executable stack.
+
+2014-11-26  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (gdb_sections): Keep .debug_gdb_scripts and
+       .debug_str_offsets; strip .debug_gnu_pubnames and
+       .debug_gnu_pubtypes.
+       (lines_only_debug_sections): Strip all four new sections.
+
+2014-11-26  Jing Yu  <jingyu@google.com>
+
+       * aarch64.cc (Relocate::tls_desc_gd_to_ie): Set ldr target
+       register to be x0 when to relax TLSDESC_LD64_LO12.
+
+2014-11-26  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (struct Stub_table_owner): New.
+       (Powerpc_relobj): Rename stub_table_ to stub_table_index_, an
+       unsigned int vector.  Update all references.
+       (powerpc_relobj::set_stub_table): Take an unsigned int param
+       rather than a Stub_table.  Update callers.
+       (Powerpc_relobj::clear_stub_table): New function.
+       (Target_powerpc): Add relax_failed_, relax_fail_count_ and
+       stub_group_size_ vars.
+       (Target_powerpc::new_stub_table): Delete.
+       (max_branch_delta): New function, extracted from..
+       (Target_powerpc::Relocate::relocate): ..here..
+       (Target_powerpc::Branch_info::make_stub): ..and here.  Return
+       status on whether stub created successfully.
+       (Stub_control::Stub_control): Add "no_size_errors" param.  Move
+       default sizing to..
+       (Target_powerpc::do_relax): ..here.  Init stub_group_size_ and
+       reduce on relax failure.
+       (Target_powerpc::group_sections): Add "no_size_errors" param.
+       Use stub_group_size_.  Set up group info in a temp vector,
+       before building Stub_table vector.  Account for input sections
+       possibly already converted to relaxed sections.
+       (Stub_table::init): Delete.  Merge into..
+       (Stub_table::Stub_table): ..here.
+       (Stub_table::can_reach_stub): New function.
+       (Stub_table::add_plt_call_entry): Add "from" parameter and
+       return true iff stub could be reached.
+       (Stub_table::add_long_branch_entry): Similarly.  Add "r_type"
+       param too.
+       (Stub_table::clear_stubs): Add "all" param.
+
+2014-11-26  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Stub_control::set_output_and_owner): New function.
+       (Target_powerpc::group_sections): Use it.
+
+2014-11-25  Cary Coutant  <ccoutant@google.com>
+
+       * binary.cc (Binary_to_elf::sized_convert): Add size to _start symbol.
+       (Binary_to_elf::write_symbol): Add st_size parameter.
+       * binary.h (Binary_to_elf::write_symbol): Add st_size parameter.
+
+2014-11-25  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17639
+       * object.cc (Sized_relobj_file): Initialize is_deferred_layout_.
+       (Sized_relobj_file::do_layout): Handle deferred sections properly
+       during GC pass 1. Don't add reloc sections to deferred list twice.
+       * object.h (Sized_relobj_file::is_deferred_layout): New function.
+       (Sized_relobj_file::is_deferred_layout_): New data member.
+
+2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/17619
+       * x86_64.cc (Output_data_plt_x86_64_standard<size>::do_fill_plt_entry):
+       Check PC-relative offset overflow in PLT entry.
+
+2014-11-21  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Correct test
+       for undefined weaks.
+
+2014-11-20  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Stub_control::Stub_control): Init stub14_group_size_
+       from --stub-group-size parameter divided by 1024.
+       (Powerpc_relocate_functions::rela, rela_ua): Add fieldsize
+       template parameter.  Update all uses.
+       (Target_powerpc::Relocate::relocate): Rename has_plt_value to
+       has_stub_value.  Set for long branches.  Don't report overflow for
+       branch to undefined weak symbols.  Print info message on
+       overflowing branch to stub.
+
+2014-11-20  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::do_relax): Add __go_go to thread_starters.
+
+2014-11-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (Target_x86_64<size>::Scan::global): Don't make PLT
+       entry for R_X86_64_GOTPLT64.
+       (Target_x86_64<size>::Relocate::relocate): Update comments for
+       R_X86_64_GOTPLT64.
+
+2014-11-06  Evgeniy Dushistov  <dushistov@mail.ru>
+
+       * plugin.cc: use lock to searialize calls of Plugin_manager::claim_file
+       * plugin.h: add lock definition
+
+2014-10-29  Han Shen  <shenhan@google.com>
+           Jing Yu   <jingyu@google.com>
+
+       * aarch64-reloc.def: Add LD_PREL_LO12, ADR_PREL_LO21,
+       TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC, TLSLD_MOVW_DTPREL_G1,
+       TLSLD_MOVW_DTPREL_G0_NC. Change property of TLS relocations to
+       Symbol::TLS_REF.
+       * aarch64.cc (Target_aarch64::do_can_check_for_function_pointers): New
+       method.
+       (Target_aarch64::reloc_needs_plt_for_ifunc): New method.
+       (Target_aarch64::tls_ld_to_le): New method.
+       (Target_aarch64::aarch64_info): Enable can_icf_inline_merge_sections
+       for 64bit targets.
+       (Output_data_plt_aarch64::irelative_rel_): New data member.
+       (Output_data_plt_aarch64::add_entry): Add irelative entries to plt.
+       (Output_data_plt_aarch64::add_local_ifunc_entry): New method.
+       (Output_data_plt_aarch64::add_relocation): New method.
+       (Output_data_plt_aarch64::do_write): Add gold_assert on got_irelative
+       offset. Add got_irelative size to got size.
+       (AArch64_relocate_functions): Typedef AArch64_valtype. Replace long
+       type string with the new typename.
+       (AArch64_relocate_functions::update_adr): Replace parameter x with
+       immed.
+       (AArch64_relocate_functions::update_movnz): Correct wrong val mask.
+       (AArch64_relocate_functions::reloc_common): New method.
+       (AArch64_relocate_funcsions::rela_general): Extract common part out
+       into reloc_common method.
+       (AArch64_relocate_functions::rela_general): Likewise.
+       (AArch64_relocate_functions::pcrela_general): Likewise.
+       (AArch64_relocate_functions::adr): New method.
+       (AArch64_relocate_functions::adrp): Calculate immed before calling
+       update_adr.
+       (AArch64_relocate_functions::adrp): Likewise.
+       (AArch64_relocate_functions::movnz): Cast x to SignedW type when
+       comparing x to 0. Calculate immed from ~x when x < 0.
+       (Target_aarch64::optimize_tls_reloc): Add new cases for
+       TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC, TLSLD_MOVW_DTPREL_G1,
+       TLSLD_MOVW_DTPREL_G0_NC.
+       (Target_aarch64::possible_function_pointer_reloc): Implement this
+       method.
+       (Target_aarch64::Scan::local_reloc_may_be_function_pointer): Update
+       comment.
+       (Target_aarch64::Scan::local): Add codes to handle STT_GNU_IFUNC
+       symbol. Add cases for TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC,
+       TLSLD_MOVW_DTPREL_G1, TLSLD_MOVW_DTPREL_G0_NC.
+       (Target_aarch64::Scan::global): Add codes to handle STT_GNU_IFUNC
+       symbol. Add cases for TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC,
+       TLSLD_MOVW_DTPREL_G1, TLSLD_MOVW_DTPREL_G0_NC.
+       (Target_aarch64::make_plt_entry): Call add_entry with two more
+       parameters.
+       (Target_aarch64::make_local_ifunc_plt_entry): New method.
+       (Target_aarch64::Relocate::relocate): Add cases for LD_PREL_LO19,
+       ADR_PREL_LO21, TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC,
+       TLSLD_MOVW_DTPREL_G1, TLSLD_MOVW_DTPREL_G0_NC.
+       (Target_aarch64::Relocate::relocate_tls): Add cases for
+       TLSLD_ADR_PAGE21, TLSLD_ADD_LO12_NC, TLSLD_MOVW_DTPREL_G1,
+       TLSLD_MOVW_DTPREL_G0_NC.
+       * testsuite/icf_safe_so_test.cc: Correct test comment.
+       * testsuite/icf_safe_test.sh: Add AArch64 arch.
+
+2014-10-22  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (do_relax): Add gcc-4.9 libgomp functions to
+       thread_starter.
+
+2014-10-18  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure.tgt (targ_extra_obj) [aarch64*-*]: Define.
+
+2014-10-17  Cary Coutant  <ccoutant@google.com>
+
+       * aarch64.cc (AArch64_relocate_functions::maybe_apply_stub):
+       Add "typename" keyword.
+
+2014-10-15  Han Shen  <shenhan@google.com>
+           Jing Yu   <jingyu@google.com>
+
+       Patch for gold aarch64 backend to support relaxation.
+       * aarch64-reloc.def: Change format.
+       * aarch64.cc (class Reloc_stub): New class.
+       (class Stub_table): New class.
+       (class AArch64_relobj): New class.
+       (class AArch64_input_section): New class.
+       (class AArch64_output_section): New class.
+       (Target_aarch64::new_stub_table): New method.
+       (Target_aarch64::new_aarch64_input_section): New method.
+       (Target_aarch64::find_aarch64_input_section): New method.
+       (Target_aarch64::scan_section_for_stubs): New method.
+       (Target_aarch64::scan_reloc_section_for_stubs): New method.
+       (Target_aarch64::relocate_stub): New method.
+       (Target_aarch64::current_target): New method.
+       (Target_aarch64::do_make_elf_object): New method.
+       (Target_aarch64::do_may_relax): New method.
+       (Target_aarch64::do_relax): New method.
+       (Target_aarch64::group_sections): New method.
+       (Target_aarch64::scan_reloc_for_stub): New method.
+       (Target_aarch64::do_make_output_section): New method.
+       (Target_aarch64::stub_tables_): New data member.
+       (Target_aarch64::aarch64_input_section_map_): New data member.
+       (AArch64_relocate_functions::maybe_apply_stub): New method.
+
+2014-09-30  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17432
+       * resolve.cc (Symbol_table::resolve): Fix local shadowing error.
+
+2014-09-30  Kito Cheng  <kito@0xlab.org>
+
+       PR gold/13597
+       * layout.cc (Layout::create_dynamic_symtab): Build gnu-style
+       hash table before sysv-style hash table.
+
+2014-09-29  Sriraman Tallam  <tmsriram@google.com>
+
+       * options.h (--pic-executable): Add negative to alias to -no-pie.
+
+2014-09-26  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/16773
+       * object.cc (Sized_relobj_file): Compute value of section symbols
+       for TLS sections the same as TLS symbols.
+
+2014-09-25  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17432
+       * resolve.cc (Symbol_table::resolve): Override common placeholder
+       symbols, but adjust sizes.
+       * symtab.cc (Symbol_table::add_from_object): Don't add placeholder
+       symbols to common lists.
+
+2014-09-24  Alan Modra  <amodra@gmail.com>
+
+       * po/POTFILES.in: Regenerate.
+
+2014-09-23  Taiju Tsuiki  <tzik@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       PR gold/14860
+       * gold.cc (queue_final_tasks): Add Write_sections_task as a blocker
+       on input_sections_blocker.
+       * layout.cc (Write_sections_task::locks): Unblock
+       input_sections_blocker_.
+       * layout.h (Write_sections_task::Write_sections_task): Add
+       input_sections_blocker.
+       * testsuite/Makefile.am (exception_x86_64_bnd_test): Add gcctestdir/ld
+       to DEPENDENCIES.
+       * testsuite/Makefile.in: Regenerate.
+
+2014-09-18  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * testsuite/Makefile.am (plugin_test_10): New test.
+       * testsuite/Makefile.in: Regenerate
+       * testsuite/plugin_common_test_2.c (c1): Align to 8.
+       * testsuite/plugin_test_10.sh: New file.
+
+2014-09-17  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * plugin.cc (Sized_pluginobj::do_add_symbols): Ignore isym->size.
+       * resolve.cc (Symbol_table::resolve): Don't override common symbols
+       during the replacement phase.
+
+2014-09-17  Han Shen  <shenhan@google.com>
+           Jing Yu  <jingyu@google.com>
+
+       * aarch64-reloc.def: Add TLSGD_ADR_PAGE21, TLSGD_ADD_LO12_NC,
+       TLSDESC_ADR_PAGE21, TLSDESC_LD64_LO12, TLSDESC_ADD_LO12, TLSDESC_CALL.
+       * aarch64.cc (Target_aarch64): Add data members
+       got_irelative_, got_tlsdesc_, rela_irelative_, got_mod_index_offset_,
+       tlsdesc_reloc_info_, tls_base_symbol_defined_. Initialize them in
+       constructor.
+       (Target_aarch64::do_reloc_symbol_index): New method.
+       (Target_aarch64::do_reloc_addend): New method.
+       (Target_aarch64::add_tlsdesc_info): New method.
+       (Target_aarch64::do_dynsym_value): New method.
+       (Target_aarch64::do_make_data_plt): Add new parameters: got,
+       got_irelative. Pass them to Output_data_plt_aarch64_standard.
+       (Target_aarch64::make_data_plt): Add new parameters: got,
+       got_irelative. Pass them to do_make_data_plt.
+       (Target_aarch64::Relocate): Add skip_call_tls_get_addr_ variable.
+       (Target_aarch64::Relocate:tls_gd_to_le): New method.
+       (Target_aarch64::Relocate:tls_ie_to_le): New method.
+       (Target_aarch64::Relocate:tls_desc_gd_to_le): New method.
+       (Target_aarch64::Relocate:tls_desc_gd_to_ie): New method.
+       (Target_aarch64::got_tlsdesc_section): New method.
+       (Target_aarch64::make_local_ifunc_plt_entry): New method.
+       (Target_aarch64::define_tls_base_symbol): New method.
+       (Target_aarch64::reserve_tlsdesc_entries): New method.
+       (Target_aarch64::got_mod_index_entry): New method.
+       (Target_aarch64::rela_tlsdesc_section): New method.
+       (Target_aarch64::rela_irelative_section): New method.
+       (Target_aarch64::Tlsdesc_info): New struct.
+       (Target_aarch64::got_section): Create .got.plt space for IRELATIVE
+       relocations and tlsdesc relocations.
+       (Target_aarch64::optimize_tls_reloc): Implement method.
+       (Output_data_plt_aarch64): Add member variables: tlsdesc_rel_, got_,
+       got_irelative_, irelative_count_, tlsdesc_got_offset_. Initialize them
+       in constructor.
+       (Output_data_plt_aarch64::reserve_tlsdesc_entry): New method.
+       (Output_data_plt_aarch64::has_tlsdesc_entry): New method.
+       (Output_data_plt_aarch64::get_tlsdesc_got_offset): New method.
+       (Output_data_plt_aarch64::get_tlsdesc_plt_offset): New method.
+       (Output_data_plt_aarch64::rela_tlsdesc): New method.
+       (Output_data_plt_aarch64::rela_irelative): New method.
+       (Output_data_plt_aarch64::entry_count): Count IRELATIVE relocations.
+       (Output_data_plt_aarch64::first_plt_entry_offset): Add const attribute.
+       (Output_data_plt_aarch64::get_plt_tlsdesc_entry_size): New method.
+       (Output_data_plt_aarch64::fill_tlsdesc_entry): New method.
+       (Output_data_plt_aarch64::do_get_plt_tlsdesc_entry_size): New method.
+       (Output_data_plt_aarch64::do_fill_tlsdesc_entry): New method.
+       (Output_data_plt_aarch64_standard): New member variables:
+       plt_tlsdesc_entry_size, tlsdesc_plt_entry.
+       (Output_data_plt_aarch64_standard::Output_data_plt_aarch64_standard):
+       New parameter: got, got_irelative.
+       (Output_data_plt_aarch64_standard::do_get_plt_entry_size): New method.
+       (Output_data_plt_aarch64_standard::do_fill_tlsdesc_entry): New method.
+       (Output_data_plt_aarch64::do_write): Replace got_address with
+       gotplt_address. Add irelative_count_ to count. Write tlsdesc entry.
+       (AArch64_relocate_functions::update_movnz): New method.
+       (AArch64_relocate_functions): Correct format.
+       (AArch64_relocate_functions::movnz): New method.
+       (Target_aarch64::Scan::local): Correct format. Move r_sym, got to
+       before the switch. Add new cases to switch.
+       Check ie_to_le relaxation on tlsie relocations. Add code handling
+       tlsgd tlsdesc cases.
+       (Target_aarch64::Scan::global): Move arp to front. Do copy_reloc when
+       needed. Add new cases to switch. Insert dynamic RELATIVE relocation
+       when needed. Add code handling tlsgd, tlsie, tlsdesc cases.
+       Call reloc_name_in_error_message to print unsupported reloc.
+       (Target_aarch64::make_plt_section): Pass got_ and got_irelative_ to
+       make_data_plt.
+       (Target_aarch64::do_finalize_sections): Emit relocs to save COPY
+       relocs. Fill in some more dynamic tags.
+       (Target_aarch64::Relocate::relocate): Handle tlsgd, tlsdesc relocs.
+       Skip call tls_get_addr when tlsgd is relaxed.
+       (Target_aarch64::Relocate::relocate_tls): Correct format. Add code
+       handling tlsgd, tlsdesc relocs, and tls gd->le, ie->le, tlsdesc->le,
+       tlsdesc->ie relaxation.
+
+2014-09-03  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * mips.cc (Target_mips_nacl): New class.
+       (Target_selector_mips_nacl): New class.
+       (target_selector_mips32): Rename from target_selector_mips32be and use
+       Target_selector_mips_nacl instead of Target_selector_mips.
+       (target_selector_mips32el): Rename from target_selector_mips32 and use
+       Target_selector_mips_nacl instead of Target_selector_mips.
+       (target_selector_mips64): Rename from target_selector_mips64be and use
+       Target_selector_mips_nacl instead of Target_selector_mips.
+       (target_selector_mips64el): Rename from target_selector_mips64 and use
+       Target_selector_mips_nacl instead of Target_selector_mips.
+       (Target_mips::mips_info): Add const attribute.
+
+2014-09-02  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.cc (Sized_relobj_dwo::do_section_name): Add const attribute.
+       * dynobj.h (Sized_dynobj::do_section_name): Likewise.
+       * incremental.cc (Sized_relobj_incr::do_section_name): Likewise.
+       (Sized_incr_dynobj::do_section_name): Likewise.
+       * incremental.h (Sized_relobj_incr::do_section_name): Likewise.
+       (Sized_incr_dynobj::do_section_name): Likewise.
+       * object.h (Object::section_name): Likewise.
+       (Object::do_section_name): Likewise.
+       (Sized_relobj_file::do_section_name): Likewise.
+       * plugin.cc (Sized_pluginobj::do_section_name): Likewise.
+       * plugin.h (Sized_pluginobj::do_section_name): Likewise.
+
+2014-09-02  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/17005
+       * ehframe.cc (Fde::write): Add output_offset parameter.
+       (Cie::write): Likewise.
+       (Eh_frame::set_final_data_size): Account for offset within output
+       section.
+       (Eh_frame::do_sized_write): Likewise.
+       * ehframe.h (Fde::write): Add output_offset parameter.
+       (Cie::write): Likewise.
+       * output.cc (Output_section::Input_section_sort_entry): Remove
+       section_has_name_; add output_section_name parameter. Use
+       output section name for non-input sections.
+       (Output_section::Input_section_sort_entry::section_has_name): Remove.
+       (Output_section::Input_section_sort_entry::section_has_name_): Remove.
+       (Output_section::Input_section_sort_compare): Remove logic for
+       sections without names.
+       (Output_section::Input_section_sort_init_fini_compare): Likewise.
+       (Output_section::Input_section_sort_section_prefix_special_ordering_compare):
+       Likewise.
+       (Output_section::Input_section_sort_section_name_compare): Likewise.
+
+2014-08-29 Han Shen <shenhan@google.com>
+          Jing Yu <jingyu@google.com>
+
+       * aarch64-reloc-property.cc
+       (AArch64_reloc_property_table::reloc_name_in_error_message): Fix bug in
+       reference reloc property in the table.
+       * aarch64-reloc.def: Add TLSLE reloc types and fix some errors in
+       3 other entries.
+       * aarch64.cc: (Output_data_got_aarch64::add_static_reloc):
+       2 new overloaded methods.
+       (Output_data_got_aarch64::do_write): Add code to write out
+       static relocs.
+       (class Output_data_got_aarch64::Static_reloc): New class to wrap
+       static relocs.
+       (Output_data_got_aarch64::static_relocs): New vector to
+       hold static relocs.
+       (Target_aarch64::TCB_SIZE): New const static memeber.
+       (Target_aarch64::tcb_size): New method.
+       (Target_aarch64::Relocate::relocate): Add code handling new reloc types.
+       (Target_aarch64::Relocate::relocate_tls): New method.
+       (Target_aarch64::Scan::local): Add code handling new reloc types.
+       (Target_aarch64::Scan::global): Add code handling new reloc types.
+
+2014-08-13  Sriraman Tallam  <tmsriram@google.com>
+
+       * options.h (-no-pie): Add option.
+
+2014-08-08  Jing Yu  <jingyu@google.com>
+           Han Shen  <shenhan@google.com>
+
+       * Makefile.am (HFILES): Add aarch64-reloc-property.h.
+       (DEFFILES): add aarch64-reloc.def.
+       (TARGETSOURCES): Add aarch64-reloc-property.cc.
+       (ALL_TARGETOBJS): Add aarch64-reloc-property.$(OBJEXT).
+       * Makefile.in: Regenerate.
+       * aarch64-reloc-property.cc: New file.
+       * aarch64-reloc-property.h: New file.
+       * aarch64-reloc.def: New file.
+       * aarch64.cc: Include aarch64-reloc-property.h. Replace spaces
+       with tab to make the format consistent.
+       (Output_data_got_aarch64::symbol_table_): New method.
+       (Target_aarch64::do_plt_address_for_global): New method.
+       (Target_aarch64::do_plt_address_for_local): New method.
+       (Target_aarch64::do_select_as_default_target): New method.
+       (Target_aarch64::do_make_data_plt): New method.
+       (Target_aarch64::make_data_plt): New method.
+       (Output_data_plt_aarch64::has_irelative_section): New method.
+       (Output_data_plt_aarch64::address_for_global): New method.
+       (Output_data_plt_aarch64::address_for_local): New method.
+       (Output_data_plt_aarch64::irelative_rel_): New parameter.
+       (Output_data_plt_aarch64::add_entry): Implement contents.
+       (Output_data_plt_aarch64::set_final_data_size): Fix typo.
+       (Output_data_plt_aarch64::do_write): Remove useless got_base. Set
+       the got_pov entry to plt0.
+       (Output_data_plt_aarch64_standard::do_fill_first_plt_entry):
+       Implement contents.
+       (Output_data_plt_aarch64_standard::do_fill_plt_entry): Implement.
+       (AArch64_howto): New struct.
+       (aarch64_howto[]): New static const array.
+       (AArch64_relocate_functions): New class.
+       (Target_aarch64::Scan::get_reference_flags): Remove method.
+       (Target_aarch64::Scan::local): Implement to support a few relocations.
+       (Target_aarch64::Scan::global): Implement to support a few relocations.
+       (Target_aarch64::make_plt_section): Implement contents.
+       (Target_aarch64::make_plt_entry): Implement contents.
+       (Target_aarch64::do_finalize_sections): Implement contents.
+       (Target_aarch64::Relocate::relocate): Implement a few relocations.
+       (Target_aarch64::relocate_section): Implement contents.
+
+2014-08-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/defsym_test.sh: Allow ppc64le localentry annotation.
+
+2014-08-06  Alan Modra  <amodra@gmail.com>
+
+       PR 13227
+       * symtab.cc (Symbol_table::add_from_relobj): Warn on __gnu_lto_slim.
+
+2014-07-21  Sriraman Tallam  <tmsriram@google.com>
+
+       * object.cc (Relobj::is_section_name_included): Add
+       ".rodata.nptl_version" to not garbage collect this section.
+
+2014-07-08  Cary Coutant  <ccoutant@google.com>
+
+       * expression.cc (struct Expression::Expression_eval_info): Add
+       new fields type_pointer, vis_pointer, and nonvis_pointer.
+       (Expression::eval_maybe_dot): Add type_pointer, vis_pointer, and
+       nonvis_pointer parameters. Adjust all calls.
+       (Symbol_expression::value): Update type, visibility, and nonvis bits
+       in caller.
+       * script.cc (Symbol_assignment::sized_finalize): Update type,
+       visibility, and remaining st_other bits for new symbol.
+       * script.h: (Expression::eval_maybe_dot): Add type_pointer,
+       vis_pointer, and nonvis_pointer parameters.
+       * symtab.h (Symbol::set_type): New method.
+
+       * testsuite/Makefile.am (defsym_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/defsym_test.c: New file.
+       * testsuite/defsym_test.sh: New file.
+
+2014-07-08  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/15639
+       * dynobj.h (Sized_dynobj::base_read_symbols): New method.
+       * dynobj.cc (Sized_dynobj::do_read_symbols): Move body to...
+       (Sized_dynobj::base_read_symbols): ...new method.
+       * object.h (Sized_relobj_file::base_read_symbols): New method.
+       * object.cc (Sized_relobj_file::do_read_symbols): Move body to...
+       (Sized_relobj_file::base_read_symbols): ...new method.
+       * arm.cc (Arm_relobj::do_read_symbols): Call base_read_symbols.
+       * mips.cc: (Mips_relobj::do_read_symbols): Likewise.
+       * powerpc.cc (Powerpc_dynobj::do_read_symbols): Likewise.
+
+2014-07-04  Alan Modra  <amodra@gmail.com>
+
+       * po/POTFILES.in: Regenerate.
+
+2014-07-02  Jing Yu  <jingyu@google.com>
+
+       * aarch64.cc: New file
+       * Makefile.am (TARGETSOURCES): Add aarch64.cc
+       (ALL_TARGETOBJS): Add aarch64.$(OBJEXT)
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add entries for aarch64*.
+       * configure.ac:  Likewise.
+       * configure: Likewise.
+
+2014-06-27  Alan Modra  <amodra@gmail.com>
+
+       * symtab.cc (Symbol::should_add_dynsym_entry): Don't make inline.
+
+2014-06-24  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.cc (Dwo_file::read): Allow files with no .debug_types
+       sections.
+       (Dwo_file::sized_read_unit_index): Likewise.
+
+2014-06-23  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * mips.cc: New file.
+       * Makefile.am (TARGETSOURCES): Add mips.cc
+       (ALL_TARGETOBJS): Add mips.$(OBJEXT)
+       * configure.tgt: Add entries for mips*.
+       * configure.ac: Likewise.
+       * Makefile.in: Regenerate.
+       * configure: Likewise.
+
+2014-06-09  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_pubnames_table::read_header): Check that
+       unit_length is within section bounds.
+
+2014-06-09  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/16980
+       * layout.cc (Layout::print_to_mapfile): Print unattached sections in
+       map.
+
+2014-06-07  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (relocate): Treat field of cmpli insn as a bitfield.
+
+2014-06-06  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.h (Dwarf_pubnames_table): Remove output_section_offset_.
+       * dwarf_reader.cc (Dwarf_pubnames_table::read_section): Likewise.
+       (Dwarf_pubnames_table::read_header): Likewise.
+       * layout.cc (gdb_fast_lookup_sections): Add .debug_gnu_pubnames and
+       .debug_gnu_pubtypes.
+
+2014-06-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.am (CONFIG_STATUS_DEPENDENCIES): New.
+       * Makefile.in, configure: Regenerate.
+
+2014-06-03  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (addis_12_2): Define.
+       (Stub_table::do_write): Support fusion on ELFv2 stubs.
+
+2014-06-03  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/plugin_test.c (parse_readelf_line): Skip non-visibility
+       st_other output.
+
+2014-06-02  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::local_reloc_may_be_function_pointer):
+       Only ignore relocs on ELFv1.
+       (Target_powerpc::global_reloc_may_be_function_pointer): Likewise.
+
+2014-05-30  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (ehdr_start_test_4): Fix typo in -B option.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/ehdr_start_test_4.sh: Look for "U" instead of "w".
+
+2014-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/16945
+       * x86_64.cc (Target_x86_64::Relocate::relocate): Use signed int
+       for got_offset.  Properly get GOT address for R_X86_64_PLTOFF64.
+
+2014-05-15  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (do_plt_fde_location): Handle zero length .glink.
+       Compare FDE contents with DW_CFA_nop rather than 0.
+
+2014-05-13  Sriraman Tallam  <tmsriram@google.com>
+
+       * symtab.h (may_need_copy_reloc): Remove check for position independent
+       code.
+       * x86_64.cc (Target_x86_64<size>::Scan::global): Add check for no
+       position independence before pc absolute may_need_copy_reloc call.
+       Add check for executable output befor pc relative may_need_copy_reloc
+       call.
+       * i386.cc: Ditto.
+       * arm.cc: Ditto.
+       * sparc.cc: Ditto.
+       * tilegx.cc: Ditto.
+       * powerpc.cc: Add check for no position independence before
+       may_need_copy_reloc calls.
+       * testsuite/pie_copyrelocs_test.cc: New file.
+       * testsuite/pie_copyrelocs_shared_test.cc: New file.
+       * Makefile.am (pie_copyrelocs_test): New test.
+       * Makefile.in: Regenerate.
+
+2014-05-08  Martin Liška  <mliska@suse.cz>
+
+       * output.cc (Sized_relobj_file::do_layout): Fix typo in info message.
+
+2014-05-06  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/16900
+       * i386.cc (Output_data_got_plt_i386): New class.
+       (Output_data_plt_i386::Output_data_plt_i386): Change type of got_plt
+       parameter. Change all callers.
+       (Output_data_plt_i386::layout_): Remove.
+       (Output_data_plt_i386::got_plt_): Change type.
+       (Target_i386::got_plt_): Change type. Change all references.
+       (Target_i386::got_section): Create instance of new class.
+       (Output_data_got_plt_i386::do_write): New function.
+       * x86_64.cc (Output_data_got_plt_x86_64): New class.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64): Change type of got_plt
+       parameter. Change all callers.
+       (Output_data_plt_x86_64::layout_): Remove.
+       (Output_data_plt_x86_64::got_plt_): Change type.
+       (Target_x86_64::got_plt_): Change type. Change all references.
+       (Target_x86_64::got_section): Create instance of new class.
+       (Output_data_got_plt_x86_64::do_write): New function.
+       (Output_data_plt_x86_64::do_write): Don't write reserved words in GOT.
+       (Target_x86_64<size>::init_got_plt_for_update): Create instance of new
+       class.
+
+2014-05-05  Cary Coutant  <ccoutant@google.com>
+
+       * gdb-index.cc (Gdb_index_info_reader): Don't complain about language
+       if we have pubnames/pubtypes.
+
+2014-05-02  Cary Coutant  <ccoutant@google.com>
+
+       * defstd.cc (in_segment): Define __ehdr_start here...
+       * layout.cc (Layout::finalize): ...Instead of here.  Set the
+       output segment when known.
+       * resolve.cc (Symbol::override_base_with_special): Remember
+       the original binding.
+       * symtab.cc (Symbol::set_output_segment): New function.
+       (Symbol::set_undefined): New function.
+       * symtab.h (Symbol::is_weak_undefined): Check original undef
+       binding.
+       (Symbol::is_strong_undefined): New function.
+       (Symbol::set_output_segment): New function.
+       (Symbol::set_undefined): New function.
+       * target-reloc.h (is_strong_undefined): Remove.
+       (issue_undefined_symbol_error): Call Symbol::is_weak_undefined.
+       Check for hidden undefs.
+       (relocate_section): Call Symbol::is_strong_undefined.
+
+       * testsuite/Makefile.am (ehdr_start_test_1)
+       (ehdr_start_test_2, ehdr_start_test_3)
+       (ehdr_start_test_4, ehdr_start_test_5): New test cases.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/ehdr_start_def.cc: New source file.
+       * testsuite/ehdr_start_test.cc: New source file.
+       * testsuite/ehdr_start_test.t: New linker script.
+       * testsuite/ehdr_start_test_4.sh: New shell script.
+
+2014-04-23  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/16870
+       * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.
+
+2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * layout.cc (Layout::include_section): Allow a target to decide
+       whether to include a section.
+       * target.h (Target::should_include_section): New function.
+       (Target::do_should_include_section): New function.
+
+2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * copy-relocs.cc (Copy_relocs::Copy_reloc_entry::emit): Remove and
+       inline into ...
+       (Copy_relocs::emit): ... here.
+       * copy-relocs.h (Copy_reloc_entry): Change from class to struct.
+       (Copy_reloc_entry::make_copy_reloc): Change from private to protected.
+       (Copy_reloc_entry::entries_): Change from private to protected.
+
+2014-04-02  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.cc (get_section_contents): Replace copies of reloc
+       vectors with const references.
+
+2014-04-02  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac (HAVE_PUBNAMES): Use C instead of C++.
+       (HAVE_NO_USE_LINKER_PLUGIN): Check for -fno-use-linker-plugin.
+       * configure: Regenerate.
+       * testsuite/Makefile.am (OPT_NO_PLUGINS): New macro for
+       -fno-use-linker-plugin.
+       (LINK1, CXXLINK1): Add it to the link command.
+       * testsuite/Makefile.in: Regenerate.
+
+2014-03-12  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+
+2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * symtab.h (Symbol::set_nonvis): New function.
+
+2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * symtab.cc (Sized_symbol<32>::init_output_data):
+       Instantiate the template.
+       (Sized_symbol<64>::init_output_data): Likewise.
+
+2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * symtab.cc (Symbol_table::sized_write_globals): Allow a target to
+       adjust dynamic symbol value.
+       * target.h (Target::adjust_dyn_symbol): New function.
+       (Target::do_adjust_dyn_symbol): New function.
+
+2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * output.cc (Output_data_dynamic::Dynamic_entry::write):
+       Get the value of DYNAMIC_CUSTOM dynamic entry.
+       * output.h (Output_data_dynamic::add_custom): New function.
+       (Dynamic_entry::Dynamic_entry): New constructor for DYNAMIC_CUSTOM
+       dynamic entry.
+       (enum Dynamic_entry::Classification): Add DYNAMIC_CUSTOM.
+       * target.h (Target::dynamic_tag_custom_value): New function.
+       (Target::do_dynamic_tag_custom_value): New function.
+
+2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * symtab.cc (Symbol_table::set_dynsym_indexes): Allow a target to set
+       dynsym indexes.
+       * target.h (Target::has_custom_set_dynsym_indexes): New function.
+       (Target::do_has_custom_set_dynsym_indexes): New function.
+       (Target::set_dynsym_indexes): New function.
+       (Target::do_set_dynsym_indexes): New function.
+
+2014-03-07  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relocate_functions::Overflow_check): Add
+       CHECK_UNSIGNED, CHECK_LOW_INSN, CHECK_HIGH_INSN.
+       (Powerpc_relocate_functions::has_overflow_unsigned): New function.
+       (Powerpc_relocate_functions::has_overflow_bitfield,
+       overflowed): Use the above.
+       (Target_powerpc::Relocate::relocate): Correct overflow checking
+       for a number of relocations.  Modify overflow test for 16-bit
+       fields in instructions to signed/unsigned according to whether
+       the field takes a signed or unsigned value.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::local, global): Support
+       R_PPC64_ADDR64_LOCAL.
+       (Target_powerpc::Relocate::relocate): Likewise.
+
+2014-03-03  Alan Modra  <amodra@gmail.com>
+
+       * dwp.cc (print_version): Update copyright year to current.
+
+2014-02-10  Alan Modra  <amodra@gmail.com>
+
+       * po/gold.pot: Regenerate.
+
+2014-02-06  Cary Coutant  <ccoutant@google.com>
+
+       Fix problem where -u is ignored when a weak undef is seen.
+
+       * archive.cc (Library_base::should_include_member): Reorder
+       code to check for -u option if a weak undef has already been seen.
+       * testsuite/Makefile.am (weak_undef_test_2): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/weak_undef_file3.cc: New file.
+       * testsuite/weak_undef_file4.cc: New file.
+       * testsuite/weak_undef_test_2.cc: New file.
+
+2014-02-05  Cary Coutant  <ccoutant@google.com>
+
+       Fix issues with gold undefined symbol diagnostics.
+
+       PR binutils/15435
+       * errors.cc (Errors::undefined_symbol): Move undef vtable symbol
+       check to here.
+       * target-reloc.h (is_strong_undefined): New function.
+       (relocate_section): Move undef vtable symbol check from here.
+       Check for is_strong_undefined.
+
+2014-02-05  Cary Coutant  <ccoutant@google.com>
+
+       Fix problems with the --dynamic-list option.
+
+       PR gold/13577
+       * options.cc (General_options::parse_dynamic_list):
+       Set have_dynamic_list_.
+       (General_options::General_options): Initialize have_dynamic_list_.
+       (General_options::finalize): Turn off -Bsymbolic and
+       -Bsymbolic-functions if --dynamic-list provided.
+       * options.h (General_options::have_dynamic_list): New function.
+       (General_options::have_dynamic_list_): New data member.
+       * symtab.h (Symbol::is_preemptible): Handle --dynamic-list
+       correctly.
+
+       PR gold/16530
+       * symtab.cc (Symbol_table::add_from_relobj): If symbol is named
+       in --dynamic-list, mark it.
+
+       * testsuite/Makefile.am (gc_dynamic_list_test.sh): New test case.
+       (dynamic_list_2): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/dynamic_list_2.cc: New file.
+       * testsuite/dynamic_list_2.t: New file.
+       * testsuite/dynamic_list_lib1.cc: New file.
+       * testsuite/dynamic_list_lib2.cc: New file.
+       * testsuite/gc_dynamic_list_test.c: New file.
+       * testsuite/gc_dynamic_list_test.sh: New file.
+       * testsuite/gc_dynamic_list_test.t: New file.
+
+2014-01-28  Cary Coutant  <ccoutant@google.com>
+
+       Add .gdb_index version 7 support.
+
+       * dwarf_reader.cc: include <utility> (for make_pair).
+       (Dwarf_abbrev_table::do_read_abbrevs): Check for compressed
+       debug sections.
+       (Dwarf_ranges_table::read_ranges_table): Likewise.
+       (Dwarf_pubnames_table::read_section): Check for GNU-style
+       sections, and for compressed debug sections.
+       (Dwarf_pubnames_table::read_header): Compute end address of table.
+       (Dwarf_pubnames_table::next_name): Return flag_byte.  Check
+       for end of list by offset, not by offset == 0.
+       (Dwarf_info_reader::do_read_string_table): Check for compressed
+       debug sections.
+       * dwarf_reader.h (Dwarf_pubnames_table::Dwarf_pubnames_table):
+       Initialize new data members.
+       (Dwarf_pubnames_table::next_name): return flag_byte.
+       (Dwarf_pubnames_table::end_of_table_): New data member.
+       (Dwarf_pubnames_table::is_gnu_style_): New data member.
+       * gdb-index.cc (gdb_index_version): Update to version 7.
+       (Gdb_index_info_reader::read_pubtable): Read flag_byte.
+       (Gdb_index_info_reader::read_pubnames_and_pubtypes): Don't
+       read skeleton type unit DIEs.
+       (Gdb_index::add_symbol): Add flag_byte; adjust all callers.
+       (Gdb_index::do_write): Write flag_byte.
+       * gdb-index.h (Gdb_index::add_symbol): Add flags parameter.
+       (Gdb_index::Cu_vector): Store flags along with cu indexes.
+       * testsuite/gdb_index_test_3.sh: Allow versions 4-7.
+       * testsuite/gdb_index_test_comm.sh: Likewise.
+
+2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.cc (print_version): Update copyright year to 2014.
+
+2013-12-19  Dimitry Andric  <dimitry@andric.com>
+
+       * stringpool.cc (Stringpool_template::reserve): Add
+       HAVE_UNORDERED_MAP case.
+       * stringpool.cc (Stringpool_template::print_stats): Likewise.
+
+2013-12-18  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Check for <unordered_set> and <unordered_map>.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * system.h: Use <unordered_set> and <unordered_map> if available.
+
+2013-12-10  Roland McGrath  <mcgrathr@google.com>
+
+       * Makefile.am (install-exec-local): Prefix $(INSTALL_PROGRAM) uses
+       with $(INSTALL_PROGRAM_ENV).
+       * Makefile.in: Regenerate.
+
+2013-11-22  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Add check for which library is needed for
+       dlopen.
+       * configure: Regenerate.
+
+2013-11-22  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (exception_x86_64_bnd_test): Use in-tree
+       assembler.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
+       Handle R_X86_64_PC32_BND and R_X86_64_PLT32_BND just like
+       R_X86_64_PC32 and R_X86_64_PLT32, respectively.
+       (Target_x86_64<size>::Scan::local): Likewise.
+       (Target_x86_64<size>::Scan::global): Likewise.
+       (Target_x86_64<size>::Relocate::relocate): Likewise.
+       (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+       (Target_x86_64<size>::Scan::check_non_pic(): Handle
+       R_X86_64_PC32_BND.
+
+       * testsuite/Makefile.am (check_PROGRAMS): Add
+       exception_x86_64_bnd_test.
+       (exception_x86_64_bnd_test_SOURCES): New macro.
+       (exception_x86_64_bnd_test_DEPENDENCIES): Likewise.
+       (exception_x86_64_bnd_test_LDFLAGS): Likewise.
+       (exception_x86_64_bnd_test_LDADD): Likewise.
+       (exception_x86_64_bnd_1.o): New rule.
+       (exception_x86_64_bnd_2.o): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2013-11-15  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::glink_section): Provide non-const
+       accessor.
+       (Target_powerpc::Branch_info::make_stub): Make global entry stubs.
+       Only call ppc64_local_entry_offset for 64-bit.  Restrict
+       symval_for_branch lookup to ELFv1.
+       (Stub_table::add_plt_call_entry): Use unsigned int off.
+       (Output_data_glink::Address, invalid_address): New.
+       (Output_data_glink::add_eh_frame): Move out of line.  Add
+       support for ELFv2.
+       (Output_data_glink::add_global_entry, find_global_entry,
+       global_entry_address): New functions.
+       (Output_data_glink::global_entry_stubs_, end_branch_table_,
+       ge_size): New variables.
+       (Output_data_glink::set_final_data_size): Add global entry
+       stub sizing.
+       (Output_data_glink::do_write): Write global entry stubs.
+       (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Add target
+       parameter.  Return true for ELFv2.  Adjust callers.
+       (Target_powerpc::Scan::local, global): Restrict opd lookup to
+       ELFv1.  Similarly for ifunc and dynamic relocation processing
+       specific to ELFv1.  Recognize that symbols are defined on
+       their plt entries for ELFv2.
+       (Target_powerpc::symval_for_branch): Assert if called for
+       ELFv2 or ppc32.
+       (Target_powerpc::Relocate::relocate): Use global entry plt
+       stub for symbol value if such exists on ELFv2.
+       (Target_powerpc::Relocate::relocate): Don't call
+       symval_for_branch when ELFv2.  Do adjust for local entry
+       offset when ELFv2.
+       (Target_powerpc::do_dynsym_value): Set symbols to global entry
+       plt stub for ELFv2.
+       (Target_powerpc::do_plt_address_for_global): Similarly.
+
+2013-11-14  Cary Coutant  <ccoutant@google.com>
+
+       Revert patch -- this did not fix the problem, and there is
+       no race there.
+
+       2013-11-14  Cary Coutant  <ccoutant@google.com>
+
+           PR gold/14860
+           * ehframe.cc (Eh_frame_hdr::Eh_frame_hdr): Initialize lock_.
+           (Ehframe_hdr::set_final_data_size): Allocate a Lock.
+           * ehframe.h (Eh_frame_hdr::record_fde): Hold the lock while
+           updating fde_offsets_.
+           (Eh_frame_hdr::lock_): New data member.
+
+2013-11-14  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.cc (Dwo_file_entry): New type.
+       (File_list): Use Dwo_file_entry.
+       (Dwo_file::verify): New function.
+       (Dwo_file::verify_dwo_list): New function.
+       (Dwo_file::sized_verify_dwo_list): New function.
+       (Dwo_name_info_reader::visit_compilation_unit): Add dwo_id to file
+       list.
+       (Dwp_options): New enum type.
+       (dwp_options): Add --verify-only.
+       (usage): Likewise.
+       (main): Likewise.
+       * dwp.h (gold_info): Add declaration.
+
+2013-11-14  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/14860
+       * ehframe.cc (Eh_frame_hdr::Eh_frame_hdr): Initialize lock_.
+       (Ehframe_hdr::set_final_data_size): Allocate a Lock.
+       * ehframe.h (Eh_frame_hdr::record_fde): Hold the lock while
+       updating fde_offsets_.
+       (Eh_frame_hdr::lock_): New data member.
+
+2013-11-06  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/15758
+       * object.cc (Sized_relobj_file::do_layout): Handle .eh_frame sections
+       before reloc sections.
+
+2013-11-04  Alan Modra  <amodra@gmail.com>
+
+       * symtab.h (Symbol::Reference_flags): Add FUNC_DESC_ABI.
+       (Symbol::needs_dynamic_reloc): Test new flag.
+       * powerpc.cc (needs_dynamic_reloc, use_plt_offset): Delete.
+       (Target_powerpc::Scan::get_reference_flags): Add target param.
+       Return FUNC_DESC_ABI for 64-bit ELFv1.
+       (Target_powerpc::Branch_info::make_stub): Adjust get_reference_flags
+       call.
+       (Target_powerpc::Scan::global): Use Symbol::needs_dynamic_reloc.
+       (Target_powerpc::Relocate::relocate): Use Symbol::use_plt_offset.
+
+2013-10-31  Cary Coutant  <ccoutant@google.com>
+
+       Restore support for dwp v2 DWARF package file format.
+
+       * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
+       tu_length parameter.  Adjust all callers.
+       * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
+       * dwp.cc: Include dwarf.h.
+       (Section_bounds): New struct type.
+       (Unit_set): New struct type.
+       (Dwo_file::Dwo_file): Initialize new data member.
+       (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
+       Combine and rename to...
+       (Dwo_file::read_unit_index): ...this.
+       (Dwo_file::sized_read_compunit_index)
+       (Dwo_file::sized_read_typeunit_index): Combine and rename to...
+       (Dwo_file::sized_read_unit_index): ...this.
+       (Dwo_file::copy_section): Remove section_name, is_str_offsets
+       parameters; add section_id parameter.
+       (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
+       (Dwo_file::add_unit_set): ...this.
+       (Dwo_file::shndx_map_): Remove.
+       (Dwo_file::sect_offsets_): New data member.
+       (Dwp_output_file::Dwp_output_file): Initialize new data members.
+       (Dwp_output_file::add_section): Rename to...
+       (Dwp_output_file::add_contribution): ...this.
+       (Dwp_output_file::add_cu_set): Combine parameters into a struct.
+       (Dwp_output_file::add_tu_set): Likewise.
+       (Dwp_output_file::Contribution): New type.
+       (Dwp_output_file::Section::contributions): New data member.
+       (Dwp_output_file::Cu_or_tu_set): Remove.
+       (Dwp_output_file::Section::Section): New ctor.
+       (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
+       (Dwp_output_file::Dwp_index::Section_table): New type.
+       (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
+       (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
+       parameter.
+       (Dwp_output_file::Dwp_index::shndx_pool): Remove.
+       (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
+       (Dwp_output_file::Dwp_index::section_table): New member function.
+       (Dwp_output_file::Dwp_index::section_table_end): New member function.
+       (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
+       (Dwp_output_file::Dwp_index::section_table_rows): New member function.
+       (Dwp_output_file::Dwp_index::section_table_cols): New member function.
+       (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
+       (Dwp_output_file::Dwp_index::section_table_): New data member.
+       (Dwp_output_file::Dwp_index::section_mask_): New data member.
+       (Dwp_output_file::add_output_section): New member function.
+       (Dwp_output_file::write_new_section): New member function.
+       (Dwp_output_file::write_contributions): New member function.
+       (Dwp_output_file::section_id_map_): New data member.
+       (class Dwo_id_info_reader): Remove.
+       (class Unit_reader): New class.
+       (get_dwarf_section_name): New function.
+       (Dwo_file::read_executable): Adjust initializations of class data.
+       (Dwo_file::read): Add support for v2 package file format.
+       (Dwo_file::read_unit_index): Likewise.
+       (Dwo_file::sized_read_unit_index): Likewise.
+       (Dwo_file::copy_section): Likewise.
+       (Dwo_file::add_unit_set): Likewise.
+       (Dwp_output_file::add_output_section): Likewise.
+       (Dwp_output_file::add_contribution): Likewise.
+       (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
+       for empty slot.
+       (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
+       file format.
+       (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
+       slot.
+       (Dwp_output_file::initialize): Remove unused function.
+       (Dwp_output_file::finalize): Add support for v2 package file format.
+       (Dwp_output_file::write_index): Likewise.
+       * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
+       function prototype.
+
+2013-10-31  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Fix check for -fmerge-constants.
+       * configure.ac: Regenerate.
+
+2013-10-30  Roland McGrath  <mcgrathr@google.com>
+
+       * x86_64.cc (Output_data_plt_x86_64_nacl::first_plt_entry):
+       Correct 9-byte nop sequence to match what the assembler generates.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::abiversion, set_abiversion,
+       ppc64_local_entry_offset, ppc64_local_entry_offset,
+       do_read_symbols): New functions.
+       (Powerpc_relobj::e_flags_, st_other_): New vars.
+       (Powerpc_relobj::Powerpc_relobj): Call set_abiversion.
+       (Powerpc_dynobj::abiversion, set_abiversion): New functions.
+       (Powerpc_relobj::e_flags_): New var.
+       (Target_powerpc::first_plt_entry_offset, plt_entry_size): Inline
+       and adjust for ELFv2.
+       (Target_powerpc::abiversion, set_abiversion, stk_toc): New functions.
+       (Powerpc_relobj::do_find_special_sections): Check no .opd in ELFv2.
+       (Powerpc_dynobj::do_find_special_sections): Likewise.
+       (Target_powerpc::do_define_standard_symbols): Define ".TOC.".
+       (Target_powerpc::Branch_info::make_stub): Adjust stub destination
+       to ELFv2 local entry.
+       (Target_powerpc::do_relax): No thread safe barriers needed for
+       ELFv2.
+       (Output_data_plt_powerpc::initial_plt_entry_size_,
+       plt_entry_size): Delete.  Replace all uses with
+       first_plt_entry_offset() and plt_entry_size().
+       (Output_data_plt_powerpc::Output_data_plt_powerpc): Remove
+       reserved_size parm.  Update callers.
+       (Output_data_plt_powerpc::entry_count): Update.
+       (Output_data_plt_powerpc::first_plt_entry_offset): Make private
+       and use Target_powerpc::first_plt_entry_offset().
+       (Output_data_plt_powerpc::get_plt_entry_size): Similarly and
+       rename to plt_entry_size.
+       (Output_data_plt_powerpc::add_ifunc_entry,
+       add_local_ifunc_entry): Adjust reloc for ELFv2.
+       (glink_eh_frame_fde_64): Rename to glink_eh_frame_fde_64v1.
+       (glink_eh_frame_fde_64v2): New.
+       (Stub_table::plt_call_size): Support ELFv2 sizing.
+       (Output_data_glink::add_eh_frame): Use the new FDE.
+       (Output_data_glink::set_final_data_size): Adjust for ELFv2 glink.
+       (Stub_table::do_write): Write ELFv2 stubs and glink.
+       (Target_powerpc::Relocate::relocate): Replaces nop after call
+       with ld 2,24(1) and adjust local offset destination for ELFv2.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::check_non_pic): Handle new relocs.
+       (Target_powerpc::Scan::global, local): Likewise.
+       (Target_powerpc::Relocate::relocate): Likewise.  Check for overflow
+       on all ppc64 @h and @ha relocs.
+
+2013-10-14  Alan Modra  <amodra@gmail.com>
+
+       * output.h (Output_data_got::add_constant): Tidy.
+       (Output_data_got::add_constant_pair): New function.
+       * powerpc.cc (Output_data_got_powerpc): Override all Output_data_got
+       methods used so as to first call reserve_ent().
+
+2013-10-11  Roland McGrath  <mcgrathr@google.com>
+
+       * powerpc.cc (Output_data_got_powerpc): Remove unused methods
+       add_got_entry and add_got_entry_pair.
+
+       * configure.ac (TLS_GNU2_DIALECT): Use -Werror in test.
+       (HAVE_PUBNAMES): Likewise.
+       * configure: Regenerate.
+
+       * testsuite/Makefile.am: Replace '-T foo' with '-Wl,-T,foo' throughout.
+       * testsuite/Makefile.in: Regenerate.
+
+       * target.h (Target::adjust_elf_header, Target::do_adjust_elf_header):
+       Remove const from declaration.
+       * target.cc (Sized_target::do_adjust_elf_header): Update definition.
+       * sparc.cc (Target_sparc::do_adjust_elf_header): Likewise.
+       * output.h (Output_file_header): Remove const from member target_
+       and corresponding constructor argument.
+       * output.cc (Output_file_header::Output_file_header): Update prototype.
+       (Output_file_header::do_sized_write): Use this->target_ in place
+       of parameters()->target().
+
+       * testsuite/undef_symbol.cc (Foo::get_a): New method.
+
+       * configure.ac (MERGE_CONSTANTS_FLAG): New check.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * testsuite/merge_string_literals_1.c: Renamed to have .cc suffix.
+       * testsuite/merge_string_literals_2.c: Likewise.
+       * testsuite/Makefile.am
+       (merge_string_literals_1.o, merge_string_literals_2.o): Update deps.
+       (AM_CFLAGS, AM_CXXFLAGS): Use $(MERGE_CONSTANTS_FLAG) in place of
+       literal -fmerge-constants.
+       * testsuite/Makefile.in: Regenerate.
+
+       * i386.cc (Target_i386): Remove unused member dynbss_.
+       * arm.cc (Target_arm): Likewise.
+       * powerpc.cc (Target_powerpc): Likewise.
+       * sparc.cc (Target_sparc): Likewise.
+       * tilegx.cc (Target_tilegx): Likewise.
+       * x86_64.cc (Target_x86_64): Likewise.
+       * dwarf_reader.h (Dwarf_info_reader): Remove unused members
+       type_signature_, type_offset_.
+       * plugin.h (Plugin_hook): Remove unused member layout_.
+       * readsyms.h (Add_symbols): Remove unused members dirpath_, dirindex_,
+       mapfile_.
+       (Read_member): Remove unused members input_objects_, symtab_,
+       mapfile_, layout_.
+       (Check_library): Remove unused member symtab_.
+       * archive.h (Lib_group): Remove unused member lib_.
+       * archive.cc (Lib_group::Lib_group): Update initializer.
+       * incremental.h (Incremental_binary): Remove unused member target_.
+       (Incremental_script_entry): Removed unused member script_.
+       * layout.h (Write_symbols_task): Remove unused member input_objects_.
+       * icf.h (Icf): Remove unused member num_tracked_relocs.
+
+       * gold-threads.h (Once): Conditionalize member was_run_lock_ on
+       [ENABLE_THREADS && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4], matching
+       its only use.
+       * gold-threads.cc (Once::Once): Likewise conditionalize initializer.
+
+       * archive.h: Use struct rather than class for forward declaration
+       of Read_symbols_data.
+
+2013-10-07  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/16010
+       * testsuite/Makefile.am (icf_test): Fix dependencies.
+       (icf_safe_test): Likewise.
+       (icf_safe_so_test): Likewise.
+       (large_symbol_alignment): Add empty _LDADD rule.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-09-03  Pavel Chupin  <pavel.v.chupin@intel.com>
+
+       PR gold/15927
+       * x86_64.cc (Target_x86_64<size>::Scan::global): Use relative
+       relocation for R_X86_64_32 on x32.
+
+2013-08-27  Roland McGrath  <mcgrathr@google.com>
+
+       * output.cc (Output_segment::set_section_addresses): Take new
+       Target* argument.  If target->isolate_execinstr() and the segment
+       is executable and starts at a target->abi_pagesize() boundary,
+       pad its end out to a target->abi_pagesize() boundary with code fill.
+       * output.h (Output_segment::set_section_addresses): Update decl.
+       * layout.h (Layout::check_output_data_for_reset_values): Take new
+       argument RELAX_OUTPUTS.
+       (Layout): New member relax_output_list_.
+       (Layout::add_relax_output): New method.
+       * layout.cc (Layout::Layout): Update constructor.
+       (Layout::reset_relax_output): New method.
+       (Layout::clean_up_after_relaxation): Call it.
+       (Layout::prepare_for_relaxation): Update caller.
+       (Layout::set_segment_offsets): Update callers of set_section_addresses.
+       Call reset_relax_output before re-processing segments for
+       isolate_execinstr case.
+       (Layout::write_data): Handle relax_output_list_.
+       (Layout::Relaxation_debug_check::check_output_data_for_reset_values):
+       Take new argument RELAX_OUTPUTS.  Assert it's an empty collection.
+
+2013-08-23  Yuri Chornoivan  <yurchor@ukr.net>
+
+       PR binutils/15834
+       * object.h: Fix typos.
+
+2013-08-16  Roland McGrath  <mcgrathr@google.com>
+
+       * i386.cc (Target_i386_nacl::do_code_fill): New virtual function.
+       * x86_64.cc (Target_x86_64_nacl::do_code_fill): New virtual function.
+
+2013-08-07  Cary Coutant  <ccoutant@google.com>
+
+       Revert support for v2 DWP files:
+
+       2013-03-01  Cary Coutant  <ccoutant@google.com>
+
+           Add dwp support for v2 DWARF package file format.
+           * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
+           tu_length parameter.  Adjust all callers.
+           * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
+           * dwp.cc: Include dwarf.h.
+           (Section_bounds): New struct type.
+           (Unit_set): New struct type.
+           (Dwo_file::Dwo_file): Initialize new data member.
+           (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
+           Combine and rename to...
+           (Dwo_file::read_unit_index): ...this.
+           (Dwo_file::sized_read_compunit_index)
+           (Dwo_file::sized_read_typeunit_index): Combine and rename to...
+           (Dwo_file::sized_read_unit_index): ...this.
+           (Dwo_file::copy_section): Remove section_name, is_str_offsets
+           parameters; add section_id parameter.
+           (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
+           (Dwo_file::add_unit_set): ...this.
+           (Dwo_file::shndx_map_): Remove.
+           (Dwo_file::sect_offsets_): New data member.
+           (Dwp_output_file::Dwp_output_file): Initialize new data members.
+           (Dwp_output_file::add_section): Rename to...
+           (Dwp_output_file::add_contribution): ...this.
+           (Dwp_output_file::add_cu_set): Combine parameters into a struct.
+           (Dwp_output_file::add_tu_set): Likewise.
+           (Dwp_output_file::Contribution): New type.
+           (Dwp_output_file::Section::contributions): New data member.
+           (Dwp_output_file::Cu_or_tu_set): Remove.
+           (Dwp_output_file::Section::Section): New ctor.
+           (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
+           (Dwp_output_file::Dwp_index::Section_table): New type.
+           (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
+           (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
+           parameter.
+           (Dwp_output_file::Dwp_index::shndx_pool): Remove.
+           (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
+           (Dwp_output_file::Dwp_index::section_table): New member function.
+           (Dwp_output_file::Dwp_index::section_table_end): New member function.
+           (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
+           (Dwp_output_file::Dwp_index::section_table_rows): New member function.
+           (Dwp_output_file::Dwp_index::section_table_cols): New member function.
+           (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
+           (Dwp_output_file::Dwp_index::section_table_): New data member.
+           (Dwp_output_file::Dwp_index::section_mask_): New data member.
+           (Dwp_output_file::add_output_section): New member function.
+           (Dwp_output_file::write_new_section): New member function.
+           (Dwp_output_file::write_contributions): New member function.
+           (Dwp_output_file::section_id_map_): New data member.
+           (class Dwo_id_info_reader): Remove.
+           (class Unit_reader): New class.
+           (get_dwarf_section_name): New function.
+           (Dwo_file::read_executable): Adjust initializations of class data.
+           (Dwo_file::read): Add support for v2 package file format.
+           (Dwo_file::read_unit_index): Likewise.
+           (Dwo_file::sized_read_unit_index): Likewise.
+           (Dwo_file::copy_section): Likewise.
+           (Dwo_file::add_unit_set): Likewise.
+           (Dwp_output_file::add_output_section): Likewise.
+           (Dwp_output_file::add_contribution): Likewise.
+           (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
+           for empty slot.
+           (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
+           file format.
+           (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
+           slot.
+           (Dwp_output_file::initialize): Remove unused function.
+           (Dwp_output_file::finalize): Add support for v2 package file format.
+           (Dwp_output_file::write_index): Likewise.
+           * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
+           function prototype.
+
+2013-07-31  Cary Coutant  <ccoutant@google.com>
+
+       * object.cc (Sized_relobj::do_output_section_address): New function.
+       (Sized_relobj): Instantiate explicitly.
+       * object.h (Object::output_section_address): New function.
+       (Object::do_output_section_address): New function.
+       (Sized_relobj::do_output_section_address): New function.
+       * powerpc.cc (Target_powerpc::symval_for_branch): Use it.
+
+2013-07-30  Cary Coutant  <ccoutant@google.com>
+           Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * parameters.cc (Parameters::entry): Return target-specific entry
+       symbol name.
+       * target.h (Target::entry_symbol_name): New function.
+       (Target_info::entry_symbol_name): New data member.
+
+       * arm.cc (Target_arm::arm_info): Add entry_symbol_name.
+       * i386.cc (Target_i386::i386_info): Likewise.
+       (Target_i386_nacl::i386_nacl_info): Likewise.
+       * sparc.cc (Target_sparc::sparc_info): Likewise.
+       * tilegx.cc (Target_tilegx::tilegx_info): Likewise.
+       * x86_64.cc: (Target_x86_64::x86_64_info) Likewise.
+       (Target_x86_64_nacl::x86_64_nacl_info) Likewise.
+       * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
+
+2013-07-22  Sterling Augustine  <saugustine@google.com>
+
+       * dwarf_reader.cc (Dwarf_pubnames_table::read_section):
+       Convert parameter shndx to local variable. Add parameters symtab
+       and symtab_size.  Scan over section names.  Find relocation
+       section corresponding to current section.  Create and initialize
+       reloc_mapper_ and reloc_type_.
+       (Dwarf_pubnames_table::read_header):  Add assertion.  Change
+       unit_length to off_t.  Initialize member unit_length_.  Fill in field
+       cu_offset_.
+       * dwarf_reader.h (Dwarf_pubnames_table::Dwarf_pubnames_table):
+       Initialize new fields unit_length_ and cu_offset_.
+       (Dwarf_pubnames_table::read_section): Update prototype.
+       (Dwarf_pubnames_table::cu_offset): New member function.
+       (Dwarf_pubnames_table::subsection_size): Likewise.
+       (Dwarf_pubnames_table::cu_offset_, Dwarf_pubnames_table::unit_length):
+       New fields.
+       (Dwarf_info_reader::symtab, Dwarf_info_reader::symtab_size): Make
+       member functions public.
+       * gdb_index.cc (Gdb_index_info_reader::read_pubnames_and_pubtypes):
+       Update comment.  Rework logic.  Move repeated parts to...
+       (Gdb_index_info_reader::read_pubtable): ...here. New function.
+       (Gdb_index::Gdb_index): Initialize new fields, pubnames_table_,
+       pubtypes_table_, and stmt_list_offset.
+       (Gdb_index::map_pubtable_to_dies, Gdb_index::find_pubname_offset,
+       Gdb_index::find_pubtype_offset,
+       Gdb_index::map_pubnames_and_types_to_dies): Define new functions.
+       (Gdb_index::pubnames_read): Update prototype and rework logic.
+       * gdb_index.h (Gdb_index_info_reader, Dwarf_pubnames_table):
+       Forward declare.
+       (Gdb_index::map_pubtable_to_dies, Gdb_index::find_pubname_offset,
+       Gdb_index::find_pubtype_offset, Gdb_index::pubnames_table)
+       Gdb_index::pubtypes_table, Gdb_index::map_pubnames_and_types_to_dies,
+       Gdb_index::map_pubtable_to_dies):
+       Declare functions.
+       (Gdb_index::pubnames_read): Update declaration.
+       (Gdb_index::Pubname_offset_map): New type.
+       (Gdb_index::cu_pubname_map_, Gdb_index::cu_pubtype_map_,
+       Gdb_index::pubnames_table_, Gdb_index::pubtypes_table_,
+       Gdb_index::stmt_list_offset): Declare.
+       (Gdb_index::pubnames_shndx_, Gdb_index::pubnames_offet_,
+       Gdb_index::pubtypes_object_, Gdb_index::pubtypes_shndx_)
+       Gdb_index::pubtypes_offset_): Remove.
+
+2013-07-19  Roland McGrath  <mcgrathr@google.com>
+
+       * options.h (General_options): Add -Trodata-segment option.
+       * parameters.cc (Parameters::check_rodata_segment): New function.
+       (Parameters::set_target_once): Call it.
+       * parameters.h (Parameters): Declare it (private member function).
+       * layout.cc (load_seg_unusable_for_headers): New function, broken
+       out of Layout::relaxation_loop_body.  If TARGET->isolate_execinstr()
+       then validate rodata segment rather than text segment.
+       (relaxation_loop_body): Call that.
+       (is_text_segment): New function.  Don't admit a non-executable
+       segment if TARGET->isolate_execinstr().
+       (set_segment_offsets): Call it.  Honor -Trodata-segment option.
+
+2013-07-15  Shawn Landden  <shawnlandden@gmail.com>
+
+       PR gold/15070
+       * fileread.h (File_read::get_view): Clarify comment about ALIGNED.
+       * nacl.h (Sniff_file::View::View): Request aligned view.
+
+2013-07-11  Cary Coutant  <ccoutant@google.com>
+
+       * powerpc.cc (Target_powerpc::write_branch_lookup_table): Use
+       correct BRLT entry size.
+
+2013-07-03  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Update self-call
+       comment.
+
+2013-07-01  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_ranges_table::read_ranges_table): Save
+       reloc_type_.
+       (Dwarf_ranges_table::read_range_list): Call lookup_reloc.
+       (Dwarf_ranges_table::lookup_reloc): New function.
+       * dwarf_reader.h (Dwarf_ranges_table::Dwarf_ranges_table): Initialize
+       reloc_type_.
+       (Dwarf_ranges_table::lookup_reloc): New function.
+       (Dwarf_ranges_table::reloc_type_): New data member.
+
+2013-06-27  Jing Yu  <jingyu@google.com>
+
+       PR gold/15662
+       * powerpc.cc (Output_data_brlt_powerpc::reset_brlt_sizes): New
+       function.
+       (Output_data_brlt_powerpc::finalize_brlt_sizes): New function.
+       (Target_powerpc::do_relax): Call the above.
+
+2013-06-27  Cary Coutant  <ccoutant@google.com>
+
+       * powerpc.cc (Target_powerpc::symval_for_branch): Don't assert
+       on garbage collected .opd section.
+
+2013-06-27  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::do_gc_add_reference): Test dst_shndx
+       is non-zero.
+       (Target_powerpc::do_gc_mark_symbols): Likewise for sym->shndx().
+       (Target_powerpc::do_function_location): Likewise for loc->shndx.
+
+2013-06-14  Cary Coutant  <ccoutant@google.com>
+
+       * resolve.cc (Symbol::override_base): Don't override st_type
+       from plugin placeholder symbols.
+       (Symbol_table::resolve): Likewise.
+       (Symbol_table::should_override): Don't complain about TLS mismatch
+       if the TO symbol is a plugin placeholder.
+       * testsuite/Makefile.am (plugin_test_tls): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test_tls.sh: New test script.
+       * testsuite/two_file_test_2_tls.cc: New test source.
+       * testsuite/two_file_test_tls.cc: New test source.
+
+2013-06-05  Alexander Ivchenko  <alexander.ivchenko@intel.com>
+
+       * layout.cc (Layout::set_segment_offsets): Taking care of the case when
+       the maximum segment alignment is larger than the page size.
+       * testsuite/Makefile.am (large_symbol_alignment): Test that Gold
+       correctly aligns the symbols with large alignemnt.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/large_symbol_alignment.cc: New file.
+
+2013-05-30  Alexander Ivchenko  <alexander.ivchenko@intel.com>
+           Sriraman Tallam  <tmsriram@google.com>
+
+       * options.h (sort_section): New option.
+       * output.h (Input_section_sort_section_prefix_special_ordering_compare):
+       Rename from Input_section_sort_section_name_special_ordering_compare.
+       (Input_section_sort_section_name_compare): New struct.
+       * output.cc (Output_section::Input_section_sort_section_name_compare::
+       operator()): New function.
+       (Output_section::sort_attached_input_sections): Use new sort function
+       for .text if --sort-section=name is specified.
+       * layout.cc (Layout::make_output_section):
+       Add sorting by name when --sort-section=name is specified.
+       * testsuite/Makefile.am (text_section_grouping): Test option
+       --sort-section=name.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/section_sorting_name.cc: New file.
+       * testsuite/section_sorting_name.sh: New file.
+
+2013-05-21  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.h (Symbol::is_cxx_vtable): New function.
+       * target-reloc.h (relocate_section): Check for vtable symbol.
+       * testsuite/Makefile.am (missing_key_func.sh): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/missing_key_func.cc: New test source.
+       * testsuite/missing_key_func.sh: New test script.
+
+2013-05-21  Cary Coutant  <ccoutant@google.com>
+
+       * object.cc (Sized_relobj_file::get_symbol_location_info): Set
+       type of enclosing symbol.
+       (Relocate_info::location): Check symbol type when describing symbol.
+       * object.h (Symbol_location_info): Remove unused line_number;
+       add enclosing_symbol_type.
+       * testsuite/debug_msg.sh: Adjust expected output.
+
+2013-05-13  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Export DEFAULT_TARGET.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.am: Add .EXPORT_ALL_VARIABLES.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/debug_msg.sh: Delete duplicate tests.
+       Don't check undef_int error message match for powerpc where the
+       source file and line number aren't available.
+
+2013-05-10  Roland McGrath  <mcgrathr@google.com>
+
+       * options.h (General_options): Add --rosegment-gap option.
+       * options.cc (finalize): --rosegment-gap implies --rosegment.
+       * layout.cc (set_segment_offsets): Let user option override
+       target->rosegment_gap().
+
+2013-05-10  Roland McGrath  <mcgrathr@google.com>
+
+       * options.h (General_options): Remove leading space from help
+       messages for -nostdlib and --rosegment.
+
+2013-05-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       PR ld/15365
+       * layout.cc (Layout::finalize): Make __ehdr_start STV_HIDDEN.
+
+2013-05-03  Alan Modra  <amodra@gmail.com>
+
+       * merge.cc (Output_merge_string::do_add_input_section): Correct
+       scan for number of strings.  Rename vars to avoid shadowing.
+       Include missing terminator in input_size_.
+
+2013-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * merge.cc (Output_merge_string<Char_type>::do_add_input_section):
+       Restore empty string handling.
+
+2013-05-01  Cary Coutant  <ccoutant@google.com>
+
+       * stringpool.cc (Stringpool_template::new_key_offset): Fix
+       uninitialized warning.
+
+2013-04-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
+
+       * output.cc (Output_section::add_merge_input_section): Allow
+       to merge sections if the alignment is more than character size.
+       * merge.h (Output_merge_string::Output_merge_string): Remove
+       assert.
+       * merge.cc (Output_merge_string<Char_type>::do_add_input_section): Count
+       only not-null strings. Check the alignment of strings.
+       * stringpool.h
+       (Stringpool_template<Stringpool_char>::Stringpool_template): Add
+       alignment as the argument.
+       (Stringpool_template<Stringpool_char>::addralign_): New class member.
+       * stringpool.cc (Stringpool_template<Stringpool_char>::new_key_offset):
+       Align non-zero length strings according to the addralign_.
+       (Stringpool_template<Stringpool_char>::set_string_offsets):
+       Updating offsets according to the given alignment.
+       * testsuite/Makefile.am (text_section_grouping): Test if string
+       literals are getting merged.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/merge_string_literals_1.c: New file.
+       * testsuite/merge_string_literals_2.c: Ditto.
+       * testsuite/merge_string_literals.sh: Ditto.
+
+2013-04-26  Ian Lance Taylor  <iant@google.com>
+
+       * target-reloc.h (relocate_section): If the reloc offset is out of
+       range, pass VIEW as NULL to relocate.relocate.
+       * arm.cc (Target_arm:Relocate::relocate): Check for a NULL view.
+       * i386.cc (Target_i386::Relocate::relocate): Likewise.
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
+       * sparc.cc (Target_sparc::Relocate::relocate): Likewise.
+       * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
+       * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
+
+2013-04-26  Geoff Pike  <gpike@chromium.org>
+
+       * gold.cc (queue_final_tasks): invoke layout->queue_build_id_tasks().
+       * layout.cc (Hash_task): New class.
+       (Layout::queue_build_id_tasks): New function.
+       (Layout::write_build_id): Handle single-thread portion of build ID
+       computation.  (In some cases, all of it is single-threaded.)  Replace
+       {sha1,md5}_process_bytes with {sha1,md5}_buffer to get the same
+       functionality in fewer lines of code.
+       * layout.h (Layout::queue_build_id_tasks): New function declaration.
+       * options.h (General_options): make "--build-id" default to tree
+       rather than sha1.  Add two new options related to --build-id=tree:
+       --build-id-chunk-size-for-treehash and
+       --build-id-min-file-size-for-treehash.
+       * Makefile.am: add testing of --build-id=tree and related new options
+       (these tests will be invoked by "make check").
+       * Makefile.in: Regenerate.
+
+2013-04-25  Alan Modra  <amodra@gmail.com>
+
+       * configure.tgt: Add powerpcle and powerpc64le.
+
+2013-04-22  Alan Modra  <amodra@gmail.com>
+
+       PR gold/15355
+       * layout.cc (Layout::segment_precedes): Allow more than one
+       segment with the same type and flags.
+
+2013-04-15  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::set_relocatable_section_offsets): Don't
+       allocate space in file for BSS sections.
+
+2013-04-15  Cary Coutant  <ccoutant@google.com>
+
+       * script-sections.cc (Orphan_output_section): Reset address
+       to zero after each orphaned section for relocatable links.
+
+2013-04-15  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.cc (Symbol_table::sized_write_globals): Subtract
+       section starting address for relocatable link.
+       * testsuite/Makefile.am (script_test_11): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/script_test_11.c: New source file.
+       * testsuite/script_test_11.t: New linker script.
+
+2013-04-13  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Stub_control::can_add_to_stub_group): Don't set
+       owner when sections are not adjacent and exceed group size.
+       (Target_powerpc::group_sections): Handle corner case.
+       (Target_powerpc::Branch_info::make_stub): Handle case where
+       stub table doesn't exist due to branches in non-exec sections.
+       (Target_powerpc::Relocate::relocate): Likewise.
+
+2013-04-11  Alan Modra  <amodra@gmail.com>
+
+       PR gold/15354
+       * powerpc.cc (Target_powerpc::make_brlt_section): Name section
+       .branch_lt to match bfd ld.  Adjust comments throughout file.
+
+2013-04-04  Ian Lance Taylor  <iant@google.com>
+
+       GCC PR c++/56840
+       * object.cc (do_layout_deferred_sections): Handle .eh_frame
+       sections before checking whether they are included in the link.
+
+2013-03-29  Sriraman Tallam  <tmsriram@google.com>
+
+       * archive.cc (Archive::get_elf_object_for_member):  Create the elf
+       object before calling the plugin claim_file handler.  Pass the elf
+       object of the archive to the plugin. Delete the elf object if the
+       plugin claims the file.
+
+2013-03-21  Alan Modra  <amodra@gmail.com>
+
+       * layout.cc (Layout::set_segment_offsets): Accept writable .text
+       segment when omagic.
+
+2013-03-21  Alan Modra  <amodra@gmail.com>
+
+       * dwp.cc (Dwp_output_file::add_contribution): Avoid signed/unsigned
+       comparison warning.
+       * layout.cc (Layout::create_dynamic_symtab): Avoid "may be used
+       uninitialized" warning.
+
+2013-03-20  Alan Modra  <amodra@gmail.com>
+
+       * symtab.h (Symbol::clear_version): New function.
+       * symtab.cc (Symbol_table::set_dynsym_indexes): Don't set object
+       is_needed by weak references.  Clear version for symbols defined
+       in as-needed objects that are not needed.
+
+2013-03-15  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Make
+       static and public.  Add report_err param.  Return false for data refs.
+       (Target_powerpc::rela_dyn_section): New overloaded function.
+       (Target_powerpc::plt_, iplt_): Elucidate.
+       (Output_data_plt_powerpc::entry_count): Handle current_data_size()==0.
+       (Output_data_plt_powerpc::do_write): Don't write .iplt.
+       (Output_data_plt_powerpc::plt_entry_count): Don't add .iplt entries.
+       (Target_powerpc::Scan::local, global): Adjust reloc_needs_plt_for_ifunc
+       calls.  Put ifunc dynamic relocs in irela_dyn_section.  Only
+       push_branch and make_plt_entry for ifunc syms when
+       reloc_needs_plt_for_ifunc.
+       (Target_powerpc::Relocate::relocate): Don't use plt entry value
+       for ifunc unless reloc_needs_plt_for_ifunc.
+
+2013-03-15  Alan Modra  <amodra@gmail.com>
+
+       * gc.h (gc_process_relocs): Don't look through function descriptors.
+       * icf.cc (get_section_contents): Do so here instead.
+
+2013-03-13  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (is_branch_reloc): Forward declare.
+       (Target_powerpc::do_can_check_for_function_pointers): New predicate.
+       (Target_powerpc::Scan::local_reloc_may_be_function_pointer): Return
+       false for 64-bit, true for 32-bit non-branch relocs.
+       (Target_powerpc::Scan::global_reloc_may_be_function_pointer): Likewise.
+       * testsuite/Makefile.am (icf_test): Use linker map file instead of
+       nm output.
+       (icf_safe_test): Generate linker map file as well as nm output.
+       (icf_safe_so_test): Likewise.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/icf_test.sh: Parse linker map file to determine
+       section folding.
+       * testsuite/icf_safe_test.sh: Likewise.  Expect folding for PowerPC.
+       * testsuite/icf_safe_so_test.sh: Likewise.
+       (X86_32_or_ARM_specific_safe_fold): Merge into..
+       (arch_specific_safe_fold): ..this.
+       (X86_64_specific_safe_fold): Delete unused function.
+
+2013-03-12  Alan Modra  <amodra@gmail.com>
+
+       * gc.h (gc_process_relocs): Look through function descriptors
+       to determine shndx, symvalue and addend used by ICF.  Tidy
+       variable duplication.
+
+2013-03-11  Alan Modra  <amodra@gmail.com>
+
+       * gold.cc (queue_middle_tasks): Move detect_odr_violations..
+       * layout.cc (Layout_task_runner::run): ..to here.
+       * symtab.h (struct Symbol_location): Extract from..
+       (class Symbol_table): ..here.
+       * symtab.cc (Symbol_table::linenos_from_loc): Invoke function_location.
+       * target.h (class Target): Add function_location and
+       do_function_location functions.
+       (class Sized_target): Add do_function_location.
+       * object.h (class Sized_relobj_file): Move find_shdr..
+       (class Object): ..to here.
+       * object.cc: Likewise.  Update to suit.  Instantiate.
+       (Sized_relobj_file::find_eh_frame): Update find_shdr call.
+       * powerpc.cc (class Powerpc_dynobj): New.
+       (Target_powerpc::do_function_location): New function.
+       (Powerpc_relobj::do_find_special_sections): Update find_shdr call.
+       (Powerpc_dynobj::do_read_symbols): New function.
+       (Target_powerpc::do_make_elf_object): Make a Powerpc_dynobj.
+
+2013-03-08  Ian Lance Taylor  <iant@google.com>
+
+       * options.cc (General_options::string_to_object_format): Accept
+       "default".
+
+2013-03-08  Alan Modra  <amodra@gmail.com>
+
+       * ehframe.h (Post_fdes) Make it a vector of Post_fde rather than
+       pointer to Post_fde.
+       (struct Post_fde): Move definition to here..
+       * ehframe.cc (struct Post_fde): ..from here.
+       (Cie::write): Don't alloc Post_fde.
+       (Eh_frame::do_sized_write): Update.  Don't free Post_fde.
+
+2013-03-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/discard_locals_relocatable_test.c: Add a powerpc
+       relocation referencing .LC0.
+       * testsuite/discard_locals_test.sh: Remove FIXMEs.
+
+2013-03-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ifunc-sel.h (ifunc_sel, ifunc_one): Mark
+       always_inline.  Add assembly for powerpc to avoid GOT.
+
+2013-03-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/script_test_10.sh: Don't test .bss section
+       header number.
+
+2013-03-06  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (class Powerpc_relobj): Move some member functions.
+       (Target_powerpc::symval_for_branch):  Add symtab param.  Update
+       all callers.  Handle folded sections.
+       (Target_powerpc::do_gc_add_reference): Don't cast dynamic object
+       to Powerpc_relobj.
+       (Global_symbol_visitor_opd::operator()): Likewise.
+
+2013-03-04  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (final_layout_script.lds): Add .sbss.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-03-01  Cary Coutant  <ccoutant@google.com>
+
+       Add dwp support for v2 DWARF package file format.
+       * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
+       tu_length parameter.  Adjust all callers.
+       * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
+       * dwp.cc: Include dwarf.h.
+       (Section_bounds): New struct type.
+       (Unit_set): New struct type.
+       (Dwo_file::Dwo_file): Initialize new data member.
+       (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
+       Combine and rename to...
+       (Dwo_file::read_unit_index): ...this.
+       (Dwo_file::sized_read_compunit_index)
+       (Dwo_file::sized_read_typeunit_index): Combine and rename to...
+       (Dwo_file::sized_read_unit_index): ...this.
+       (Dwo_file::copy_section): Remove section_name, is_str_offsets
+       parameters; add section_id parameter.
+       (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
+       (Dwo_file::add_unit_set): ...this.
+       (Dwo_file::shndx_map_): Remove.
+       (Dwo_file::sect_offsets_): New data member.
+       (Dwp_output_file::Dwp_output_file): Initialize new data members.
+       (Dwp_output_file::add_section): Rename to...
+       (Dwp_output_file::add_contribution): ...this.
+       (Dwp_output_file::add_cu_set): Combine parameters into a struct.
+       (Dwp_output_file::add_tu_set): Likewise.
+       (Dwp_output_file::Contribution): New type.
+       (Dwp_output_file::Section::contributions): New data member.
+       (Dwp_output_file::Cu_or_tu_set): Remove.
+       (Dwp_output_file::Section::Section): New ctor.
+       (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
+       (Dwp_output_file::Dwp_index::Section_table): New type.
+       (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
+       (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
+       parameter.
+       (Dwp_output_file::Dwp_index::shndx_pool): Remove.
+       (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
+       (Dwp_output_file::Dwp_index::section_table): New member function.
+       (Dwp_output_file::Dwp_index::section_table_end): New member function.
+       (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
+       (Dwp_output_file::Dwp_index::section_table_rows): New member function.
+       (Dwp_output_file::Dwp_index::section_table_cols): New member function.
+       (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
+       (Dwp_output_file::Dwp_index::section_table_): New data member.
+       (Dwp_output_file::Dwp_index::section_mask_): New data member.
+       (Dwp_output_file::add_output_section): New member function.
+       (Dwp_output_file::write_new_section): New member function.
+       (Dwp_output_file::write_contributions): New member function.
+       (Dwp_output_file::section_id_map_): New data member.
+       (class Dwo_id_info_reader): Remove.
+       (class Unit_reader): New class.
+       (get_dwarf_section_name): New function.
+       (Dwo_file::read_executable): Adjust initializations of class data.
+       (Dwo_file::read): Add support for v2 package file format.
+       (Dwo_file::read_unit_index): Likewise.
+       (Dwo_file::sized_read_unit_index): Likewise.
+       (Dwo_file::copy_section): Likewise.
+       (Dwo_file::add_unit_set): Likewise.
+       (Dwp_output_file::add_output_section): Likewise.
+       (Dwp_output_file::add_contribution): Likewise.
+       (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
+       for empty slot.
+       (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
+       file format.
+       (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
+       slot.
+       (Dwp_output_file::initialize): Remove unused function.
+       (Dwp_output_file::finalize): Add support for v2 package file format.
+       (Dwp_output_file::write_index): Likewise.
+       * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
+       function prototype.
+
+2013-03-01  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_info_reader::check_buffer): Move
+       function into class definition in header file.
+       (Dwarf_info_reader::warn_corrupt_debug_section): New function.
+       * dwarf_reader.h (Dwarf_info_reader::warn_corrupt_debug_section):
+       New function.
+       (Dwarf_info_reader::check_buffer): Move here from .cc file.
+
+2013-02-28  Alan Modra  <amodra@gmail.com>
+
+       * target.h (Target::plt_fde_location, do_plt_fde_location): Declare.
+       * target.cc (Target::do_plt_fde_location): New function.
+       * ehframe.h (class FDE): Add post_map field to u_.from_linker,
+       accessor function, and constructor param.
+       (struct Post_fde, Post_fdes): Declare.
+       (Cie::write): Add post_fdes param.
+       * ehframe.cc (Fde::write): Use plt_fde_location.
+       (struct Post_fde): Define.
+       (Cie::write): Stash FDEs added post merge mapping.
+       (Eh_frame::add_ehframe_for_plt): Assert no new CIEs after mapping.
+       Adjust Fde constructor call.  Bump final_data_size_ for post map FDEs.
+       (Eh_frame::do_sized_write): Arrange to write post map FDES after
+       other FDEs.
+       * powerpc.cc (Target_powerpc::do_plt_fde_location): New function.
+       (Target_powerpc::has_glink): New function.
+       (Target_powerpc::do_relax): Add eh_frame info for stubs.
+       (struct Eh_cie, eh_frame_cie, glink_eh_frame_fde_64,
+       glink_eh_frame_fde_32, default_fde): New data.
+       (Stub_table::eh_frame_added_): New var.
+       (Stub_table::find_long_branch_entry, stub_address, stub_offset):
+       Make const.
+       (Stub_table::add_eh_frame): New function.
+       (Output_data_glink::add_eh_frame): New function.
+       (Target_powerpc::make_glink_section): Call add_eh_frame.
+
+2013-02-15  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (DEFINE_uint64_alias): Define.
+       (class General_options): Add -Ttext-segment as an alias for
+       -Ttext.
+
+2013-02-15  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Stub_table::plt_off): New function, extracted from..
+       (Stub_table::do_write): ..here, two places.
+       (Stub_table::plt_call_size): Use it here too.
+
+2013-02-11  Ian Lance Taylor  <iant@google.com>
+
+       * descriptors.cc (Descriptors::close_all): New function.
+       * descriptors.h (class Descriptors): Declare close_all.
+       (close_all_descriptors): New inline function.
+       * plugin.cc: Include "descriptors.h".
+       (Plugin_manager::cleanup): Call close_all_descriptors.
+
+2013-02-06  Alan Modra  <amodra@gmail.com>
+
+       * README: Update coding style link.
+
+2013-01-28  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.cc (File_list): New typedef.
+       (Dwo_name_info_reader): New class.
+       (Dwo_id_info_reader::Dwo_id_info_reader): Remove unused parameters.
+       (Dwo_id_info_reader::visit_top_die): Remove unused member function.
+       (Dwo_file::~Dwo_file): Delete input_file_ after obj_.
+       (Dwo_file::read_executable): New function.
+       (Dwo_file::read): Move common setup code to ...
+       (Dwo_file::make_object): ... here.
+       (dwp_options): Add --exec/-e.
+       (usage): Likewise.
+       (main): Likewise.
+
+2013-01-24  Sriraman Tallam  <tmsriram@google.com>
+
+       * layout.cc (Layout::layout): Check for option text_reorder.
+       (Layout::make_output_section): Ditto.
+       * options.h (text_reorder): New option.
+       * output.cc (Input_section_sort_compare): Remove special ordering
+       of section names.
+       (Output_section::
+        Input_section_sort_section_name_special_ordering_compare::
+        operator()): New function.
+       (Output_section::sort_attached_input_sections): Use new sort function
+       for .text.
+       * output.h (Input_section_sort_section_name_special_ordering_compare):
+       New struct.
+       * testsuite/Makefile.am (text_section_grouping): Test option
+       --no-text-reorder
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/text_section_grouping.sh: Check order of functions without
+       default text reordering.
+
+2013-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * options.h (General_options): Change default to true for new_dtags.
+
+2013-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * layout.cc (Layout::finish_dynamic_section): Only add DT_RPATH
+       when enable_new_dtags is false.  Only add DT_RUNPATH when
+       enable_new_dtags is true.
+
+2013-01-17  Serge Pavlov  <serge.v.pavlov@gmail.com>
+
+       * powerpc.cc (Stub_table::find_plt_call_entry): Make types
+       used in declaration and definition consistent.
+       (Target_powerpc::symval_for_branch): Ditto.
+
+2013-01-16  Sriraman Tallam  <tmsriram@google.com>
+
+       * testsuite/plugin_final_layout.cc: Fix comment.
+
+2013-01-16  Sriraman Tallam  <tmsriram@google.com>
+
+       * layout.cc (Layout::layout): Do not do default sorting for
+       text sections when section ordering is specified.
+       (make_output_section): Ditto.
+       * testsuite/plugin_final_layout.cc: Name the function sections
+       to catch reordering issues.
+
+2013-01-15  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::do_relax): Default shared libs to
+       plt-thread-safe.
+
+2013-01-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (final_layout_script.lds): Handle .got section.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-01-14  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add various output files.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-01-11  Pavel Chupin  <pavel.v.chupin@intel.com>
+
+       PR bfd/14430
+       Fix mingw gold build with plugins enabled
+       * Makefile.am: Replace -ldl with @DLOPEN_LIBS@.
+       * configure.ac: Export DLOPEN_LIBS and add headers check.
+       * plugin.cc: Handle non-dlfcn case.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-01-09  Sriraman Tallam  <tmsriram@google.com>
+
+       * output.h (sort_attached_input_sections): Change to be public.
+       * script-sections.cc
+       (Output_section_definition::set_section_addresses): Sort
+       attached input sections according to section order before linker
+       script assigns section addresses.
+       (Orphan_output_section::set_section_addresses): Sort
+       attached input sections according to section order before linker
+       script assigns section addresses.
+       * Makefile.am (final_layout.sh): Use a simple linker script to
+       check if section ordering still works.
+       * Makefile.in: Regenerate.
+
+2013-01-09  Ben Cheng  <bccheng@google.com>
+
+       * arm.cc (Target_arm::attributes_accept_div): New function.
+       (Target_arm::attributes_forbid_div): New function.
+       (Target_arm::merge_object_attributes): Merge the Tag_DIV_use
+       attribute using the same new functions as what bfd/elf32_arm.c
+       does.
+
+2013-01-07  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/14993
+       * output.cc (Output_section::add_input_section): For incremental
+       updates, don't track input sections that are allocated from patch
+       space.
+
+2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       PR gold/14897
+       * configure.ac (--enable-ld): Removed.
+       (install_as_default): Set to yes only for --enable-gold=default
+       or --disable-ld.
+       * configure: Regenerated.
+
+2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * options.h (General_options): Add -fuse-ld= for GCC linker
+       option compatibility.
+
+2013-01-04  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Fix typo restoring CXXFLAGS.
+       * configure: Regenerate.
+
+2013-01-04  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (CXXLINK_S): New macro.
+       (debug_msg_so.err, debug_msg_ndebug.err): Use CXXLINK_S.
+       * testsuite/Makefile.in: Regenerate.
+
+2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.cc (print_version): Update copyright year to 2013.
+
+2012-12-20  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::special_ordering_of_input_section): New
+       function.
+       (Layout::layout): If input section requires special ordering, must
+       sort input sections.
+       (Layout::make_output_section): May sort .text input sections.
+       (Layout::is_section_name_prefix_grouped): Remove.
+       * layout.h (class Layout): Declare
+       special_ordering_of_input_section.  Don't declare
+       is_section_name_prefix_grouped.
+       * output.cc (Output_section::add_input_section): Revert last
+       change.
+       (Output_section::Input_section_sort::match_file_name): Don't crash
+       if called on output section data.
+       (Output_section::Input_section_sort_compare): Sort based on
+       special ordering.
+       (Output_section::Input_section_sort_section_order_index_compare):
+       Revert last patch.
+       (Output_section::sort_attached_input_sections): Likewise.
+
+2012-12-18  Sriraman Tallam  <tmsriram@google.com>
+
+       * layout.cc (Layout::is_section_name_prefix_grouped): New function.
+       * layout.h (Layout::is_section_name_prefix_grouped): New function.
+       * output.cc (Output_section::add_input_section): Check if section
+       name contains special prefix.  Keep input sections to sort such
+       sections.
+       (Output_section::Input_section_sort_section_order_index_compare
+        ::operator()): Group sections according to prefixes.
+       (Output_section::sort_attached_input_sections): Add condition to
+       Input_section_entry constructor call.
+       * testsuite/Makefile.am (text_section_grouping): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/text_section_grouping.cc: New file.
+       * testsuite/text_section_grouping.sh: New file.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am: Add copyright notice.
+       * NEWS: Likewise.
+       * README: Likewise.
+       * configure.ac: Likewise.
+       * ftruncate.c: Likewise.
+       * Makefile.in: Regenerate.
+
+2012-12-14  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (exception_separate_shared_12_test): Add
+       --no-as-needed flag.
+       (exception_separate_shared_12_test): Likewise.
+       (incremental_copy_test): Likewise.
+       * testsuite/Makefile.in: Regenerate.
+
+2012-12-14  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.cc (Dwp_output_file::add_cu_set): Check for duplicate CUs.
+       (Dwp_output_file::Dwp_index::enter_set): Add assert.
+
+2012-12-12  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (class Track_tls): New.
+       (class Relocate, class Scan): Inherit Track_tls.
+       (Target_powerpc::Scan::local, global): Track tls optimization
+       and avoid creating plt entry for __tls_get_addr if all uses
+       are optimized away.
+       (Target_powerpc::Relocate::relocate): Update to use Track_tls.
+
+2012-12-12  Alan Modra  <amodra@gmail.com>
+
+       * options.h (General_options): Add --toc-sort/--no-toc-sort.
+       Replace no_toc_optimize with toc_optimize.
+       * output.h (Output_section::input_sections): Provide non-const variant.
+       * powerpc.cc (Powerpc_relobj::has_small_toc_reloc_,
+       set_has_small_toc_reloc, has_small_toc_reloc): New variable and
+       accessors.
+       (Target_powerpc::Scan::local, global): Call set_has_small_toc_reloc.
+       (class Sort_toc_sections): New.
+       (Target_powerpc::do_finalize_sections): Sort toc sections.
+       (Target_powerpc::Relocate::relocate): Update toc_optimize test.
+
+2012-12-10  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/binary_unittest.cc (read_all): New function.
+       (Sized_binary_test): Use it instead of ::read.
+       * fileread.cc (do_read): Don't assume pread always reads the whole
+       amount in a single call.
+
+2012-12-10  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_selector_powerpc::Target_selector_powerpc):
+       Set EM_PPC64 or EM_PPC here.
+       (Target_selector_powerpc::do_recognize): Delete.
+
+2012-12-10  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::Powerpc_relobj): Init has14_ and
+       stub_table_.
+       (Target_powerpc::Branch_info::make_stub): Don't omit addend.
+
+2012-12-07  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/binary_unittest.cc (Sized_binary_test):
+       Use open_descriptor rather than ::open.
+
+2012-12-07  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Stub_table::do_write): Delete redundant Address
+       typedef and invalid_address constant.
+       (Output_data_glink, Stub_table, Target_powerpc): Explicitly
+       instantiate constants.
+
+2012-12-06  Roland McGrath  <mcgrathr@google.com>
+
+       * configure.ac (HAVE_ZLIB): Use AM_ZLIB instead of AC_SEARCH_LIBS.
+       Use $ac_cv_header_zlib_h = yes as the condition in AM_CONDITIONAL.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2012-12-07  Alan Modra  <amodra@gmail.com>
+
+       * options.h (General_options): Add no_toc_optimize.
+       * powerpc.cc (ok_lo_toc_insn): New function.
+       (Target_powerpc::Relocate::relocate): Optimize toc access sequences.
+
+2012-12-06  Alan Modra  <amodra@gmail.com>
+
+       * options.h (General_options): Add plt_align, plt_static_chain,
+       plt_thread_safe.  Update stub_group_size help text.
+       * powerpc.cc (Target_powerpc::plt_thread_safe): New access function
+       for new plt_thread_safe_ var.
+       (use_plt_offset): Correct comments.
+       (Target_powerpc::do_relax): Look for thread creation symbols to
+       determine default plt_thread_safe value.  Clear plt call stubs
+       as well as branch stubs each iteration.
+       (add_2_2_11, add_12_12_11, bnectr_p4, cmpldi_2_0, xor_11_11_11): New
+       insn constants.
+       (l, hi, ha, write_insn): Move earlier.
+       (Stub_table): Delete prev_size, add last_plt_size and last_branch_size.
+       (Stub_table::clear_stubs): Rename from clear_long_branch_stubs, clear
+       plt stubs too.
+       (Stub_table::update_size): Adjust.
+       (Stub_table::prev_size, set_prev_size): Delete.
+       (Stub_table::stub_align): Let --plt-align affect result.
+       (Stub_table::plt_call_size): Calculate sizes for various stubs.
+       (Stub_table::branch_stub_size): Use last_plt_size in address calc.
+       (Stub_table::add_plt_call_stub): Pass iterator to plt_call_size.
+       (Stub_table::do_write): Support more stub variants.
+
+2012-12-04  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::do_scan_relocs): Delete.
+       (Target_powerpc::do_define_standard_symbols): New function.
+
+2012-12-03  Alan Modra  <amodra@gmail.com>
+
+       * output.h: Formatting, whitespace.
+
+2012-12-03  Alan Modra  <amodra@gmail.com>
+
+       * layout.h (Layout::get_executable_sections): Declare.
+       * layout.cc (Layout::get_executable_sections): New function.
+       * arm.cc (Target_arm::group_sections): Use it.
+       (Arm_output_section::group_sections): Delete now redundant test.
+       * output.cc (Output_reloc::Output_reloc): Add is_relative.
+       param to handle relative relocs.
+       * output.h (Output_reloc::Output_reloc <absolute reloc>): Likewise.
+       (Output_data_reloc::add_absolute): Adjust.
+       (Output_data_reloc::add_relative): New function.
+       (Output_data::reset_data_size): New function.
+       (Output_relaxed_input_section::set_relobj, set_shndx): New functions.
+       (Output_section::set_addralign): New function.
+       (Output_section::checkpoint_set_addralign): New function.
+       (Output_section::clear_section_offsets_need_adjustment): New function.
+       (Output_section::input_sections): Make public.
+       * powerpc.cc (class Output_data_brlt_powerpc): New.
+       (class Stub_table, class Stub_control): New.
+       (Powerpc_relobj::has14_, set_has_14bit_branch, has_14bit_branch,
+       stub_table_, set_stub_table, stub_table): New vectors and accessor
+       functions.
+       (Target_powerpc::do_may_relax, do_relax, push_branch,
+       new_stub_table, stub_tables, brlt_section, group_sections,
+       add_branch_lookup_table, find_branch_lookup_table,
+       write_branch_lookup_table, make_brlt_section): New functions.
+       (Target_powerpc::struct Sort_sections, class Branch_info): New.
+       (Target_powerpc::brlt_section_, stub_tables_, branch_lookup_table_,
+       branch_info_): New vars.
+       (Target_powerpc::make_plt_entry, make_local_ifunc_plt_entry): Don't
+       make call stubs here.
+       (Output_data_glink): Remove all call stub handling from this class.
+       (Target_powerpc::Scan::local, global): Save interesting branch
+       relocs and relocs for ifunc.  Adjust calls to plt entry functions.
+       (Target_powerpc::do_finalize_sections): Only make reg save/restore
+       functions on final link.
+       (Target_powerpc::Relocate::relocate): Adjust lookup of call stubs.
+       Handle long branch destinations too.
+       (Target_powerpc::do_dynsym_value, do_plt_address_for_global,
+       do_plt_address_for_local): Adjust lookup of plt call stubs.
+
+2012-11-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.c (Target_powerpc::Scan::global): Don't emit relative
+       relocs against protected symbols when building 32-bit shared libs.
+
+2012-11-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::make_plt_section): Add symtab
+       param.  Call got_section() to make .got.  Update all callers
+       and their callers and so on.
+
+2012-11-30  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::do_scan_relocs): Make STB_LOCAL
+       _GLOBAL_OFFSET_TABLE_ rather than STB_WEAK.
+       (Output_data_got_powerpc::make_header): Update _GLOBAL_OFFSET_TABLE_
+       value if it already exists.
+
+2012-11-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/14858
+       * x86_64.cc (Relocate::tls_ld_to_le): Support x32.
+
+2012-11-14  Roland McGrath  <mcgrathr@google.com>
+
+       * arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather
+       than bfc instruction for data sandboxing.
+
+2012-11-08  Alan Modra  <amodra@gmail.com>
+
+       * po/POTFILES.in: Regenerate.
+
+2012-11-05  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Apply 2012-09-10 change to config.in here.
+       * configure: Regenerate.
+
+2012-11-05  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj): Delete "Offset" typedef.
+       (struct Opd_ent): Use "Address" rather than "Offset".
+       (Output_data_got_powerpc::got_base_offset): Return Valtype.
+       (Target_powerpc::got_section): Make public.
+       (Target_powerpc::scan_relocs): Move code setting symbols..
+       (Powerpc_relobj::do_scan_relocs): ..to here, new function.
+       Create _SDA_BASE_ only when referenced.
+
+2012-11-02  Roland McGrath  <mcgrathr@google.com>
+
+       * i386.cc (Target_i386::relocate_relocs): Remove extraneous typename
+       from last change.
+
+2012-11-01  Roland McGrath  <mcgrathr@google.com>
+
+       * target.h (Sized_target::relocate_relocs): Use Elf_Off
+       for offset_in_output_section parameter.
+       (Sized_target::relocate_special_relocatable): Likewise.
+       * arm.cc (Target_arm::relocate_relocs): Likewise.
+       (Target_arm::relocate_special_relocatable): Likewise.
+       * i386.cc (Target_i386::relocate_relocs): Likewise.
+       * powerpc.cc (Target_powerpc::relocate_relocs): Likewise.
+       * sparc.cc (Target_sparc::relocate_relocs): Likewise.
+       * target-reloc.h (relocate_relocs): Likewise.
+       * testsuite/testfile.cc (Target_test): Likewise.
+       * tilegx.cc (Target_tilegx::relocate_relocs): Likewise.
+       * x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
+
+       * system.h: Move inclusion of <clocale> to after <libintl.h> in
+       [ENABLE_NLS] section, and separately at top of [!ENABLE_NLS] section.
+
+       * descriptors.cc (set_close_on_exec): Add ATTRIBUTE_UNUSED to the
+       parameter, which is unused in the [!F_SETFD] case.
+
+       * dwarf_reader.cc (Sized_elf_reloc_mapper::symbol_section): Cast
+       SYMNDX to off_t before comparing it to this->data_size().
+       * output.cc (Output_symtab_xindex::endian_do_write): Likewise.
+       * incremental.cc (Output_section_incremental_inputs::do_write):
+       Cast GLOBAL_SYM_COUNT to off_t before comparing it to SYMTAB_SIZE.
+
+       * nacl.cc: Include "libiberty.h" for vasprintf declaration.
+
+2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
+
+       * gold.cc (Target_arm::do_adjust_elf_header): Add the
+       hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC
+       in EABI_VER5.
+
+2012-10-29  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.cc (usage): Add file and exit status parameters;
+       add --help and --version options.
+       (print_version): New function.
+       (main): Add --help and --version options.
+
+2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add
+       final_layout_sequence.txt.
+       * testsuite/Makefile.in: Regenerated.
+
+2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (COMPILE1): New variable. Renamed from
+       COMPILE generated by automake.
+       (LINK1): Likewise.
+       (CXXCOMPILE1): Likewise.
+       (CXXLINK1): Likewise.
+       (COMPILE): Strip out -Wp,-D_FORTIFY_SOURCE= from COMPILE1.
+       (LINK): Likewise.
+       (CXXCOMPILE): Likewise.
+       (CXXLINK): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwp.cc (Dwo_file::record_target_info): Issue a fatal error
+       on bad fwrite return.
+
+2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type
+       on val.
+
+2012-10-23  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (TEST_OBJCOPY): New macro.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/dwp_test.h: New source file.
+       * testsuite/dwp_test_1.cc: New source file.
+       * testsuite/dwp_test_1.s: New source file.
+       * testsuite/dwp_test_1.sh: New source file.
+       * testsuite/dwp_test_1b.cc: New source file.
+       * testsuite/dwp_test_1b.s: New source file.
+       * testsuite/dwp_test_2.cc: New source file.
+       * testsuite/dwp_test_2.s: New source file.
+       * testsuite/dwp_test_2.sh: New source file.
+       * testsuite/dwp_test_main.cc: New source file.
+       * testsuite/dwp_test_main.s: New source file.
+
+2012-10-23  Cary Coutant  <ccoutant@google.com>
+
+       * dwp.h: New header file.
+       * dwp.cc: New source file.
+       * gold.h: Move shared declarations to system.h.
+       * system.h: New header file.
+       * Makefile.am: Add dwp.
+       * Makefile.in: Regenerate.
+
+2012-10-23  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_ranges_table::read_range_list): Call
+       Dwarf_info_reader::read_from_pointer.
+       (Dwarf_pubnames_table::read_header): Likewise.
+       (Dwarf_pubnames_table::next_name): Likewise.
+       (Dwarf_die::read_attributes): Likewise.
+       (Dwarf_die::skip_attributes): Likewise.
+       (Dwarf_info_reader::read_from_pointer): New function template.
+       * dwarf_reader.h (Dwarf_ranges_table): Add dwinfo_.
+       (Dwarf_pubnames_table): Likewise.
+       (Dwarf_info_reader::read_from_pointer): New function template.
+       * gdb-index.cc (Gdb_index_info_reader): Adjust call to
+       Dwarf_pubnames_table ctor.
+
+2012-10-23  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_info_reader::do_parse): Use stored
+       abbrev_shndx.
+       * dwarf_reader.h (Dwarf_info_reader::Dwarf_info_reader): Initialize
+       abbrev_shndx_.
+       (Dwarf_info_reader::set_abbrev_shndx): New method.
+       (Dwarf_info_reader::abbrev_shndx_): New data member.
+
+2012-10-23  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (make_elf_reloc_mapper): Check size and endianness
+       from object, not parameters.
+       (Dwarf_info_reader::parse): Likewise.
+       * object.h (Relobj::elfsize, Relobj::is_big_endian): New methods.
+       (Relobj::do_elfsize, Relobj::do_is_big_endian): New methods.
+       (Sized_relobj::do_elfsize, Sized_relobj::do_is_big_endian): New
+       methods.
+
+2012-10-23  Cary Coutant  <ccoutant@google.com>
+
+       * fileread.cc (Input_file::Input_file): New constructor.
+       * fileread.h (class Input_file): Add new constructor.
+
+2012-10-18  Alan Modra  <amodra@gmail.com>
+
+       PR gold/14727
+       * object.cc (Relobj::is_section_name_included): Also match
+       .sdata personality section.
+
+2012-10-18  Alan Modra  <amodra@gmail.com>
+
+       * target-reloc.h (class Default_comdat_behavior): New, package up..
+       (get_comdat_behaviour): ..this.
+       (relocate_section): Add Relocate_comdat_behavior template arg,
+       adjust code to suit.
+       * arm.cc (Target_arm::relocate_section): Adjust to suit.
+       (Target_arm::scan_reloc_section): Likewise.
+       * i386.cc (Target_i386::relocate_section): Likewise.
+       * sparc.cc (Target_sparc::relocate_section): Likewise.
+       * tilegx.cc (Target_tilegx::relocate_section): Likewise.
+       * x86_64.cc (Target_x86_64::relocate_section): Likewise.
+       * powerpc.cc (class Relocate_comdat_behavior): New.
+       (Target_powerpc::relocate_section): Don't zap opd relocs.  Supply
+       gold::relocate_section with new template arg.
+
+2012-10-18  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::local, global): Always emit
+       dynamic relocs for GOT_TPREL got entries, without symbol if
+       resolving locally.
+       (Target_powerpc::do_gc_add_reference): Don't add for dynamic objects.
+       (Target_powerpc::scan_relocs): Define _GLOBAL_OFFSET_TABLE_ early.
+       (Target_powerpc::Relocate:relocate): REL32 reloc may be unaligned.
+
+2012-10-17  Alan Modra  <amodra@gmail.com>
+
+       PR gold/14726
+       * gold.cc (queue_middle_tasks): Call gc_mark_symbol on _init and _fini.
+
+2012-10-16  Sriraman Tallam  <tmsriram@google.com>
+
+       * layout.cc (Layout::include_section): Keep sections marked
+       SHF_EXCLUDE when doing relocatable links.
+
+2012-10-16  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::define_save_restore_funcs): New func.
+       (Target_powerpc::do_finalize_sections): Call it.
+       (Output_data_save_res): New class and supporting functions.
+       (Target_powerpc::symval_for_branch): Only look up .opd entry for
+       normal symbols defined in object files.
+
+2012-10-12  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::add_gc_mark, process_gc_mark): New.
+       (struct Opd_ent): Make "discard" a bit field.  Add "gc_mark".
+       (Target_powerpc::do_gc_mark_symbol): Delay marking function code
+       section if scan_opd_relocs not yet called.
+       (Target_powerpc::gc_process_relocs): Call process_gc_mark.
+
+2012-10-12  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Output_data_plt_powerpc::add_entry, add_ifunc_entry,
+       add_local_ifunc_entry): Revert last change.
+       (Target_powerpc::make_plt_entry, make_local_ifunc_plt_entry): Likewise.
+
+2012-10-05  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::do_plt_address_for_local,
+       do_plt_address_for_global): New functions.
+       (Output_data_got_powerpc::do_write): Don't segfault when linking
+       statically.
+       (Output_data_plt_powerpc::add_entry, add_ifunc_entry,
+       add_local_ifunc_entry): Return true on adding entry..
+       (Target_powerpc::make_plt_entry): ..use to avoid unnecessary
+       glink->add_entry call.  Remove unused symtab param.  Adjust calls.
+       (Target_powerpc::make_local_ifunc_plt_entry): Likewise.
+       (Target_powerpc::make_iplt_section): Remove symtab param.  Don't
+       set up symbols here.
+       (Target_powerpc::do_finalize_sections): Instead set up __rela_iplt
+       syms here.  Do so even when no .iplt.  Don't segfault when linking
+       statically.
+       (Output_data_glink::add_entry, find_entry): Rearrange params.  Add
+       new variants without reloc param.
+       (Glink_sym_ent::Glink_sym_ent): Likewise.
+       (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Accept any
+       reloc when refs will resolve to plt call stub.
+       (Target_powerpc::Scan::local): Correct ifunc handling.  Allow
+       R_PPC_PLTREL24 to resolve locally.
+       (Target_powerpc::Scan::global): Correct ifunc handling.
+       (Target_powerpc::Relocate::relocate): Correct local sym glink
+       lookup.  Don't destroy "value" when we have a plt call stub,
+       and when checking plt call validity.
+       (Target_powerpc::do_dynsym_value): Simplify.
+
+2012-10-05  Alan Modra  <amodra@gmail.com>
+
+       * i386.cc (Output_data_plt_i386::address_for_global,
+       address_for_local): Add plt offset to returned value.  Adjust uses.
+       * sparc.cc (Output_data_plt_sparc::address_for_global,
+       address_for_local): Likewise.
+       * tilegx.cc (Output_data_plt_tilegx::address_for_global,
+       address_for_local): Likewise.
+       * x86_64.cc (Output_data_plt_x86_64::address_for_global,
+       address_for_local): Likewise.
+       * target.h (Target::plt_address_for_global, plt_address_for_local):
+       Update comment.
+       * output.cc (Output_reloc::symbol_value): Don't add plt offset here.
+       (Output_data_got::Got_entry::write): Nor here.
+       * output.h: Comment fix.
+
+2012-10-02  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx.cc (Target_tilegx::do_finalize_sections): Adjust
+       global_offset_table_ value for larget got.
+       (Target_tilegx::Relocate::relocate): Handle adjusted got value.
+
+2012-09-29  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::iplt_): New output section.
+       (Target_powerpc::iplt_section, make_iplt_section,
+       reloc_needs_plt_for_ifunc, make_local_ifunc_plt_entry): New functions.
+       (Target_powerpc::make_plt_entry): Handle ifunc syms.
+       Target_powerpc::plt_entry_count): Count iplt entries too.
+       (Output_data_plt_powerpc::Output_data_plt_powerpc): Don't create
+       reloc section in constructor.  New params.
+       (Target_powerpc::make_plt_section): Create reloc section here instead.
+       (Output_data_plt_powerpc::add_ifunc_entry, add_local_ifunc_entry): New
+       functions.
+       (Output_data_plt_powerpc::initial_plt_entry_size_, name_): New vars.
+       (Output_data_glink::add_entry, find_entry): New functions to
+       deal with local syms.
+       (Glink_sym_ent): Add support for local syms.
+       (Output_data_glink::do_write): Handle ifunc plt entries.
+       (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
+       (Target_powerpc::Scan::local, global): Handle ifunc syms.
+       (Target_powerpc::Relocate::relocate): Likewise.
+       (Target_powerpc::do_dynsym_value): Use glink stub, not plt entry.
+
+2012-09-25  Alan Modra  <amodra@gmail.com>
+
+       * object.h (Sized_relobj_file::adjust_local_symbol,
+       do_adjust_local_symbol): New functions.
+       * object.cc (Sized_relobj_file::do_count_local_symbols): Use the above.
+       * powerpc.cc (Powerpc_relobj::do_adjust_local_symbol): New function.
+       (Powerpc_relobj::scan_opd_relocs): Warn on unexpected opd relocs
+       and irregular opd entry spacing.
+       (Powerpc_relobj::do_read_relocs): Add opd size checks.
+       (Global_symbol_visitor_opd): New functor.
+       (Target_powerpc::do_finalize_sections): Omit global symbols defined
+       on deleted opd entries.
+
+2012-09-15  Jiong Wang  <jiwang@tilera.com>
+
+       * tilegx.cc: New file.
+       * Makefile.am (TARGETSOURCES): Add tilegx.cc
+       (ALL_TARGETOBJS): Add tilegx.$(OBJEXT)
+       * configure.tgt: Add entries for tilegx*.
+       * configure.ac: Likewise.
+       * Makefile.in: Rebuild.
+       * configure: Likewise.
+       * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Handle
+       tilegx.
+
+2012-09-13  Alan Modra  <amodra@gmail.com>
+
+       * target-reloc.h (scan_relocs): Call scan.local for relocs
+       against symbols in discarded sections.  Pass is_discarded
+       param.
+       * arm.cc, * i386.cc, * sparc.cc, * x86_64.cc (Target_*::Scan::local):
+       Add is_discarded param.
+       * powerpc (Target_powerpc::Scan::local): Likewise.  Use
+       is_discarded to flag opd entry as discarded.  Don't emit dyn
+       relocs on such entries.
+       (Target_powerpc::Scan::global): Similarly detect and handle
+       such opd entries.
+       (Powerpc_relobj): Replace opd_ent_shndx_ and opd_ent_off_ with
+       opd_ent_.  Update all uses.
+       (Powerpc_relobj::get_opd_discard, set_opd_discard): New functions.
+       (Target_powerpc::relocate_section): Zero out discarded opd
+       entry relocs.
+
+2012-09-12  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/14570
+       * output.cc: Rename Output_data_got template parameter from size
+       to got_size for all functions.  Compile all variants of
+       Output_data_got.
+       (Output_data_got::Got_entry::write): Correct use of size for
+       symbol value.  Use local_is_tls rather than casting to
+       Sized_relobj_file.
+       * object.h (class Object): Add local_is_tls and do_local_is_tls.
+       (class Sized_relobj_file): Add do_local_is_tls.
+       * incremental.h (class Sized_relobj_incr): Add do_local_is_tls.
+
+2012-09-11  Alan Modra  <amodra@gmail.com>
+
+       PR gold/14566
+       * layout.cc (Layout::set_segment_offsets): When using
+       common-page-size alignment, ensure we are on a new max-page-size
+       page.
+       * output.cc (Output_segment::set_section_addresses): Use
+       abi_pagesize, not common_pagesize for relro boundary.
+       (Output_segment::set_offset): Likewise.
+
+2012-09-11  Alan Modra  <amodra@gmail.com>
+
+       * output.h (Output_data_got::add_global_tls, add_local_tls,
+       add_local_tls_pair): New functions.
+       (Output_data_got::add_local_pair_with_rel): Remove second
+       reloc param.  Expand comment.
+       (Output_data_got::Got_entry): Rename use_plt_offset_ to
+       use_plt_or_tls_offset_, similarly for constructor param.
+       (Output_data_got::Got_entry::write): Add got_index param.
+       * output.cc (Output_data_got::add_global_tls, add_local_tls,
+       add_local_tls_pair): New functions.
+       (Output_data_got::Got_entry::write): Handle tls symbols
+       with use_plt_or_tls_offset_ set specially.
+       (Output_data_got::add_local_pair_with_rel): Only one reloc.
+       (Output_data_got::do_write): Replace iterator with index, pass
+       index to entry write function.
+       * target.h (Target::tls_offset_for_local, tls_offset_for_global,
+       do_tls_offset_for_local, do_tls_offset_for_global): New functions.
+       * arm.cc (Target_arm::Scan::local): Update add_local_pair_with_rel
+       call.
+       * i386.cc (Target_i386::Scan::local): Likewise.
+       * sparc.cc (Target_sparc::Scan::local): Likewise.
+       * x86_64.cc (Target_x86_64::Scan::local): Likewise.
+       * powerpc.cc (Target_powerpc::do_tls_offset_for_local,
+       do_tls_offset_for_global): New functions.
+       (Target_powerpc::Scan::local): Correct TLS relocations and got
+       entry values.
+       (Target_powerpc::Scan::global): Don't emit unnecessary
+       dynamic relocations on TLS GOT entries.
+
+2012-09-10  Matthias Klose  <doko@ubuntu.com>
+
+       * config.in: Disable sanity check for kfreebsd.
+
+2012-09-10  Sterling Augustine  <saugustine@google.com>
+
+       * gdb-index.cc (Gdb_index::pubnames_read): New parameter.
+       (Gdb_index::pubtypes_read): New parameter.
+       (Gdb_index_info_reader::read_pubnames_and_pubtypes): Add parameters
+       to calls.
+       * gdb-index.h (Gdb_index): New fields pubnames_object_ and
+       pubtypes_object_.
+
+2012-09-09  Alan Modra  <amodra@gmail.com>
+
+       * target.h (Target::gc_mark_symbol, do_gc_mark_symbol): New functions.
+       (Sized_target::gc_add_reference, do_gc_add_reference): New functions.
+       * gc.h (gc_process_relocs): Call target gc_add_reference.
+       * gold.cc (queue_middle_tasks): Use gc_mark_symbol on start sym.
+       * symtab.cc (Symbol_table::gc_mark_undef_symbols): Use gc_mark_symbol.
+       (Symbol_table::gc_mark_symbol): Call target gc_mark_symbol. Remove
+       unnecessary cast.
+       * powerpc.cc (Powerpc_relobj::get_opd_ent): Rearrange parameters
+       to cater for when we don't need code offset.  Update use.
+       (Powerpc_relobj::access_from_map_, opd_valid_): New vars.
+       (Powerpc_relobj::access_from_map, add_reference, opd_valid,
+       set_opd_valid): New functions.
+       (Target_powerpc::do_gc_add_reference): New function.
+       (Target_powerpc::gc_process_relocs): Call gc()->add_reference on
+       stashed refs.
+       (Target_powerpc::do_gc_mark_symbol): New function.
+
+2012-09-06  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_die::read_attributes): Add
+       DW_FORM_GNU_addr_index and DW_FORM_GNU_str_index.
+       (Dwarf_die::skip_attributes): Likewise.
+       * object.cc (Read_symbols_data::~Read_symbols_data): Update comment.
+       * testsuite/gdb_index_test.cc (inline_func_1): New function.
+       (main): Call it.
+       * testsuite/gdb_index_test_comm.sh: Check index for inline function.
+
+2012-09-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/script_test_3.t: Add .got.plt output section
+       statement.
+       * testsuite/script_test_4.t: Likewise.
+
+2012-09-05  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relocate_functions): Upcase enum values,
+       update all uses and lose "enum" when using type.
+
+2012-09-05  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac (FN_PTRS_IN_SO_WITHOUT_PIC): False for powerpc.
+       * configure: Regenerate.
+       * testsuite/Makefile.am (final_layout.stdout): Pass --synthetic to nm.
+       (plugin_final_layout.stdout): Likewise.
+       (memory_test): Set page sizes to 0x1000.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/discard_locals_test.sh: Add FIXME comment.
+       * testsuite/justsyms_exec.c: Disable function test for powerpc64.
+       * testsuite/pr14265.t: Add .got output section statement.
+       * testsuite/script_test_2.t: Likewise.
+       * testsuite/script_test_3.t: Likewise.
+       * testsuite/script_test_4.t: Likewise.
+       * testsuite/script_test_5.t: Likewise.
+       * testsuite/script_test_6.t: Likewise.
+       * testsuite/script_test_7.t: Likewise.
+       * testsuite/script_test_9.t: Likewise.
+
+2012-09-05  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::get_opd_ent): Make const.
+       (Powerpc_relocate_functions::Status): New typedef.
+       (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
+       (Target_powerpc::Scan::local): Handle REL64.
+       (Target_powerpc::Scan::global): Likewise, and dynamic relocs
+       for REL32 and REL64.
+       (Target_powerpc::symval_for_branch): New function, extracted from..
+       (Target_powerpc::Relocate::relocate): ..here.  Correct plt call
+       checks.  Report overflow errors.
+
+2012-09-05  Alan Modra  <amodra@gmail.com>
+
+       * object.h (Sized_relobj_file::emit_relocs): Delete.
+       (Sized_relobj_file::emit_relocs_reltype): Delete.
+       * reloc.cc (Sized_relobj_file::do_relocate_sections): Call target
+       relocate_relocs for --emit-relocs.
+       (Sized_relobj_file::emit_relocs, emit_relocs_reltype): Delete.
+       * output.h: Update comment.
+       (Output_segment::first_section): New function.
+       (Output_segment::first_section_load_address): Use first_section.
+       * output.cc (Output_segment::first_section): New function extracted..
+       (Output_segment::first_section_load_address): ..from here.  Delete.
+       * target-reloc.h (relocate_for_relocatable): Rename to relocate_relocs.
+       * target.h (Sized_target::relocate_for_relocatable): Likewise.
+       * arm.cc (Target_arm::relocate_for_relocatable): Likewise, and
+       adjust call to target.h function.
+       * i386.cc (Target_i386): Likewise.
+       * sparc.cc (Target_sparc): Likewise.
+       * x86_64.cc (Target_x86_64): Likewise.
+       * powerpc.cc (Target_powerpc): Likewise.
+       (Target_powerpc::Scan::local, global): Handle R_POWERPC_TLS.  Ensure
+       first tls section has section symbol for optimised local dynamic
+       output relocs.
+       (Target_powerpc::Relocate::relocate): Correct local dynamic value.
+       (Target_powerpc::relocate_relocs): Adjust relocs emitted for
+       optimised tls code.
+       * testsuite/testfile.cc (Target_test::relocate_for_relocatable):
+       Rename to relocate_relocs.  Update error message.
+
+2012-09-04  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * powerpc.cc (do_make_elf_object): Allow ET_EXEC files with
+       --just-symbols.
+
+2012-08-31  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj): Add and use Address typedef.
+       (Powerpc_relobj::toc_base_offset): New stub function.
+       (Target_powerpc): Add tp_offset, dtp_offset.  Rename
+       got_mod_index_offset to tlsld_got_offset.  Update all refs.
+       (Target_powerpc::Relocate::enum skip_tls): New.
+       (Target_powerpc::call_tls_get_addr_): New var.
+       (Target_powerpc::is_branch_reloc): Move to file scope.
+       (Target_powerpc::relocate_tls, optimize_tls_reloc): Delete.
+       (Target_powerpc::optimize_tls_gd, optimize_tls_ld, optimize_tls_ie):
+       New functions.
+       (Target_powerpc::enum Got_type): Delete old values, add new ones.
+       (powerpc_info): Correct common_pagesize for ppc64.
+       (at_tls_transform, needs_dynamic_reloc, use_plt_offset): New functions.
+       (Powerpc_relocate_functions): Add overflow check enums and functions.
+       Add non-shift version of rela, rela_ua.  Delete all rel public
+       functions.  Delete addr16_lo.  Add addr64, addr64_u, addr32,
+       addr32_u, addr24, addr16_u, addr16_hi2, addr16_ha2, addr16_hi3,
+       addr16_ha3, addr14 functions.
+       (Output_data_got_powerpc::add_constant_pair): New function.
+       (Output_data_got_powerpc::got_base_offset): Likewise.
+       (Output_data_got_powerpc::do_write): Correct 64-bit got header.
+       (instruction constants): Sort, add some more.
+       (Output_data_glink::do_write): Add and use Address typedef.  Use
+       object->toc_base_offset() stub for 64-bit.
+       (Target_powerpc::tlsld_got_offset): Use add_constant_pair.
+       (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
+       (Target_powerpc::Scan::local, global): Emit relative dynamic reloc
+       for R_PPC64_TOC.  Handle more relocs.  Generate got entries for TLS.
+       Always treat .opd relocs as against locally defined symbol.
+       Correct condition for RELATIVE relocs.
+       (Target_powerpc::do_finalize_sections): Test for NULL sections.
+       (Target_powerpc::Relocate::relocate): Use plt call stub as value
+       for 32-bit syms with a plt entry.  Correct ppc64 toc base
+       calculations.  Handle TLS relocs, and more.  Add overflow
+       checking and adjust for Powerpc_relocate_functions changes.
+       (Target_powerpc::relocate_for_relocatable): Handle zero r_sym.
+       Reinstate --emit-relocs code with FIXME.
+
+2012-08-30  Alan Modra  <amodra@gmail.com>
+
+       * layout.cc (Layout::set_segment_offsets): Set p_align to
+       abi_pagesize, not common_pagesize.
+       (Layout::relaxation_loop_body): Similarly use abi_pagesize
+       to determine whether file header can go in segment.
+
+2012-08-30  Alan Modra  <amodra@gmail.com>
+
+       * output.h (Output_reloc::Output_reloc <output section>): Add
+       is_relative param.  Adjust calls.
+       (Output_reloc::add_output_section_relative): New functions.
+       * output.cc (Output_reloc::Output_reloc <output section>): Handle
+       is_relative.
+       (Output_reloc::symbol_value): Handle SECTION_CODE.
+
+2012-08-24  Sriraman Tallam  <tmsriram@google.com>
+
+       * gold.cc (queue_middle_tasks): Call layout again when unique
+       segments for sections is desired.
+       * layout.cc (Layout::Layout): Initialize new members.
+       (Layout::get_output_section_flags): New function.
+       (Layout::choose_output_section): Call get_output_section_flags.
+       (Layout::layout): Make output section for mapping to a unique segment.
+       (Layout::insert_section_segment_map): New function.
+       (Layout::attach_allocated_section_to_segment): Make unique segment for
+       output sections marked so.
+       (Layout::segment_precedes): Check for unique segments when sorting.
+       * layout.h (Layout::Unique_segment_info): New struct.
+       (Layout::Section_segment_map): New typedef.
+       (Layout::insert_section_segment_map): New function.
+       (Layout::get_output_section_flags): New function.
+       (Layout::is_unique_segment_for_sections_specified): New function.
+       (Layout::set_unique_segment_for_sections_specified): New function.
+       (Layout::unique_segment_for_sections_specified_): New member.
+       (Layout::section_segment_map_): New member.
+       * object.cc (Sized_relobj_file<size, big_endian>::do_layout):
+       Rename is_gc_pass_one to is_pass_one.
+       Rename is_gc_pass_two to is_pass_two.
+       Rename is_gc_or_icf to is_two_pass.
+       Check for which pass based on whether symbols data is present.
+       Make it two pass when unique segments for sections is desired.
+       * output.cc (Output_section::Output_section): Initialize new
+       members.
+       * output.h (Output_section::is_unique_segment): New function.
+       (Output_section::set_is_unique_segment): New function.
+       (Output_section::is_unique_segment_): New member.
+       (Output_section::extra_segment_flags): New function.
+       (Output_section::set_extra_segment_flags): New function.
+       (Output_section::extra_segment_flags_): New member.
+       (Output_section::segment_alignment): New function.
+       (Output_section::set_segment_alignment): New function.
+       (Output_section::segment_alignment_): New member.
+       (Output_segment::Output_segment): Initialize is_unique_segment_.
+       (Output_segment::is_unique_segment): New function.
+       (Output_segment::set_is_unique_segment): New function.
+       (Output_segment::is_unique_segment_): New member.
+       * plugin.cc (allow_unique_segment_for_sections): New function.
+       (unique_segment_for_sections): New function.
+       (Plugin::load): Add new functions to transfer vector.
+       * Makefile.am (plugin_final_layout.readelf.stdout): Add readelf output.
+       * Makefile.in: Regenerate.
+       * testsuite/plugin_final_layout.sh: Check if unique segment
+       functionality works.
+       * testsuite/plugin_section_order.c (onload): Check if new interfaces
+       are available.
+       (allow_unique_segment_for_sections): New global.
+       (unique_segment_for_sections): New global.
+       (claim_file_hook): Call allow_unique_segment_for_sections.
+       (all_symbols_read_hook): Call unique_segment_for_sections.
+
+2012-08-22  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::include_section): Don't assert on GROUP
+       sections with --emit-relocs.
+
+2012-08-21  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.cc (Symbol_table::gc_mark_undef_symbols): Don't assert
+       if --export-dynamic-symbol names an undef symbol.
+
+2012-08-18  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc: Formatting and white space.
+       (Powerpc_relobj): Rename got2_section_ to special_.
+       Add opd_ent_shndx_ and opd_ent_off_ vectors.
+       (Powerpc_relobj::opd_shndx, init_opd, get_opd_ent, set_opd_ent,
+       scan_opd_relocs, do_read_relocs, opd_ent_ndx): New functions.
+       (Target_powerpc): Add Address typedef and invalid_address.  Use
+       throughout.
+       (Target_powerpc::is_branch_reloc): New function.
+       (Powerpc_relocate_functions): Add Address typedef, use throughout.
+       (Powerpc_relocate_functions:rela, rela_ua): Correct type used
+       for dst_mask, value and addend.
+       (Powerpc_relobj::do_find_special_sections): Find .opd for 64-bit.
+       (ld_2_1, cror_15_15_15, cror_31_31_31): New insn constants.
+       (Output_data_glink::do_write): Correct toc base.  Don't try to use
+       uint16_t for 24-bit offset.  Use get_output_section_offset and
+       check return.
+       (Target_powerpc::Scan::local): Handle more relocs.
+       (Target_powerpc::do_finalize_sections): Set up DT_PPC64_GLINK.
+       (Target_powerpc::Relocate::relocate): Correct toc base calculation.
+       Plug in toc restoring insn after plt calls.  Translate branches
+       to function descriptor symbols to corresponding entry point.
+       (Target_powerpc::relocate_for_relocatable): Check return from
+       get_output_section_offset.
+       * symtab.h: Comment typo.
+
+2012-08-14  Ian Lance Taylor  <iant@google.com>
+
+       * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
+       unsupported_relocal_local to call unsupported_reloc_global.
+
+2012-08-14  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/14265
+       * script-sections.cc (Sections_element::output_section_name): Add
+       keep return parameter.
+       (Output_section_element::match_name): Add keep return parameter.
+       Return the value of the keep_ member.
+       * script-sections.h (class Output_section): Update
+       output_section_name prototype.
+       * layout.cc (Layout::keep_input_section): New public member
+       function.
+       (Layout::choose_output_section): Pass keep parameter to
+       output_section_name.
+       * layout.h (class Layout): Add keep_input_section.
+       * object.cc (Sized_relobj_file::do_layout): Check for kept input
+       sections.
+       * testsuite/Makefile.am: Add a test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/pr14265.c: Source file for the test.
+       * testsuite/pr14265.t: Linker script for the test.
+       * testsuite/pr14265.sh: Shell script for the test.
+
+2012-08-14  Alan Modra  <amodra@gmail.com>
+
+       * target.h (Target::output_section_name): New function.
+       (Target::do_output_section_name): New function.
+       * layout.cc (Layout::choose_output_section): Call the above.
+       * powerpc.cc (Target_powerpc::do_output_section_name): New function.
+
+2012-08-14  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc: Update for renamed R_PPC_REL16 relocs.
+       (Output_data_got_powerpc::do_write): Don't rely on base class lookup
+       for replace_constant call.
+       (Output_data_plt_powerpc::do_print_to_mapfile): New function.
+       (Output_data_glink::do_print_to_mapfile): New function.
+       (Target_powerpc::Scan::local): Ignore R_PPC64_TOCSAVE.
+       (Target_powerpc::Relocate::relocate): Likewise.
+
+2012-08-14  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Powerpc_relobj::set_got2_shndx): Delete.
+       (Powerpc_relobj::do_find_special_sections): Don't use set_got2_shndx.
+       (Output_data_glink::add_entry,find_entry): Remove shndx param.
+       (class Glink_sym_ent): Rename from struct Glink_sym_ent.  Remove
+       all references to shndx_.  Handle special case for R_PPC_PLTREL24
+       here.
+       (class Glink_sym_ent_hash): Rename from struct Glink_sym_ent_hash.
+       (Output_data_glink::do_write): Retrieve got2_shdnx from object.
+       (Target_powerpc::make_plt_entry): Don't special case R_PPC_PLTREL24
+       here.
+       (Target_powerpc::Scan::global): Nor on make_plt_entry call.
+       (Target_powerpc::Relocate::relocate): Nor on glink->find_entry call.
+
+2012-08-12  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc: Whitespace fixes.  Wrap overly long lines.
+       (glink insn constants): Use uint32_t.
+       (Output_data_glink::add_entry): Use insert, not [] operator.
+
+2012-08-11  Alan Modra  <amodra@gmail.com>
+
+       * object.h (Sized_relobj_file::find_shdr): New function.
+       (Sized_relobj_file::find_special_sections): New function.
+       * object.cc (Sized_relobj_file::find_shdr): New function.
+       (Sized_relobj_file::find_eh_frame): Use find_shdr.
+       (Sized_relobj_file::find_special_sections): New function, split out..
+       (Sized_relobj_file::do_read_symbols): ..from here.
+       * output.h (Output_data_got::replace_constant): New function.
+       (Output_data_got::num_entries): New function.
+       (Output_data_got::last_got_offset,set_got_size): Use num_entries.
+       (Output_data_got::got_offset): Protected rather than private.
+       (Output_data_got::replace_got_entry): New function.
+       * output.cc (Output_data_got::replace_got_entry): New function.
+       * powerpc.cc (class Powerpc_relobj): New.
+       (class Powerpc_relocate_functions): Delete all psymval variants or
+       convert to value,addend type.  Delete pcrela, pcrela_unaligned.
+       Implement _ha functions using corresponding _hi function.
+       (Powerpc_relobj::find_special_sections): New function.
+       (Target_powerpc::do_make_elf_object): New function.
+       (class Output_data_got_powerpc): New.
+       (class Output_data_glink): New.
+       (class Powerpc_scan_relocatable_reloc): New.
+       Many more changes througout file.
+
+2012-08-09  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: Updated Vietnamese translation.
+
+2012-08-07  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::add_target_dynamic_tags): If
+       dynrel_includes_plt but no dyn_rel, emit dynamic reloc tags for
+       plt_rel.
+
+2012-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/gold.pot: Updated template.
+       * po/es.po: Updated Spanish translation.
+
+2012-07-18  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/14344
+       * configure.ac: Add check for -gpubnames support.
+       * configure: Regenerate.
+       * testsuite/Makefile.am (gdb_index_test_1): Add check for -gpubnames
+       support; force -gno-pubnames.
+       (gdb_index_test_2, gdb_index_test_3): Add check for -gpubnames
+       support.
+       (gdb_index_test_4): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gdb_index_test_1.sh: Refactor code into common file.
+       * testsuite/gdb_index_test_2.sh: Likewise.
+       * testsuite/gdb_index_test_3.sh: Don't look for space after colon.
+       * testsuite/gdb_index_test_4.sh: New script.
+       * testsuite/gdb_index_test_comm.sh: New script with common code;
+       don't look for space after colon.
+
+2012-07-16  Sriraman Tallam  <tmsriram@google.com>
+
+       * gold.cc (queue_middle_tasks): Update function order only after
+       deferred objects due to plugins are processed.
+
+2012-07-11  Ian Lance Taylor  <iant@google.com>
+
+       * arm.cc (Arm_relocate_functions::abs16): Remove unused typedef.
+       (Arm_exidx_cantunwind::do_fixed_endian_write): Likewise.
+       (Target_arm::scan_reloc_for_stub): Likewise.
+       * common.cc (Symbol_table::do_allocate_commons_list): Likewise.
+       * dwarf_reader.cc (Dwarf_die::skip_attributes): Likewise.
+       * ehframe.cc (Eh_frame::do_add_ehframe_input_section): Likewise.
+       * incremental.cc (Sized_incr_dynobj::do_add_symbols): Likewise.
+       * powerpc.cc (Target_powerpc::relocate_tls): Likewise.
+
+2012-07-10  Dodji Seketeli  <dodji@redhat.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       PR gold/14309
+       * configure.ac: Test whether std::tr1::hash<off_t> works.
+       * gold.h: Add a specialization for std::tr1::hash<off_t> if
+       needed.
+       * output.h (class Output_fill): Add virtual destructor.
+       * configure, config.in: Rebuild.
+
+2012-06-22  Roland McGrath  <mcgrathr@google.com>
+
+       * layout.cc (finalize): Define __ehdr_start symbol if applicable.
+
+2012-06-12  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * plugin.cc (Plugin::load): Handle position independent executables.
+
+2012-06-06  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (gdb_sections): Remove ".debug_" prefixes,
+       add .debug_macro.
+       (lines_only_debug_sections): Likewise.
+       (gdb_fast_lookup_sections): New static array.
+       (is_gdb_debug_section): Rename formal parameter.
+       (is_lines_only_debug_section): Likewise.
+       (is_gdb_fast_lookup_section): New function.
+       (Layout::include_section): Check for ".zdebug_" prefix; pass
+       section name suffix to is_gdb_debug_section, et al.; check for
+       fast-lookup sections when building .gdb_index.
+       * options.h (--strip-debug-gdb): Update GDB version number.
+
+2012-06-06  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Add check for fallocate.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+       * options.h (class General_options): Add --mmap-output-file and
+       --posix-fallocate options.
+       * output.cc: (posix_fallocate): Remove; replace with...
+       (gold_fallocate): New function.
+       (Output_file::map_no_anonymous): Call gold_fallocate.
+       (Output_file::map): Check --mmap-output-file option.
+
+2012-06-05  Jing Yu  <jingyu@google.com>
+
+       * gold.h (textdomain): Add do {} to empty while(0).
+       (bindtextdomain): Likewise.
+
+2012-06-04  Cary Coutant  <ccoutant@google.com>
+
+       * dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call
+       has_dynsym_index.
+
+2012-05-25  Sriraman Tallam  <tmsriram@google.com>
+
+       * symtab.cc (Symbol_table::define_special_symbol):
+       Initialize *poldsym to prevent uninitialized variable errors.
+
+2012-05-23  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::section_name_mapping): Add rules to handle
+       exact match on .data.rel.ro.local or .data.rel.ro.
+       (Layout::output_section_name): Check for exact matches.
+
+2012-05-23  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::section_name_mapping): Match .data.rel.ro.*
+       more carefully.
+
+2012-05-22  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.cc (Symbol::should_add_dynsym_entry): Check for relocatable
+       object before exporting symbol.
+
+2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/tls_test.cc: Include "config.h" first.
+       * testsuite/tls_test_c.c: Likewise.
+
+2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * configure.in: Add check that sysdep.h has been included before
+       any system header files.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2012-05-14  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::make_output_section): Mark .tdata section
+       as RELRO.
+       * testsuite/relro_test.cc: Add a TLS variable.
+
+2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/14091
+       * x86_64.cc (Target_x86_64::Scan::local): For x32, generate
+       R_X86_64_RELATIVE64 instead of R_X86_64_RELATIVE in case of
+       R_X86_64_64.
+
+2012-05-08  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (gdb_sections): Update GDB version, add .debug_addr.
+       (lines_only_debug_sections): Likewise.
+
+2012-05-02  Roland McGrath  <mcgrathr@google.com>
+
+       * nacl.cc: New file.
+       * nacl.h: New file.
+       * Makefile.am (CCFILES, HFILES): Add them.
+       * Makefile.in: Regenerate.
+       * i386.cc (Output_data_plt_i386_nacl): New class.
+       (Output_data_plt_i386_nacl_exec): New class.
+       (Output_data_plt_i386_nacl_dyn): New class.
+       (Target_i386_nacl): New class.
+       (Target_selector_i386_nacl): New class.
+       (target_selector_i386): Use it instead of Target_selector_i386.
+       * x86_64.cc (Output_data_plt_x86_64_nacl): New class.
+       (Target_x86_64_nacl): New class.
+       (Target_selector_x86_64_nacl): New class.
+       (target_selector_x86_64, target_selector_x32): Use it instead of
+       Target_selector_x86_64.
+       * arm.cc (Output_data_plt_arm_nacl): New class.
+       (Target_arm_nacl): New class.
+       (Target_selector_arm_nacl): New class.
+       (target_selector_arm, target_selector_armbe): Use it instead of
+       Target_selector_arm.
+
+       * target-select.cc (select_target): Take new Input_file* and off_t
+       arguments, pass them on to recognize method of selector.
+       * object.cc (make_elf_sized_object): Update caller.
+       * parameters.cc (parameters_force_valid_target): Likewise.
+       * incremental.cc (make_sized_incremental_binary): Likewise.
+       * target-select.h: Update decl.
+       (Target_selector::recognize): Take new Input_file* argument,
+       pass it on to do_recognize.
+       (Target_selector::do_recognize): Take new Input_file* argument.
+       * freebsd.h (Target_selector_freebsd::do_recognize): Likewise.
+       * powerpc.cc (Target_selector_powerpc::do_recognize): Likewise.
+       * sparc.cc (Target_selector_sparc::do_recognize): Likewise.
+       * testsuite/testfile.cc (Target_selector::do_recognize): Likewise.
+
+       * target.h (Target::Target_info): New members isolate_execinstr
+       and rosegment_gap.
+       (Target::isolate_execinstr, Target::rosegment_gap): New methods.
+       * arm.cc (Target_arm::arm_info): Update initializer.
+       * i386.cc (Target_i386::i386_info): Likewise.
+       * powerpc.cc (Target_powerpc::powerpc_info): Likewise.
+       * sparc.cc (Target_sparc::sparc_info): Likewise.
+       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
+       * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
+       * layout.cc (Layout::attach_allocated_section_to_segment):
+       Take new const Target* argument.  If target->isolate_execinstr(), act
+       like --rosegment.
+       (Layout::find_first_load_seg): Take new const Target* argument;
+       if target->isolate_execinstr(), reject PF_X segments.
+       (Layout::relaxation_loop_body): Update caller.
+       (Layout::set_segment_offsets): If target->isolate_execinstr(),
+       reset file offset to zero when we hit LOAD_SEG, and then do a second
+       loop over the segments before LOAD_SEG to reassign offsets after
+       addresses have been determined.  Handle target->rosegment_gap().
+       (Layout::attach_section_to_segment): Take new const Target* argument;
+       pass it to attach_allocated_section_to_segment.
+       (Layout::make_output_section): Update caller.
+       (Layout::attach_sections_to_segments): Take new const Target* argument;
+       pass it to attach_section_to_segment.
+       * gold.cc (queue_middle_tasks): Update caller.
+       * layout.h (Layout): Update method decls with new arguments.
+
+       * arm.cc (Target_arm::Target_arm): Take optional argument for the
+       Target_info pointer to use.
+       (Target_arm::do_make_data_plt): New virtual method.
+       (Target_arm::make_data_plt): New method that calls it.
+       (Target_arm::make_plt_entry): Use it.
+       (Output_data_plt_arm::Output_data_plt_arm): Take additional argument
+       for the section alignment.
+       (Output_data_plt_arm::do_first_plt_entry_offset): New abstract virtual
+       method.
+       (Output_data_plt_arm::first_plt_entry_offset): Call it.
+       (Output_data_plt_arm::do_get_plt_entry_size): New abstract virtual
+       method.
+       (Output_data_plt_arm::get_plt_entry_size): Call it.
+       (Output_data_plt_arm::do_fill_plt_entry): New abstract virtual method.
+       (Output_data_plt_arm::fill_plt_entry): New method that calls it.
+       (Output_data_plt_arm::do_fill_first_plt_entry): New abstract virtual
+       method.
+       (Output_data_plt_arm::fill_first_plt_entry): New method that calls it.
+       (Output_data_plt_arm::set_final_data_size): Use get_plt_entry_size
+       method instead of sizeof(plt_entry).
+       (Output_data_plt_arm::add_entry): Likewise.
+       Use first_plt_entry_offset method instead of sizeof(first_plt_entry).
+       (Target_arm::first_plt_entry_offset): Call method on this->plt_ rather
+       than static method.
+       (Target_arm::plt_entry_size): Likewise.
+       (Output_data_plt_arm::first_plt_entry, Output_data_plt_arm::plt_entry):
+       Move to ...
+       (Output_data_plt_arm_standard): ... here, new class.
+       (Output_data_plt_arm::do_write): Move guts of PLT filling to...
+       (Output_data_plt_arm_standard::do_fill_first_plt_entry): ... here ...
+       (Output_data_plt_arm_standard::do_fill_plt_entry): ... and here.
+
+       * x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64):
+       Take additional argument for the PLT entry size.
+       (Output_data_plt_x86_64::get_tlsdesc_plt_offset):
+       Use get_plt_entry_size method rather than plt_entry_size variable.
+       (Output_data_plt_x86_64::reserve_slot): Likewise.
+       (Output_data_plt_x86_64::do_adjust_output_section): Likewise.
+       (Output_data_plt_x86_64::add_entry): Likewise.
+       (Output_data_plt_x86_64::add_local_ifunc_entry): Likewise.
+       (Output_data_plt_x86_64::address_for_global): Likewise.
+       (Output_data_plt_x86_64::address_for_local): Likewise.
+       (Output_data_plt_x86_64::set_final_data_size): Likewise.
+       (Output_data_plt_x86_64::first_plt_entry_offset): Likewise.
+       Make method non-static.
+       (Output_data_plt_x86_64::do_get_plt_entry_size): New abstract virtual
+       method.
+       (Output_data_plt_x86_64::get_plt_entry_size): Just call that.
+       (Output_data_plt_x86_64::do_add_eh_frame): New abstract virtual method.
+       (Output_data_plt_x86_64::add_eh_frame): New method to call it.
+       (Output_data_plt_x86_64::do_fill_first_plt_entry): New abstract
+       virtual method.
+       (Output_data_plt_x86_64::fill_first_plt_entry): New method to call it.
+       (Output_data_plt_x86_64::do_fill_plt_entry): New abstract
+       virtual method.
+       (Output_data_plt_x86_64::fill_plt_entry): New method to call it.
+       (Output_data_plt_x86_64::do_fill_tlsdesc_entry): New abstract
+       virtual method.
+       (Output_data_plt_x86_64::fill_tlsdesc_entry): New method to call it.
+       (Output_data_plt_x86_64::plt_entry_size)
+       (Output_data_plt_x86_64::first_plt_entry)
+       (Output_data_plt_x86_64::plt_entry)
+       (Output_data_plt_x86_64::tlsdesc_plt_entry)
+       (Output_data_plt_x86_64::plt_eh_frame_fde_size)
+       (Output_data_plt_x86_64::plt_eh_frame_fde): Move to ...
+       (Output_data_plt_x86_64_standard): ... here, new class.
+       (Target_x86_64::Target_x86_64): Take optional argument for the
+       Target_info pointer to use.
+       (Target_x86_64::do_make_data_plt): New virtual method.
+       (Target_x86_64::make_data_plt): New method to call it.
+       (Target_x86_64::init_got_plt_for_update): Use that.
+       Call this->plt_->add_eh_frame method here.
+       (Output_data_plt_x86_64::init): Don't do add_eh_frame_for_plt here.
+       (Target_x86_64::first_plt_entry_offset): Call method on this->plt_
+       rather than static method.
+       (Target_x86_64::plt_entry_size): Likewise.
+       (Output_data_plt_x86_64::do_write): Use get_plt_entry_size method
+       rather than plt_entry_size variable.  Move guts of PLT filling to...
+       (Output_data_plt_x86_64_standard::do_fill_first_plt_entry): ... here ...
+       (Output_data_plt_x86_64_standard::do_fill_plt_entry): ... and here ...
+       (Output_data_plt_x86_64_standard::do_fill_tlsdesc_entry): ... and here.
+
+       * i386.cc (Output_data_plt_i386::Output_data_plt_i386): Take
+       additional argument for the section alignment.
+       Don't do add_eh_frame_for_plt here.
+       (Output_data_plt_i386::first_plt_entry_offset): Make the method
+       non-static.  Use get_plt_entry_size method rather than plt_entry_size
+       variable.
+       (Output_data_plt_i386::do_get_plt_entry_size): New abstract virtual
+       method.
+       (Output_data_plt_i386::get_plt_entry_size): Call it.
+       (Output_data_plt_i386::do_add_eh_frame): New abstract virtual method.
+       (Output_data_plt_i386::add_eh_frame): New method to call it.
+       (Output_data_plt_i386::do_fill_first_plt_entry): New abstract virtual
+       method.
+       (Output_data_plt_i386::fill_first_plt_entry): New method to call it.
+       (Output_data_plt_i386::do_fill_plt_entry): New abstract virtual
+       method.
+       (Output_data_plt_i386::fill_plt_entry): New method to call it.
+       (Output_data_plt_i386::set_final_data_size): Use get_plt_entry_size
+       method instead of plt_entry_size.
+       (Output_data_plt_i386::plt_entry_size)
+       (Output_data_plt_i386::plt_eh_frame_fde_size)
+       (Output_data_plt_i386::plt_eh_frame_fde): Move to ...
+       (Output_data_plt_i386_standard): ... here, new class.
+       (Output_data_plt_i386_exec): New class.
+       (Output_data_plt_i386::exec_first_plt_entry): Move to ...
+       (Output_data_plt_i386_exec::first_plt_entry): ... here.
+       (Output_data_plt_i386::exec_plt_entry): Move to ...
+       (Output_data_plt_i386_exec::plt_entry): ... here.
+       (Output_data_plt_i386_dyn): New class.
+       (Output_data_plt_i386::first_plt_entry): Move to ...
+       (Output_data_plt_i386_dyn::first_plt_entry): ... here.
+       (Output_data_plt_i386::dyn_plt_entry): Move to ...
+       (Output_data_plt_i386_dyn::plt_entry): ... here.
+       (Target_i386::Target_i386): Take optional argument for the Target_info
+       pointer to use.
+       (Target_i386::do_make_data_plt): New virtual method.
+       (Target_i386::make_data_plt): New method to call it.
+       (Target_i386::make_plt_section): Use that.
+       Call this->plt_->add_eh_frame method here.
+       (Output_data_plt_i386::add_entry): Use get_plt_entry_size method
+       rather than plt_entry_size variable.
+       (Output_data_plt_i386::add_local_ifunc_entry): Likewise.
+       (Output_data_plt_i386::address_for_local): Likewise.
+       (Output_data_plt_i386::do_write): Likewise.
+       Move guts of PLT filling to...
+       (Output_data_plt_i386_exec::do_fill_first_plt_entry): ... here ...
+       (Output_data_plt_i386_exec::do_fill_plt_entry): ... and here ...
+       (Output_data_plt_i386_dyn::do_fill_first_plt_entry): ... and here ...
+       (Output_data_plt_i386_dyn::do_fill_plt_entry): ... and here.
+
+2012-05-01  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Dwarf_die::read_attributes)
+       (Dwarf_die::skip_attributes, Dwarf_die::int_attribute)
+       (Dwarf_die::uint_attribute): Remove DW_FORM_null.
+       * reduced_debug_output.cc
+       (Output_reduced_debug_info_section::get_die_end): Remove
+       DW_FORM_GNU_ref_index.  Add default case.
+
+2012-04-26  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf_reader.cc (Dwarf_die::address_attribute): New function.
+       * dwarf_reader.h (Dwarf_die::address_attribute): Likewise.
+       * gdb-index.cc (Gdb_index_info_reader::record_cu_ranges): Handle
+       DW_AT_high_pc as offset from DW_AT_low_pc.
+
+       * testsuite/Makefile.am (gdb_index_test_3.sh): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gdb_index_test_3.c: New test source file.
+       * testsuite/gdb_index_test_3.sh: New test source file.
+
+2012-04-25  Ian Lance Taylor  <iant@google.com>
+
+       * arm.cc (Target_arm::do_is_defined_by_abi): Make sym a const
+       pointer.
+       (Stub_addend_reader::operator()): Declare Arm_relocate_functions
+       as a class, not a struct.
+       (Target_arm::scan_span_for_cortex_a8_erratum): Likewise.
+       (Target_arm::apply_cortex_a8_workaround): Likewise.
+       * gc.h: Declare Reloc_types as a struct, not a class.
+       * object.h: Declare Symbols_data as a struct.
+       * reloc.h: Declare Read_relocs_data as a struct.
+       * target.h: Declare Relocate_info as a struct.
+
+2012-04-24  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Target_sparc::Relocate::relax_call): New function.
+       (Target_sparc::Relocate::relocate): Call it for R_SPARC_WDISP30
+       and R_SPARC_WPLT30.
+
+2012-04-24  Cary Coutant  <ccoutant@google.com>
+
+       * incremental-dump.cc (find_input_containing_global): Replace
+       magic number with symbolic constant.
+       (dump_incremental_inputs): Update version number.
+       * incremental.cc (Output_section_incremental_inputs): Update version
+       number; import symbolic constants from Incremental_inputs_reader.
+       (Incremental_inputs::create_data_sections): Align relocations
+       section correctly for 64-bit targets.
+       (Output_section_incremental_inputs::set_final_data_size): Use symbolic
+       constants; add padding.
+       (Output_section_incremental_inputs::write_header): Add assert for
+       header_size.
+       (Output_section_incremental_inputs::write_input_files): Add assert
+       for input_entry_size.
+       (Output_section_incremental_inputs::write_info_blocks): Add padding;
+       add assert for object_info_size, input_section_entry_size,
+       global_sym_entry_size.
+       * incremental.h (Incremental_inputs_reader): Add symbolic constants
+       for data structure sizes; use them.
+       (Incremental_input_entry_reader): Import symbolic constants from
+       Incremental_inputs_reader; use them.
+
+2012-04-23  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (class Target_sparc): Add elf_machine_, elf_flags_,
+       and elf_flags_set_.
+       (Target_sparc::Target_sparc): Initialize new fields.
+       (Target_sparc::do_make_elf_object): New function.
+       (Target_sparc::do_adjust_elf_header): New function.
+
+2012-04-23  Cary Coutant  <ccoutant@google.com>
+
+       * gdb-index.cc (Gdb_index::do_write): Use Swap_aligned32 for writing
+       CU range table of gdb index.
+
+2012-04-20  David S. Miller  <davem@davemloft.net>
+
+       * target.cc (Sized_target::do_adjust_elf_header): Use big_endian
+       instead of false.
+
+2012-04-16  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Target_sparc::got_address): New function.
+       (Sparc_relocate_functions::gdop_hix22): New function.
+       (Sparc_relocate_functions::gdop_lox10): New function.
+       (Target_sparc::Scan::local): Do not emit a GOT entry for GOTDATA
+       relocs.
+       (Target_sparc::Scan::local): Likewise if the global symbol is not
+       preemptible and is not IFUNC.
+       (Target_sparc::Relocate::relocate): Perform GOTDATA code
+       transformations for local and non-preemptible non-IFUNC global
+       symbols.
+
+       * gdb-index.cc (Gdb_index::do_write): Use Swap_unaligned when
+       writing out 64-bit part of ranges.
+
+       * Makefile.am: Build IFUNC tests with -fPIC and -fPIE instead of
+       -fpic and -fpie respectively.
+       * Makefile.in: Regenerate.
+
+       * sparc.cc (class Target_sparc): Add rela_ifunc_.
+       (Target_sparc::Target_sparc): Initialize new field.
+       (Target_sparc::do_plt_section_for_global): New function.
+       (Target_sparc::do_plt_section_for_local): New function.
+       (Target_sparc::reloc_needs_plt_for_ifunc): New function.
+       (Target_sparc::make_plt_section): New function, broken out of
+       make_plt_entry.  Use ORDER_NON_RELRO_FIRST for ".plt".
+       (Target_sparc::make_plt_entry): Call make_plt_section.
+       (Target_sparc::make_local_ifunc_plt_entry): New function.
+       (Target_sparc::rela_ifunc_section): New function.
+       (Target_sparc::plt_section): Remove const.
+       (Output_data_plt_sparc): Update declarations.  Define Global_ifunc
+       and Local_ifunc types.  Add global_ifuncs_, local_ifuncs_, ifunc_rel_,
+       and ifunc_count_ fields.
+       (Output_data_plt_sparc::Output_data_plt_sparc): Initialize new fields.
+       (Output_data_plt_sparc::add_entry): Handle IFUNC symbols.
+       (Output_data_plt_sparc::add_local_ifunc_entry): New function.
+       (Output_data_plt_sparc::rela_ifunc): New function.
+       (Output_data_plt_sparc::emit_pending_ifunc_relocs): New function.
+       (Output_data_plt_sparc::has_ifunc_section): New function.
+       (Output_data_plt_sparc::entry_count): Include ifunc_count_.
+       (Output_data_plt_sparc::address_for_global): New function.
+       (Output_data_plt_sparc::address_for_local): New function.
+       (Output_data_plt_sparc::plt_index_to_offset): New function.
+       (Output_data_plt_sparc::set_final_data_size): Use plt_index_to_offset
+       and entry_count.
+       (Output_data_plt_sparc::do_write): Use first_plt_entry_offset and
+       entry_count.
+       (Target_sparc::Scan::get_reference_flags): Add R_SPARC_IRELATIVE and
+       R_SPARC_JMP_IREL to switch.
+       (Target_sparc::Scan::check_non_pic): Likewise.
+       (Target_sparc::Scan::local): Handle IFUNC symbols.
+       (Target_sparc::Scan::local): Likewise.
+       (Target_sparc::Relocate::relocate): Likewise, use plt_address_for_global
+       and plt_address_for_local.
+       (Target_sparc::do_finalize_sections): Call emit_pending_ifunc_relocs.
+       Define __rel_iplt_start and __rel_iplt_end if doing a static link.
+
+       * output.h (Output_reloc): Allow use_plt_offset for global relocs too.
+       (class Output_data_reloc): Adjust calls to Output_reloc_type.
+       (Output_data_reloc::add_global_relative): (RELA only) Add use_plt_offset.
+       * output.cc (Output_reloc::Output_reloc): Add use_plt_offset flag for
+       global relocs too.
+       (Output_reloc::symbol_value): Respect use_plt_offset_ for global symbols.
+       * powerpc.cc (Target_powerpc::Scan::global): Adjust add_global_relative
+       calls.
+       * sparc.cc (Target_sparc::Scan::global): Likewise.
+       * x86_64.cc (Target_x86_64::Scan::global): Likewise.
+
+2012-04-16  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Library_base::should_include_member): Check for
+       --export-dynamic-symbol.
+       * options.h (class General_options): Add --export-dynamic-symbol.
+       * symtab.cc (Symbol::should_add_dynsym_entry): Check for
+       --export-dynamic-symbol.
+       (Symbol_table::gc_mark_undef_symbols): Likewise.
+       (Symbol_table::do_add_undefined_symbols_from_command_line): Likewise.
+
+2012-04-12  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Reloc::wdisp10): New relocation method.
+       (Reloc::h34): Likewise.
+       (Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
+       (Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
+       R_SPARC_WDISP10.
+       (Target_sparc::Scan::local): Likewise.
+       (Target_sparc::Scan::global): Likewise.
+       (Target_sparc::Relocate::relocate): Likewise.
+
+2012-04-09  Cary Coutant  <ccoutant@google.com>
+
+       * gdb-index.cc (Gdb_index_info_reader::record_cu_ranges): Allow
+       low_pc == 0.
+
+2012-04-06  Ian Lance Taylor  <iant@google.com>
+
+       * timer.cc: #include <unistd.h>.
+
+2012-04-06  Roland McGrath  <mcgrathr@google.com>
+
+       * configure.in (AC_CHECK_HEADERS): Add locale.h.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2012-04-05  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (AC_CHECK_FUNCS): Add setlocale.
+       (AM_LC_MESSAGES): Add.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2012-03-21  Cary Coutant  <ccoutant@google.com>
+
+       * Makefile.am: Add gdb-index.cc, gdb-index.h.
+       * Makefile.in: Regenerate.
+       * dwarf_reader.cc (Sized_elf_reloc_mapper::do_initialize): New function.
+       (Sized_elf_reloc_mapper::symbol_section): New function.
+       (Sized_elf_reloc_mapper::do_get_reloc_target): New function.
+       (make_elf_reloc_mapper): New function.
+       (Dwarf_abbrev_table::clear_abbrev_codes): New function.
+       (Dwarf_abbrev_table::do_read_abbrevs): New function.
+       (Dwarf_abbrev_table::do_get_abbrev): New function.
+       (Dwarf_ranges_table::read_ranges_table): New function.
+       (Dwarf_ranges_table::read_range_list): New function.
+       (Dwarf_pubnames_table::read_section): New function.
+       (Dwarf_pubnames_table::read_header): New function.
+       (Dwarf_pubnames_table::next_name): New function.
+       (Dwarf_die::Dwarf_die): New function.
+       (Dwarf_die::read_attributes): New function.
+       (Dwarf_die::skip_attributes): New function.
+       (Dwarf_die::set_name): New function.
+       (Dwarf_die::set_linkage_name): New function.
+       (Dwarf_die::attribute): New function.
+       (Dwarf_die::string_attribute): New function.
+       (Dwarf_die::int_attribute): New function.
+       (Dwarf_die::uint_attribute): New function.
+       (Dwarf_die::ref_attribute): New function.
+       (Dwarf_die::child_offset): New function.
+       (Dwarf_die::sibling_offset): New function.
+       (Dwarf_info_reader::check_buffer): New function.
+       (Dwarf_info_reader::parse): New function.
+       (Dwarf_info_reader::do_parse): New function.
+       (Dwarf_info_reader::do_read_string_table): New function.
+       (Dwarf_info_reader::lookup_reloc): New function.
+       (Dwarf_info_reader::get_string): New function.
+       (Dwarf_info_reader::visit_compilation_unit): New function.
+       (Dwarf_info_reader::visit_type_unit): New function.
+       (Sized_dwarf_line_info::Sized_dwarf_line_info): Use
+       Sized_elf_reloc_mapper.
+       (Sized_dwarf_line_info::symbol_section): Remove function.
+       (Sized_dwarf_line_info::read_relocs): Use Sized_elf_reloc_mapper.
+       (Sized_dwarf_line_info::read_line_mappings): Remove object
+       parameter, adjust callers.
+       (Sized_dwarf_line_info::format_file_lineno): Fix type of cast.
+       * dwarf_reader.h: Include <sys/types.h>.
+       (class Track_relocs): Remove forward declaration.
+       (class Elf_reloc_mapper): New class.
+       (class Sized_elf_reloc_mapper): New class.
+       (class Dwarf_abbrev_table): New class.
+       (class Dwarf_range_list): New class.
+       (class Dwarf_ranges_table): New class.
+       (class Dwarf_pubnames_table): New class.
+       (class Dwarf_die): New class.
+       (class Dwarf_info_reader): New class.
+       (Sized_dwarf_line_info::read_line_mappings): Remove object parameter.
+       (Sized_dwarf_line_info::symbol_section): Remove member function.
+       * dynobj.h (Sized_dynobj::do_section_contents): Refactor code from
+       base class.
+       * gdb-index.cc: New source file.
+       * gdb-index.h: New source file.
+       * incremental.cc (Sized_relobj_incr::do_layout): Track .debug_info
+       and .debug_types sections, call Layout::add_to_gdb_index.
+       (Sized_relobj_incr::do_section_name): Implement.
+       (Sized_relobj_incr::do_section_contents): Adjust parameter list and
+       return type; Implement.
+       (Sized_incr_dynobj::do_section_contents): Adjust parameter list and
+       return type.
+       * incremental.h (Sized_relobj_incr::do_section_contents): Adjust
+       parameter list and return type.
+       (Sized_incr_dynobj::do_section_contents): Likewise.
+       * layout.cc: Include gdb-index.h.
+       (Layout::Layout): Initialize gdb_index_data_.
+       (Layout::init_fixed_output_section): Check for .gdb_index section.
+       (Layout::add_to_gdb_index): New function. Instantiate.
+       * layout.h: Add forward declaration for class Gdb_index.
+       (Layout::add_to_gdb_index): New member function.
+       (Layout::gdb_index_data_): New data member.
+       * main.cc: Include gdb-index.h.
+       (main): Print statistics for gdb index.
+       * object.cc (Object::section_contents): Move code into
+       do_section_contents.
+       (need_decompressed_section): Check for sections needed when building
+       gdb index.
+       (build_compressed_section_map): Likewise.
+       (Sized_relobj_file::do_read_symbols): Need local symbols when building
+       gdb index.
+       (Sized_relobj_file::do_layout): Track .debug_info and .debug_types
+       sections; call Layout::add_to_gdb_index.
+       (Sized_relobj_file::do_decompressed_section_contents): Call
+       do_section_contents directly.
+       * object.h (Object::do_section_contents): Adjust parameter list and
+       return type.
+       (Object::do_decompressed_section_contents): Call do_section_contents
+       directly.
+       (Sized_relobj_file::do_section_contents): Adjust parameter list and
+       return type.
+       * options.h (class General_options): Add --gdb-index option.
+       * plugin.cc (Sized_pluginobj::do_section_contents): Adjust parameter
+       list and return type.
+       * plugin.h (Sized_pluginobj::do_section_contents): Likewise.
+       * reloc.h (Track_relocs::checkpoint): New function.
+       (Track_relocs::reset): New function.
+
+       * testsuite/Makefile.am (gdb_index_test_1.sh, gdb_index_test_2.sh):
+       New test cases.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gdb_index_test.cc: New test source file.
+       * testsuite/gdb_index_test_1.sh: New test source file.
+       * testsuite/gdb_index_test_2.sh: New test source file.
+
+2012-03-19  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_define_standard_symbols): New method.
+       (Target_arm::do_finalize_sections): Remove code which defines
+       __exidx_start and __exidx_end.  Make symbol table parameter
+       anonymous as it is not used.
+       * gold.cc (queue_middle_tasks): Call target hook to define any
+       target-specific symbols.
+       * target.h (Target::define_standard_symbols): New method.
+       (Target::do_define_standard_symbols): Same.
+       * testsuite/Makefile.am (arm_exidx_test): Dump relocations also.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_exidx.s: Generate data relocations for __exidx_start
+       and __exidx_end.
+       * testsuite/arm_exidx_test.sh: Check that no unused dynamic
+       relocations are generated for __exidx_start and __exidx_end.
+
+2012-03-16  Doug Kwan  <dougkwan@google.com>
+
+       * testsuite/Makefile.am: Disable test initpri3b.
+       * testsuite/Makefile.in: Regenerate.
+
+2012-03-15  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::got_section): Make .got section read-only
+       if -z now is given.
+
+2012-03-15  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/13850
+       * layout.cc (Layout::make_output_section): Correctly mark
+       SHT_INIT_ARRAY, et. al., as relro.
+
+2012-03-14  Doug Kwan  <dougkwan@google.com>
+
+       * gold/arm.cc (Target_arm::Scan::global): Generate R_ARM_GLOB_DAT
+       dynamic relocations for protected symbols in shared objects.
+
+2012-03-13  Ian Lance Taylor  <iant@google.com>
+
+       * resolve.cc (Symbol_table::resolve): When merging common symbols,
+       keep the larger alignment.
+
+2012-03-12  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Sized_dwarf_line_info::process_one_opcode): Fix
+       handling of DW_LNE_define_file.
+
+2012-03-12  Cary Coutant  <ccoutant@google.com>
+
+       * reduced_debug_output.cc
+       (Output_reduced_debug_info_section::get_die_end): Add new FORM
+       codes to switch.
+
+2012-02-29  Cary Coutant  <ccoutant@google.com>
+
+       * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.
+
+2012-02-29  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
+       Call Object::decompressed_section_contents.
+       * dwarf_reader.h (Sized_dwarf_line_info::~Sized_dwarf_line_info):
+       New dtor.
+       (Sized_dwarf_line_info::buffer_start_): New data member.
+       * merge.cc (Output_merge_data::do_add_input_section): Call
+       Object::decompressed_section_contents.
+       (Output_merge_string::do_add_input_section): Likewise.
+       * object.cc (need_decompressed_section): New function.
+       (build_compressed_section_map): Decompress sections needed later.
+       (Sized_relobj_file::do_decompressed_section_contents): New function.
+       (Sized_relobj_file::do_discard_decompressed_sections): New function.
+       * object.h (Object::decompressed_section_contents): New function.
+       (Object::discard_decompressed_sections): New function.
+       (Object::do_decompressed_section_contents): New function.
+       (Object::do_discard_decompressed_sections): New function.
+       (Compressed_section_info): New type.
+       (Compressed_section_map): Include decompressed section contents.
+       (Sized_relobj_file::do_decompressed_section_contents): New function.
+       (Sized_relobj_file::do_discard_decompressed_sections): New function.
+
+2012-02-16  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.
+       * testsuite/Makefile.in: Regenerate.
+
+2012-02-14  Cary Coutant  <ccoutant@google.com>
+
+       * options.cc (General_options::finalize): Disallow -pie and -static.
+
+2012-02-03  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relocate_functions::abs8,
+       Arm_relocate_functions::abs16): Use
+       Bits::has_signed_unsigned_overflow32.
+       (Arm_relocate_functions::thm_abs8): Correct range of
+       overflow check.
+       * reloc.h (Bits class): Change minimum number of bits from 0 to 1
+       in assertions.
+
+2012-02-02  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Reloc_stub::stub_type_for_reloc): Use PIC stubs in all
+       position independent outputs, not just shared objects.
+
+2012-01-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Check if -fpic -mtls-dialect=gnu2 works.
+       * configure: Regenerated.
+
+2012-01-27  Ian Lance Taylor  <iant@google.com>
+
+       * reloc.h (Bits): New class with static functions, copied from
+       namespace utils in arm.cc.
+       * arm.cc (namespace utils): Remove.  Rewrite all uses to use Bits
+       instead.
+
+2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * incremental.cc (write_info_blocks): Correct relocation offset.
+
+2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (Relocate::tls_gd_to_ie): Support x32.
+       (Relocate::tls_gd_to_le): Likewise.
+
+2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (Scan::global): Support x32 IFUNC function pointer.
+
+2012-01-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Check if -mcmodel=medium works.
+       * configure: Regenerated.
+
+2012-01-24  Cary Coutant  <ccoutant@google.com>
+
+       * int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
+       definition and ...
+       (read_unsigned_LEB_128_x): ... this new function.
+       (read_signed_LEB_128): Replaced with inline definition and ...
+       (read_signed_LEB_128_x): ... this new function.
+       * int_encoding.h  (read_unsigned_LEB_128_x): New function.
+       (read_unsigned_LEB_128): Add inline definition.
+       (read_signed_LEB_128_x): New function.
+       (read_signed_LEB_128): Add inline definition.
+       * testsuite/Makefile.am (leb128_unittest): New unit test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/leb128_unittest.cc: New unit test.
+
+2012-01-23  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/13617
+       * i386.cc (Target_i386::do_code_fill): When using a jmp
+       instruction, pad with nop instructions.
+       * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
+
+2012-01-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (gc_process_relocs): Add typename on types used in
+       template.
+       (scan_relocs): Likewise.
+       (relocate_section): Likewise.
+       (apply_relocation): Likewise.
+
+2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32.
+       (Scan::local): Use R_X86_64_RELATIVE relocation for R_X86_64_32
+       under x32.
+
+2012-01-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86_64.cc: Initial support for x32.
+
+2012-01-03  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_incremental_binary::do_process_got_plt):
+       Use abstract base class for GOT.
+       * output.h (class Output_data_got_base): New abstract base class.
+       (class Output_data_got): Derive from new base class, adjust ctors.
+       (Output_data_got::reserve_slot): Make virtual; rename to
+       do_reserve_slot; Adjust callers.
+       * target.h (Sized_target::init_got_plt_for_update): Return
+       pointer to abstract base class.
+       * x86_64.cc (Target_x86_64::init_got_plt_for_update): Likewise.
+
+2011-12-18  Ian Lance Taylor  <iant@google.com>
+
+       * object.h (Relobj::local_symbol_value): New function.
+       (Relobj::local_plt_offset): New function.
+       (Relobj::local_has_got_offset): New function.
+       (Relobj::local_got_offset): New function.
+       (Relobj::set_local_got_offset): New function.
+       (Relobj::do_local_symbol_value): New pure virtual function.
+       (Relobj::do_local_plt_offset): Likewise.
+       (Relobj::do_local_has_got_offset): Likewise.
+       (Relobj::do_local_got_offset): Likewise.
+       (Relobj::do_set_local_got_offset): Likewise.
+       (Sized_relobj::do_local_has_got_offset): Rename from
+       local_has_got_offset.
+       (Sized_relobj::do_local_got_offset): Rename from local_got_offset.
+       (Sized_relobj::do_set_local_got_offset): Rename from
+       set_local_got_offset.
+       (Sized_relobj_file::do_local_plt_offset): Rename from
+       local_plt_offset.
+       (Sized_relobj_file::do_local_symbol_value): New function.
+       * object.cc (Sized_relobj_file::do_local_plt_offset): Rename from
+       local_plt_offset.
+       * output.cc (Output_data_got::Got_entry::write): Change object to
+       Relobj.  Use local_symbol_value.
+       (Output_data_got::add_global_with_rel): Change rel_dyn to
+       Output_data_reloc_generic*.  Use add_global_generic.
+       (Output_data_got::add_global_with_rela): Remove.  Change all
+       callers to use add_global_with_rel.
+       (Output_data_got::add_global_pair_with_rel): Change rel_dyn to
+       Output_data_reloc_generic*.  Use add_global_generic.
+       (Output_data_got::add_global_pair_with_rela): Remove.  Change all
+       callers to use add_global_pair_with_rel.
+       (Output_data_got::add_local): Change object to Relobj*.
+       (Output_data_got::add_local_plt): Likewise.
+       (Output_data_got::add_local_with_rel): Change object to Relobj*,
+       change rel_dyn to Output_data_reloc_generic*.  Use
+       add_local_generic.
+       (Output_data_got::add_local_with_rela): Remove.  Change all
+       callers to use all_local_with_rel.
+       (Output_data_got::add_local_pair_with_rel): Change object to
+       Relobj*, change rel_dyn to Output_data_reloc_generic*.  Use
+       add_output_section_generic.
+       (Output_data_got::add_local_pair_with_rela): Remove.  Change all
+       callers to use add_local_pair_with_rel.
+       (Output_data_got::reserve_local): Change object to Relobj*.
+       * output.h: (class Output_data_reloc_generic): Add pure virtual
+       declarations for add_global_generic, add_local_generic,
+       add_output_section_generic.
+       (class Output_data_reloc) [SHT_REL, SHT_RELA]: Implement new
+       functions for Output_data_reloc_generic.  Update declarations for
+       changes listed in output.cc.
+       (class Output_data_got): Change template parameter to got_size.
+       Don't define Rel_dyn or Rela_dyn.  Update declarations per above.
+       * incremental.h (Sized_relobj_incr::do_local_symbol_value): New
+       function.
+       (Sized_relobj_incr::do_local_plt_offset): New function.
+       * copy-relocs.cc (Copy_relocs::Copy_reloc_entry::emit): Call
+       add_global_generic.
+
+2011-12-17  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Add casts.
+       * resolve.cc (Symbol_table::resolve): Likewise.
+       * i386.cc (Target_i386::do_code_fill): Use char constants for nop
+       arrays.
+       * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
+
+2011-12-16  Ian Lance Taylor  <iant@google.com>
+
+       * output.h (Output_data_reloc_generic::add): Only call
+       add_dynamic_reloc if this is a dynamic reloc section.
+
+2011-12-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/13505
+       * target-reloc.h (apply_relocation): Replace <64, false> with
+       <size, big_endian>.
+
+2011-11-25  Nick Clifton  <nickc@redhat.com>
+
+       * po/it.po: New Italian translation.
+
+2011-11-17  Sterling Augustine  <saugustine@google.com>
+
+       * script.cc (script_include_directive): Implement.
+       (read_script_file): New local variables name and search_path. Update
+       comment. Call IS_ABSOLUTE_PATH and Dirsearch::find_file_in_dir_list.
+       * dirsearch.h (Dirsearch::find_file_in_dir_list): Declare new method.
+       * dirsearch.cc (Dirsearch::find_file_in_dir_list): Implement it.
+
+2011-11-11  Sterling Augustine  <saugustine@google.com>
+
+       * yyscript.y (section_cmd): Add support for INCLUDE directive.
+       (file_or_sections_cmd): Likewise.
+
+2011-11-11  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_make_elf_object): Allow executable also
+       if --just-symbols is given.
+
+2011-11-10  Doug Kwan  <dougkwan@google.com>
+
+       PR gold/13362
+       * arm.cc (Target_arm::Relocate::relocate_tls): Do unaligned accesses
+       when processing data relocs.
+       * reloc.h (Relocate_functions::rel_unaligned): New method.
+       (Relocate_functions::pcrel_unaligned): Ditto.
+       (Relocate_functions::rel32_unaligned): Ditto.
+       (Relocate_functions::pcrel32_unaligned): Ditto.
+
+2011-11-09  Doug Kwan  <dougkwan@google.com>
+
+       PR gold/13362
+       * arm.cc (Arm_scan_relocatable_relocs::Default_scan_relocatable_relocs):
+       Use unaligned 4-byte relocs for static 32-bit data as required by EABI.
+       * reloc.h (Relocatable_relocs::Reloc_strategy): New enum
+       RELOC_ADJUST_FOR_SECTION_4_UNALIGNED.
+       (Relocate_functions::rel_unaligned): New.
+       (Relocate_functions::rel32_unaligned): New.
+       * target-reloc.h (relocate_for_relocatable): Add code to handle
+       RELOC_ADJUST_FOR_SECTION_4_UNALIGNED.
+       * testsuite/Makefile.am (arm_unaligned_reloc_r.stdout,
+       arm_unaligned_reloc_r): New targets.
+       * testsuite/Makefile.in: Regenerate.
+       * arm_unaligned_reloc.sh: Check unaligned relocs in relocatable
+       linking.
+
+2011-11-02  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Add --with-lib-path option.  Define LIB_PATH and
+       NATIVE_LINKER.
+       * Makefile.am (AM_CPPFLAGS): Define TOOLLIBDIR.
+       * options.cc (General_options::finalize): Use library search path
+       from configure script if specified.  If not native and no sysroot,
+       only search TOOLLIBDIR.
+       * options.h (Search_directory::Search_directory): Change name to
+       const std::string&.
+       (General_options::add_to_library_path_with_sysroot): Change arg to
+       const std::string&.
+       * configure, Makefile.in, config.in: Rebuild.
+
+2011-11-02  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.cc (Target_arm::may_use_v5t_interworking): Check whether
+       we are working around the ARM1176 Erratum.
+       * options.h (General_options::fix_arm1176): Add option.
+       * testsuite/Makefile.am: Add testcases, and keep current ones
+       working.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_fix_1176.s: New file.
+       * testsuite/arm_fix_1176.sh: Likewise.
+
+2011-11-02  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.cc (Target_arm::Target_arm): Remove initialisation of
+       may_use_blx_.
+       (Target_arm::may_use_blx): Remove method.
+       (Target_arm::set_may_use_blx): Likewise.
+       (Target_arm::may_use_v4t_interworking): New method.
+       (Target_arm::may_use_v5t_interworking): Likewise.
+       (Target_arm::may_use_blx_): Remove member variable.
+       (Arm_relocate_functions::arm_branch_common): Check for v5T
+       interworking.
+       (Arm_relocate_functions::thumb_branch_common): Likewise.
+       (Reloc_stub::stub_type_for_reloc): Likewise.
+       (Target_arm::do_finalize_sections): Correct interworking checks.
+       * testsuite/Makefile.am: Add new tests.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_farcall_arm_arm.s: New test.
+       * testsuite/arm_farcall_arm_arm.sh: Likewise.
+       * testsuite/arm_farcall_arm_thumb.s: Likewise.
+       * testsuite/arm_farcall_arm_thumb.sh: Likewise.
+       * testsuite/arm_farcall_thumb_arm.s: Likewise.
+       * testsuite/arm_farcall_thumb_arm.sh: Likewise.
+       * testsuite/arm_farcall_thumb_thumb.s: Likewise.
+       * testsuite/arm_farcall_thumb_thumb.sh: Likewise.
+
+2011-10-31  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/13023
+       * expression.cc (Expression::eval_with_dot): Add
+       is_section_dot_assignment parameter.
+       (Expression::eval_maybe_dot): Likewise.  Adjust value when rhs is
+       absolute and assigning to dot within a section.
+       * script-sections.cc
+       (Output_section_element_assignment::set_section_addresses): Pass
+       dot_section to set_if_absolute.
+       (Output_section_element_dot_assignment::finalize_symbols): Pass TRUE
+       as is_section_dot_assignment flag to eval_with_dot.
+       (Output_section_element_dot_assignment::set_section_addresses):
+       Likewise.
+       * script.cc (Symbol_assignment::set_if_absolute): Add dot_section
+       parameter.  Also set value if relative to dot_section; set the
+       symbol's output_section.
+       * script.h (Expression::eval_with_dot): Add is_section_dot_assignment
+       parameter.  Adjust all callers.
+       (Expression::eval_maybe_dot): Likewise.
+       (Symbol_assignment::set_if_absolute): Add dot_section parameter.
+       Adjust all callers.
+       * testsuite/script_test_2.t: Test assignment of an absolute value
+       to dot within an output section element.
+
+2011-10-31  Cary Coutant  <ccoutant@google.com>
+
+       * options.h (class General_options): Add --[no-]gnu-unique options.
+       * symtab.cc (Symbol_table::sized_write_globals): Convert
+       STB_GNU_UNIQUE to STB_GLOBAL if --no-gnu-unique.
+
+2011-10-31  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/13359
+       * i386.cc (Target_i386::Relocate::relocate_tls): Remove
+       unnecessary assertion.
+       * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.
+
+2011-10-31 Sriraman Tallam  <tmsriram@google.com>
+
+       * symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
+       gc_mark_symbol.
+       * symtab.cc (Symbol_table::gc_mark_symbol_for_shlib): Rename to
+       gc_mark_symbol.
+       Change to just keep the section associated with symbol.
+       (Symbol_table::add_from_relobj): Mark symbols as not garbage when
+       they are externally visible and --export-dynamic is turned on.
+       (Symbol_table::gc_mark_dyn_syms): Call gc_mark_symbol.
+
+2011-10-19  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/13163
+       * script-sections.cc
+       (Output_section_element_dot_assignment::needs_output_section): New
+       function.
+
+2011-10-19  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/13204
+       * layout.cc (Layout::segment_precedes): Don't assert failure if a
+       --section-start option was seen.
+       * options.h (General_options::any_section_start): New function.
+
+2011-10-18  David S. Miller  <davem@davemloft.net>
+
+       PR binutils/13301
+       * sparc.cc (Target_sparc::Relocate::reloc_adjust_addr_): New
+       member to track relocation locations that have moved during TLS
+       reloc optimizations.
+       (Target_sparc::Relocate::Relocate): Initialize to NULL.
+       (Target_sparc::Relocate::relocate): Adjust view down by 4
+       bytes if it matches reloc_adjust_addr_.
+       (Target_sparc::Relocate::relocate_tls): Always move the
+       __tls_get_addr call delay slot instruction forward 4 bytes when
+       performing relaxation.
+
+2011-10-18  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (posix_fallocate): Return 0 on success, errno on failure.
+       (Output_file::map_no_anonymous): Check for non-zero
+       return code from posix_fallocate.
+
+2011-10-17  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/13245
+       * plugin.cc (is_visible_from_outside): Check for symbols
+       referenced from dynamic objects.
+       * resolve.cc (Symbol_table::resolve): Don't count references
+       from dynamic objects as references from real ELF files.
+       * testsuite/plugin_test_2.sh: Adjust expected result.
+
+2011-10-17  Cary Coutant  <ccoutant@google.com>
+
+       * gold.cc: Include timer.h.
+       (queue_middle_tasks): Stamp time.
+       (queue_final_tasks): Likewise.
+       * main.cc (main): Store timer in parameters.  Print timers
+       for each pass.
+       * parameters.cc (Parameters::Parameters): Initialize timer_.
+       (Parameters::set_timer): New function.
+       (set_parameters_timer): New function.
+       * parameters.h (Parameters::set_timer): New function.
+       (Parameters::timer): New function.
+       (Parameters::timer_): New data member.
+       (set_parameters_timer): New function.
+       * timer.cc (Timer::stamp): New function.
+       (Timer::get_pass_time): New function.
+       * timer.h (Timer::stamp): New function.
+       (Timer::get_pass_time): New function.
+       (Timer::pass_times_): New data member.
+
+2011-10-17  Cary Coutant  <ccoutant@google.com>
+
+       * readsyms.cc (Read_symbols::run): Don't queue an unblocker
+       task for members of lib groups.
+
+2011-10-17  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/13288
+       * fileread.cc (File_read::find_view): Add assert.
+       (File_read::make_view): Move bounds check (replace with assert)...
+       (File_read::find_or_make_view): ... to here.
+
+2011-10-12  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (Output_file::open_base_file): Handle case where
+       ::read returns less than requested size.
+
+2011-10-10  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_relobj_incr::Sized_relobj_incr):
+       Initialize defined_count_.
+       (Sized_relobj_incr::do_add_symbols): Count defined symbols.
+       (Sized_relobj_incr::do_get_global_symbol_counts): Rewrite.
+       (Sized_incr_dynobj::Sized_incr_dynobj): Initialize defined_count_.
+       (Sized_incr_dynobj::do_add_symbols): Count defined symbols.
+       (Sized_incr_dynobj::do_get_global_symbol_counts): Rewrite.
+       * incremental.h (Sized_relobj_incr::defined_count_): New data
+       member.
+       (Sized_incr_dynobj::defined_count_): New data member.
+       * plugin.cc (Sized_pluginobj::do_get_global_symbol_counts):
+       Return zeroes instead of internal error.
+
+2011-10-10  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/13249
+       * output.cc (Output_reloc::Output_reloc): Add use_plt_offset flag.
+       (Output_reloc::symbol_value): Return PLT offset if flag is set.
+       * output.h (class Output_reloc): Add use_plt_offset flag.
+       (Output_reloc::type_): Adjust size of bit field.
+       (Output_reloc::use_plt_offset_): New bit field.
+       (class Output_data_reloc): Adjust all calls to Output_reloc_type.
+       (Output_data_reloc::add_local_relative): (RELA only) Add use_plt_offset
+       flag.  Adjust all callers.
+       * x86_64.cc (Target_x86_64::Scan::local): Check for IFUNC when
+       creating RELATIVE relocations.
+
+2011-10-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+       * po/fi.po: Updated Finnish translation.
+
+2011-10-03   Diego Novillo  <dnovillo@google.com>
+
+       * options.cc (parse_uint): Fix dereference of RETVAL.
+
+2011-09-29  Sriraman Tallam  <tmsriram@google.com>
+
+       * layout.h (section_order_map_): New member.
+       (get_section_order_map): New member function.
+       * output.cc (Output_section::add_input_section): Check for patterns
+       only when --section-ordering-file is specified.
+       * gold.cc (queue_middle_tasks): Delay updating order of sections till
+       output_sections have been formed.
+       * layout.cc (Layout_Layout): Initialize section_order_map_.
+       * plugin.cc (update_section_order): Store order in order_map. Do not
+       update the order.
+       * testsuite/Makefile.am: Add test case for plugin_final_layout.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_section_order.c: New file.
+       * testsuite/plugin_final_layout.cc: New file.
+       * testsuite/plugin_final_layout.sh: New file.
+
+2011-09-29  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_incremental_binary::do_process_got_plt):
+       Check for NULL.
+       * symtab.cc (Symbol_table::add_from_relobj): Ignore version
+       symbols during incremental update.
+       (Symbol_table::add_from_dynobj): Likewise.
+
+2011-09-27  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol_table::define_special_symbol): Always
+       canonicalize version string.
+
+2011-09-26  Cary Coutant  <ccoutant@google.com>
+
+       * gold.cc (queue_initial_tasks): Move option checks ...
+       * options.cc (General_options::finalize): ... to here. Disable
+       some options; make others fatal.
+
+2011-09-26  Cary Coutant  <ccoutant@google.com>
+
+       gcc PR lto/47247
+       * plugin.cc (get_symbols_v2): New function.
+       (Plugin::load): Add LDPT_GET_SYMBOLS_V2.
+       (is_referenced_from_outside): New function.
+       (Pluginobj::get_symbol_resolution_info): Add version parameter, return
+       LDPR_PREVAILING_DEF_IRONLY_EXP when using new version.
+       (get_symbols): Pass version parameter.
+       (get_symbols_v2): New function.
+       * plugin.h (Pluginobj::get_symbol_resolution_info): Add version
+       parameter.
+       * testsuite/plugin_test.c (get_symbols_v2): New static variable.
+       (onload): Add LDPT_GET_SYMBOLS_V2.
+       (all_symbols_read_hook): Use get_symbols_v2; check for
+       LDPR_PREVAILING_DEF_IRONLY_EXP.
+       * testsuite/plugin_test_3.sh: Update expected results.
+
+2011-09-23  Simon Baldwin  <simonb@google.com>
+
+       * configure.ac: Add new --with-gold-ldadd and --with-gold-ldflags
+       configuration options.
+       * configure: Regenerate.
+       * Makefile.am: Handle GOLD_LDADD and GOLD_LDFLAGS.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-09-19  Sriraman Tallam  <tmsriram@google.com>
+
+       * plugin.h (should_defer_layout): Modify to check for any_claimed_.
+
+2011-09-19  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (can_incremental_update): Fix typo in comment.
+       * incremental.h (can_incremental_update): Likewise.
+
+2011-09-18  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (can_incremental_update): New function.
+       * incremental.h (can_incremental_update): New function.
+       * layout.cc (Layout::init_fixed_output_section): Call it.
+       (Layout::make_output_section): Don't allow patch space in .eh_frame.
+       * object.cc (Sized_relobj_file::do_layout): Call
+       can_incremental_update.
+
+2011-09-13  Cary Coutant  <ccoutant@google.com>
+
+       * configure.ac: Check for glibc support for gnu_indirect_function
+       support with static linking, setting automake conditional
+       IFUNC_STATIC.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+       * testsuite/Makefile.am (ifuncmain1static, ifuncmain2static)
+       (ifuncmain4static, ifuncmain5static, ifuncmain7static): Add check
+       for IFUNC_STATIC.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-09-13  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_relobj_incr::do_layout): Call
+       report_comdat_group for kept comdat sections.
+       * testsuite/Makefile.am (incremental_comdat_test_1): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/incr_comdat_test_1.cc: New source file.
+       * testsuite/incr_comdat_test_2_v1.cc: New source file.
+       * testsuite/incr_comdat_test_2_v2.cc: New source file.
+       * testsuite/incr_comdat_test_2_v3.cc: New source file.
+
+2011-09-13  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj_file::do_layout): Remove unused local
+       variable external_symbols_offset.
+
+2011-09-12  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj_file::do_layout): Remove assertion which
+       triggered if object has no symbols.
+
+2011-09-09  David S. Miller  <davem@davemloft.net>
+
+       * output.cc (Output_fill_debug_info::do_write): Use Swap_unaligned.
+       (Output_fill_debug_line::do_write): Likewise.
+
+2011-08-29  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc: (Output_fill_debug_info::do_minimum_hole_size): Add
+       casts to match formatting specs.
+       (Output_fill_debug_line::do_minimum_hole_size): Likewise.
+
+2011-08-26  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Free_list::allocate): Provide guarantee of minimum
+       remaining hole size when allocating.
+       (Layout::make_output_section): Set fill methods for debug sections.
+       * layout.h (Free_list::Free_list_node): Move from private to
+       public.
+       (Free_list::set_min_hole_size): New function.
+       (Free_list::begin, Free_list::end): New functions.
+       (Free_list::min_hole_): New data member.
+       * output.cc: Include dwarf.h.
+       (Output_fill_debug_info::do_minimum_hole_size): New function.
+       (Output_fill_debug_info::do_write): New function.
+       (Output_fill_debug_line::do_minimum_hole_size): New function.
+       (Output_fill_debug_line::do_write): New function.
+       (Output_section::Output_section): Initialize new data member.
+       (Output_section::set_final_data_size): Ensure patch space is larger
+       than minimum hole size.
+       (Output_section::do_write): Fill holes in debug sections.
+       * output.h (Output_fill): New class.
+       (Output_fill_debug_info): New class.
+       (Output_fill_debug_line): New class.
+       (Output_section::set_free_space_fill): New function.
+       (Output_section::free_space_fill_): New data member.
+       * testsuite/Makefile.am (incremental_test_3): Add
+       --incremental-patch option.
+       (incremental_test_4): Likewise.
+       (incremental_test_5): Likewise.
+       (incremental_test_6): Likewise.
+       (incremental_copy_test): Likewise.
+       (incremental_common_test_1): Likewise.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-08-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2011-08-01  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (justsyms_exec): New testcase.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/justsyms_exec.c: New source file.
+       * testsuite/justsyms_lib.c: New source file.
+
+2011-08-01  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::set_segment_offsets): Don't realign text
+       segment if -Ttext was specified.
+       * object.cc (Sized_relobj_file::Sized_relobj_file): Store the ELF
+       file type.
+       * object.h (Sized_relobj_file::e_type): New function.
+       (Sized_relobj_file::e_type_): New data member.
+       * symtab.cc (Symbol_table::add_from_relobj): Don't add section
+       base address for ET_EXEC files.
+       * target.cc (Target::do_make_elf_object_implementation): Allow
+       ET_EXEC files with --just-symbols option.
+
+2011-07-28  Cary Coutant  <ccoutant@google.com>
+
+       * workqueue-internal.h (Workqueue_threader::should_cancel_thread):
+       Add thread_number parameter.
+       (Workqueue_threader_threadpool::should_cancel_thread): Likewise.
+       * workqueue-threads.cc
+       (Workqueue_threader_threadpool::should_cancel_thread): Cancel
+       current thread if its thread number is greater than desired thread
+       count.
+       * workqueue.cc (Workqueue_threader_single::should_cancel_thread):
+       Add thread_number parameter.
+       (Workqueue::should_cancel_thread): Likewise.
+       (Workqueue::find_runnable_or_wait): Pass thread_number to
+       should_cancel_thread.
+       * workqueue.h (Workqueue::should_cancel_thread): Add thread_number
+       parameter.
+
+2011-07-22  Sriraman Tallam  <tmsriram@google.com>
+
+       * symtab.cc (Symbol_table::add_from_relobj): Mark symbol as referenced
+       only after checking if it cannot be forced local.
+       * symtab.h (is_externally_visible): Check if the symbol is not forced
+       local.
+
+2011-07-15  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add --print-output-format.
+       Move -EL next to -EB, for  better --help output.
+       * target-select.cc: Include <cstdio>, "options.h", and
+       "parameters.h".
+       (Target_selector::do_target_bfd_name): New function.
+       (print_output_format): New function.
+       * target-select.h (class Target_selector): Update declarations.
+       (Target_selector::target_bfd_name): New function.
+       (print_output_format): Declare.
+       * main.cc: Include "target-select.h".
+       (main): Handle --print-output-format.
+       * gold.cc: Include "target-select.h".
+       (queue_initial_tasks): Handle --print-output-format when there are
+       no input files.
+       * parameters.cc (parameters_force_valid_target): Give a better
+       error message if -EB/-EL does not match target.
+       * freebsd.h (Target_selector_freebsd::do_target_bfd_name): New
+       function.
+
+2011-07-15  Ian Lance Taylor  <iant@google.com>
+
+       * i386.cc (class Output_data_plt_i386): Add layout_ field.
+       (Output_data_plt_i386::Output_data_plt_i386): Initialize layout_.
+       (Output_data_plt_i386::do_write): Write address of .dynamic
+       section to first entry in .got.plt section.
+       * x86_64.cc (class Output_data_plt_x86_64): Add layout_ field.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
+       Initialize layout_.
+       (Output_data_plt_x86_64::do_write): Write address of .dynamic
+       section to first entry in .got.plt section.
+       * layout.h (Layout::dynamic_section): New function.
+
+2011-07-13  Sriraman Tallam  <tmsriram@google.com>
+
+       * archive.cc (Archive::get_elf_object_for_member): Add extra parameter
+       to claim_file call.
+       * layout.cc (Layout::Layout): Initialize section_ordering_specified_,
+       input_section_position_, and input_section_glob_.
+       (read_layout_from_file): Call function section_ordering_specified.
+       * layout.h (is_section_ordering_specified): New function.
+       (section_ordering_specified): New function.
+       (section_ordering_specified_): New boolean member.
+       * main.cc(main): Call load_plugins after layout object is defined.
+       * output.cc (Output_section::add_input_section): Use
+       function section_ordering_specified to check if section ordering is
+       needed.
+       * output.cc (Output_section::add_relaxed_input_section): Use
+       function section_ordering_specified to check if section ordering is
+       needed.
+       (Output_section::update_section_layout): New function.
+       (Output_section::sort_attached_input_sections): Check if input section
+       must be reordered.
+       * output.h (Output_section::update_section_layout): New function.
+       * plugin.cc (get_section_count): New function.
+       (get_section_type): New function.
+       (get_section_name): New function.
+       (get_section_contents): New function.
+       (update_section_order): New function.
+       (allow_section_ordering): New function.
+       (Plugin::load): Add the new interfaces to the transfer vector.
+       (Plugin_manager::load_plugins): New parameter.
+       (Plugin_manager::all_symbols_read): New parameter.
+       (Plugin_manager::claim_file): New parameter. Save the elf object for
+       unclaimed objects.
+       (Plugin_manager::get_elf_object): New function.
+       (Plugin_manager::get_view): Change to directly use the bool to check
+       if get_view is called from claim_file_hook.
+       * plugin.h (input_objects): New function
+       (Plugin__manager::load_plugins): New parameter.
+       (Plugin_manager::claim_file): New parameter.
+       (Plugin_manager::get_elf_object): New function.
+       (Plugin_manager::in_claim_file_handler): New function.
+       (Plugin_manager::in_claim_file_handler_): New member.
+       (layout): New function.
+       * readsyms.cc (Read_symbols::do_read_symbols): Call the claim_file
+       handler with an extra parameter. Make the elf object before calling
+       claim_file handler.
+       * testsuite/plugin_test.c (get_section_count): New function pointer.
+       (get_section_type): New function pointer.
+       (get_section_name): New function pointer.
+       (get_section_contents): New function pointer.
+       (update_section_order): New function pointer.
+       (allow_section_ordering): New function pointer.
+       (onload): Check if the new interfaces exist.
+
+2011-07-13  Ian Lance Taylor  <iant@google.com>
+
+       * i386.cc (Target_i386::got_section): If -z now, make .got.plt a
+       relro section.
+       * x86_64.cc (Target_x86_64::got_section): Likewise.
+       * testsuite/Makefile.am (check_PROGRAMS): Add relro_now_test.
+       (relro_now_test_SOURCES): New variable.
+       (relro_now_test_DEPENDENCIES): New variable.
+       (relro_now_test_LDFLAGS): New variable.
+       (relro_now_test_LDADD): New variable.
+       (relro_now_test.so): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-07-12  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12980
+       * i386.cc (Target_i386::Scan::global): For a GOT reloc, use a
+       GLOB_DAT relocation rather than a RELATIVE relocation for a
+       protected symbol when creating a shared library.
+       * x86_64.cc (Target_x86_64::Scan::global): Likewise.
+       * testsuite/protected_1.cc (f2, get_f2_addr): New functions.
+       * testsuite/protected_main_1.cc (main): Test that protected
+       function has same address.
+
+2011-07-11  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12979
+       * options.h (class General_options): Add -Bgroup.
+       * options.cc (General_options::finalize): If -Bgroup is set,
+       default to --unresolved-symbols=report-all.
+       * layout.cc (Layout::finish_dynamic_section): Implement -Bgroup.
+       * target-reloc.h (issue_undefined_symbol_error): Handle
+       --unresolved-symbols=report-all.
+
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/11985
+       * layout.cc (Layout::create_initial_dynamic_sections): Don't crash
+       if linker script discards key sections.
+       (Layout::create_dynamic_symtab): Likewise.
+       (Layout::assign_local_dynsym_offsets): Likewise.
+       (Layout::sized_create_version_sections): Likewise.
+       (Layout::create_interp): Likewise.
+       (Layout::finish_dynamic_section): Likewise.
+       (Layout::set_dynamic_symbol_size): Likewise.
+
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12386
+       * options.h (class General_options): Add --unresolved-symbols.
+       * target-reloc.h (issue_undefined_symbol_error): Check
+       --unresolved-symbols.  Add comments.
+
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/odr_violation2.cc (Ordering::operator()): Make
+       expression more complex.
+
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/11317
+       * target-reloc.h (issue_undefined_symbol_error): New inline
+       function, broken out of relocate_section.
+       (relocate_section): Call issue_undefined_symbol_error.
+       * i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
+       there is no TLS segment if we are about to issue an undefined
+       symbol error.
+       * x86_64.cc (Target_x86_64::relocate_tls): Likewise.
+
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12279
+       * resolve.cc (Symbol_table::should_override): Add fromtype
+       parameter.  Change all callers.  Give error when linking together
+       TLS and non-TLS symbol.
+       (Symbol_table::should_override_with_special): Add fromtype
+       parameter.  Change all callers.
+       * i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
+       there is no TLS segment if we have reported some errors.
+       * x86_64.cc (Target_x86_64::relocate_tls): Likewise.
+
+2011-07-08  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12372
+       * target.h (Target::plt_address_for_global): New function.
+       (Target::plt_address_for_local): New function.
+       (Target::plt_section_for_global): Remove.
+       (Target::plt_section_for_local): Remove.
+       (Target::do_plt_address_for_global): New virtual function.
+       (Target::do_plt_address_for_local): New virtual function.
+       (Target::do_plt_section_for_global): Remove.
+       (Target::do_plt_section_for_local): Remove.
+       (Target::register_global_plt_entry): Add Symbol_table and Layout
+       parameters.
+       * output.cc (Output_data_got::Got_entry::write): Use
+       plt_address_for_global and plt_address_for_local.
+       * layout.cc (Layout::add_target_dynamic_tags): Use size and
+       address of output section.
+       * i386.cc (class Output_data_plt_i386): Add irelative_rel_,
+       got_irelative_, and irelative_count_ fields.  Update
+       declarations.
+       (Output_data_plt_i386::has_irelative_section): New function.
+       (Output_data_plt_i386::entry_count): Add irelative_count_.
+       (Output_data_plt_i386::set_final_data_size): Likewise.
+       (class Target_i386): Add got_irelative_ and rel_irelative_
+       fields.  Update declarations.
+       (Target_i386::Target_i386): Initialize new fields.
+       (Target_i386::do_plt_address_for_global): New function replacing
+       do_plt_section_for_global.
+       (Target_i386::do_plt_address_for_local): New function replacing
+       do_plt_section_for_local.
+       (Target_i386::got_section): Create got_irelative_.
+       (Target_i386::rel_irelative_section): New function.
+       (Output_data_plt_i386::Output_data_plt_i386): Initialize new
+       fields.  Don't define __rel_iplt_{start,end}.
+       (Output_data_plt_i386::add_entry): Add symtab and layout
+       parameters.  Change all callers.  Use different PLT and GOT for
+       IFUNC symbols.
+       (Output_data_plt_i386::add_local_ifunc_entry): Add symtab and
+       layout parameters.  Change all callers.  Use different PLT and
+       GOT.
+       (Output_data_plt_i386::rel_tls_desc): Fix formatting.
+       (Output_data_plt_i386::rel_irelative): New function.
+       (Output_data_plt_i386::address_for_global): New function.
+       (Output_data_plt_i386::address_for_local): New function.
+       (Output_data_plt_i386::do_write): Write out IRELATIVE area.  Use
+       IRELATIVE GOT when changing IFUNC GOT entries.
+       (Target_i386::Scan::global): Use IRELATIVE GOT for IRELATIVE
+       reloc.
+       (Target_i386::do_finalize_sections): Create the __rel_iplt symbols
+       if we didn't create an IRELATIVE GOT.
+       (Target_i386::Relocate::relocate): Use plt_address_for_global and
+       plt_address_for_local.
+       (Target_i386::do_dynsym_value): Use plt_address_for_global.
+       * x86_64.cc (class Output_data_plt_x86_64): Add irelative_rel_,
+       got_irelative_, and irelative_count_ fields.  Update
+       declarations.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
+       Initialize new fields.  Remove symtab parameter.  Change all
+       callers.
+       (Output_data_plt_x86_64::get_tlsdesc_plt_offset): Add
+       irelative_count_.
+       (Output_data_plt_x86_64::has_irelative_section): New function.
+       (Output_data_plt_x86_64::entry_count): Add irelative_count_.
+       (class Target_x86_64): Add got_irelative_ and rel_irelative_
+       fields.  Update declarations.
+       (Target_x86_64::Target_x86_64): Initialize new fields.
+       (Target_x86_64::do_plt_address_for_global): New function replacing
+       do_plt_section_for_global.
+       (Target_x86_64::do_plt_address_for_local): New function replacing
+       do_plt_section_for_local.
+       (Target_x86_64::got_section): Create got_irelative_.
+       (Target_x86_64::rela_irelative_section): New function.
+       (Output_data_plt_x86_64::init): Remove symtab parameter.  Change
+       all callers.  Don't create __rel_iplt_{start,end}.
+       (Output_data_plt_x86_64::add_entry): Add symtab and layout
+       parameters.  Change all callers.  Use different PLT and GOT for
+       IFUNC symbols.
+       (Output_data_plt_x86_64::add_local_ifunc_entry): Add symtab and
+       layout parameters.  Change all callers.  Use different PLT and
+       GOT.
+       (Output_data_plt_x86_64::add_relocation): Add symtab and layout
+       parameters.  Change all callers.  Use different PLT and GOT for
+       IFUNC symbols.
+       (Output_data_plt_x86_64::rela_tlsdesc): Fix formatting.
+       (Output_data_plt_x86_64::rela_irelative): New function.
+       (Output_data_plt_x86_64::address_for_global): New function.
+       (Output_data_plt_x86_64::address_for_local): New function.
+       (Output_data_plt_x86_64::set_final_data_size): Likewise.
+       (Output_data_plt_x86_64::do_write): Write out IRELATIVE area.
+       (Target_x86_64::init_got_plt_for_update): Create got_irelative_.
+       (Target_x86_64::register_global_plt_entry): Add symtab and layout
+       parameters.
+       (Target_x86_64::Scan::global): Use IRELATIVE GOT for IRELATIVE
+       reloc.
+       (Target_x86_64::do_finalize_sections): Create the __rela_iplt
+       symbols if we didn't create an IRELATIVE GOT.
+       (Target_x86_64::Relocate::relocate): Use plt_address_for_global and
+       plt_address_for_local.
+       (Target_x86_64::do_dynsym_value): Use plt_address_for_global.
+       * testsuite/ifuncvar1.c: New test file.
+       * testsuite/ifuncvar2.c: New test file.
+       * testsuite/ifuncvar3.c: New test file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add ifuncvar.
+       (ifuncvar1_pic.o, ifuncvar2_pic.o, ifuncvar.so): New targets.
+       (ifuncvar_SOURCES, ifuncvar_DEPENDENCIES): New variables.
+       (ifuncvar_LDFLAGS, ifuncvar_LDADD): New variables.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-07-07  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (two_file_test_1_v1_ndebug.o): New target.
+       (two_file_test_1_ndebug.o): Likewise.
+       (two_file_test_1b_ndebug.o): Likewise.
+       (two_file_test_2_ndebug.o): Likewise.
+       (two_file_test_main_ndebug.o): Likewise.
+       (incremental_test_2): Link with no-debug versions.
+
+2011-07-06  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc
+       (Output_section_incremental_inputs::write_info_blocks): Check for
+       hidden and internal symbols.
+
+2011-07-06  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_incremental_binary::do_file_has_changed):
+       Check disposition for startup file.
+       (Incremental_inputs::report_command_line): Ignore
+       --incremental-startup-unchanged option.
+       * options.cc (General_options::parse_incremental_startup_unchanged):
+       New function.
+       (General_options::General_options): Initialize new data member.
+       * options.h (Incremental_disposition): Add INCREMENTAL_STARTUP.
+       (General_options): Add --incremental-startup-unchanged option.
+       (General_options::incremental_startup_disposition): New function.
+       (General_options::incremental_startup_disposition_): New data member.
+
+2011-07-06  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_incremental_binary::setup_readers): Pass
+       input file index to Script_info ctor.
+       (Sized_incremental_binary::do_file_has_changed): Find the
+       command-line argument for files named in scripts.
+       * incremental.h (Script_info::Script_info): New ctor
+       with input file index.
+       (Script_info::input_file_index): New function.
+       (Script_info::input_file_index_): New data member.
+       (Incremental_binary::get_library): Add const.
+       (Incremental_binary::get_script_info): Add const.
+       * readsyms.cc (Read_member::is_runnable): Check for this_blocker_.
+       * testsuite/Makefile.am (incremental_test_5): New test case.
+       (incremental_test_6): New test case.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-07-06  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_incremental_binary::do_check_inputs): Add
+       debug output when command lines differ.
+
+2011-07-06  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Incremental_inputs::report_command_line): Ignore
+       --incremental-patch option.
+       * layout.cc (Free_list::allocate): Extend allocation beyond original
+       end if enabled.
+       (Layout::make_output_section): Mark sections that should get
+       patch space.
+       * options.cc (parse_percent): New function.
+       * options.h (parse_percent): New function.
+       (DEFINE_percent): New macro.
+       (General_options): Add --incremental-patch option.
+       * output.cc (Output_section::Output_section): Initialize new data
+       members.
+       (Output_section::add_input_section): Print section name when out
+       of patch space.
+       (Output_section::add_output_section_data): Likewise.
+       (Output_section::set_final_data_size): Add patch space when
+       doing --incremental-full.
+       (Output_section::do_reset_address_and_file_offset): Remove patch
+       space.
+       (Output_segment::set_section_list_addresses): Print debug output
+       only if --incremental-update.
+       * output.h (Output_section::set_is_patch_space_allowed): New function.
+       (Output_section::is_patch_space_allowed_): New data member.
+       (Output_section::patch_space_): New data member.
+       * parameters.cc (Parameters::incremental_full): New function.
+       * parameters.h (Parameters::incremental_full): New function
+       * testsuite/Makefile.am (incremental_test_2): Add test for
+       --incremental-patch option.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/two_file_test_1_v1.cc (t1, t2, t3): Add comments.
+       (t18): Remove function body.
+
+2011-07-05  Doug Kwan  <dougkwan@google.com>
+
+       PR gold/12771
+       * arm.cc (Arm_relocate_functions::abs8): Use int32_t for addend and
+       Arm_Address type for relocation result.
+       (Arm_relocate_functions::abs16): Use unaligned access.  Also fix
+       overflow check.
+       (Arm_relocate_functions::abs32): Use unaligned access.
+       (Arm_relocate_functions::rel32): Ditto.
+       (Arm_relocate_functions::prel31): Ditto.
+       (Arm_exidix_cantunwind::do_fixed_endian_write): Ditto.
+       * testsuite/Makefile.am: Add new test arm_unaligned_reloc for unaligned
+       static data relocations.
+       * testsuite/Makefile.in: Regnerate.
+       * testsuite/arm_unaligned_reloc.{s,sh}: New files.
+
+2011-07-05  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12392
+       * i386.cc (Target_i386::do_finalize_sections): Define __rel_iplt
+       symbols if necessary.
+       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
+
+2011-07-05  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12952
+       * resolve.cc (Symbol::override_base_with_special): Simply override
+       version with special symbol version, ignoring previous version.
+
+2011-07-05  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj_file::include_section_group): Add
+       information to comment about signature location.
+
+2011-07-02  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12957
+       * options.h (class General_options): Add -f and -F.
+       * options.cc (General_options::finalize): Fatal error if -f/-F
+       are used without -shared.
+       * layout.cc (Layout::finish_dynamic_section): Implement -f/-F.
+
+2011-07-02  Ian Lance Taylor  <iant@google.com>
+
+       * dirsearch.cc (Dir_cache::read_files): Ignore ENOTDIR errors.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       PR gold/12952
+       * resolve.cc (Symbol::override_base_with_special): Don't override
+       the version if the overriding symbol has a different name.
+       * dynobj.cc (Versions::add_def): Add dynpool parameter.  Change
+       all callers.  If we give an error about an undefined version,
+       define the base version if necessary.
+       * dynobj.h (class Versions): Update declaration.
+       * testsuite/weak_alias_test_5.cc: New file.
+       * testsuite/weak_alias_test.script: New file.
+       * testsuite/weak_alias_test_main.cc: Check that versioned_symbol
+       and versioned_alias have the right value, and call t2.
+       * testsuite/Makefile.am (weak_alias_test_DEPENDENCIES): Add
+       weak_alias_test_5.so.
+       (weak_alias_test_LDADD): Likewise.
+       (weak_alias_test_5_pic.o, weak_alias_test_5.so): New targets.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       * options.h (class General_options): Support -z notext.
+       * testsuite/Makefile.am (two_file_shared_1_nonpic.so): Use
+       -Wl,-z,notext.
+       (two_file_shared_nonpic.so): Likewise.
+       (two_file_shared_mixed.so): Likewise.
+       (two_file_shared_mixed_1.so): Likewise.
+       (weak_undef_lib_nonpic.so): Likewise.
+       (alt/weak_undef_lib_nonpic.so): Likewise.
+       (tls_test_shared_nonpic.so): Likewise.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       * configure.ac: Test whether static linking works, setting
+       the automake conditional HAVE_STATIC.
+       * testsuite/Makefile.am: Disable tests using -static if
+       HAVE_STATIC is not true.
+       * configure, testsuite/Makefile.in: Rebuild.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       * ehframe.cc (Eh_frame_hdr::get_fde_pc): Handle DW_EH_PE_datarel.
+       Assert if we see DW_EH_PE_indirect.
+       * target.h (Target::ehframe_datarel_base): New function.
+       (Target::do_ehframe_datarel_base): New target function.
+       * i386.cc (Target_i386::do_ehframe_datarel_base): New function.
+       * x86_64.cc (Target_x86_64::do_ehframe_datarel_base): New
+       function.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12571
+       * options.h (class General_options): Add
+       --ld-generated-unwind-info.
+       * ehframe.cc (Fde::write): Add address parameter.  Change all
+       callers.  If associated with PLT, fill in address and size.
+       (Cie::set_output_offset): Only add merge mapping if there is an
+       object.
+       (Cie::write): Add address parameter.  Change all callers.
+       (Eh_frame::add_ehframe_for_plt): New function.
+       * ehframe.h (class Fde): Update declarations.  Move shndx_ and
+       input_offset_ fields into union u_, with new plt field.
+       (Fde::Fde): Adjust for new union field.
+       (Fde::Fde) [Output_data version]: New constructor.
+       (Fde::add_mapping): Only add merge mapping if there is an object.
+       (class Cie): Update declarations.
+       (class Eh_frame): Declare add_ehframe_for_plt.
+       * layout.cc (Layout::layout_eh_frame): Break out code into
+       make_eh_frame_section, and call it.
+       (Layout::make_eh_frame_section): New function.
+       (Layout::add_eh_frame_for_plt): New function.
+       * layout.h (class Layout): Update declarations.
+       * merge.cc (Merge_map::add_mapping): Add assertion.
+       * i386.cc: Include "dwarf.h".
+       (class Output_data_plt_i386): Make first_plt_entry,
+       dyn_first_plt_entry, exec_plt_entry, and dyn_plt_entry const.  Add
+       plt_eh_frame_cie_size, plt_eh_frame_fde_size, plt_eh_frame_cie,
+       and plt_eh_frame_fde.
+       (Output_data_plt_i386::Output_data_plt_i386): Align to 16-byte
+       boundary.  Call add_eh_frame_for_plt if appropriate.
+       * x86_64.cc: Include "dwarf.h".
+       (class Output_data_plt_x86_64): Align to 16-byte boundary.  Make
+       first_plt_entry, plt_entry and tlsdesc_plt_entry const.  Add
+       plt_eh_frame_cie_size, plt_eh_frame_fde_size, plt_eh_frame_cie,
+       and plt_eh_frame_fde.
+       (Output_data_plt_x86_64::init): Call add_eh_frame_for_plt if
+       appropriate.
+
+2011-06-29  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12629
+       * object.cc (Sized_relobj_file::layout_section): Change shdr
+       parameter to be const.
+       (Sized_relobj_file::layout_eh_frame_section): New function, broken
+       out of do_layout.
+       (Sized_relobj_file::do_layout): Defer .eh_frame sections if
+       appropriate.  Call layout_eh_frame_section.
+       (Sized_relobj_file::do_layout_deferred_sections): Handle .eh_frame
+       sections.
+       * object.h (class Sized_relobj_file): Update declarations.
+
+2011-06-29  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12652
+       * script.cc (Token::integer_value): Accept trailing M/m/K/k
+       modifier.
+       (Lex::gather_token): Accept trailing M/m/K/k for integers.
+
+2011-06-29  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12675
+       * object.cc (Sized_relobj_file::check_eh_frame_flags): Check for
+       SHT_X86_64_UNWIND.
+       * layout.cc (Layout::layout_eh_frame): Likewise.
+
+2011-06-29  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12695
+       * layout.cc (Layout::symtab_section_shndx): New function.
+       * layout.h (class Layout): Declare symtab_section_shndx.
+       * output.cc (Output_section::write_header): Call it.
+
+2011-06-29  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12818
+       * symtab.cc (Symbol::should_add_dynsym_entry): Don't add undefined
+       symbols which are not used in a relocation.
+
+2011-06-28  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12898
+       * layout.cc (Layout::segment_precedes): Don't crash if a linker
+       script create indistinguishable segments.
+       (Layout::set_segment_offsets): Use stable_sort when sorting
+       segments.  Pass this to Compare_segments constructor.
+       * layout.h (class Layout): Make segment_precedes non-static.
+       (class Compare_segments): Change from struct to class.  Add
+       layout_ field.  Add constructor.
+       * script-sections.cc
+       (Script_sections::attach_sections_using_phdrs_clause): Rename
+       local orphan to is_orphan.  Don't report failure to put empty
+       section in segment.  On attachment failure, report name of
+       section, and attach to first PT_LOAD segment.
+
+2011-06-28  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12934
+       * target-select.cc (Target_selector::Target_selector): Add
+       emulation parameter.  Change all callers.
+       (select_target_by_bfd_name): Rename from select_target_by_name.
+       Change all callers.
+       (select_target_by_emulation): New function.
+       (supported_emulation_names): New function.
+       * target-select.h (class Target_selector): Add emulation_ field.
+       Update declarations.
+       (Target_selector::recognize_by_bfd_name): Rename from
+       recognize_by_name.  Change all callers.
+       (Target_selector::supported_bfd_names): Rename from
+       supported_names.  Change all callers.
+       (Target_selector::recognize_by_emulation): New function.
+       (Target_selector::supported_emulations): New function.
+       (Target_selector::emulation): New function.
+       (Target_selector::do_recognize_by_bfd_name): Rename from
+       do_recognize_by_name.  Change all callers.
+       (Target_selector::do_supported_bfd_names): Rename from
+       do_supported_names.  Change all callers.
+       (Target_selector::do_recognize_by_emulation): New function.
+       (Target_selector::do_supported_emulations): New function.
+       (select_target_by_bfd_name): Change name in declaration.
+       (select_target_by_emulation): Declare.
+       (supported_emulation_names): Declare.
+       * parameters.cc (parameters_force_valid_target): Try to find
+       target based on emulation from -m option.
+       * options.h (class General_options): Change doc string for -m.
+       * options.cc (help): Print emulations.
+       (General_options::parse_V): Likewise.
+       * freebsd.h (Target_selector_freebsd::Target_selector_freebsd):
+       Add emulation parameter.  Change all callers.
+
+2011-06-28  Ian Lance Taylor  <iant@google.com>
+
+       * target.h (class Target): Add osabi_ field.
+       (Target::osabi): New function.
+       (Target::set_osabi): New function.
+       (Target::Target): Initialize osabi_.
+       (Target::do_adjust_elf_header): Make pure virtual.
+       (Sized_target::do_adjust_elf_header): Declare.
+       * target.cc (Sized_target::do_adjust_elf_header): New function.
+       (class Sized_target): Instantiate all versions.
+       * freebsd.h (class Target_freebsd): Remove.
+       (Target_selector_freebsd::do_recognize): Call set_osabi on
+       Target.
+       (Target_selector_freebsd::do_recognize_by_name): Likewise.
+       (Target_selector_freebsd::set_osabi): Remove.
+       * i386.cc (class Target_i386): Inherit from Sized_target rather
+       than Target_freebsd.
+       * x86_64.cc (class Target_x86_64): Likewise.
+
+2011-06-28  Ian Lance Taylor  <iant@google.com>
+
+       * target.h (Target::can_check_for_function_pointers): Rewrite.
+       Make non-virtual.
+       (Target::can_icf_inline_merge_sections): Likewise.
+       (Target::section_may_have_icf_unsafe_poineters): Likewise.
+       (Target::Target_info): Add can_icf_inline_merge_sections field.
+       (Target::do_can_check_for_function_pointers): New virtual
+       function.
+       (Target::do_section_may_have_icf_unsafe_pointers): Likewise.
+       * arm.cc (Target_arm::do_can_check_for_function_pointers): Rename
+       from can_check_for_function_pointers, move in file.
+       (Target_arm::do_section_may_have_icf_unsafe_pointers): Rename from
+       section_may_have_icf_unsafe_poineters, move in file.
+       (Target_arm::arm_info): Initialize can_icf_inline_merge_sections.
+       * i386.cc (Target_i386::do_can_check_for_function_pointers):
+       Rename from can_check_for_function_pointers, move in file.
+       (Target_i386::can_icf_inline_merge_sections): Remove.
+       (Target_i386::i386_info): Initialize
+       can_icf_inline_merge_sections.
+       * powerpc.cc (Target_powerpc::powerpc_info) [all versions]:
+       Initialize can_icf_inline_merge_sections.
+       * sparc.cc (Target_sparc::sparc_info) [both version]: Likewise.
+       * x86_64.cc (Target_x86_64::do_can_check_for_function_pointers):
+       Rename from can_check_for_function_pointers, move in file.
+       (Target_x86_64::can_icf_inline_merge_sections): Remove.
+       (Target_x86_64::x86_64_info): Initialize
+       can_icf_inline_merge_sections.
+       * testsuite/testfile.cc (Target_test::test_target_info):
+       Likewise.
+       * icf.cc (get_section_contents): Correct formatting.
+
+2011-06-27  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol::versioned_name): New function.
+       (Symbol_table::add_to_final_symtab): Use versioned_name when
+       appropriate.
+       (Symbol_table::sized_write_symbol): Likewise.
+       * symtab.h (class Symbol): Declare versioned_name.
+       * stringpool.h (class Stringpool_template): Add variant of add
+       which takes a std::basic_string.
+       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_12.
+       (ver_test_12_SOURCES, ver_test_12_DEPENDENCIES): New variables.
+       (ver_test_12_LDFLAGS, ver_test_12_LDADD): New variables.
+       (ver_test_12.o): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-06-27  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relocate_functions::thm_jump8,
+       Arm_relocate_functions::thm_jump11): Use a wider signed
+       type to compute offset.
+       * testsuite/Makefile.am: Add new tests arm_thm_jump11 and
+       arm_thm_jump8.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_branch_in_range.sh: Check test results of
+       arm_thm_jump11 and arm_thm_jump8.
+       * testsuite/arm_thm_jump11.s: New test source file.
+       * testsuite/arm_thm_jump11.t: New linker script.
+       * testsuite/arm_thm_jump8.s: New test source file.
+       * testsuite/arm_thm_jump8.t: New linker script.
+
+2011-06-24  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc: Include "object.h".
+       (ctors_sections_in_init_array): New static variable.
+       (Layout::is_ctors_in_init_array): New function.
+       (Layout::layout): Add entry to ctors_sections_in_init_array if
+       appropriate.
+       * layout.h (class Layout): Declare is_ctors_in_init_array.
+       * reloc.cc (Sized_relobj_file::do_relocate): Call reverse_words if
+       is_ctors_reverse_view is set.
+       (Sized_relobj_file::write_sections): Add layout parameter.  Change
+       all callers.  Set is_ctors_reverse_view field of View_size.
+       (Sized_relobj_file::reverse_words): New function.
+       * object.h (Sized_relobj_file::View_size): Add
+       is_ctors_reverse_view field.
+       (class Sized_relobj_file): Update declarations.
+       * testsuite/initpri3.c: New test.
+       * testsuite/Makefile.am: (check_PROGRAMS): Add initpri3a and
+       initpri3b.
+       (initpri3a_SOURCES, initpri3a_DEPENDENCIES): New variables.
+       (initpri3a_LDFLAGS, initpri3a_LDADD): New variables.
+       (initpri3b_SOURCES, initpri3b_DEPENDENCIES): New variables.
+       (initpri3b_LDFLAGS, initpri3b_LDADD): New variables.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-06-24  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am: Add in-tree assembler to gcctestdir.
+       (debug_msg_cdebug.o, odr_violation1_cdebug.o, odr_violation2_cdebug.o)
+       (debug_msg_cdebug.err): New targets.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/debug_msg.sh: Check output of link with compressed debug.
+       Fix checks for link with shared library.
+
+2011-06-24  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_output_section::append_text_sections_to_list): Do not
+       skip empty text sections.
+       * testsuite/arm_exidx_test.s: Test handling of an empty text section.
+
+2011-06-22  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12910
+       * options.h (class General_options): Add --ctors-in-init-array.
+       * layout.cc (Layout::get_output_section): Treat SHT_INIT_ARRAY and
+       friends as SHT_PROGBITS for merging sections.
+       (Layout::layout): Remove special handling of .init_array and
+       friends.  Don't sort if doing relocatable link.  Sort for .ctors
+       and .dtors if ctors_in_init_array.
+       (Layout::make_output_section): Force correct section types for
+       .init_array and friends.  Don't sort if doing relocatable link,
+       Don't sort .ctors and .dtors if ctors_in_init_array.
+       (Layout::section_name_mapping): Remove .ctors. and .dtorso.
+       (Layout::output_section_name): Add relobj parameter.  Change all
+       callers.  Handle .ctors. and .dtors. in code rather than table.
+       Handle .ctors and .dtors if ctors_in_init_array.
+       (Layout::match_file_name): New function, moved from output.cc.
+       * layout.h (class Layout): Update declarations.
+       * output.cc: Include "layout.h".
+       (Input_section_sort_entry::get_priority): New function.
+       (Input_section_sort_entry::match_file_name): Just call
+       Layout::match_file_name.
+       (Output_section::Input_section_sort_init_fini_compare::operator()):
+       Handle .ctors and .dtors.  Sort by explicit priority rather than
+       by name.
+       * configure.ac: Remove CONSTRUCTOR_PRIORITY test and conditional.
+       * testsuite/initpri2.c: New test.
+       * testsuite/Makefile.am: Don't test CONSTRUCTOR_PRIORITY.
+       (check_PROGRAMS): Add initpri2.
+       (initpri2_SOURCES, initpri2_DEPENDENCIES): New variables.
+       (initpri2_LDFLAGS, initpri2_LDADD): New variables.
+       * configure, testsuite/Makefile.in: Rebuild.
+
+2011-06-19  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12880
+       * layout.cc (Layout::attach_allocated_section_to_segment): Add a
+       .interp section to a PT_INTERP segment even if we have seen a
+       --dynamic-linker option.  Don't do it if we have seen a PHDRS
+       clause in a linker script.
+       (Layout::finalize): Don't create a .interp section if we've
+       already create a PT_INTERP segment.
+       (Layout::create_interp): Always call choose_output_section (revert
+       patch of 2011-06-17).  Don't create PT_INTERP segment.
+       * script-sections.cc
+       (Script_sections::create_note_and_tls_segments): Add a .interp
+       section to a PT_INTERP segment even if we have seen a
+       --dynamic-linker option.
+
+2011-06-18  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::finish_dynamic_section): Don't set DT_TEXTREL
+       merely because a non-PT_LOAD segment has a dynamic reloc.
+
+2011-06-18  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::finish_dynamic_section): Don't create
+       DT_FLAGS entry if not needed.
+
+2011-06-18  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12745
+       * layout.cc (Layout::layout_eh_frame): Correct handling of
+       writable .eh_frame section.
+
+2011-06-17  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12893
+       * resolve.cc (Symbol_table::resolve): Don't give an error if a
+       symbol is redefined with the exact same object and value.
+
+2011-06-17  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12880
+       * layout.h (class Layout): Add interp_segment_ field.
+       * layout.cc (Layout::Layout): Initialize interp_segment_ field.
+       (Layout::attach_allocated_section_to_segment): If making shared
+       library, put .interp section in PT_INTERP segment.
+       (Layout::finalize): Also call create_interp if -dynamic-linker
+       option was used.
+       (Layout::create_interp): Assert that there is no PT_INTERP
+       segment.  If not using a SECTIONS clause, use make_output_section.
+       (Layout::make_output_segment): Set interp_segment_ if PT_INTERP.
+       * script-sections.cc
+       (Script_sections::create_note_and_tls_segments): If making shared
+       library, put .interp section in PT_INTERP segment.
+
+2011-06-17  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj_file::do_layout): Keep warning sections
+       when making a shared library.
+
+2011-06-17  Ian Lance Taylor  <iant@google.com>
+
+       * x86_64.cc (Target_x86_64::Scan::check_non_pic): Add gsym
+       parameter.  Change all callers.  Don't issue warning about PC32
+       against locally defined symbol.
+
+2011-06-16  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Warnings::issue_warning): Don't warn if relocation
+       occurs in same object.
+
+2011-06-14  Alan Modra  <amodra@gmail.com>
+
+       * po/POTFILES.in: Regenerate.
+
+2011-06-09  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.cc
+       (Orphan_output_section::set_section_addresses): For a relocatable
+       link set address to 0.
+
+2011-06-09  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12804
+       * gold.cc (queue_initial_tasks): Warn if --incremental is
+       used with --compress-debug-sections.
+       * object.cc (Sized_relobj_file::do_layout): Report
+       uncompressed size of compressed input sections.
+
+2011-06-08  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12804
+       * testsuite/two_file_test_2_v1.cc: Change initialization of
+       v2 to keep it in .data.
+
+2011-06-07  Cary Coutant  <ccoutant@google.com>
+
+       * common.cc (Symbol_table::do_allocate_commons_list): Call
+       gold_fallback.
+       * errors.cc (Errors::fatal): Adjust call to gold_exit.
+       (Errors::fallback): New function.
+       (gold_fallback): New function.
+       * errors.h (Errors::fallback): New function.
+       * gold.cc (gold_exit): Change status parameter to enum; adjust
+       all callers.
+       (queue_initial_tasks): Call gold_fallback.
+       * gold.h: Include cstdlib.
+       (Exit_status): New enum type.
+       (gold_exit): Change status parameter to enum.
+       (gold_fallback): New function.
+       * layout.cc (Layout::set_section_offsets): Call gold_fallback.
+       (Layout::create_symtab_sections): Likewise.
+       (Layout::create_shdrs): Likewise.
+       * main.cc (main): Adjust call to gold_exit.
+       * output.cc (Output_data_got::add_got_entry): Call gold_fallback.
+       (Output_data_got::add_got_entry_pair): Likewise.
+       (Output_section::add_input_section): Likewise.
+       (Output_section::add_output_section_data): Likewise.
+       (Output_segment::set_section_list_addresses): Likewise.
+       * x86_64.cc (Output_data_plt_x86_64::add_entry): Likewise.
+
+2011-06-07  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::set_segment_offsets): Don't adjust layout
+       for incremental links.
+       * output.cc (Output_segment::set_section_list_addresses): Remove
+       FIXME and test for TLS or BSS.
+
+2011-06-07  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am: Add incremental_copy_test,
+       incremental_common_test_1.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/common_test_1_v1.c: New source file.
+       * testsuite/common_test_1_v2.c: New source file.
+       * testsuite/copy_test_v1.cc: New source file.
+
+2011-06-07  Cary Coutant  <ccoutant@google.com>
+
+       * common.cc (Symbol_table::do_allocate_commons_list): For incremental
+       update, allocate common from bss section's free list.
+       * incremental-dump.cc (dump_incremental_inputs): Print flag for
+       linker-defined symbols.
+       * incremental.cc (Sized_incremental_binary::do_process_got_plt):
+       Skip GOT and PLT entries that are no longer referenced.
+       (Output_section_incremental_inputs::write_info_blocks): Mark
+       linker-defined symbols.
+       (Sized_incr_relobj::do_add_symbols): Process linker-defined symbols.
+       * output.cc (Output_section::allocate): New function.
+       * output.h (Output_section::allocate): New function.
+       * resolve.cc (Symbol_table::report_resolve_problem): Add case for
+       linker-defined symbols.
+       (Symbol::override_base_with_special): Copy is_predefined_ flag.
+       * symtab.cc (Symbol::init_fields): Initialize is_predefined_ flag.
+       (Symbol::init_base_output_data): Likewise.
+       (Symbol::init_base_output_segment): Likewise.
+       (Symbol::init_base_constant): Likewise.
+       (Sized_symbol::init_output_data): Likewise.
+       (Sized_symbol::init_output_segment): Likewise.
+       (Sized_symbol::init_constant): Likewise.
+       (Symbol_table::do_define_in_output_data): Likewise.
+       (Symbol_table::do_define_in_output_segment): Likewise.
+       (Symbol_table::do_define_as_constant): Likewise.
+       * symtab.h (Symbol::is_predefined): New function.
+       (Symbol::init_base_output_data): Add is_predefined parameter.
+       (Symbol::init_base_output_segment): Likewise.
+       (Symbol::init_base_constant): Likewise.
+       (Symbol::is_predefined_): New data member.
+       (Sized_symbol::init_output_data): Add is_predefined parameter.
+       (Sized_symbol::init_output_segment): Likewise.
+       (Sized_symbol::init_constant): Likewise.
+       (enum Symbol_table::Defined): Add INCREMENTAL_BASE.
+
+2011-06-07  Cary Coutant  <ccoutant@google.com>
+
+       * copy-relocs.cc (Copy_relocs::copy_reloc): Call make_copy_reloc
+       instead of emit_copy_reloc.
+       (Copy_relocs::emit_copy_reloc): Refactor.
+       (Copy_relocs::make_copy_reloc): New function.
+       (Copy_relocs::add_copy_reloc): Remove.
+       * copy-relocs.h (Copy_relocs::emit_copy_reloc): Move to public
+       section.
+       (Copy_relocs::make_copy_reloc): New function.
+       (Copy_relocs::add_copy_reloc): Remove.
+       * gold.cc (queue_middle_tasks): Emit old COPY relocations from
+       unchanged input files.
+       * incremental-dump.cc (dump_incremental_inputs): Print "COPY" flag.
+       * incremental.cc (Sized_incremental_binary::do_reserve_layout):
+       Reserve BSS space for COPY relocations.
+       (Sized_incremental_binary::do_emit_copy_relocs): New function.
+       (Output_section_incremental_inputs::write_info_blocks): Record
+       whether a symbol is copied from a shared object.
+       (Sized_incr_dynobj::do_add_symbols): Record COPY relocations.
+       * incremental.h (enum Incremental_shlib_symbol_flags): New type.
+       (INCREMENTAL_SHLIB_SYM_FLAGS_SHIFT): New constant.
+       (Incremental_input_entry_reader::get_output_symbol_index): Add
+       is_copy parameter.
+       (Incremental_binary::emit_copy_relocs): New function.
+       (Incremental_binary::do_emit_copy_relocs): New function.
+       (Sized_incremental_binary::Sized_incremental_binary): Initialize
+       new data member.
+       (Sized_incremental_binary::add_copy_reloc): New function.
+       (Sized_incremental_binary::do_emit_copy_relocs): New function.
+       (Sized_incremental_binary::Copy_reloc): New struct.
+       (Sized_incremental_binary::Copy_relocs): New typedef.
+       (Sized_incremental_binary::copy_relocs_): New data member.
+       * symtab.cc (Symbol_table::add_from_incrobj): Change return type.
+       * symtab.h (Symbol_table::add_from_incrobj): Change return type.
+       * target.h (Sized_target::emit_copy_reloc): New function.
+       * x86_64.cc (Target_x86_64::emit_copy_reloc): New function.
+
+2011-06-02  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12163
+       * archive.cc (Archive::Archive): Initialize new data member.
+       (Archive::include_all_members): Return if archive has already been
+       included.
+       * archive.h (Archive::include_all_members_): New data member.
+
+2011-06-02  Nick Clifton  <nickc@redhat.com>
+
+       * dynobj.h: Fix spelling mistake in comment.
+       * output.cc: Likewise.
+
+2011-05-31  Doug Kwan  <dougkwan@google.com>
+           Asier Llano
+
+       PR gold/12826
+       * arm.cc (Target_arm::tag_cpu_arch_combine): Fix handling of
+       arch value that equals to elfcpp::MAX_TAG_CPU_ARCH.
+       * testsuite/Makefile.am: (MOSTLYCLEANFILES): Clean up.  Remove
+       redundant arm_exidx_test.so.
+       * testsuite/Makefile.in: Regenerate.
+       (check_SCRIPTS): Add pr12826.sh
+       (check_DATA): Add pr12826.stdout
+       (pr12826.stdout, pr12826.so, pr12826_1.o, pr12826_2.o): New rules.
+       * testsuite/pr12826.sh: New file.
+       * testsuite/pr12826_1.s: Ditto.
+       * testsuite/pr12826_1.s: Ditto.
+
+2011-05-30  Ian Lance Taylor  <iant@google.com>
+
+       * reloc.cc (Sized_relobj_file::do_read_relocs): Ignore empty reloc
+       sections.
+
+2011-05-29  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12804
+       * testsuite/Makefile.am: Use different file name for two_file_test
+       temporary file for each incremental test.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-05-29  Ian Lance Taylor  <iant@google.com>
+
+       * binary.cc (Binary_to_elf::sized_convert): Don't crash if the
+       binary input file is empty.
+
+2011-05-27  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/Makefile.am (ver_test_2.so): Use -Wl,-R,.
+       (ver_test_9.so): Likewise.
+       * testsuite/Makefile.in: Rebuild.
+
+2011-05-26 Cary Coutant  <ccoutant@google.com>
+
+       * incremental-dump.cc (dump_incremental_inputs): Print COMDAT groups.
+       * incremental.cc (Incremental_inputs::report_input_section): Fix
+       comment, indentation.
+       (Incremental_inputs::report_comdat_group): New function.
+       (Output_section_incremental_inputs::set_final_data_size): Adjust size
+       of data for incremental input file entry.
+       (Output_section_incremental_inputs::write_info_blocks): Write COMDAT
+       group count, COMDAT group signatures.
+       (Sized_incr_relobj::do_layout): Record kept COMDAT group info from
+       an unchanged input file.
+       * incremental.h (Incremental_object_entry::Incremental_object_entry):
+       Initialize new data member.
+       (Incremental_object_entry::add_comdat_group): New function.
+       (Incremental_object_entry::get_comdat_group_count): New function.
+       (Incremental_object_entry::get_comdat_signature_key): New function.
+       (Incremental_object_entry::groups_): New data member.
+       (Incremental_inputs::report_comdat_group): New function.
+       (Incremental_input_entry_reader::get_symbol_offset): Adjust size of
+       data for incremental input file entry.
+       (Incremental_input_entry_reader::get_comdat_group_count): New function.
+       (Incremental_input_entry_reader::get_input_section): Adjust size of
+       data for incremental input file entry.
+       (Incremental_input_entry_reader::get_global_symbol_reader): Likewise.
+       (Incremental_input_entry_reader::get_comdat_group_signature): New
+       function.
+       * object.cc (Sized_relobj::include_section_group): Report kept
+       COMDAT groups for incremental links.
+
+2011-05-24  David Meyer  <pdox@google.com>
+
+       * dirsearch.cc (Dirsearch::find): Replace n1 and n2 parameters
+       with name parameter.  Add found_name parameter.
+       * fileread.cc (Input_file::find_file): Adjust code accordingly.
+       * dirsearch.h (class Dirsearch): Update declaration.
+
+2011-05-24  Ian Lance Taylor  <iant@google.com>
+
+       * archive.cc (Library_base::should_include_member): Pull in object
+       from archive if it defines the entry symbol.
+       * parameters.cc (Parameters::entry): New function.
+       * parameters.h (class Parameters): Declare entry.
+       * output.h (class Output_file_header): Remove entry_ field.
+       * output.cc (Output_file_header::Output_file_header): Remove entry
+       parameter.  Change all callers.
+       (Output_file_header::entry): Use parameters->entry.
+       * gold.cc (queue_middle_tasks): Likewise.
+       * plugin.cc (Plugin_hook::run): Likewise.
+
+2011-05-24 Cary Coutant  <ccoutant@google.com>
+
+       * gold.cc (queue_initial_tasks): Pass incremental base filename
+       to Output_file::open_base_file; don't print error message.
+       * incremental-dump.cc (main): Adjust call to
+       Output_file::open_for_modification.
+       * incremental-dump.cc (main): Likewise.
+       * incremental.cc (Incremental_inputs::report_command_line):
+       Ignore --incremental-base option when comparing command lines.
+       Ignore parameter when given as separate argument.
+       * options.h (class General_options): Add --incremental-base.
+       * output.cc (Output_file::Output_file):
+       (Output_file::open_base_file): Add base_name and writable parameters;
+       read base file into new file; print error message here.
+       (Output_file::map_no_anonymous): Add writable parameter; adjust all
+       callers.
+       * output.h (Output_file::open_for_modification): Rename to...
+       (Output_file::open_base_file): ...this; add base_name and
+       writable parameters; adjust all callers.
+       (Output_file::map_no_anonymous): Add writable parameter; adjust all
+       callers.
+       * testsuite/Makefile.am (incremental_test_4): Test
+       --incremental-base.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-05-24 Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am: Add incremental_test_2, incremental_test_3,
+       incremental_test_4.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/two_file_test_1_v1.cc: New test source file.
+       * testsuite/two_file_test_1b_v1.cc: New test source file.
+       * testsuite/two_file_test_2_v1.cc: New test source file.
+
+2011-05-24 Cary Coutant  <ccoutant@google.com>
+
+       * dynobj.h (Dynobj::do_dynobj): New function.
+       * incremental-dump.cc (dump_incremental_inputs): Print as_needed
+       flag and soname for shared objects.
+       * incremental.cc (Incremental_inputs::report_object): Make
+       either Incremental_object_entry or Incremental_dynobj_entry; add
+       soname to string table.
+       (Incremental_inputs::report_input_section): Add assertion.
+       (Output_section_incremental_inputs::set_final_data_size): Adjust
+       type of input file entry for shared libraries; adjust size of
+       shared library info entry.
+       (Output_section_incremental_inputs::write_input_files): Write
+       as_needed flag for shared libraries.
+       (Output_section_incremental_inputs::write_info_blocks): Adjust type
+       of input file entry for shared libraries; write soname.
+       (Sized_incr_dynobj::Sized_incr_dynobj): Read as_needed flag and
+       soname from incremental info.
+       * incremental.h (enum Incremental_input_flags): Add
+       INCREMENTAL_INPUT_AS_NEEDED.
+       (Incremental_input_entry::Incremental_input_entry): Initialize new
+       data member.
+       (Incremental_input_entry::set_as_needed): New function.
+       (Incremental_input_entry::as_needed): New function.
+       (Incremental_input_entry::do_dynobj_entry): New function.
+       (Incremental_input_entry::as_needed_): New data member.
+       (Incremental_object_entry::Incremental_object_entry): Don't check
+       for shared library.
+       (Incremental_object_entry::do_type): Likewise.
+       (class Incremental_dynobj_entry): New class.
+       (Incremental_input_entry_reader::as_needed): New function.
+       (Incremental_input_entry_reader::get_soname): New function.
+       (Incremental_input_entry_reader::get_global_symbol_count): Rewrite.
+       (Incremental_input_entry_reader::get_output_symbol_index): Adjust
+       size of shared library info entry.
+       * layout.cc (Layout::finish_dynamic_section): Don't test for
+       incremental link when adding DT_NEEDED entries.
+       * object.h (Object::Object): Initialize new data member.
+       (Object::dynobj): New function.
+       (Object::set_as_needed): New function.
+       (Object::as_needed): New function.
+       (Object::do_dynobj): New function.
+       (Object::as_needed_): New data member.
+
+2011-05-24 Cary Coutant  <ccoutant@google.com>
+
+       * incremental-dump.cc (dump_incremental_inputs): Print dynamic reloc
+       info; adjust display of GOT entries.
+       * incremental.cc (Sized_incremental_binary::setup_readers): Allocate
+       vector of input objects; remove file_status_.
+       (Sized_incremental_binary::do_reserve_layout): Remove file_status_.
+       (Sized_incremental_binary::do_process_got_plt): Adjust calls to
+       got_plt reader; call target hooks to reserve GOT entries.
+       (Output_section_incremental_inputs::set_final_data_size): Adjust size
+       of input file info header and GOT info entry.
+       (Output_section_incremental_inputs::write_info_blocks): Write dynamic
+       relocation info.
+       (Got_plt_view_info::got_descriptor): Remove.
+       (Got_plt_view_info::sym_index): New data member.
+       (Got_plt_view_info::input_index): New data member.
+       (Local_got_offset_visitor::visit): Write input file index.
+       (Global_got_offset_visitor::visit): Write 0 for input file index.
+       (Global_symbol_visitor_got_plt::operator()): Replace got_descriptor
+       with sym_index and input_index.
+       (Output_section_incremental_inputs::write_got_plt): Adjust size of
+       incremental info GOT entry; replace got_descriptor with input_index.
+       (Sized_relobj_incr::Sized_relobj_incr): Adjust initializers; record
+       map from input file index to object.
+       (Sized_relobj_incr::do_layout): Replace direct data member reference
+       with accessor function.
+       (Sized_relobj_incr::do_for_all_local_got_entries): Move to base class.
+       * incremental.h (Incremental_input_entry_reader::get_symbol_offset):
+       Adjust size of input file info header.
+       (Incremental_input_entry_reader::get_first_dyn_reloc): New function.
+       (Incremental_input_entry_reader::get_dyn_reloc_count): New function.
+       (Incremental_input_entry_reader::get_input_section): Adjust size of
+       input file info header.
+       (Incremental_got_plt_reader::Incremental_got_plt_reader): Adjust size
+       of incremental info GOT entry.
+       (Incremental_got_plt_reader::get_got_desc): Remove.
+       (Incremental_got_plt_reader::get_got_symndx): New function.
+       (Incremental_got_plt_reader::get_got_input_index): New function.
+       (Sized_incremental_binary::Sized_incremental_binary): Remove
+       file_status_; add input_objects_.
+       (Sized_incremental_binary::~Sized_incremental_binary): Remove.
+       (Sized_incremental_binary::set_file_is_unchanged): Remove.
+       (Sized_incremental_binary::file_is_unchanged): Remove.
+       (Sized_incremental_binary::set_input_object): New function.
+       (Sized_incremental_binary::input_object): New function.
+       (Sized_incremental_binary::file_status_): Remove.
+       (Sized_incremental_binary::input_objects_): New data member.
+       (Sized_relobj_incr): Rename Sized_incr_relobj to this; adjust all
+       references.
+       (Sized_relobj_incr::invalid_address): Move to base class.
+       (Sized_relobj_incr::is_output_section_offset_invalid): Move to base
+       class.
+       (Sized_relobj_incr::do_output_section_offset): Likewise.
+       (Sized_relobj_incr::do_for_all_local_got_entries): Likewise.
+       (Sized_relobj_incr::section_offsets_): Likewise.
+       * object.cc (Sized_relobj::do_for_all_local_got_entries): New
+       function.
+       (Sized_relobj_file::Sized_relobj_file): Remove local_got_offsets_.
+       (Sized_relobj_file::layout_section): Replace refs to section_offsets_
+       with accessor function.
+       (Sized_relobj_file::do_layout): Likewise.
+       (Sized_relobj_file::do_layout_deferred_sections): Likewise.
+       (Sized_relobj_file::do_for_all_local_got_entries): Move to base class.
+       (Sized_relobj_file::compute_final_local_value): Replace refs to
+       section_offsets_ with accessor function.
+       (Sized_relobj_file::do_finalize_local_symbols): Likewise.
+       * object.h (Relobj::Relobj): Initialize new data members.
+       (Relobj::add_dyn_reloc): New function.
+       (Relobj::first_dyn_reloc): New function.
+       (Relobj::dyn_reloc_count): New function.
+       (Relobj::first_dyn_reloc_): New data member.
+       (Relobj::dyn_reloc_count_): New data member.
+       (Sized_relobj): Rename Sized_relobj_base to this; adjust all
+       references.
+       (Sized_relobj::Address): New typedef.
+       (Sized_relobj::invalid_address): Move here from child class.
+       (Sized_relobj::Sized_relobj): Initialize new data members.
+       (Sized_relobj::sized_relobj): New function.
+       (Sized_relobj::is_output_section_offset_invalid): Move here from
+       child class.
+       (Sized_relobj::get_output_section_offset): Likewise.
+       (Sized_relobj::local_has_got_offset): Likewise.
+       (Sized_relobj::local_got_offset): Likewise.
+       (Sized_relobj::set_local_got_offset): Likewise.
+       (Sized_relobj::do_for_all_local_got_entries): Likewise.
+       (Sized_relobj::clear_got_offsets): New function.
+       (Sized_relobj::section_offsets): Move here from child class.
+       (Sized_relobj::do_output_section_offset): Likewise.
+       (Sized_relobj::do_set_section_offset): Likewise.
+       (Sized_relobj::Local_got_offsets): Likewise.
+       (Sized_relobj::local_got_offsets_): Likewise.
+       (Sized_relobj::section_offsets_): Likewise.
+       (Sized_relobj_file): Rename Sized_relobj to this; adjust all
+       references.
+       (Sized_relobj_file::is_output_section_offset_invalid): Move to base
+       class.
+       (Sized_relobj_file::sized_relobj): New function
+       (Sized_relobj_file::local_has_got_offset): Move to base class.
+       (Sized_relobj_file::local_got_offset): Likewise.
+       (Sized_relobj_file::set_local_got_offset): Likewise.
+       (Sized_relobj_file::get_output_section_offset): Likewise.
+       (Sized_relobj_file::do_for_all_local_got_entries): Likewise.
+       (Sized_relobj_file::do_output_section_offset): Likewise.
+       (Sized_relobj_file::do_set_section_offset): Likewise.
+       (Sized_relobj_file::Local_got_offsets): Likewise.
+       (Sized_relobj_file::local_got_offsets_): Likewise.
+       (Sized_relobj_file::section_offsets_): Likewise.
+       * output.cc (Output_reloc::Output_reloc): Adjust type of relobj
+       (all constructors).
+       (set_needs_dynsym_index): Convert relobj to derived class pointer.
+       (Output_reloc::get_symbol_index): Likewise.
+       (Output_reloc::local_section_offset): Likewise.
+       (Output_reloc::get_address): Likewise.
+       (Output_reloc::symbol_value): Likewise.
+       (Output_data_got::reserve_slot): Move to class definition.
+       (Output_data_got::reserve_local): New function.
+       (Output_data_got::reserve_slot_for_global): Remove.
+       (Output_data_got::reserve_global): New function.
+       * output.h (Output_reloc::Output_reloc): Adjust type of relobj
+       (all constructors, two instantiations).
+       (Output_reloc::get_relobj): New function (two instantiations).
+       (Output_reloc::u1_.relobj, Output_reloc::u2_.relobj): Adjust type.
+       (Output_data_reloc_base::add): Convert relobj to derived class pointer.
+       (Output_data_reloc::add_global): Adjust type of relobj.
+       (Output_data_reloc::add_global_relative): Likewise.
+       (Output_data_reloc::add_symbolless_global_addend): Likewise.
+       (Output_data_reloc::add_local): Likewise.
+       (Output_data_reloc::add_local_relative): Likewise.
+       (Output_data_reloc::add_symbolless_local_addend): Likewise.
+       (Output_data_reloc::add_local_section): Likewise.
+       (Output_data_reloc::add_output_section): Likewise.
+       (Output_data_reloc::add_absolute): Likewise.
+       (Output_data_reloc::add_target_specific): Likewise.
+       (Output_data_got::reserve_slot): Move definition here.
+       (Output_data_got::reserve_local): New function.
+       (Output_data_got::reserve_global): New function.
+       * reloc.cc (Sized_relobj_file::do_read_relocs): Replace refs to
+       section_offsets_ with accessor function.
+       (Sized_relobj_file::write_sections): Likewise.
+       (Sized_relobj_file::do_relocate_sections): Likewise.
+       * target.h (Sized_target::reserve_local_got_entry): New function.
+       (Sized_target::reserve_global_got_entry): New function.
+       * x86_64.cc (Target_x86_64::reserve_local_got_entry): New function.
+       (Target_x86_64::reserve_global_got_entry): New function.
+       (Target_x86_64::init_got_plt_for_update): Create rela_dyn section.
+
+2011-05-23 Cary Coutant  <ccoutant@google.com>
+
+       * gold.cc (queue_middle_tasks): Process existing GOT/PLT entries.
+       * incremental-dump.cc (dump_incremental_inputs): Mask high-order
+       bit when checking got_type.
+       * incremental.cc (Sized_incremental_binary::setup_readers):
+       Store symbol table and string table locations; initialize bit vector
+       of file status flags.
+       (Sized_incremental_binary::do_reserve_layout): Set bit flag for
+       unchanged files.
+       (Sized_incremental_binary::do_process_got_plt): New function.
+       (Sized_incremental_binary::get_symtab_view): Use stored locations.
+       (Output_section_incremental_inputs::set_final_data_size): Record
+       file index for each input file.
+       (Output_section_incremental_inputs::write_got_plt): Store file index
+       instead of input entry offset for each GOT entry.
+       * incremental.h
+       (Incremental_input_entry::Incremental_input_entry): Initialize new
+       data member.
+       (Incremental_input_entry::set_offset): Store file index.
+       (Incremental_input_entry::get_file_index): New function.
+       (Incremental_input_entry::file_index_): New data member.
+       (Incremental_binary::process_got_plt): New function.
+       (Incremental_binary::do_process_got_plt): New function.
+       (Sized_incremental_binary::Sized_incremental_binary): Initialize new
+       data members.
+       (Sized_incremental_binary::~Sized_incremental_binary): New destructor.
+       (Sized_incremental_binary::set_file_is_unchanged): New function.
+       (Sized_incremental_binary::file_is_unchanged): New function.
+       (Sized_incremental_binary::do_process_got_plt): New function.
+       (Sized_incremental_binary::file_status_): New data member.
+       (Sized_incremental_binary::main_symtab_loc_): New data member.
+       (Sized_incremental_binary::main_strtab_loc_): New data member.
+       * output.cc (Output_data_got::Got_entry::write): Add case
+       RESERVED_CODE.
+       (Output_data_got::add_global): Call add_got_entry.
+       (Output_data_got::add_global_plt): Likewise.
+       (Output_data_got::add_global_with_rel): Likewise.
+       (Output_data_got::add_global_with_rela): Likewise.
+       (Output_data_got::add_global_pair_with_rel): Call add_got_entry_pair.
+       (Output_data_got::add_global_pair_with_rela): Likewise.
+       (Output_data_got::add_local): Call add_got_entry.
+       (Output_data_got::add_local_plt): Likewise.
+       (Output_data_got::add_local_with_rel): Likewise.
+       (Output_data_got::add_local_with_rela): Likewise.
+       (Output_data_got::add_local_pair_with_rel): Call add_got_entry_pair.
+       (Output_data_got::add_local_pair_with_rela): Likewise.
+       (Output_data_got::reserve_slot): New function.
+       (Output_data_got::reserve_slot_for_global): New function.
+       (Output_data_got::add_got_entry): New function.
+       (Output_data_got::add_got_entry_pair): New function.
+       (Output_section::add_output_section_data): Edit FIXME.
+       * output.h
+       (Output_section_data_build::Output_section_data_build): New
+       constructor with size parameter.
+       (Output_data_space::Output_data_space): Likewise.
+       (Output_data_got::Output_data_got): Initialize new data member; new
+       constructor with size parameter.
+       (Output_data_got::add_constant): Call add_got_entry.
+       (Output_data_got::reserve_slot): New function.
+       (Output_data_got::reserve_slot_for_global): New function.
+       (class Output_data_got::Got_entry): Add RESERVED_CODE.
+       (Output_data_got::add_got_entry): New function.
+       (Output_data_got::add_got_entry_pair): New function.
+       (Output_data_got::free_list_): New data member.
+       * target.h (Sized_target::init_got_plt_for_update): New function.
+       (Sized_target::register_global_plt_entry): New function.
+       * x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64):
+       Initialize new data member; call init; add constructor with PLT count.
+       (Output_data_plt_x86_64::init): New function.
+       (Output_data_plt_x86_64::add_relocation): New function.
+       (Output_data_plt_x86_64::reserve_slot): New function.
+       (Output_data_plt_x86_64::free_list_): New data member.
+       (Target_x86_64::init_got_plt_for_update): New function.
+       (Target_x86_64::register_global_plt_entry): New function.
+       (Output_data_plt_x86_64::add_entry): Allocate from free list for
+       incremental updates.
+       (Output_data_plt_x86_64::add_relocation): New function.
+       * testsuite/object_unittest.cc (Object_test): Set default options.
+
+2011-05-16  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Make -i a synonym for -r.
+
+2011-05-16  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/tls_test_main.cc: Use semaphores instead of mutexes.
+
+2011-05-10 Cary Coutant  <ccoutant@google.com>
+
+       * object.cc (Sized_relobj::do_count_local_symbols): Check for
+       strip_all (-s).
+
+2011-05-06  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::layout): If the output section flags change,
+       update the ordering.
+
+2011-04-25 Cary Coutant  <ccoutant@google.com>
+
+       * incremental-dump.cc (dump_incremental_inputs): Print local
+       symbol info for each input file.
+       * incremental.cc
+       (Output_section_incremental_inputs::set_final_data_size): Add local
+       symbol info to input file entries in incremental info.
+       (Output_section_incremental_inputs::write_info_blocks): Likewise.
+       (Sized_incr_relobj::Sized_incr_relobj): Initialize new data members.
+       (Sized_incr_relobj::do_add_symbols): Cosmetic change.
+       (Sized_incr_relobj::do_count_local_symbols): Replace stub with
+       implementation.
+       (Sized_incr_relobj::do_finalize_local_symbols): Likewise.
+       (Sized_incr_relobj::do_relocate): Write the local symbols.
+       (Sized_incr_dynobj::do_add_symbols): Cosmetic change.
+       * incremental.h (Incremental_inputs_reader::get_symbol_offset):
+       Adjust size of input file header.
+       (Incremental_inputs_reader::get_local_symbol_offset): New function.
+       (Incremental_inputs_reader::get_local_symbol_count): New function.
+       (Incremental_inputs_reader::get_input_section): Adjust size of input
+       file header.
+       (Incremental_inputs_reader::get_global_symbol_reader): Likewise.
+       (Sized_incr_relobj::This): New typedef.
+       (Sized_incr_relobj::sym_size): New const data member.
+       (Sized_incr_relobj::Local_symbol): New struct.
+       (Sized_incr_relobj::do_output_local_symbol_count): New function.
+       (Sized_incr_relobj::do_local_symbol_offset): New function.
+       (Sized_incr_relobj::local_symbol_count_): New data member.
+       (Sized_incr_relobj::output_local_dynsym_count_): New data member.
+       (Sized_incr_relobj::local_symbol_index_): New data member.
+       (Sized_incr_relobj::local_symbol_offset_): New data member.
+       (Sized_incr_relobj::local_dynsym_offset_): New data member.
+       (Sized_incr_relobj::local_symbols_): New data member.
+       * object.h (Relobj::output_local_symbol_count): New function.
+       (Relobj::local_symbol_offset): New function.
+       (Relobj::do_output_local_symbol_count): New function.
+       (Relobj::do_local_symbol_offset): New function.
+       (Sized_relobj::do_output_local_symbol_count): New function.
+       (Sized_relobj::do_local_symbol_offset): New function.
+
+2011-04-22  Vladimir Simonov  <sv@sw.ru>
+
+       * descriptors.cc (set_close_on_exec): New function.
+       (Descriptors::open): Use set_close_on_exec.
+       * output.cc (S_ISLNK): Define if not defined.
+
+2011-04-22 Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Sized_incremental_binary::setup_readers): Allocate
+       global symbol map.
+       (Sized_incremental_binary::do_apply_incremental_relocs): New function.
+       (Sized_incr_relobj::do_add_symbols): Add symbols to global symbol map.
+       (Sized_incr_relobj::do_relocate): Remap section indices in incremental
+       relocations.
+       (Sized_incr_dynobj::do_add_symbols): Add symbols to global symbol map.
+       (Sized_incr_dynobj::do_for_all_global_symbols): Remove FIXME.
+       (Sized_incr_dynobj::do_for_all_local_got_entries): Likewise.
+       * incremental.h
+       (Incremental_inputs_reader::global_symbol_reader_at_offset): New
+       function.
+       (Incremental_binary::apply_incremental_relocs): New function.
+       (Incremental_binary::do_apply_incremental_relocs): New function.
+       (Sized_incremental_binary::Sized_incremental_binary): Initialize new
+       data member.
+       (Sized_incremental_binary::add_global_symbol): New function.
+       (Sized_incremental_binary::global_symbol): New function.
+       (Sized_incremental_binary::do_apply_incremental_relocs): New function.
+       (Sized_incremental_binary::symbol_map_): New data member.
+       * layout.cc (Layout_task_runner::run): Apply incremental relocations.
+       * target.h (Sized_target::apply_relocation): New function.
+       * target-reloc.h (apply_relocation): New function.
+       * x86_64.cc (Target_x86_64::apply_relocation): New function.
+
+2011-04-22  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_output_section::Arm_output_section): Set SHF_LINK_ORDER
+       flag of a SHT_ARM_EXIDX section.
+       * testsuite/Makefile.am (arm_exidx_test): New test rules.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_exidx_test.s: New file.
+       * testsuite/arm_exidx_test.sh: Same.
+
+2011-04-20 Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12689
+       * archive.h (Incremental_archive_entry::Archive_member):
+       Initialize arg_serial_ (second constructor).
+
+2011-04-17  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Relocate_info::location): Simplify location string.
+       * errors.cc (Errors::error_at_location): Don't print program
+       name.
+       (Errors::warning_at_location): Likewise.
+       (Errors::undefined_symbol): Likewise.
+       * testsuite/debug_msg.sh: Update accordingly.
+
+2011-04-14 Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::symtab_section_offset): New function.
+       * layout.h (Layout::symtab_section_offset): New function.
+       * reloc.cc (Sized_relobj::do_relocate): Call it.
+
+2011-04-12  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Check for sys/mman.h and mmap.  Check for mremap
+       with MREMAP_MAYMOVE.
+       * output.h (class Output_file): Add map_is_allocated_ field.
+       * output.cc: Only #include <sys/mman.h> if it exists.  If mmap is
+       not available, provide stubs.  If mremap is not available, #define
+       it to gold_mremap.
+       (MREMAP_MAYMOVE): Define if not defined.
+       (Output_file::Output_file): Initialize map_is_allocated_.
+       (Output_file::resize): Check map_is_allocated_.
+       (Output_file::map_anonymous): If mmap fails, use malloc.
+       (Output_file::unmap): Don't do anything for an anonymous map.
+       * fileread.cc: Only #include <sys/mman.h> if it exists.  If mmap
+       is not available, provide stubs.
+       (File_read::View::~View): Use free rather than delete[].
+       (File_read::make_view): Use malloc rather than new[].  If mmap
+       fails, use malloc.
+       (File_read::find_or_make_view): Use malloc rather than new[].
+       * gold.h: Remove HAVE_REMAP code.
+       * mremap.c: #include <errno.h>.  Only #include <sys/mman.h> if it
+       exists.  Rename mremap to gold_mremap.  If mmap is not available
+       don't do anything.
+       * configure, config.in: Rebuild.
+
+2011-04-11  Ian Lance Taylor  <iant@google.com>
+
+       * incremental.cc (Sized_incr_relobj::do_add_symbols): Always
+       initialize local variable v.
+
+2011-04-11  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Archive::include_member): Adjust call to
+       report_object.
+       (Add_archive_symbols::run): Track argument serial numbers.
+       (Lib_group::include_member): Likewise.
+       (Add_lib_group_symbols::run): Adjust call to report_archive_begin.
+       * archive.h (Incremental_archive_entry::Archive_member):
+       Initialize arg_serial_.
+       (Archive_member::arg_serial_): New data member.
+       * dynobj.cc (Dynobj::Dynobj): Allow input_file_ to be NULL.
+       (Sized_dynobj::do_add_symbols): Track symbols when doing an
+       incremental link.
+       (Sized_dynobj::do_for_all_local_got_entries): New function.
+       * dynobj.h: (Sized_dynobj::do_for_all_local_got_entries): New
+       function.
+       * fileread.cc (get_mtime): New function.
+       * fileread.h (get_mtime): New function.
+       * gold.cc (queue_initial_tasks): Check for incremental update.
+       (process_incremental_input): New function.
+       (queue_middle_tasks): Don't force valid target for incremental
+       update.
+       * incremental-dump.cc (find_input_containing_global): Adjust
+       size of symbol info entry.
+       (dump_incremental_inputs): Dump argument serial number and
+       in_system_directory flag; bias shndx by 1; print symbol names
+       when dumping per-file symbol lists; use new symbol info readers.
+       * incremental.cc
+       (Output_section_incremental_inputs:update_data_size): New function.
+       (Sized_incremental_binary::setup_readers): Setup input readers
+       for each input file; build maps for files added from libraries
+       and scripts.
+       (Sized_incremental_binary::check_input_args): New function.
+       (Sized_incremental_binary::do_check_inputs): Build map of argument
+       serial numbers to input arguments.
+       (Sized_incremental_binary::do_file_has_changed): Rename
+       do_file_is_unchanged to this; compare file modification times.
+       (Sized_incremental_binary::do_init_layout): New function.
+       (Sized_incremental_binary::do_reserve_layout): New function.
+       (Sized_incremental_binary::do_get_input_reader): Remove.
+       (Sized_incremental_binary::get_symtab_view): New function.
+       (Incremental_checker::can_incrementally_link_output_file): Remove.
+       (Incremental_inputs::report_command_line): Exclude --debug options.
+       (Incremental_inputs::report_archive_begin): Add parameter; track
+       argument serial numbers; don't put input file entry for archive
+       before archive members.
+       (Incremental_inputs::report_archive_end): Put input file entry
+       for archive after archive members.
+       (Incremental_inputs::report_object): Add parameter; track argument
+       serial numbers and in_system_directory flag.
+       (Incremental_inputs::report_script): Add parameter; track argument
+       serial numbers.
+       (Output_section_incremental_inputs::set_final_data_size): Adjust
+       size of symbol info entry; check for forwarding symbols.
+       (Output_section_incremental_inputs::write_input_files): Write
+       in_system_directory flag and argument serial number.
+       (Output_section_incremental_inputs::write_info_blocks): Map section
+       indices between incremental info and original input file; store
+       input section index for each symbol.
+       (class Local_got_offset_visitor): Derive from Got_offset_list::Visitor;
+       change operator() to visit().
+       (class Global_got_offset_visitor): Likewise.
+       (class Global_symbol_visitor_got_plt):
+       (Output_section_incremental_inputs::write_got_plt): Use new visitor
+       classes.
+       (Sized_incr_relobj::Sized_incr_relobj): New constructor.
+       (Sized_incr_relobj::do_read_symbols): New function.
+       (Sized_incr_relobj::do_layout): New function.
+       (Sized_incr_relobj::do_layout_deferred_sections): New function.
+       (Sized_incr_relobj::do_add_symbols): New function.
+       (Sized_incr_relobj::do_should_include_member): New function.
+       (Sized_incr_relobj::do_for_all_global_symbols): New function.
+       (Sized_incr_relobj::do_for_all_local_got_entries): New function.
+       (Sized_incr_relobj::do_section_size): New function.
+       (Sized_incr_relobj::do_section_name): New function.
+       (Sized_incr_relobj::do_section_contents): New function.
+       (Sized_incr_relobj::do_section_flags): New function.
+       (Sized_incr_relobj::do_section_entsize): New function.
+       (Sized_incr_relobj::do_section_address): New function.
+       (Sized_incr_relobj::do_section_type): New function.
+       (Sized_incr_relobj::do_section_link): New function.
+       (Sized_incr_relobj::do_section_info): New function.
+       (Sized_incr_relobj::do_section_addralign): New function.
+       (Sized_incr_relobj::do_initialize_xindex): New function.
+       (Sized_incr_relobj::do_get_global_symbol_counts): New function.
+       (Sized_incr_relobj::do_read_relocs): New function.
+       (Sized_incr_relobj::do_gc_process_relocs): New function.
+       (Sized_incr_relobj::do_scan_relocs): New function.
+       (Sized_incr_relobj::do_count_local_symbols): New function.
+       (Sized_incr_relobj::do_finalize_local_symbols): New function.
+       (Sized_incr_relobj::do_set_local_dynsym_indexes): New function.
+       (Sized_incr_relobj::do_set_local_dynsym_offset): New function.
+       (Sized_incr_relobj::do_relocate): New function.
+       (Sized_incr_relobj::do_set_section_offset): New function.
+       (Sized_incr_dynobj::Sized_incr_dynobj): New function.
+       (Sized_incr_dynobj::do_read_symbols): New function.
+       (Sized_incr_dynobj::do_layout): New function.
+       (Sized_incr_dynobj::do_add_symbols): New function.
+       (Sized_incr_dynobj::do_should_include_member): New function.
+       (Sized_incr_dynobj::do_for_all_global_symbols): New function.
+       (Sized_incr_dynobj::do_for_all_local_got_entries): New function.
+       (Sized_incr_dynobj::do_section_size): New function.
+       (Sized_incr_dynobj::do_section_name): New function.
+       (Sized_incr_dynobj::do_section_contents): New function.
+       (Sized_incr_dynobj::do_section_flags): New function.
+       (Sized_incr_dynobj::do_section_entsize): New function.
+       (Sized_incr_dynobj::do_section_address): New function.
+       (Sized_incr_dynobj::do_section_type): New function.
+       (Sized_incr_dynobj::do_section_link): New function.
+       (Sized_incr_dynobj::do_section_info): New function.
+       (Sized_incr_dynobj::do_section_addralign): New function.
+       (Sized_incr_dynobj::do_initialize_xindex): New function.
+       (Sized_incr_dynobj::do_get_global_symbol_counts): New function.
+       (make_sized_incremental_object): New function.
+       (Incremental_library::copy_unused_symbols): New function.
+       (Incremental_library::do_for_all_unused_symbols): New function.
+       * incremental.h (enum Incremental_input_flags): New type.
+       (class Incremental_checker): Remove.
+       (Incremental_input_entry::Incremental_input_entry): Add argument
+       serial number.
+       (Incremental_input_entry::arg_serial): New function.
+       (Incremental_input_entry::set_is_in_system_directory): New function.
+       (Incremental_input_entry::is_in_system_directory): New function.
+       (Incremental_input_entry::arg_serial_): New data member.
+       (Incremental_input_entry::is_in_system_directory_): New data member.
+       (class Script_info): Move here from script.h.
+       (Script_info::Script_info): Add filename parameter.
+       (Script_info::filename): New function.
+       (Script_info::filename_): New data member.
+       (Incremental_script_entry::Incremental_script_entry): Add argument
+       serial number.
+       (Incremental_object_entry::Incremental_object_entry): Likewise.
+       (Incremental_object_entry::add_input_section): Build list of input
+       sections with map to original shndx.
+       (Incremental_object_entry::get_input_section_index): New function.
+       (Incremental_object_entry::shndx_): New data member.
+       (Incremental_object_entry::name_key_): Rename; adjust all refs.
+       (Incremental_object_entry::sh_size_): Rename; adjust all refs.
+       (Incremental_archive_entry::Incremental_archive_entry): Add argument
+       serial number.
+       (Incremental_inputs::report_archive_begin): Likewise.
+       (Incremental_inputs::report_object): Likewise.
+       (Incremental_inputs::report_script): Likewise.
+       (class Incremental_global_symbol_reader): New class.
+       (Incremental_input_entry_reader::Incremental_input_entry_reader): Read
+       and store flags and input file type.
+       (Incremental_input_entry_reader::arg_serial): New function.
+       (Incremental_input_entry_reader::type): Extract type from flags.
+       (Incremental_input_entry_reader::is_in_system_directory): New function.
+       (Incremental_input_entry_reader::get_input_section_count): Call
+       accessor function for type.
+       (Incremental_input_entry_reader::get_symbol_offset): Call accessor
+       function for type; adjust size of global symbol entry.
+       (Incremental_input_entry_reader::get_global_symbol_count): Call
+       accessor function for type.
+       (Incremental_input_entry_reader::get_object_count): Likewise.
+       (Incremental_input_entry_reader::get_object_offset): Likewise.
+       (Incremental_input_entry_reader::get_member_count): Likewise.
+       (Incremental_input_entry_reader::get_unused_symbol_count): Likewise.
+       (Incremental_input_entry_reader::get_member_offset): Likewise.
+       (Incremental_input_entry_reader::get_unused_symbol): Likewise.
+       (Incremental_input_entry_reader::Global_symbol_info): Remove.
+       (Incremental_input_entry_reader::get_global_symbol_info): Remove.
+       (Incremental_input_entry_reader::get_global_symbol_reader): New
+       function.
+       (Incremental_input_entry_reader::get_output_symbol_index): New
+       function.
+       (Incremental_input_entry_reader::type_): Remove.
+       (Incremental_input_entry_reader::flags_): New data member.
+       (Incremental_inputs_reader::input_file_offset): New function.
+       (Incremental_inputs_reader::input_file_index): New function.
+       (Incremental_inputs_reader::input_file): Call input_file_offset.
+       (Incremental_inputs_reader::input_file_at_offset): New function.
+       (Incremental_relocs_reader::get_r_type): Reformat.
+       (Incremental_relocs_reader::get_r_shndx): Reformat.
+       (Incremental_relocs_reader::get_r_offset): Reformat.
+       (Incremental_relocs_reader::data): New function.
+       (Incremental_binary::Incremental_binary): Initialize new data members.
+       (Incremental_binary::check_inputs): Add cmdline parameter.
+       (Incremental_binary::file_is_unchanged): Remove.
+       (Input_reader::arg_serial): New function.
+       (Input_reader::get_unused_symbol_count): New function.
+       (Input_reader::get_unused_symbol): New function.
+       (Input_reader::do_arg_serial): New function.
+       (Input_reader::do_get_unused_symbol_count): New function.
+       (Input_reader::do_get_unused_symbol): New function.
+       (Incremental_binary::input_file_count): New function.
+       (Incremental_binary::get_input_reader): Change signature to use
+       index instead of filename.
+       (Incremental_binary::file_has_changed): New function.
+       (Incremental_binary::get_input_argument): New function.
+       (Incremental_binary::get_library): New function.
+       (Incremental_binary::get_script_info): New function.
+       (Incremental_binary::init_layout): New function.
+       (Incremental_binary::reserve_layout): New function.
+       (Incremental_binary::output_file): New function.
+       (Incremental_binary::do_check_inputs): New function.
+       (Incremental_binary::do_file_is_unchanged): Remove.
+       (Incremental_binary::do_file_has_changed): New function.
+       (Incremental_binary::do_init_layout): New function.
+       (Incremental_binary::do_reserve_layout): New function.
+       (Incremental_binary::do_input_file_count): New function.
+       (Incremental_binary::do_get_input_reader): Change signature.
+       (Incremental_binary::input_args_map_): New data member.
+       (Incremental_binary::library_map_): New data member.
+       (Incremental_binary::script_map_): New data member.
+       (Sized_incremental_binary::Sized_incremental_binary): Initialize
+       new data members.
+       (Sized_incremental_binary::output_section): New function.
+       (Sized_incremental_binary::inputs_reader): Add const.
+       (Sized_incremental_binary::symtab_reader): Add const.
+       (Sized_incremental_binary::relocs_reader): Add const.
+       (Sized_incremental_binary::got_plt_reader): Add const.
+       (Sized_incremental_binary::get_symtab_view): New function.
+       (Sized_incremental_binary::Inputs_reader): New typedef.
+       (Sized_incremental_binary::Input_entry_reader): New typedef.
+       (Sized_incremental_binary::do_check_inputs): Add cmdline parameter.
+       (Sized_incremental_binary::do_file_is_unchanged): Remove.
+       (Sized_incremental_binary::do_file_has_changed): New function.
+       (Sized_incremental_binary::do_init_layout): New function.
+       (Sized_incremental_binary::do_reserve_layout): New function.
+       (Sized_input_reader::Inputs_reader): Remove.
+       (Sized_input_reader::Input_entry_reader): Remove.
+       (Sized_input_reader::do_arg_serial): New function.
+       (Sized_input_reader::do_get_unused_symbol_count): New function.
+       (Sized_input_reader::do_get_unused_symbol): New function.
+       (Sized_incremental_binary::do_input_file_count): New function.
+       (Sized_incremental_binary::do_get_input_reader): Change signature;
+       use index instead of filename.
+       (Sized_incremental_binary::section_map_): New data member.
+       (Sized_incremental_binary::input_entry_readers_): New data member.
+       (class Sized_incr_relobj): New class.
+       (class Sized_incr_dynobj): New class.
+       (make_sized_incremental_object): New function.
+       (class Incremental_library): New class.
+       * layout.cc (Free_list::num_lists): New static data member.
+       (Free_list::num_nodes): New static data member.
+       (Free_list::num_removes): New static data member.
+       (Free_list::num_remove_visits): New static data member.
+       (Free_list::num_allocates): New static data member.
+       (Free_list::num_allocate_visits): New static data member.
+       (Free_list::init): New function.
+       (Free_list::remove): New function.
+       (Free_list::allocate): New function.
+       (Free_list::dump): New function.
+       (Free_list::print_stats): New function.
+       (Layout_task_runner::run): Resize output file for incremental updates.
+       (Layout::Layout): Initialize new data members.
+       (Layout::set_incremental_base): New function.
+       (Layout::init_fixed_output_section): New function.
+       (Layout::layout_eh_frame): Do not build .eh_frame_hdr section for
+       incremental updates.
+       (Layout::create_gold_note): Do not create gold note section for
+       incremental updates.
+       (Layout::set_segment_offsets): Do not recalculate RELRO alignment
+       for incremental updates.
+       (Layout::set_section_offsets): For incremental updates, allocate space
+       from free list.
+       (Layout::create_symtab_sections): Layout with offsets relative to
+       start of section; for incremental updates, allocate space from free
+       list.
+       (Layout::create_shdrs): For incremental updates, allocate space from
+       free list.
+       (Layout::finish_dynamic_section): For incremental updates, do not
+       check --as-needed (fixed in subsequent patch).
+       * layout.h (class Free_list): New class.
+       (Layout::set_incremental_base): New function.
+       (Layout::incremental_base): New function.
+       (Layout::init_fixed_output_section): New function.
+       (Layout::allocate): New function.
+       (Layout::incremental_base_): New data member.
+       (Layout::free_list_): New data member.
+       * main.cc (main): Print Free_list statistics.
+       * object.cc (Relobj::finalize_incremental_relocs): Add
+       clear_counts parameter; clear counts only when clear_counts is set.
+       (Sized_relobj::Sized_relobj): Initialize new base class.
+       (Sized_relobj::do_layout): Don't report special sections.
+       (Sized_relobj::do_for_all_local_got_entries): New function.
+       (Sized_relobj::write_local_symbols): Add symtab_off parameter; add
+       symtab_off to all symbol table offsets.
+       (Sized_relobj::do_get_global_symbol_counts): Add typename keyword.
+       * object.h (class Got_offset_list): Move to top of file.
+       (Object::Object): Allow case where input_file == NULL.
+       (Object::~Object): Likewise.
+       (Object::input_file): Assert that input_file != NULL.
+       (Object::lock): Allow case where input_file == NULL.
+       (Object::unlock): Likewise.
+       (Object::is_locked): Likewise.
+       (Object::token): Likewise.
+       (Object::release): Likewise.
+       (Object::is_incremental): New function.
+       (Object::get_mtime): New function.
+       (Object::for_all_local_got_entries): New function.
+       (Object::clear_view_cache_marks): Allow case where input_file == NULL.
+       (Object::set_is_in_system_directory): New function.
+       (Object::is_in_system_directory): New function.
+       (Object::do_is_incremental): New function.
+       (Object::do_get_mtime): New function.
+       (Object::do_for_all_local_got_entries): New function.
+       (Object::is_in_system_directory_): New data member.
+       (Relobj::finalize_incremental_relocs): Add clear_counts parameter.
+       (class Sized_relobj_base): New class.
+       (class Sized_relobj): Derive from Sized_relobj_base.
+       (class Sized_relobj::Symbols): Redeclare from base class.
+       (class Sized_relobj::local_got_offset_list): Remove.
+       (class Sized_relobj::Output_sections): Redeclare from base class.
+       (class Sized_relobj::do_for_all_local_got_entries): New function.
+       (class Sized_relobj::write_local_symbols): Add offset parameter.
+       (class Sized_relobj::local_symbol_offset_): Update comment.
+       (class Sized_relobj::local_dynsym_offset_): Update comment.
+       * options.cc (Input_arguments::add_file): Remove const.
+       * options.h (Input_file_argument::Input_file_argument):
+       Initialize arg_serial_ (all constructors).
+       (Input_file_argument::set_arg_serial): New function.
+       (Input_file_argument::arg_serial): New function.
+       (Input_file_argument::arg_serial_): New data member.
+       (Input_arguments::Input_arguments): Initialize file_count_.
+       (Input_arguments::add_file): Remove const.
+       (Input_arguments::number_of_input_files): New function.
+       (Input_arguments::file_count_): New data member.
+       (Command_line::number_of_input_files): Call
+       Input_arguments::number_of_input_files.
+       * output.cc (Output_segment_headers::Output_segment_headers):
+       Set current size.
+       (Output_section::Input_section::current_data_size): New function.
+       (Output_section::Output_section): Initialize new data members.
+       (Output_section::add_input_section): Don't do merge sections for
+       an incremental link; allocate space from free list for an
+       incremental update.
+       (Output_section::add_output_section_data): Allocate space from
+       free list for an incremental update.
+       (Output_section::update_data_size): New function.
+       (Output_section::set_fixed_layout): New function.
+       (Output_section::reserve): New function.
+       (Output_segment::set_section_addresses): Remove const.
+       (Output_segment::set_section_list_addresses): Remove const; allocate
+       space from free list for an incremental update.
+       (Output_segment::set_offset): Adjust size of RELRO segment for an
+       incremental update.
+       * output.h (Output_data::current_data_size): Move here from
+       child classes.
+       (Output_data::pre_finalize_data_size): New function.
+       (Output_data::update_data_size): New function.
+       (Output_section_headers::update_data_size): new function.
+       (Output_section_data_build::current_data_size): Move to Output_data.
+       (Output_data_strtab::update_data_size): New function.
+       (Output_section::current_data_size): Move to Output_data.
+       (Output_section::set_fixed_layout): New function.
+       (Output_section::has_fixed_layout): New function.
+       (Output_section::reserve): New function.
+       (Output_section::update_data_size): New function.
+       (Output_section::has_fixed_layout_): New data member.
+       (Output_section::free_list_): New data member.
+       (Output_segment::set_section_addresses): Remove const.
+       (Output_segment::set_section_list_addresses): Remove const.
+       * plugin.cc (Sized_pluginobj::do_for_all_local_got_entries):
+       New function.
+       * plugin.h (Sized_pluginobj::do_for_all_local_got_entries):
+       New function.
+       * readsyms.cc (Read_symbols::do_read_symbols): Add library
+       parameter when calling Add_symbols constructor; store argument
+       serial number for members of a lib group.
+       (Add_symbols::locks): Allow case where token == NULL.
+       (Add_symbols::run): Report libraries denoted by --start-lib/--end-lib.
+       (Read_member::~Read_member): New function.
+       (Read_member::is_runnable): New function.
+       (Read_member::locks): New function.
+       (Read_member::run): New function.
+       (Check_script::~Check_script): New function.
+       (Check_script::is_runnable): New function.
+       (Check_script::locks): New function.
+       (Check_script::run): New function.
+       (Check_library::~Check_library): New function.
+       (Check_library::is_runnable): New function.
+       (Check_library::locks): New function.
+       (Check_library::run): New function.
+       * readsyms.h (Add_symbols::Add_symbols): Add library parameter.
+       (Add_symbols::library_): New data member.
+       (class Read_member): New class.
+       (class Check_script): New class.
+       (class Check_library): New class.
+       * reloc.cc (Read_relocs::is_runnable): Allow case where
+       token == NULL.
+       (Read_relocs::locks): Likewise.
+       (Scan_relocs::locks): Likewise.
+       (Relocate_task::locks): Likewise.
+       (Sized_relobj::do_scan_relocs): Tell finalize_incremental_relocs
+       to clear counters.
+       (Sized_relobj::incremental_relocs_scan): Fix comment.
+       (Sized_relobj::do_relocate): Pass output file offset to
+       write_local_symbols.
+       (Sized_relobj::incremental_relocs_write_reltype): Use reloc_size
+       from class declaration.
+       * script.cc (read_input_script): Allocate Script_info; pass
+       argument serial number to report_script.
+       * script.h (class Script_info): Move to incremental.h.
+       * symtab.cc (Symbol_table::add_from_incrobj): New function.
+       * symtab.h (Symbol_table::add_from_incrobj): New function.
+       (Symbol_table::set_file_offset): New function.
+
+2011-04-05  Cary Coutant  <ccoutant@google.com>
+
+       * incremental-dump.cc (dump_incremental_inputs): Change signature
+       to take a Sized_incremental_binary; change caller.  Use readers
+       in Sized_incremental_binary.
+       * incremental.cc
+       (Sized_incremental_binary::find_incremental_inputs_sections):
+       Rename do_find_incremental_inputs_sections to this.
+       (Sized_incremental_binary::setup_readers): New function.
+       (Sized_incremental_binary::do_check_inputs): Check
+       has_incremental_info_ flag; move setup code to setup_readers;
+       use input readers.
+       (Sized_incremental_binary::do_file_is_unchanged): New function.
+       (Sized_incremental_binary::do_get_input_reader): New function.
+       * incremental.h (class Incremental_binary): Move to end of file.
+       (Incremental_binary::file_is_unchanged): New function.
+       (Incremental_binary::do_file_is_unchanged): New function.
+       (Incremental_binary::Input_reader): New class.
+       (Incremental_binary::get_input_reader): New function.
+       (class Sized_incremental_binary): Move to end of file.
+       (Sized_incremental_binary::Sized_incremental_binary): Setup the
+       input section reader classes.
+       (Sized_incremental_binary::has_incremental_info): New function.
+       (Sized_incremental_binary::inputs_reader): New function.
+       (Sized_incremental_binary::symtab_reader): New function.
+       (Sized_incremental_binary::relocs_reader): New function.
+       (Sized_incremental_binary::got_plt_reader): New function.
+       (Sized_incremental_binary::do_file_is_unchanged): New function.
+       (Sized_incremental_binary::Sized_input_reader): New class.
+       (Sized_incremental_binary::get_input_reader): New function.
+       (Sized_incremental_binary::find_incremental_inputs_sections):
+       Rename do_find_incremental_inputs_sections to this.
+       (Sized_incremental_binary::setup_readers): New function.
+       (Sized_incremental_binary::has_incremental_info_): New data member.
+       (Sized_incremental_binary::inputs_reader_): New data member.
+       (Sized_incremental_binary::symtab_reader_): New data member.
+       (Sized_incremental_binary::relocs_reader_): New data member.
+       (Sized_incremental_binary::got_plt_reader_): New data member.
+       (Sized_incremental_binary::current_input_file_): New data member.
+
+2011-04-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gold/12640
+       * dwarf_reader.cc (Sized_dwarf_line_info): Fix vector bounds
+       violation.
+
+2011-03-30  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Archive::include_member): Adjust call to report_object.
+       (Add_archive_symbols::run): Add script_info to call to
+       report_archive_begin.
+       (Lib_group::include_member): Adjust call to report_object.
+       (Add_lib_group_symbols::run): Adjust call to report_object.
+       * incremental-dump.cc (dump_incremental_inputs): Remove unnecessary
+       blocks.  Add object count for script input files.
+       * incremental.cc (Incremental_inputs::report_archive_begin): Add
+       script_info parameter; change all callers.
+       (Incremental_inputs::report_object): Add script_info parameter;
+       change all callers.
+       (Incremental_inputs::report_script): Store backpointer to
+       incremental info entry.
+       (Output_section_incremental_inputs::set_final_data_size): Record
+       additional information for scripts.
+       (Output_section_incremental_inputs::write_info_blocks): Likewise.
+       * incremental.h (Incremental_script_entry::add_object): New function.
+       (Incremental_script_entry::get_object_count): New function.
+       (Incremental_script_entry::get_object): New function.
+       (Incremental_script_entry::objects_): New data member; adjust
+       constructor.
+       (Incremental_inputs::report_archive_begin): Add script_info parameter.
+       (Incremental_inputs::report_object): Add script_info parameter.
+       (Incremental_inputs_reader::get_object_count): New function.
+       (Incremental_inputs_reader::get_object_offset): New function.
+       * options.cc (Input_arguments::add_file): Return reference to
+       new input argument.
+       * options.h (Input_argument::set_script_info): New function.
+       (Input_argument::script_info): New function.
+       (Input_argument::script_info_): New data member; adjust all
+       constructors.
+       (Input_file_group::add_file): Return reference to new input argument.
+       (Input_file_lib::add_file): Likewise.
+       (Input_arguments::add_file): Likewise.
+       * readsyms.cc (Add_symbols::run): Adjust call to report_object.
+       * script.cc (Parser_closure::Parser_closure): Add script_info
+       parameter; adjust all callers.
+       (Parser_closure::script_info): New function.
+       (Parser_closure::script_info_): New data member.
+       (read_input_script): Report scripts earlier to incremental info.
+       (script_add_file): Set script_info in Input_argument.
+       (script_add_library): Likewise.
+       * script.h (Script_options::Script_info): Rewrite class.
+
+2011-03-29  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Library_base::should_include_member): Move
+       method here from class Archive.
+       (Archive::Archive): Initialize base class.
+       (Archive::should_include_member): Move to base class.
+       (Archive::do_for_all_unused_symbols): New function.
+       (Add_archive_symbols::run): Remove redundant access to
+       incremental_inputs.
+       (Lib_group::Lib_group): Initialize base class.
+       (Lib_group::do_filename): New function.
+       (Lib_group::include_member): Pass pointer to Lib_group to
+       report_object.
+       (Lib_group::do_for_all_unused_symbols): New function.
+       (Add_lib_group_symbols::run): Report archive information for
+       incremental links.
+       * archive.h (class Library_base): New base class.
+       (class Archive): Derive from Library_base.
+       (Archive::filename): Move to base class.
+       (Archive::set_incremental_info): Likewise.
+       (Archive::incremental_info): Likewise.
+       (Archive::Should_include): Likewise.
+       (Archive::should_include_member): Likewise.
+       (Archive::Armap_entry): Remove.
+       (Archive::Unused_symbol_iterator): Remove.
+       (Archive::unused_symbols_begin): Remove.
+       (Archive::unused_symbols_end): Remove.
+       (Archive::do_filename): New function.
+       (Archive::do_get_mtime): New function.
+       (Archive::do_for_all_unused_symbols): New function.
+       (Archive::task_): Move to base class.
+       (Archive::incremental_info_): Likewise.
+       (class Lib_group): Derive from Library_base.
+       (Lib_group::do_filename): New function.
+       (Lib_group::do_get_mtime): New function.
+       (Lib_group::do_for_all_unused_symbols): New function.
+       (Lib_group::task_): Move to base class.
+       * dynobj.cc (Sized_dynobj::do_for_all_global_symbols): New
+       function.
+       * dynobj.h (Sized_dynobj::do_for_all_global_symbols): New
+       function.
+       * incremental.cc (Incremental_inputs::report_archive_begin):
+       Use Library_base; call library's get_mtime; add incremental inputs
+       entry before members.
+       (class Unused_symbol_visitor): New class.
+       (Incremental_inputs::report_archive_end): Use Library_base; use
+       visitor class to record unused symbols; don't add incremental inputs
+       entry after members.
+       (Incremental_inputs::report_object): Use Library_base.
+       * incremental.h
+       (Incremental_archive_entry::Incremental_archive_entry): Remove
+       unused Archive parameter.
+       (Incremental_inputs::report_archive_begin): Use Library_base.
+       (Incremental_inputs::report_archive_end): Likewise.
+       (Incremental_inputs::report_object): Likewise.
+       * object.cc (Sized_relobj::do_for_all_global_symbols): New
+       function.
+       * object.h (Object::for_all_global_symbols): New function.
+       (Object::do_for_all_global_symbols): New function.
+       (Sized_relobj::do_for_all_global_symbols): New function.
+       * plugin.cc (Sized_pluginobj::do_for_all_global_symbols):  New
+       function.
+       * plugin.h (Sized_pluginobj::do_for_all_global_symbols):  New
+       function.
+
+2011-03-27  Ian Lance Taylor  <iant@google.com>
+
+       * archive.cc (Archive::interpret_header): Return -1 if something
+       goes wrong.  Change callers accordingly.
+
+2011-03-25  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (final_layout.stdout): Use -n option with nm.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * plugin.cc (get_view): New.
+       (Plugin::load): Pass get_view to the plugin.
+       (Plugin_manager::get_view): New.
+
+2011-03-21  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/final_layout.sh: Rewrite to not use dc.
+       * testsuite/relro_test.sh: Fail if dc is not present.
+
+2011-03-21  Sriraman Tallam  <tmsriram@google.com>
+
+       * testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start.
+       Change == to -eq.
+       * testsuite/icf_string_merge_test.sh: Add #!/bin/sh to start.
+       * testsuite/icf_safe_test.sh: Add #!/bin/sh to start.
+       Change == to -eq.
+       * testsuite/icf_sht_rel_addend_test.sh: Add #!/bin/sh to start.
+       * testsuite/icf_preemptible_functions_test.sh: Add #!/bin/sh to start.
+
+2011-03-14  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.cc (Sort_output_sections::script_compare):
+       Rename from is_before, change return type.
+       (Sort_output_sections::operator()): Adjust accordingly.
+
+2011-03-11  Jeffrey Yasskin  <jyasskin@google.com>
+
+       PR gold/12572
+       * testsuite/odr_violation2.cc: Add comment to make all error line
+       numbers double digits.
+       * testsuite/debug_msg.sh: Adjust expected errors.
+
+2011-03-09  Jeffrey Yasskin  <jyasskin@google.com>
+
+       * dwarf_reader.cc (Sized_dwarf_line_info): Include all lines,
+       but mark earlier ones as non-canonical
+       (offset_to_iterator): Update search target and example
+       (do_addr2line): Return extra lines in a vector*
+       (format_file_lineno): Extract from do_addr2line
+       (one_addr2line): Add vector* out-param
+       * dwarf_reader.h (Offset_to_lineno_entry): New field recording
+       when a lineno entry appeared last for its instruction
+       (Dwarf_line_info): Add vector* out-param
+       * object.cc (Relocate_info): Pass NULL for the vector* out-param
+       * symtab.cc (Odr_violation_compare): Include the lineno in the
+       comparison again.
+       (linenos_from_loc): New. Combine the canonical line for an
+       address with its other lines.
+       (True_if_intersect): New. Helper functor to make
+       std::set_intersection a query.
+       (detect_odr_violations): Compare sets of lines instead of just
+       one line for each function. This became less deterministic, but
+       has fewer false positives.
+       * symtab.h: Declarations.
+       * testsuite/Makefile.am (odr_violation2.o): Compile with -O2 to
+       mix an optimized and non-optimized object in the same binary
+       (odr_violation2.so): Same.
+       * testsuite/Makefile.in: Regenerate from Makefile.am.
+       * testsuite/debug_msg.cc (main): Make OdrDerived classes.
+       * testsuite/debug_msg.sh: Update line numbers and add
+       assertions.
+       * testsuite/odr_violation1.cc: Use OdrDerived, in a
+       non-optimized context.
+       * testsuite/odr_violation2.cc: Make sure Ordering::operator()
+       isn't inlined, and use OdrDerived in an optimized context.
+       * testsuite/odr_header1.h: Defines OdrDerived, where
+       optimization will change the
+       first-instruction-in-the-destructor's file and line number.
+       * testsuite/odr_header2.h: Defines OdrBase.
+
+2011-03-09  Ian Lance Taylor  <iant@google.com>
+
+       * fileread.cc (File_read::clear_views): Don't delete the whole
+       file view.
+
+2011-03-08  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       * fileread.cc: #include <climits>.
+       (GOLD_IOV_MAX): Define.
+       (File_read::read_multiple): Limit number of entries by iov_max.
+       * fileread.h (class File_read): Always set max_readv_entries to
+       128.
+
+2011-03-07  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       * options.h (class General_options): Add -dy and -dn.
+
+2011-03-02  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/script_test_9.t: Add TLS segment.
+
+2011-03-02  Simon Baldwin  <simonb@google.com>
+
+       * configure.ac: Add check for gnu_indirect_function support in
+       the toolchain building binutils.
+       * configure: Rebuild.
+
+2011-02-18  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * symtab.cc (Symbol::should_add_dynsym_entry) Return false for
+       plugin only symbols.
+       (Symbol_table::sized_finalize_symbol) Mark symbol only present
+       in plugin files as not needed in the symbol table.
+
+2011-02-11  Sriraman Tallam  <tmsriram@google.com>
+
+       * output.cc (Output_section::add_input_section): Delay fill
+       generation for section ordering.
+
+2011-02-09  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12316
+       * object.h (class Sized_relobj): Remove clear_local_symbols.
+       * reloc.cc (Sized_relobj::do_relocate): Don't call
+       clear_local_symbols.
+
+2011-02-08  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * plugin.cc (is_visible_from_outside): Return true for symbols
+       in the -u option.
+
+2011-02-04  Jeffrey Yasskin  <jyasskin@google.com>
+
+       * symtab.cc (Odr_violation_compare::operator()): Sort by just the
+       filename.
+
+2011-02-02  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.h (is_section_foldable_candidate): Change type of parameter
+       to std::string.
+       * icf.cc (Icf::find_identical_sections): Change type of local variable
+       section_name to be std::string.
+       (is_function_ctor_or_dtor): Change type of parameter to std::string.
+
+2011-01-25  Ian Lance Taylor  <iant@google.com>
+
+       * script.cc (script_add_extern): Rewrite to use
+       add_symbol_reference.
+
+2011-01-25  Doug Kwan  <dougkwan@google.com>
+
+       * icf.cc (get_section_contents): Always lock section's object.
+
+2011-01-24  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Accept
+       --no-detect-odr-violations.
+
+2011-01-24  Ian Lance Taylor  <iant@google.com>
+
+       * version.cc (version_string): Bump to 1.11.
+
+2011-01-24  Ian Lance Taylor  <iant@google.com>
+
+       * plugin.cc (class Plugin_rescan): Define new class.
+       (Plugin_manager::claim_file): Set any_claimed_.
+       (Plugin_manager::save_archive): New function.
+       (Plugin_manager::save_input_group): New function.
+       (Plugin_manager::all_symbols_read): Create Plugin_rescan task if
+       necessary.
+       (Plugin_manager::new_undefined_symbol): New function.
+       (Plugin_manager::rescan): New function.
+       (Plugin_manager::rescannable_defines): New function.
+       (Plugin_manager::add_input_file): Set any_added_.
+       * plugin.h (class Plugin_manager): define new fields rescannable_,
+       undefined_symbols_, any_claimed_, and any_added_.  Declare
+       Plugin_rescan as friend.  Declare new functions.
+       (Plugin_manager::Rescannable): Define type.
+       (Plugin_manager::Rescannable_list): Define type.
+       (Plugin_manager::Undefined_symbol_list): Define type.
+       (Plugin_manager::Plugin_manager): Initialize new fields.
+       * archive.cc (Archive::defines_symbol): New function.
+       (Add_archive_symbols::run): Pass archive to plugins if any.
+       * archive.h (class Archive): Declare defines_symbol.
+       * readsyms.cc (Input_group::~Input_group): New function.
+       (Finish_group::run): Pass input_group to plugins if any.
+       * readsyms.h (class Input_group): Declare destructor.
+       * symtab.cc (add_from_object): Pass undefined symbol to plugins if
+       any.
+
+2011-01-10  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::layout_eh_frame): Mark a writable .eh_frame
+       section as relro.
+       (Layout::set_segment_offsets): Reset increase_relro before calling
+       set_section_addresses a second time.
+
+2011-01-04  Cary Coutant  <ccoutant@google.com>
+
+       * script-sections.cc (Sort_output_sections::operator()): Sort TLS
+       sections before NOBITS sections.
+
+2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.cc (print_version): Update copyright to 2011.
+
+2010-12-23  Cary Coutant  <ccoutant@google.com>
+
+       * output.h (Output_data_reloc::add_output_section): Pass OD instead
+       of OS to this->add.  Add OD parameter to second form of the function.
+
+2010-12-20  Ian Lance Taylor  <iant@google.com>
+
+       * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keep
+       second of two consecutive entries with same offset.
+
+2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * testsuite/Makefile.am (ifuncmain2static_LDADD)
+       (ifuncmain2_LDADD, ifuncmain4static_LDADD, ifuncmain4_LDADD)
+       (ifuncmain7static_LDADD, ifuncmain7_LDADD): New empty variables,
+       to avoid unneeded links against $(LDADD).
+       * testsuite/Makefile.in: Regenerate.
+
+2010-12-15  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12324
+       * x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error
+       for R_X86_64_32 and R_X86_64_PC32.
+       * testsuite/Makefile.am (ver_matching_def.so): Depend on and use
+       ver_matching_def_pic.o.
+       (ver_matching_def_pic.o): New target.
+
+2010-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * fileread.cc (file_counts_lock, file_counts_initialize_lock)
+       (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes):
+       Move definition before File_read::View member definitions.
+       (File_read::View::~View): Initialize and hold lock before
+       updating current_mapped_bytes.
+
+2010-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * dwarf_reader.cc: Remove outdated comment.
+       * gold-threads.cc: Fix typo in error message.
+       * archive.cc: Fix typos in comments.
+       * archive.h: Likewise.
+       * arm-reloc-property.cc: Likewise.
+       * arm-reloc-property.h: Likewise.
+       * arm-reloc.def: Likewise.
+       * arm.cc: Likewise.
+       * attributes.h: Likewise.
+       * cref.cc: Likewise.
+       * ehframe.cc: Likewise.
+       * fileread.h: Likewise.
+       * gold.h: Likewise.
+       * i386.cc: Likewise.
+       * icf.cc: Likewise.
+       * incremental.h: Likewise.
+       * int_encoding.cc: Likewise.
+       * layout.h: Likewise.
+       * main.cc: Likewise.
+       * merge.h: Likewise.
+       * object.cc: Likewise.
+       * object.h: Likewise.
+       * options.cc: Likewise.
+       * readsyms.cc: Likewise.
+       * reduced_debug_output.cc: Likewise.
+       * reloc.cc: Likewise.
+       * script-sections.cc: Likewise.
+       * sparc.cc: Likewise.
+       * symtab.h: Likewise.
+       * target-reloc.h: Likewise.
+       * target.cc: Likewise.
+       * target.h: Likewise.
+       * timer.cc: Likewise.
+       * timer.h: Likewise.
+       * x86_64.cc: Likewise.
+
+2010-12-09  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::layout_gnu_stack): Add warnings for executable
+       stack.
+       * layout.h (Layout::layout_gnu_stack): Add pointer to Object
+       parameter; change all callers.
+       * object.cc (Sized_relobj::do_layout): Adjust call to layout_gnu_stack.
+       * options.h (warn_execstack): New option.
+
+2010-12-07  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Scan::get_reference_flags): Treat R_ARM_PREL31
+       like function call relocations.
+
+2010-12-07  Ian Lance Taylor  <iant@google.com>
+
+       * archive.cc (Archive::get_elf_object_for_member): Permit
+       punconfigured to be NULL.
+       (Archive::read_symbols): Pass NULL to get_elf_object_for_member.
+       (Archive::include_member): Pass NULL to get_elf_object_for_member
+       if we searched for the archive and this is the first included
+       object.
+
+2010-12-01  Ian Lance Taylor  <iant@google.com>
+
+       * dwarf_reader.h (class Sized_dwarf_line_info): Add
+       track_relocs_type_ field.
+       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
+       Set track_relocs_type_.
+       (Sized_dwarf_line_info::process_one_opcode): Ignore the section
+       contents when using RELA relocs.
+       (Sized_dwarf_line_info::read_relocs): Add the reloc addend to
+       reloc_map_.
+       * reloc.cc (Track_relocs::next_addend): New function.
+       * reloc.h (class Track_relocs): Declare next_addend.
+
+2010-12-01  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
+       virtual destructor.
+
+2010-12-01  Ian Lance Taylor  <iant@google.com>
+
+       * README: Update compilers known to work and fail.
+
+2010-11-23  Matthias Klose  <doko@ubuntu.com>
+
+       * configure.in: For --enable-gold, handle value `default' instead of
+       `both*'.  Always install ld as ld.bfd, install as ld if gold is
+       not the default.
+       * configure: Regenerate.
+
+2010-11-18  Doug Kwan  <dougkwan@google.com>
+
+       * expression.cc (BINARY_EXPRESSION): Initialize left_alignment
+       and right_alignment to be zero.  Store result alignment only if it is
+       greater than existing alignment.
+
+2010-11-16  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12220
+       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
+       Check for ".zdebug_line".
+
+2010-11-16  Doug Kwan  <dougkwan@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       * output.h (Output_segment::set_section_addresses): Pass increase_relro
+       by reference; adjust all callers.
+       * output.cc (Output_segment::set_section_addresses): Adjust references
+       to increase_relro. Add padding to *increase_relro when ORDER_RELRO_LAST
+       list is empty.
+       (Output_segment::set_offset): Assert if PT_GNU_RELRO segment does not
+       end at page boundary.
+
+2010-11-16  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/12220
+       * layout.cc (Layout::choose_output_section): Transform names of
+       compressed sections even when using a script with a SECTIONS clause.
+       (Layout::output_section_name): Remove code to transform
+       compressed debug section names.
+       * output.cc (Output_section::add_input_section): Use uncompressed
+       section size when tracking input sections.
+
+2010-11-11  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * symtab.h (Symbol::NON_PIC_REF): Remove.
+       (Symbol::RELATIVE_REF, Symbol::TLS_REF): New Reference_flags.
+       (Symbol::FUNCTION_CALL): Renumber.  Reword comment.
+       (Symbol::needs_dynamic_reloc): Don't check NON_PIC_REF.
+       (Symbol::use_plt_offset): Take a flags argument and pass it
+       directly to needs_dynamic_reloc.  Restrict check for undefined
+       weak symbols to function calls.
+       * arm.cc (Target_arm::Scan::get_reference_flags): New function.
+       (Target_arm::Scan::global): Use it.
+       (Target_arm::Scan::scan_reloc_for_stub): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+       (Target_arm::Relocate::should_apply_static_reloc): Replace flags
+       parameter with an r_type parameter.  Use get_reference_flags
+       to get the flags.
+       (Target_arm::Relocate::relocate): Update accordingly.
+       * i386.cc (Target_i386::Scan::get_reference_flags): New function.
+       (Target_i386::Scan::reloc_needs_plt_for_ifunc): Use it.
+       (Target_i386::Scan::global): Likewise.
+       (Target_i386::Relocate::relocate): Likewise.
+       (Target_i386::Relocate::should_apply_static_reloc): Replace flags
+       parameter with an r_type parameter.  Use get_reference_flags
+       to get the flags.
+       (Target_i386::Relocate::relocate): Update accordingly.
+       * powerpc.cc (Target_powerpc::Scan::get_reference_flags): New function.
+       (Target_powerpc::Scan::global): Use it.
+       (Target_powerpc::Scan::scan_reloc_for_stub): Likewise.
+       (Target_powerpc::Relocate::relocate): Likewise.
+       * sparc.cc (Target_sparc::Scan::get_reference_flags): New function.
+       (Target_sparc::Scan::global): Use it.
+       (Target_sparc::Scan::scan_reloc_for_stub): Likewise.
+       (Target_sparc::Relocate::relocate): Likewise.
+       * x86_64.cc (Target_x86_64::Scan::get_reference_flags): New function.
+       (Target_x86_64::Scan::reloc_needs_plt_for_ifunc): Use it.
+       (Target_x86_64::Scan::global): Likewise.
+       (Target_x86_64::Relocate::relocate): Likewise.
+
+2010-11-08  Doug Kwan  <dougkwan@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       * arm.cc (Arm_exidx_merge_section::build_contents): New method.
+       (Arm_exidx_merge_section::section_contents_): New data member.
+       (Arm_input_section::Arm_input_section): Initialize original_contents_.
+       (Arm_input_section::~Arm_input_section): De-allocate memory.
+       (Arm_input_section::original_contents_): New data member.
+       (Arm_exidx_fixup::process_exidx_section): Pass EXIDX section contents
+       in parameters instead of calling Object::section_contents without
+       locking.
+       (Arm_output_section::group_section): New parameter TASK.  Pass it
+       to callees that need locking objects.
+       (Arm_output_section::fix_exidx_coverage): New parameter TASK.  Use it
+       to lock EXIDX input sections.  Fix a formatting issue.  Call
+       Arm_exidx_merged_section::build_contents to create merged section
+       contents.
+       (Arm_output_section::create_stub_group): New parameter TASK.  Use it
+       to lock object of stub table owner.
+       (Arm_exidx_input_section::Arm_exidx_input_section): Add new parameter
+       TEXT_SIZE to initialize data member TEXT_SIZE_.
+       (Arm_exidx_input_section::addralign): Fix typo in comment.
+       (Arm_exidx_input_section::text_size): New method.
+       (Target_arm::do_relax): New parameter TASK.  Pass it to callees
+       that require locking objects.  Lock objects before scanning for stubs
+       and updating local symbols.
+       (Arm_input_section<big_endian>::init): Copy contents of original
+       input section.
+       (Arm_input_section<big_endian>::do_write): Use saved contents of
+       original input section instead of calling Object::section_contents
+       without locking.
+       (Arm_exidx_cantunwind::do_fixed_endian_write): Find out text section
+       size without calling Object::section_size().
+       (Arm_exidx_merged_section::Arm_exidx_merged_section): Add sanity check
+       for size.  Allocate a buffer for merged EXIDX entries.
+       (Arm_exidx_merged_section::build_contents): New method.
+       (Arm_exidx_merged_section::do_write): Move merge section contents
+       building code to Arm_exidx_merged_section::build_contetns.  Write
+       out contetns in buffer instead of building it on the fly.
+       (Arm_relobj::make_exidx_input_section): Also pass text section size
+       to Arm_exidx_input_section constructor.
+       (Arm_relobj::do_read_symbols): Fix memory leak.  Fix a formatting issue.
+       (Arm_dynobj::do_read_symbols): Fix memory leak.
+       * layout.cc (Layout::finalize): Pass TASK to Target::relax().
+       * target.h: (class Task): Add forward declaration.
+       (Target::relax): Add new parameter TASK and pass it to
+       Target::do_relax().
+       (Target::do_relax):: New parameter TASK.  Fix a formatting issue.
+
+2010-11-05  Cary Coutant  <ccoutant@google.com>
+
+       PR gold/10708
+       * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Hold a lock on the
+       object when reading from the file.
+       * gold.cc (queue_middle_tasks): Hold a lock on the object when doing
+       second layout pass.
+       * icf.cc (preprocess_for_unique_sections): Hold a lock on the object
+       when reading section contents.
+       (get_section_contents): Likewise.
+       (icf::find_identical_sections): Likewise.
+       * mapfile.cc (Mapfile::print_discarded_sections): Hold a lock on the
+       object when reading from the file.
+       * plugin.cc (Plugin_manager::layout_deferred_objects): Hold a lock on
+       the object when doing deferred section layout.
+
+2010-11-03  Nick Clifton  <nickc@redhat.com>
+
+       PR gold/12001
+       * script.h (class Symbol_assignment: name): New member.  Returns
+       the name of the symbol.
+       * scrfipt.cc (Script_options::is_pending_assignment): New member.
+       Returns true if the given symbol name is on the list of
+       assignments wating to be processed.
+       * archive.cc (should_incldue_member): If the symbol is undefined,
+       check to see if it is on the list of symbols pending assignment.
+
+2010-11-03  Ryan Mansfield  <rmansfield@qnx.com>
+
+       * script-sections.cc (Script_sections::find_memory_region): Check
+       for a NULL output section pointer.
+
+2010-10-29  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_outout_section::fix_exidx_coverage): Adjust call to
+       Output_section::add_relaxed_input_section.
+       * output.cc (Output_section::add_relaxed_input_section): Add new
+       arguments LAYOUT and NAME.  Set section order index.
+       (Output_section::convert_input_sections_in_list_to_relaxed_sections):
+       Copy section order index.
+       * output.h (Output_section::add_relaxed_input_section): Add new
+       arguments LAYOUT and NAME.
+
+2010-10-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * testsuite/Makefile.am: Move gcctestdir/ld rule to
+       NATIVE_OR_CROSS_LINKER.
+       * testsuite/Makefile.in: Regenerate.
+
+2010-10-20  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::do_read_symbols): Warn about ARM EXIDX sections
+       without SHF_LINK_ORDER flags.
+       * layout.cc (Layout::choose_output_section): Do not filter
+       SHF_LINK_ORDER flag in a relocatable link.
+
+2010-10-17  Cary Coutant  <ccoutant@google.com>
+
+       * output.h (Output_segment::set_section_addresses): Change function
+       signature.  Update all callers.
+       * output.cc (Output_segment::is_first_section_relro): Ignore TLS
+       sections.
+       (Output_segment::set_section_addresses): Align after last TLS
+       section.  Add padding before last relro section instead of after.
+
+2010-10-17  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::got_section): Use correct order and set
+       GOT output section to be writable.
+
+2010-10-14  Cary Coutant  <ccoutant@google.com>
+
+       * debug.h (DEBUG_INCREMENTAL): New flag.
+       (debug_string_to_enum): Add DEBUG_INCREMENTAL).
+       * gold.cc (queue_initial_tasks): Check parameters for incremental link
+       mode.
+       * incremental.cc (report_command_line): Ignore all forms of
+       --incremental.
+       * layout.cc (Layout::Layout): Check parameters for incremental link
+       mode.
+       * options.cc (General_options::parse_incremental): New function.
+       (General_options::parse_no_incremental): New function.
+       (General_options::parse_incremental_full): New function.
+       (General_options::parse_incremental_update): New function.
+       (General_options::incremental_mode_): New data member.
+       (General_options::finalize): Check incremental_mode_.
+       * options.h (General_options): Update help text for --incremental.
+       Add --no-incremental, --incremental-full, --incremental-update.
+       (General_options::Incremental_mode): New enum type.
+       (General_options::incremental_mode): New function.
+       (General_options::incremental_mode_): New data member.
+       * parameters.cc (Parameters::incremental_mode_): New data member.
+       (Parameters::set_options): Set incremental_mode_.
+       (Parameters::set_incremental_full): New function.
+       (Parameters::incremental): New function.
+       (Parameters::incremental_update): New function.
+       (set_parameters_incremental_full): New function.
+       * parameters.h (Parameters::set_incremental_full): New function.
+       (Parameters::incremental): New function.
+       (Parameters::incremental_update): New function.
+       (Parameters::incremental_mode_): New data member.
+       (set_parameters_incremental_full): New function.
+       * plugin.cc (Plugin_manager::add_input_file): Check parameters for
+       incremental link mode.
+       * reloc.cc (Sized_relobj::do_read_relocs): Likewise.
+       (Sized_relobj::do_relocate_sections): Likewise.
+       * testsuite/Makefile.am (incremental_test): Use --incremental-full
+       option.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/incremental_test.sh: Filter all forms of --incremental.
+
+2010-10-12  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * script-sections.h (class Script_sections): Make
+       Sections_elements typedef public.
+       * script-sections.cc (class Sort_output_sections): Add elements_
+       field.  Add constructor which sets it; change all callers.
+       (Sort_output_sections::is_before): New function.
+       (Sort_output_sections::operator()): Call is_before.
+       * configure.ac (NATIVE_OR_CROSS_LINKER): New automake
+       conditional.
+       * testsuite/script_test_10.sh: New test. Test script section
+       order.
+       * testsuite/script_test_10.t: Likewise.
+       * testsuite/script_test_10.s: Likewise.
+       * testsuite/Makefile.am: Wrap the cross linker tests and the
+       common tests into NATIVE_OR_CROSS_LINKER.
+       (check_SCRIPTS): Add script_test_10.sh.
+       (check_DATA): Add script_test_10.stdout.
+       (script_test_10.o, script_test_10): New targets.
+       (script_test_10.stdout): New target.
+       * configure, testsuite/Makefile.in: Regenerate.
+
+2010-10-12  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Target_arm::Scan::local): Report the unsupported reloc
+       error for the deprecated relocations.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+
+2010-10-12  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * fileread.cc (Input_file::find_file): Initialize *found_name
+       and *namep when using the fallback search for case 4.
+
+2010-10-11  Cary Coutant  <ccoutant@google.com>
+
+       * options.h (class General_options): Redefine -z lazy as an alias for
+       the negation of -z now.
+
+2010-10-11  Ian Lance Taylor  <iant@google.com>
+
+       * resolve.cc (symbol_to_bits): Report the value of the unsupported
+       binding.
+
+2010-10-06  Nick Clifton  <nickc@redhat.com>
+
+       * script-sections.cc(class Memory_region): Remove
+       current_lma_offset_ field.  Rename current_vma_offset_ to
+       current_offset_.  Add last_section_ field.
+       (Memory_region::get_current_vma_address): Rename to
+       get_current_address.
+       (Memory_region::get_current_lma_address): Delete.
+       (Memory_region::increment_vma_offset): Rename to
+       increment_offset.
+       (Memory_region::increment_lma_offset): Delete.
+       (Memory_region::attributes_compatible): New method.  Returns
+       true if the provided section is compatible with the region.
+       (Memory_region::get_last_section): New method.  Returns the last
+       section to use the region.
+       (Memory_region::set_last_section): New method.  Stores the last
+       section to use the region.
+       (Script_sections::block_in_region): New method.  Returns true if
+       a block of memory is contained within a region.
+       (Script_sections::find_memory_region): New method.  Locates a
+       memory region to be used to set a VMA or LMA address.
+       (Output_section_definition::set_section_addresses): Add code to
+       check for addresses set by memory regions.
+       (Output_segment::set_section_addresses): Remove memory region
+       walking code.
+       (Script_sections::create_segment): Add a warning if a header
+       segment is created outside of any region.
+       * script-sections.h (class Script_sections): Add prototypes for
+       find_memory_region and block_in_region methods.
+       * testsuite/memory_test.s: Use .long instead of .word.
+       * testsuite/memory_test.t: Add some more output sections.
+       * testsuite/memory_test.sh: Update expected output.
+
+2010-10-02  Doug Kwan  <dougkwan@google.com>
+
+       * symtab.cc (Symbol_table::Symbol_table_hash::operator()): Move
+       defintion to symtab.h
+       * symtab.h (Symbol_table::Symbol_table_hash::operator()): Change
+       declaration to defintion.
+
+2010-10-01  Nick Clifton  <nickc@redhat.com>
+
+       * expression.cc (eval): Replace dummy argument with NULL.
+       (eval_maybe_dot): Check for a NULL result section pointer.
+       (Symbol_expression::value): Likewise.
+       (Dot_expression::value): Likewise.
+       (BINARY_EXPRESSION): Likewise.
+       (Max_expression::value): Likewise.
+       (Min_expression::value): Likewise.
+       (Absolute_expression::value): Likewise.
+       (Addr_expression::value_from_output_section): Likewise.
+       (Loaddddr_expression::value_from_output_section): Likewise.
+       (Segment_start_expression::value): Likewise.
+       * script-sections.cc
+       (Sections_elememt_dot_assignment::finalize_symbols): Replace dummy
+       argument with NULL.
+       (Sections_elememt_dot_assignment::set_section_addresses):
+       Likewise.
+       (Output_data_expression::do_write_to_buffer): Likewise.
+       (Output_section_definition::finalize_symbols): Likewise.
+       (Output_section_definition::set_section_addresses): Likewise.
+
+2010-09-30  Doug Kwan  <dougkwan@google.com>
+
+       * testsuite/arm_branch_out_of_range.sh: Fix broken tests.
+
+2010-09-28  Sriraman Tallam  <tmsriram@google.com>
+
+       * target.h (Target::can_icf_inline_merge_sections): New virtual
+       function.
+       * x86_64.cc (Target__x86_64::can_icf_inline_merge_sections): New
+       virtual function.
+       * i386.cc (Target_i386::can_icf_inline_merge_sections): New
+       virtual function.
+       * icf.cc (get_section_contents): Inline merge sections only when
+       target allows it.
+
+2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2010-09-17  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/memory_test.sh: Adjust for change of 2010-09-10.
+       * testsuite/Makefile.am (memory_test.o): New target.
+       (memory_test): Depend on memory_test.o, gcctestdir/ld, and
+       memory_test.t.
+       * testsuite/Makefile.in: Rebuild.
+
+2010-09-17  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Relocate::relocate): Ignore symbol type and
+       defintion if relocation uses GOT entries of the symbol.
+       * testsuite/icf_safe_test.sh: Fix test.
+       * testsuite/icf_safe_so_test.sh: Fix test.
+
+2010-09-16  Cary Coutant  <ccoutant@google.com>
+
+       * script_sections.cc (class Memory_region): Remove "NULL" from
+       vector initializations.
+
+2010-09-15  Cary Coutant  <ccoutant@google.com>
+
+       * incremental.cc (Output_section_incremental_inputs::write_info_blocks):
+       Resolve forwarding symbols.
+
+2010-09-15  Doug Kwan  <dougkwan@google.com>
+
+       * testsuite/script_test_3.t: Add ARM special sections.
+       * testsuite/script_test_4.t: Same.
+       * testsuite/script_test_5.t: Same.
+       * testsuite/script_test_6.t: Same.
+       * testsuite/script_test_7.t: Same.
+       * testsuite/script_test_7.t: Same.
+       * testsuite/thumb_blx_out_of_range.s: Fix instruction alignment.
+
+2010-09-14  Cary Coutant  <ccoutant@google.com>
+
+       * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.
+       (Target_x86_64::Relocate::relocate_tls): Replace check for
+       saw_tls_block_reloc_ with test for executable section.
+
+2010-09-12  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls from
+       position-independent executables to shared libraries need dynamic
+       relocations.
+       (Symbol::may_need_copy_reloc): Do not generate COPY relocs in
+       position-independent executables.
+       * testsuite/Makefile.am (two_file_mixed_pie_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+
+2010-09-10  Nick Clifton  <nickc@redhat.com>
+
+       PR gold/11997
+       * testsuite/memory_test.t: Discard any sections that are not
+       needed.
+
+2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/11996
+       * object.cc (Sized_relobj::do_finalize_local_symbols): Remove
+       "This::" to work around a bug in gcc 4.2.
+
+       * testsuite/ifuncmain7.c (foo_ifunc): Add __attribute__ ((used)).
+
+2010-09-09  Rafael Espindola  <espindola@google.com>
+
+       * layout.cc (Layout::attach_allocated_section_to_segment): Don't put
+       sections with different PF_X flags in the same segment.
+       (Layout::find_first_load_seg): Search all segments to find the first
+       one.
+       * options.h (rosegment): New.
+
+2010-09-08  Rafael Espindola  <espindola@google.com>
+
+       * layout.cc (Layout::set_segment_offsets): Always advance to a new page.
+
+2010-09-08  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_cantunwind::do_print_to_mapfile): New method.
+       (Arm_relobj::do_relocate_sections): Add new parameter for output
+       file to match the parent.
+       (Target_arm::scan_reloc_section_for_stubs): Use would-be final values
+       of local symbols instead of input values.  Update code to track
+       changes in gold::relocate_section.
+       * object.cc (Sized_relobj::compute_final_local_value): New methods.
+       (Sized_relobj::compute_final_local_value_internal): New methods.
+       (Sized_relobj::do_finalize_local_symbols): Move code from loop
+       body into private version of Sized_relobj::compute_final_local_value.
+       Call the inline method.
+       * object.h (Symbol_value::Symbol_value): Define destructor.  Free
+       merged symbol value if there is one.
+       (Symbol_value::has_output_value): New method defintiion.
+       (Sized_relobj::Compute_final_local_value_status): New enum type.
+       (Sized_relobj::compute_final_local_value): New methods.
+       (Sized_relobj::compute_final_local_value_internal): New methods.
+       * Makefile.am (check_SCRIPTS): Add arm_branch_out_of_range.sh
+       and arm_cortex_a8.sh.
+       (thumb_bl_out_of_range_local, arm_cortex_a8_b_cond, arm_cortex_a8_bl,
+       arm_cortex_a8_blx, arm_cortex_a8_local, arm_corte_a8_local_reloc):
+       New tests.
+       * Makefile.in: Regenerate.
+       * testsuite/arm_bl_out_of_range.s: Update test.
+       * testsuite/thumb_bl_out_of_range.s: Ditto.
+       * testsuite/thumb_blx_out_of_range.s: Ditto.
+       * testsuite/arm_branch_out_of_range.sh: New file.
+       * testsuite/arm_cortex_a8.sh: Ditto.
+       * testsuite/arm_cortex_a8_b.s: Ditto.
+       * testsuite/arm_cortex_a8_b_cond.s: Ditto.
+       * testsuite/arm_cortex_a8_b_local.s: Ditto.
+       * testsuite/arm_cortex_a8_bl.s: Ditto.
+       * testsuite/arm_cortex_a8_blx.s: Ditto.
+       * testsuite/arm_cortex_a8_local.s: Ditto.
+       * testsuite/arm_cortex_a8_local_reloc.s: Ditto.
+       * testsuite/thumb_bl_out_of_range_local.s: Ditto.
+
+2010-09-08  Rafael Espindola  <espindola@google.com>
+
+       * Makefile.am (memory_test.stdout): Run readelf with -W.
+       * Makefile.in: Regenerate.
+       * testsuite/memory_test.sh: Make the regexps accept both 32 and
+       64 bit output.
+
+2010-09-08  Rafael Espindola  <espindola@google.com>
+
+       * script-sections.cc (Script_sections::add_memory_region): Convert
+       field precision to int.
+       * script.cc (script_set_section_region, script_set_section_region):
+       Convert field precision to int.
+
+2010-09-08  Rafael Espindola  <espindola@google.com>
+
+       * arm.cc (do_finalize_sections): Create the __exidx_start and
+       __exdix_end symbols even when the section is missing.
+
+2010-09-08  Nick Clifton  <nickc@redhat.com>
+
+       * README: Remove claim that MEMORY is not supported.
+       * expression.cc (script_exp_function_origin)
+       (script_exp_function_length): Move from here to ...
+       * script.cc: ... here.
+       (script_set_section_region, script_add_memory)
+       (script_parse_memory_attr, script_include_directive): New
+       functions.
+       * script-sections.cc
+       (class Memory_region): New class.
+       (class Output_section_definition): Add set_memory_region,
+       set_section_vma, set_section_lma and get_section_name methods.
+       (class Script_Sections): Add add_memory_region,
+       find_memory_region, find_memory_region_origin,
+       find_memory_region_length and set_memory_region methods.
+       Have set_section_addresses method walk the list of set memory
+       regions.
+       Extend the print methos to display memory regions.
+       * script-sections.h: Add prototypes for new methods.
+       Add enum for MEMORY region attributes.
+       * yyscript.y: Add support for parsing MEMORY regions.
+       * script-c.h: Add prototypes for new functions.
+       * testsuite/Makefile.am: Add test of MEMORY region functionality.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/memory_test.sh: New script.
+       * testsuite/memory_test.s: New assembler source file.
+       * testsuite/memory_test.t: New linker script.
+
+2010-08-27  Doug Kwan  <dougkwan@google.com>
+
+       * resolve.cc (Symbol_table::should_override): Let a weak
+       reference override an existing dynamic weak reference.
+       * testsuite/Makefile.am: Add new test dyn_weak_ref.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/dyn_weak_ref.sh: New file.
+       * testsuite/dyn_weak_ref_1.c: Ditto.
+       * testsuite/dyn_weak_ref_2.c: Ditto.
+
+2010-08-27  Ian Lance Taylor  <iant@google.com>
+
+       * incremental.h (class Incremental_input_entry): Add virtual
+       destructor.
+
+2010-08-27  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/start_lib_test_3.c: Mark t3 as used.
+
+2010-08-27  Nick Clifton  <nickc@redhat.com>
+
+       * options.cc (version_script): Fix small typo in previous
+       whitespace tidyup.
+
+2010-08-25  Nick Clifton  <nickc@redhat.com>
+
+       * archive.cc: Formatting fixes: Remove whitespace between
+       typename and following asterisk.  Remove whitespace between
+       function name and opening parenthesis.
+       * archive.h: Likewise.
+       * arm.cc: Likewise.
+       * attributes.cc: Likewise.
+       * attributes.h: Likewise.
+       * common.cc: Likewise.
+       * copy-relocs.cc: Likewise.
+       * dirsearch.h: Likewise.
+       * dynobj.cc: Likewise.
+       * ehframe.cc: Likewise.
+       * ehframe.h: Likewise.
+       * expression.cc: Likewise.
+       * fileread.cc: Likewise.
+       * fileread.h: Likewise.
+       * gc.h: Likewise.
+       * gold-threads.cc: Likewise.
+       * gold.cc: Likewise.
+       * i386.cc: Likewise.
+       * icf.h: Likewise.
+       * incremental-dump.cc: Likewise.
+       * incremental.cc: Likewise.
+       * layout.cc: Likewise.
+       * layout.h: Likewise.
+       * main.cc: Likewise.
+       * merge.cc: Likewise.
+       * merge.h: Likewise.
+       * object.cc: Likewise.
+       * object.h: Likewise.
+       * options.cc: Likewise.
+       * options.h: Likewise.
+       * output.cc: Likewise.
+       * output.h: Likewise.
+       * plugin.cc: Likewise.
+       * plugin.h: Likewise.
+       * powerpc.cc: Likewise.
+       * reloc.cc: Likewise.
+       * script-c.h: Likewise.
+       * script-sections.cc: Likewise.
+       * script.cc: Likewise.
+       * stringpool.cc: Likewise.
+       * symtab.cc: Likewise.
+       * symtab.h: Likewise.
+       * target.cc: Likewise.
+       * timer.cc: Likewise.
+       * timer.h: Likewise.
+       * version.cc: Likewise.
+       * x86_64.cc: Likewise.
+
+2010-08-24  Nick Clifton  <nickc@redhat.com>
+
+       PR 11899
+       * layout.cc (segment_precedes): Sort segments by their physical
+       addresses, if they have been set.
+
+2010-08-23  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Lib_group::add_symbols): Lock object before deleting its
+       symbols data.
+       (Lib_group::include_member): Unlock object after deleting its
+       symbols data.
+       * testsuite/start_lib_test_3.c: Remove all global symbols to trigger
+       the bug fixed here.
+
+2010-08-19  Neil Vachharajani  <nvachhar@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       * archive.h (Add_lib_group_symbols): Add readsyms_blocker_, adjust
+       constructor, and set_blocker.
+       * archive.cc (Add_lib_group_symbols::is_runnable): Also check
+       readsyms_blocker_.
+       * readsyms.cc (Read_symbols::do_lib_group): Also pass
+       this->this_blocker_ to Add_lib_group_symbols::set_blocker.
+       * testsuite/Makefile.am (start_lib_test): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/start_lib_test_main.c: New file.
+       * testsuite/start_lib_test_1.c: New file.
+       * testsuite/start_lib_test_2.c: New file.
+       * testsuite/start_lib_test_3.c: New file.
+
+2010-08-19  Ian Lance Taylor  <iant@google.com>
+
+       * Makefile.in: Rebuild with automake 1.11.1.
+       * aclocal.m4: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+2010-08-19  Ian Lance Taylor  <iant@google.com>
+
+       PR 10893
+       * i386.cc (class Output_data_plt_i386): Update declarations.
+       Define Global_ifunc and Local_ifunc types.  Add global_ifuncs_ and
+       local_ifuncs_ fields.
+       (Target_i386::do_plt_section_for_global): New function.
+       (Target_i386::do_plt_section_for_local): New function.
+       (Output_data_plt_i386::Output_data_plt_i386): Add symtab
+       parameter; change all callers.  Initialize global_ifuncs_ and
+       local_ifuncs_.  If doing a static link define __rel_iplt_start and
+       __rel_iplt_end.
+       (Output_data_plt_i386::add_entry): Handle IFUNC symbols.
+       (Output_data_plt_i386::add_local_ifunc_entry): New function.
+       (Output_data_plt_i386::do_write): Fix GOT entries for IFUNC
+       symbols.
+       (Target_i386::make_plt_section): New function, broken out of
+       make_plt_entry.  Set sh_info field of .rel.plt to point to .plt.
+       (Target_i386::make_plt_entry): Call make_plt_section.
+       (Target_i386::make_local_ifunc_plt_entry): New function.
+       (Target_i386::Scan::reloc_needs_iplt_for_ifunc): New function.
+       (Target_i386::Scan::local): Handle IFUNC symbols.  Add
+       R_386_IRELATIVE to switch.
+       (Target_i386::Scan::global): Likewise.
+       (Target_i386::Relocate::relocate): Likewise.
+       (Target_i386::Relocatable_size_for_reloc): Add R_386_IRELATIVE to
+       switch.
+       * x86_64.cc (class Output_data_plt_x86_64): Update declarations.
+       (Target_x86_64::do_plt_section_for_global): New function.
+       (Target_x86_64::do_plt_section_for_local): New function.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64): Add symtab
+       parameter; change all callers.  If doing a static link define
+       __rela_iplt_start and __rela_iplt_end.
+       (Output_data_plt_x86_64::add_entry): Handle IFUNC symbols.
+       (Output_data_plt_x86_64::add_local_ifunc_entry): New function.
+       (Target_x86_64::make_plt_section): Set sh_info field of .rel.plt
+       to point to .plt.
+       (Target_x86_64::make_local_ifunc_plt_entry): New function.
+       (Target_x86_64::Scan::check_non_pic): Add R_X86_64_IRELATIVE to
+       switch.
+       (Target_x86_64::Scan::reloc_needs_iplt_for_ifunc): New function.
+       (Target_x86_64::Scan::local): Handle IFUNC symbols.  Add
+       R_X86_64_IRELATIVE to switch.
+       (Target_x86_64::Scan::global): Likewise.
+       (Target_x86_64::Relocate::relocate): Likewise.
+       (Target_x86_64::Relocatable_size_for_reloc): Add R_X86_64_IRELATIVE to
+       switch.
+       * target.h (class Target): Add plt_section_for_global and
+       plt_section_for_local functions.  Add do_plt_section_for_global
+       and do_plt_section_for_local virtual functions.
+       * symtab.h (Symbol::needs_plt_entry): Handle IFUNC symbol.  Add
+       clarifying comments.
+       (Symbol::use_plt_offset): Handle IFUNC symbol.
+       * object.cc (Sized_relobj::Sized_relobj): Initialize
+       local_plt_offsets_.
+       (Sized_relobj::local_has_plt_offset): New function.
+       (Sized_relobj::local_plt_offset): New function.
+       (Sized_relobj::set_local_plt_offset): New function.
+       (Sized_relobj::do_count): Handle IFUNC symbol.
+       * object.h (class Symbol_value): Add is_ifunc_symbol_ field.  Take
+       a bit away from input_shndx_ field.  Add set_is_func_symbol and
+       is_ifunc_symbol functions.
+       (class Sized_relobj): Update declarations.  Remove Tls_got_entry
+       and Local_tls_got_offsets.  Define Local_plt_offsets.  Add
+       local_plt_offsets_ field.
+       (Sized_relobj::clear_local_symbols): Clear local_plt_offsets_.
+       * output.h (class Output_section_data): Add non-const
+       output_section function.
+       (class Output_data_got): Update declarations.
+       (class Output_data_got::Got_entry): Add use_plt_offset_ field.
+       Add use_plt_offset parameter to global and local constructors.
+       Change all callers.  Change local_sym_index_ field to 31 bits.
+       Change GSYM_CODE and CONSTANT_CODE accordingly.
+       * output.cc (Output_data_reloc_base::do_adjust_output_section): If
+       doing a static link don't set sh_link field.
+       (Output_data_got::Got_entry::write): Use PLT offset if
+       appropriate.
+       (Output_data_got::add_global_plt): New function.
+       (Output_data_got::add_local_plt): New function.
+       * target-reloc.h (relocate_section): Handle IFUNC symbol.
+       * defstd.cc (in_section): Remove entries for __rel_iplt_start,
+       __rel_iplt_end, __rela_iplt_start, and __rela_iplt_end.
+       * configure.ac: Set IFUNC automake conditional for glibc >= 2.11.
+       * testsuite/Makefile.am: Add a bunch of IFUNC tests, all within
+       IFUNC conditional.
+       * testsuite/ifunc-sel.h: New file.
+       * testsuite/ifuncmain1.c: New file.
+       * testsuite/ifuncmain1vis.c: New file.
+       * testsuite/ifuncmod1.c: New file.
+       * testsuite/ifuncdep2.c: New file.
+       * testsuite/ifuncmain2.c: New file.
+       * testsuite/ifuncmain3.c: New file.
+       * testsuite/ifuncmod3.c: New file.
+       * testsuite/ifuncmain4.c: New file.
+       * testsuite/ifuncmain5.c: New file.
+       * testsuite/ifuncmod5.c: New file.
+       * testsuite/ifuncmain6pie.c: New file.
+       * testsuite/ifuncmod6.c: New file.
+       * testsuite/ifuncmain7.c: New file.
+       * configure, testsuite/Makefile.in: Rebuild.
+
+2010-08-18  Ian Lance Taylor  <iant@google.com>
+
+       * incremental.cc
+       (Output_section_incremental_inputs::write_input_files): Add cast
+       to avoid signed/unsigned comparison warning.
+       (Output_section_incremental_inputs::write_info_blocks): Likewise.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+
+       * common.cc (Sort_commons::operator()): Remove unnecessary code.
+
+2010-08-13  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/incremental_test_1.c: Add prototype to avoid warning.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+           Doug Kwan  <dougkwan@google.com>
+
+       * resolve.cc (Symbol_table::should_override): When a weak dynamic
+       defintion overrides non-weak undef, remember that the original undef
+       is not weak.
+       * symtab.cc (Symbol_table::sized_write_global): For undef without
+       an original weak binding, set binding to global in output.
+       * testsuite/Makefile.am: Add new test strong_ref_weak_def.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/strong_ref_weak_def.sh: New file.
+       * testsuite/strong_ref_weak_def_1.c: Ditto.
+       * testsuite/strong_ref_weak_def_2.c: Ditto.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/incremental_test.sh: Rewrite.
+       * testsuite/incremental_test_1.c: Rewrite.
+       * testsuite/incremental_test_2.c: Rewrite.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+
+       * arm.cc (Target_arm::got_size): Add const.
+       (Target_arm::got_entry_count): New function.
+       (Target_arm::plt_entry_count): New function.
+       (Target_arm::first_plt_entry_offset): New function.
+       (Target_arm::plt_entry_size): New function.
+       (Output_data_plt_arm::entry_count): New function.
+       (Output_data_plt_arm::first_plt_entry_offset): New function.
+       (Output_data_plt_arm::get_plt_entry_size): New function.
+       * i386.cc (Target_i386::got_size): Add const.
+       (Target_i386::got_entry_count): New function.
+       (Target_i386::plt_entry_count): New function.
+       (Target_i386::first_plt_entry_offset): New function.
+       (Target_i386::plt_entry_size): New function.
+       (Output_data_plt_i386::entry_count): New function.
+       (Output_data_plt_i386::first_plt_entry_offset): New function.
+       (Output_data_plt_i386::get_plt_entry_size): New function.
+       * incremental-dump.cc (dump_incremental_inputs): Adjust call to
+       find_incremental_inputs_sections.  Dump incremental_got_plt section.
+       * incremental.cc: Include target.h.
+       (Sized_incremental_binary::do_find_incremental_inputs_sections): Add
+       parameter.  Adjust all callers.  Find incremental_got_plt section.
+       (Incremental_inputs::create_data_sections): Create incremental_got_plt
+       section.
+       (Output_section_incremental_inputs::set_final_data_size): Calculate
+       size of incremental_got_plt section.
+       (Output_section_incremental_inputs::do_write): Write the
+       incremental_got_plt section.
+       (Got_plt_view_info): New struct.
+       (Local_got_offset_visitor): New class.
+       (Global_got_offset_visitor): New class.
+       (Global_symbol_visitor_got_plt): New class.
+       (Output_section_incremental_inputs::write_got_plt): New function.
+       * incremental.h (Incremental_binary::find_incremental_inputs_sections):
+       Add parameter.  Adjust all callers.
+       (Incremental_binary::do_find_incremental_inputs_sections): Likewise.
+       (Incremental_inputs::got_plt_section): New function.
+       (Incremental_inputs::got_plt_section_): New data member.
+       (Incremental_got_plt_reader): New class.
+       * layout.cc (Layout::create_incremental_info_sections): Add the
+       incremental_got_plt section.
+       * object.h (Got_offset_list::get_list): New function.
+       (Got offset_list::for_all_got_offsets): New function.
+       (Sized_relobj::local_got_offset_list): New function.
+       * powerpc.cc (Target_powerpc::got_size): Add const.
+       (Target_powerpc::got_entry_count): New function.
+       (Target_powerpc::plt_entry_count): New function.
+       (Target_powerpc::first_plt_entry_offset): New function.
+       (Target_powerpc::plt_entry_size): New function.
+       (Output_data_plt_powerpc::entry_count): New function.
+       (Output_data_plt_powerpc::first_plt_entry_offset): New function.
+       (Output_data_plt_powerpc::get_plt_entry_size): New function.
+       * sparc.cc (Target_sparc::got_size): Add const.
+       (Target_sparc::got_entry_count): New function.
+       (Target_sparc::plt_entry_count): New function.
+       (Target_sparc::first_plt_entry_offset): New function.
+       (Target_sparc::plt_entry_size): New function.
+       (Output_data_plt_sparc::entry_count): New function.
+       (Output_data_plt_sparc::first_plt_entry_offset): New function.
+       (Output_data_plt_sparc::get_plt_entry_size): New function.
+       * symtab.h (Symbol::got_offset_list): New function.
+       (Symbol_table::for_all_symbols): New function.
+       * target.h (Sized_target::got_entry_count): New function.
+       (Sized_target::plt_entry_count): New function.
+       (Sized_target::plt_entry_size): New function.
+       * x86_64.cc (Target_x86_64::got_size): Add const.
+       (Target_x86_64::got_entry_count): New function.
+       (Target_x86_64::plt_entry_count): New function.
+       (Target_x86_64::first_plt_entry_offset): New function.
+       (Target_x86_64::plt_entry_size): New function.
+       (Output_data_plt_x86_64::entry_count): New function.
+       (Output_data_plt_x86_64::first_plt_entry_offset): New function.
+       (Output_data_plt_x86_64::get_plt_entry_size): New function.
+
+2010-08-12  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc: Include incremental.h.
+       (Archive::Archive): Initialize incremental_info_.
+       (Archive::include_member): Record archive members in incremental info.
+       (Add_archive_symbols::run): Record begin and end of an archive in
+       incremental info.
+       (Lib_group::include_member): Record objects in incremental info.
+       * archive.h (Incremental_archive_entry): Forward declaration.
+       (Archive::set_incremental_info): New member function.
+       (Archive::incremental_info): New member function.
+       (Archive::Unused_symbol_iterator): New class.
+       (Archive::unused_symbols_begin): New member function.
+       (Archive::unused_symbols_end): New member function.
+       (Archive::incremental_info_): New data member.
+       * incremental-dump.cc (find_input_containing_global): New function.
+       (dump_incremental_inputs): Dump new incremental info sections.
+       * incremental.cc: Include symtab.h.
+       (Output_section_incremental_inputs): New class.
+       (Sized_incremental_binary::do_find_incremental_inputs_sections): Support
+       new incremental info sections.
+       (Sized_incremental_binary::do_check_inputs): Likewise.
+       (Incremental_inputs::report_archive): Remove.
+       (Incremental_inputs::report_archive_begin): New function.
+       (Incremental_inputs::report_archive_end): New function.
+       (Incremental_inputs::report_object): New function.
+       (Incremental_inputs::finalize_inputs): Remove.
+       (Incremental_inputs::report_input_section): New function.
+       (Incremental_inputs::report_script): Rewrite.
+       (Incremental_inputs::finalize): Do nothing but finalize string table.
+       (Incremental_inputs::create_incremental_inputs_section_data): Remove.
+       (Incremental_inputs::sized_create_inputs_section_data): Remove.
+       (Incremental_inputs::create_data_sections): New function.
+       (Incremental_inputs::relocs_entsize): New function.
+       (Output_section_incremental_inputs::set_final_data_size): New function.
+       (Output_section_incremental_inputs::do_write): New function.
+       (Output_section_incremental_inputs::write_header): New function.
+       (Output_section_incremental_inputs::write_input_files): New function.
+       (Output_section_incremental_inputs::write_info_blocks): New function.
+       (Output_section_incremental_inputs::write_symtab): New function.
+       * incremental.h (Incremental_script_entry): Forward declaration.
+       (Incremental_object_entry): Forward declaration.
+       (Incremental_archive_entry): Forward declaration.
+       (Incremental_inputs): Forward declaration.
+       (Incremental_inputs_header_data): Remove.
+       (Incremental_inputs_header): Remove.
+       (Incremental_inputs_header_write): Remove.
+       (Incremental_inputs_entry_data): Remove.
+       (Incremental_inputs_entry): Remove.
+       (Incremental_inputs_entry_write): Remove.
+       (enum Incremental_input_type): Add INCREMENTAL_INPUT_ARCHIVE_MEMBER.
+       (Incremental_binary::find_incremental_inputs_sections): Add parameters.
+       (Incremental_binary::do_find_incremental_inputs_sections): Likewise.
+       (Sized_ncremental_binary::do_find_incremental_inputs_sections):
+       Likewise.
+       (Incremental_input_entry): New class.
+       (Incremental_script_entry): New class.
+       (Incremental_object_entry): New class.
+       (Incremental_archive_entry): New class.
+       (Incremental_inputs::Incremental_inputs): Initialize new data members.
+       (Incremental_inputs::report_inputs): Remove.
+       (Incremental_inputs::report_archive): Remove.
+       (Incremental_inputs::report_archive_begin): New function.
+       (Incremental_inputs::report_archive_end): New function.
+       (Incremental_inputs::report_object): Change prototype.
+       (Incremental_inputs::report_input_section): New function.
+       (Incremental_inputs::report_script): Change prototype.
+       (Incremental_inputs::get_reloc_count): New function.
+       (Incremental_inputs::set_reloc_count): New function.
+       (Incremental_inputs::create_data_sections): New function.
+       (Incremental_inputs::create_incremental_inputs_section_data): Remove.
+       (Incremental_inputs::inputs_section): New function.
+       (Incremental_inputs::symtab_section): New function.
+       (Incremental_inputs::relocs_section): New function.
+       (Incremental_inputs::get_stringpool): Add const.
+       (Incremental_inputs::command_line): Add const.
+       (Incremental_inputs::inputs): Remove.
+       (Incremental_inputs::command_line_key): New function.
+       (Incremental_inputs::input_file_count): New function.
+       (Incremental_inputs::input_files): New function.
+       (Incremental_inputs::relocs_entsize): New function.
+       (Incremental_inputs::sized_create_inputs_section_data): Remove.
+       (Incremental_inputs::finalize_inputs): Remove.
+       (Incremental_inputs::Input_info): Remove.
+       (Incremental_inputs::lock_): Remove.
+       (Incremental_inputs::inputs_): Change type.
+       (Incremental_inputs::inputs_map_): Remove.
+       (Incremental_inputs::current_object_entry_): New data member.
+       (Incremental_inputs::inputs_section_): New data member.
+       (Incremental_inputs::symtab_section_): New data member.
+       (Incremental_inputs::relocs_section_): New data member.
+       (Incremental_inputs::reloc_count_): New data member.
+       (Incremental_inputs_reader): New class.
+       (Incremental_symtab_reader): New class.
+       (Incremental_relocs_reader): New class.
+       * layout.cc (Layout::finalize): Move finalization of incremental info
+       and creation of incremental info sections to follow finalization of
+       symbol table.  Set offsets for postprocessing sections.
+       (Layout::create_incremental_info_sections): Call
+       Incremental_inputs::create_data_sections.  Add incremental symtab
+       and relocs sections.  Set sh_entsize and sh_link fields.  Arrange for
+       sections to layout after input sections.
+       * layout.h (struct Timespec): Forward declaration.
+       (Layout::incremental_inputs): Add const.
+       (Layout::create_incremental_info_sections): Add parameter.
+       * main.cc (main): Remove call to Incremental_inputs::report_inputs.
+       * object.cc: Include incremental.h.
+       (Relobj::finalize_incremental_relocs): New function.
+       (Sized_relobj::do_layout): Record input sections in incremental info.
+       * object.h (Object::output_section): New function.
+       (Object::output_section_offset): Moved from Relobj.
+       (Object::get_incremental_reloc_base): New function.
+       (Object::get_incremental_reloc_count): New function.
+       (Object::do_output_section): New function.
+       (Object::do_output_section_offset): Moved from Relobj.
+       (Object::do_get_incremental_reloc_base): New function.
+       (Object::do_get_incremental_reloc_count): New function.
+       (Object::Object): Initialize new data members.
+       (Relobj::output_section): Renamed do_output_section and moved to
+       protected.
+       (Relobj::output_section_offset): Moved to Object.
+       (Relobj::do_get_incremental_reloc_base): New function.
+       (Relobj::do_get_incremental_reloc_count): New function.
+       (Relobj::allocate_incremental_reloc_counts): New function.
+       (Relobj::count_incremental_reloc): New function.
+       (Relobj::finalize_incremental_relocs): New function.
+       (Relobj::next_incremental_reloc_index): New function.
+       (Relobj::reloc_counts_): New data member.
+       (Relobj::reloc_bases_): New data member.
+       (Sized_relobj::do_relocate_sections): Add parameter.  Change caller.
+       (Sized_relobj::relocate_sections): Add parameter.  Change all callers.
+       (Sized_relobj::incremental_relocs_scan): New function.
+       (Sized_relobj::incremental_relocs_scan_reltype): New function.
+       (Sized_relobj::incremental_relocs_write): New function.
+       (Sized_relobj::incremental_relocs_write_reltype): New function.
+       * plugin.cc (Plugin_manager::add_input_file): Rewrite test for
+       incremental link.
+       * readsyms.cc (Read_symbols::do_read_symbols): Move reporting of
+       archives and object files elsewhere.
+       (Add_symbols::run): Report object files here.
+       (Finish_group::run): Report end of archive at end of group.
+       * reloc.cc: Include layout.h, incremental.h.
+       (Sized_relobj::do_read_relocs): Need relocations for incremental link.
+       (Sized_relobj::do_scan_relocs): Record relocations for incremental link.
+       (Sized_relobj::incremental_relocs_scan): New function.
+       (Sized_relobj::incremental_relocs_scan_reltype): New function.
+       (Sized_relobj::do_relocate_sections): Write incremental relocations.
+       (Sized_relobj::incremental_relocs_write): New function.
+       (Sized_relobj::incremental_relocs_write_reltype): New function.
+       * script.cc (read_input_script): Rewrite test for incremental link.
+       Change call to Incremental_inputs::report_script.
+       * symtab.h (Symbol_table::first_global_index): New function.
+       (Symbol_table::output_count): New function.
+
+2010-08-12  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::merge_object_attributes): Check command line
+       options --no-wchar-size-warning and --no-enum-size-warning.
+       * options.h (General_options): Add ld-compatible options
+       --no-enum-size-warning and --no-wchar-size-warning.
+
+2010-08-04  Ian Lance Taylor  <iant@google.com>
+
+       * x86_64.cc (Target_x86_64::Scan::local): Use
+       R_X86_64_GNU_VTINHERIT instead of R_386_GNU_VTINHERIT and
+       R_X86_64_GNU_VTENTRY instead of R_386_GNU_VTENTRY.
+       (Target_x86_64::Scan::global): Likewise.
+       (Target_x86_64::Relocate::relocate): Likewise.
+       (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2010-08-03  Cary Coutant  <ccoutant@google.com>
+
+       * merge.cc (Output_merge_string::do_add_input_section): Count strings
+       to reserve space in merged_strings vector. Keep total input size
+       for stats.
+       (Output_merge_string::do_print_merge_stats): Print total input size.
+       * merge.h (Output_merge_string): Add input_size_ field.
+       * stringpool.cc (Stringpool_template::string_length): Move
+       implementations out of Stringpool_template class and place in
+       stringpool.h.
+       * stringpool.h (string_length): Move out of Stringpool_template.
+
+2010-08-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 11712
+       * layout.cc (relaxation_loop_body): If address of load segment is
+       set, adjust address to include headers if possible.
+
+2010-08-03  Ian Lance Taylor  <iant@google.com>
+
+       * version.cc (version_string): Bump to 1.10.
+
+2010-08-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 11805
+       * layout.h (enum Output_section_order): Define.
+       (class Layout): Update declarations.
+       * layout.cc (Layout::get_output_section): Add order parameter.
+       Remove is_interp, is_dynamic_linker_section, is_last_relro, and
+       is_first_non_relro parameters.  Change all callers.
+       (Layout::choose_output_section): Likewise.
+       (Layout::add_output_section_data): Likewise.
+       (Layout::make_output_section): Likewise.  Set order.
+       (Layout::default_section_order): New function.
+       (Layout::layout_eh_frame): Call add_output_section_to_nonload.
+       * output.cc (Output_section::Output_section): Initialize order_.
+       Don't initialize deleted fields.
+       (Output_segment::Output_segment): Don't initialize deleted
+       fields.
+       (Output_segment::add_output_section_to_load): New function
+       replacing add_output_section.  Change all callers to call this or
+       add_output_section_to_nonload.
+       (Output_segment::add_output_section_to_nonload): New function.
+       (Output_segment::remove_output_section): Rewrite.
+       (Output_segment::add_initial_output_data): Likewise.
+       (Output_segment::has_any_data_sections): Likewise.
+       (Output_segment::is_first_section_relro): Likewise.
+       (Output_segment::maximum_alignment): Likewise.
+       (Output_segment::has_dynamic_reloc): New function replacing
+       dynamic_reloc_count.  Change all callers.
+       (Output_segment::has_dynamic_reloc_list): New function replacing
+       dynamic_reloc_count_list.  Change all callers.
+       (Output_segment::set_section_addresses): Rewrite.
+       (Output_segment::set_offset): Rewrite.
+       (Output_segment::find_first_and_last_list): Remove.
+       (Output_segment::set_tls_offsets): Rewrite.
+       (Output_segment::first_section_load_address): Likewise.
+       (Output_segment::output_section_count): Likewise.
+       (Output_segment::section_with_lowest_load_address): Likewise.
+       (Output_segment::write_section_headers): Likewise.
+       (Output_segment::print_sections_to_map): Likewise.
+       * output.h (class Output_data): Remove dynamic_reloc_count_
+       field.  Add has_dynamic_reloc_ field.  Make bools into bitfields.
+       (Output_data::add_dynamic_reloc): Rewrite.
+       (Output_data::has_dynamic_reloc): New function.
+       (Output_data::dynamic_reloc_count): Remove.
+       (class Output_section): Add order_ field.  Remvoe is_relro_local_,
+       is_last_relro_, is_first_non_relro_, is_interp_,
+       is_dynamic_linker_section_ fields.  Add order and set_order
+       functions.  Remove is_relro_local, set_is_relro_local,
+       is_last_relro, set_is_last_relro, is_first_non_relro,
+       set_is_first_non_relro functions, is_interp, set_is_interp,
+       is_dynamic_linker_section, and set_is_dynamic_linker_section
+       functions.
+       (class Output_segment): Change Output_data_list from std::list to
+       std:;vector.  Add output_lists_ field.  Remove output_data_ and
+       output_bss_ fields.  Update declarations.
+
+2010-08-02  Ian Lance Taylor  <iant@google.com>
+
+       * arm.cc (Target_arm::gc_process_relocs): Use typename.
+       * powerpc.cc (Target_powerpc::gc_process_relocs): Likewise.
+       * sparc.cc (Target_sparc::gc_process_relocs): Likewise.
+
+2010-08-02  Ian Lance Taylor  <iant@google.com>
+
+       PR 11855
+       * script.cc (Script_options::Script_options): Initialize
+       symbol_definitions_ and symbol_references_.
+       (Script_options::add_symbol_assignment): Update
+       symbol_definitions_ and symbol_references_.
+       (Script_options::add_symbol_reference): New function.
+       (script_symbol): New function.
+       * script.h (class Script_options): Add symbol_definitions_ and
+       symbol_references_ fields.
+       (Script_options::referenced_const_iterator): New type.
+       (Script_options::referenced_begin): New function.
+       (Script_options::referenced_end): New function.
+       (Script_options::is_referenced): New function.
+       (Script_options::any_unreferenced): New function.
+       * script-c.h (script_symbol): Declare.
+       * yyscript.y (exp): Call script_symbol.
+       * symtab.cc: Include "script.h".
+       (Symbol_table::gc_mark_undef_symbols): Add layout parameter.
+       Change all callers.  Check symbols referenced by scripts.
+       (Symbol_table::add_undefined_symbols_from_command_line): Add
+       layout parameter.  Change all callers.
+       (Symbol_table::do_add_undefined_symbols_from_command_line):
+       Likewise.  Break out loop body.  Check symbols referenced by
+       scripts.
+       (Symbol_table::add_undefined_symbol_from_command_line): New
+       function broken out of
+       do_add_undefined_symbols_from_command_line.
+       * symtab.h (class Symbol_table): Update declarations.
+       * archive.cc: Include "layout.h".
+       (Archive::should_include_member): Add layout parameter.  Change
+       all callers.  Check for symbol mentioned in expression.
+       * archive.h (class Archive): Update declaration.
+       * object.cc (Sized_relobj::do_should_include_member): Add layout
+       parameter.
+       * object.h (Object::should_include_member): Add layout parameter.
+       Change all callers.
+       (Object::do_should_include_member): Add layout parameter.
+       (class Sized_relobj): Update declaration.
+       * dynobj.cc (Sized_dynobj::do_should_include_member): Add layout
+       parameter.
+       * dynobj.h (class Sized_dynobj): Update declaration.
+       * plugin.cc (Sized_pluginobj::do_should_include_member): Add
+       layout parameter.
+       * plugin.h (class Sized_pluginobj): Update declaration.
+
+2010-08-02  Ian Lance Taylor  <iant@google.com>
+
+       PR 11866
+       * output.cc (Output_segment::set_offset): Search for the first and
+       last sections rather than assuming that the list is in order.
+       (Output_segment::find_first_and_last_list): New function.
+       * output.h (class Output_segment): Update declarations.
+       * testsuite/Makefile.am (check_PROGRAMS): Add relro_strip_test.
+       (relro_strip_test_SOURCES): New variable.
+       (relro_strip_test_DEPENDENCIES): New variable.
+       (relro_strip_test_LDFLAGS): New variable.
+       (relro_strip_test_LDADD): New variable.
+       (relro_strip_test.so): New target.
+
+2010-08-02  Ian Lance Taylor  <iant@google.com>
+
+       * i386.cc (class Target_i386): Add got_tlsdesc_ field.
+       (Target_i386::Target_i386):: Initialize got_tlsdesc_.
+       (Target_i386::got_tlsdesc_section): New function.
+       (Target_i386::got_section): Create space for GOT entries for
+       TLSDESC relocations.
+       (Target_i386::Scan::local): Use TLSDESC GOT for unoptimized
+       R_386_TLS_GOTDESC.
+       (Target_i386::Scan::global): Likewise.
+       (Target_i386::Relocate::relocate_tls): Adjust GOT offset when
+       using TLSDESC GOT.
+       * x86_64.cc (class Target_x86_64): Add got_tlsdesc_ field.
+       (Target_x86_64::Target_x86_64):: Initialize got_tlsdesc_.
+       (Target_x86_64::got_tlsdesc_section): New function.
+       (Target_x86_64::got_section): Create space for GOT entries for
+       TLSDESC relocations.
+       (Target_x86_64::Scan::local): Use TLSDESC GOT for unoptimized
+       R_386_TLS_GOTDESC.
+       (Target_x86_64::Scan::global): Likewise.
+       (Target_x86_64::Relocate::relocate_tls): Adjust GOT offset when
+       using TLSDESC GOT.
+
+2010-08-02  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/final_layout.sh: Use dc to convert from hex to
+       decimal.
+
+2010-07-29  Sriraman Tallam  <tmsriram@google.com>
+
+       * arm.cc (Target_arm<big_endian>::gc_process_relocs): Add template
+       paramter to the call to gold::gc_process_relocs.
+       * i386.cc (Target_i386<big_endian>::gc_process_relocs): Add template
+       paramter to the call to gold::gc_process_relocs.
+       * x86_64.cc (Target_x86_64<big_endian>::gc_process_relocs): Add template
+       parameter to the call to gold::gc_process_relocs.
+       * powerpc.cc (Target_powerpc<big_endian>::gc_process_relocs): Add
+       template parameter to the call to gold::gc_process_relocs.
+       * sparc.cc (Target_sparc<big_endian>::gc_process_relocs): Add template
+       paramter to the call to gold::gc_process_relocs.
+       * gc.h (get_embedded_addend_size): New function.
+       (gc_process_relocs): Save the size of the reloc for use by ICF.
+       * icf.cc (get_section_contents): Get the addend from the text section
+       for SHT_REL relocation sections.
+       * icf.h (Icf::Reloc_addend_size_info): New typedef.
+       (Icf::Reloc_info): Add new member reloc_addend_size_info.
+       * int_encoding.h (read_from_pointer): New overloaded function.
+       * testsuite/Makefile.am (icf_sht_rel_addend_test): New test.
+       * testsuite/icf_sht_rel_addend_test.sh: New file.
+       * testsuite/icf_sht_rel_addend_test_1.cc: New file.
+       * testsuite/icf_sht_rel_addend_test_2.cc: New file.
+
+2010-07-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (AM_INIT_AUTOMAKE): Use parallel-tests option.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2010-07-27  Jeffrey Yasskin  <jyasskin@google.com>
+
+       * testsuite/debug_msg.sh: Test mixed weak/strong symbol behavior.
+       * testsuite/debug_msg.cc: Likewise.
+       * testsuite/odr_violation1.cc
+       * testsuite/odr_violation2.cc
+
+2010-07-21  Cary Coutant  <ccoutant@google.com>
+
+       * merge.h (Output_merge_string::Merged_string): Remove object, shndx,
+       string, and length fields.
+       (Output_merge_string::Merged_strings_list): New type.
+       (Output_merge_string::Merged_strings_lists): New typedef.
+       (Output_merge_string): Replace merged_strings_ with
+       merged_strings_lists_.
+       * merge.cc (Output_merge_string::do_add_input_section): Allocate new
+       Merged_strings_list per input object and section.  Don't store pointer
+       to the string.  Don't store length with each merged string entry.
+       (Output_merge_string::finalize_merged_data): Loop over list of merged
+       strings lists.  Recompute length of each merged string.
+
+2010-07-15  Cary Coutant  <ccoutant@google.com>
+
+       * plugin.cc (Plugin_finish::run): Don't call cleanup handlers from
+       here.
+
+2010-07-14  Ian Lance Taylor  <iant@google.com>
+
+       * descriptors.cc (Descriptors::open): Report correct name in error
+       message.
+
+2010-07-13  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_input_section::Arm_input_section): For a
+       SHT_ARM_EXIDX section, always keeps the input sections.
+       (Arm_input_section::set_exidx_section_link): New method.
+       (Arm_exidx_input_section::Arm_exidx_input_section): Initialize
+       has_errors_ to false.
+       (Arm_exidx_input_section::has_errors,
+       Arm_exidx_input_section::set_has_errors): New methods.
+       (Arm_exidx_input_section::has_errors_): New data member.
+       (Arm_relobj::get_exidx_shndx_list): New method.
+       (Arm_output_section::append_text_sections_to_list): Do not skip
+       section without SHF_EXECINSTR.
+       (Arm_output_section::fix_exidx_coverage): Skip input sections with
+       errors.
+       (Arm_relobj::make_exidx_input_section): Add new parameter for text
+       section header.  Make error messages more verbose.  Check for
+       a non-executable section linked to an EXIDX section.
+       (Arm_relobj::do_read_symbols): Remove error checking, which has been
+       moved to Arm_relobj::make_exidx_input_section.  Add an assertion to
+       check that there is no deferred EXIDX section if we exit early.
+       Instead of not making an EXIDX section in case of an error, make one
+       and set the has_errors flag of it.
+       (Target_arm::do_finalize_sections): Fix up links of EXIDX sections
+       in a relocatable link.
+       (Target_arm::do_relax): Look for the EXIDX output section instead of
+       assuming that it is called .ARM.exidx.
+       (Target_arm::fix_exidx_coverage): Add a new parameter for input
+       section list.  Do not check for SHF_EXECINSTR section flags but
+       skip any input section with errors.
+       * output.cc (Output_section::Output_section): Initialize
+       always_keeps_input_sections_ to false.
+       (Output_section::add_input_section): Check for
+       always_keeps_input_sections_.
+       *  output.h (Output_section::always_keeps_input_sections,
+       Output_section::set_always_keeps_input_sections): New methods.
+       (Output_section::always_keeps_input_sections): New data member.
+
+2010-07-13  Rafael Espindola  <espindola@google.com>
+
+       * fileread.cc (try_extra_search_path, find_file): Move to Input_file.
+       * fileread.h (Input_file): Add try_extra_search_path and find_file.
+
+2010-07-13  Philip Herron  <herron.philip@googlemail.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       * output.h (Output_section_lookup_maps::add_merge_section):
+       Correct check of whether value was inserted.
+       (Output_section_lookup_maps::add_merge_input_section): Likewise.
+       (Output_section_lookup_maps::add_relaxed_input_section):
+       Likewise.
+       * arm.cc (Target_arm::got_section): Remove used local os.
+       * i386.cc (Target_i386::got_section): Likewise.
+       * x86_64.cc (Target_x86_64::got_section): Likewise.
+       * sparc.cc (Target_sparc::got_section): Likewise.
+       (Target_sparc::relocate): Remove unused local have_got_offset.
+       * powerpc.cc (Target_powerpc::relocate): Likewise.
+
+2010-07-13  Ian Lance Taylor  <iant@google.com>
+
+       * compressed_output.cc (zlib_decompress): Fix signature in
+       !HAVE_ZLIB_H case.
+
+       * archive.cc (Archive::include_member): Unlock an external member
+       of a thin archive.  Don't bother to delete an object we know is
+       NULL.
+
+2010-07-12  Cary Coutant  <ccoutant@google.com>
+
+       * compressed_output.cc (zlib_decompress): New function.
+       (get_uncompressed_size): New function.
+       (decompress_input_section): New function.
+       * compressed_output.h (get_uncompressed_size): New function.
+       (decompress_input_section): New function.
+       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info)
+       Handle compressed debug sections.
+       * layout.cc (is_compressed_debug_section): New function.
+       (Layout::output_section_name): Map compressed section names to
+       canonical names.
+       * layout.h (is_compressed_debug_section): New function.
+       (is_debug_info_section): Recognize compressed debug sections.
+       * merge.cc: Include compressed_output.h.
+       (Output_merge_data::do_add_input_section): Handle compressed
+       debug sections.
+       (Output_merge_string::do_add_input_section): Handle compressed
+       debug sections.
+       * object.cc: Include compressed_output.h.
+       (Sized_relobj::Sized_relobj): Initialize new data members.
+       (build_compressed_section_map): New function.
+       (Sized_relobj::do_read_symbols): Handle compressed debug sections.
+       * object.h (Object::section_is_compressed): New method.
+       (Object::do_section_is_compressed): New method.
+       (Sized_relobj::Compressed_section_map): New type.
+       (Sized_relobj::do_section_is_compressed): New method.
+       (Sized_relobj::compressed_sections_): New data member.
+       * output.cc (Output_section::add_input_section): Handle compressed
+       debug sections.
+       * reloc.cc: Include compressed_output.h.
+       (Sized_relobj::write_sections): Handle compressed debug sections.
+
+2010-07-08  Cary Coutant  <ccoutant@google.com>
+
+       * resolve.cc (Symbol_table::resolve): Remember whether undef was
+       weak when resolving to a dynamic def.
+       (Symbol_table::should_override): Add adjust_dyndef flag; set it
+       for weak undef/dynamic def cases. Adjust callers.
+       * symtab.cc (Symbol::init_fields): Initialize undef_binding_set_ and
+       undef_binding_weak_.
+       (Symbol_table::sized_write_globals): Adjust symbol binding.
+       (Symbol_table::sized_write_symbol): Add binding parameter.
+       * symtab.h (Symbol::set_undef_binding): New method.
+       (Symbol::is_undef_binding_weak): New method.
+       (Symbol::undef_binding_set_, Symbol::undef_binding_weak_): New members.
+       (Symbol_table::should_override): Add new parameter.
+       (Symbol_table::sized_write_symbol): Add new parameter.
+
+       * testsuite/weak_undef_file1.cc: Add new test case.
+       * testsuite/weak_undef_file2.cc: Fix header comment.
+       * testsuite/weak_undef_test.cc: Add new test case.
+
+2010-06-29  Doug Kwan  <dougkwan@google.com>
+
+       * arm-reloc-property.cc (Arm_reloc_property::Arm_reloc_property):
+       Initialize USE_SYMBOL_.
+       * arm-reloc-property.h (Arm_reloc_property::uses_symbol): New method
+       definition.
+       (Arm_reloc_property::uses_symbol_): New data member declaration.
+       * arm.cc (Target_arm::Relocate::relocate): Exit early if relocation
+       uses symbol value and symbol is undefined but not weakly undefined.
+
+2010-06-28  Rafael Espindola  <espindola@google.com>
+
+       * plugin.cc (Plugin::load): Use dlerror.
+
+2010-06-26  Jeffrey Yaskin  <jyasskin@google.com>
+
+       * symtab.cc (detect_odr_violations): When reporting an ODR
+       violation, report an object where the symbol is defined.
+
+2010-06-25  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::can_check_for_functions_pointers): Return true.
+       (Target_arm::section_may_have_icf_unsafe_pointers): New method
+       definition.
+       (Target_arm::Scan::local_reloc_may_be_function_pointer,
+       Target_arm::Scan::global_reloc_may_be_function_pointer): Implement
+       target hook to detect function points.
+       (Target_arm::Scan::possible_function_pointer_reloc): New method.
+       * icf.h (Icf::check_section_for_function_pointers): Change type of
+       parameter SECTION_NAME to const reference to std::string.  Use
+       target hook to determine if section may have unsafe pointers.
+       * target.h (Target::section_may_have_icf_unsafe_pointers): New
+       method definition.
+
+2010-06-21  Rafael Espindola  <espindola@google.com>
+
+       * fileread.cc (Input_file::find_fie): New
+       (Input_file::open): Use Input_file::find_fie.
+       * fileread.h (Input_file::find_fie): New
+       * plugin.cc (set_extra_library_path): New.
+       (Plugin::load): Add set_extra_library_path to the transfer vector.
+       (Plugin_manager::set_extra_library_path): New.
+       (Plugin_manager::add_input_file): Use the extra search path if set.
+       (set_extra_library_path(): New.
+       * plugin.h (Plugin_manager): Add set_extra_library_path and
+       extra_search_path_.
+
+2010-06-19  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (gdb_sections): Add .debug_types.
+       (lines_only_debug_sections): Likewise.
+
+2010-06-18  Rafael Espindola  <espindola@google.com>
+
+       * plugin.cc (add_input_file,add_input_library)
+       (Plugin_manager::add_input_file): Make filename arguments const.
+       * plugin.h (Plugin_manager::add_input_file): Make filename arguments
+       const.
+
+2010-06-16  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_finalize_sections): Do not emit an
+       .ARM.attributes section if we have not merged any input
+       attributes sections.
+
+2010-06-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc: Allow combining objects with no EABI version
+       information.
+
+2010-06-15  Rafael Espindola  <espindola@google.com>
+
+       * plugin.cc (Plugin_hook::run): Set in_real_elf for the start symbol.
+
+2010-06-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
+       (struct iovec): Correct !HAVE_READV definition.
+
+2010-06-10  Cary Coutant  <ccoutant@google.com>
+
+       * object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
+       (Sized_relobj::do_layout_deferred_sections): Do layout for deferred
+       reloc sections.
+       * object.h (Sized_relobj::deferred_layout_relocs_): New data member.
+
+       PR 11683
+       * symtab.h (Symbol::is_placeholder): New member function.
+       * target-reloc.h (relocate_section): Check for placeholder symbols.
+
+       * testsuite/Makefile.am (plugin_test_8): New test.
+       (plugin_test_9): New test.
+       * testsuite/Makefile.in: Regenerate.
+
+2010-06-09  Nick Clifton  <nickc@redhat.com>
+
+       * yyscript.y (input_list_element): Allow strings prefixed with
+       the '-' character.  Treat these as libraries.
+       * script.cc (script_add_library): New function.  Adds a library
+       specified by "-l<name>" found in an input script.
+       * script-c.h: Add prototype for script_add_library.
+
+2010-06-07  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_relax): Reserve more space for stubs.
+       Restrict stub-group size to be within long conditional branch
+       range when working around cortex-A8 erratum.
+
+2010-06-07  Damien Diederen  <dd@crosstwine.com>
+
+       * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
+       #ifdef typo.
+
+2010-06-03  Sriraman Tallam  <tmsriram@google.com>
+
+       PR gold/11658
+       * output.cc
+       (Output_section::Input_section_sort_entry::compare_section_ordering):
+       Change to return non-zero correctly.
+       (Output_section::Input_section_sort_section_order_index_compare
+       ::operator()): Change to fix ambiguity in comparisons.
+
+2010-06-01  Sriraman Tallam  <tmsriram@google.com>
+
+       * gold.h (is_wildcard_string): New function.
+       * layout.cc (Layout::layout): Pass this pointer to add_input_section.
+       (Layout::layout_eh_frame): Ditto.
+       (Layout::find_section_order_index): New method.
+       (Layout::read_layout_from_file): New method.
+       * layout.h (Layout::find_section_order_index): New method.
+       (Layout::read_layout_from_file): New method.
+       (Layout::input_section_position_): New private member.
+       (Layout::input_section_glob_): New private member.
+       * main.cc (main): Call read_layout_from_file here.
+       * options.h (--section-ordering-file): New option.
+       * output.cc (Output_section::input_section_order_specified_): New
+       member.
+       (Output_section::Output_section): Initialize new member.
+       (Output_section::add_input_section): Add new parameter.
+       Keep input sections when --section-ordering-file is used.
+       (Output_section::set_final_data_size): Sort input sections when
+       section ordering file is specified.
+       (Output_section::Input_section_sort_entry): Add new parameter.
+       Check sorting type.
+       (Output_section::Input_section_sort_entry::compare_section_ordering):
+       New method.
+       (Output_section::Input_section_sort_compare::operator()): Change to
+       consider section_order_index.
+       (Output_section::Input_section_sort_init_fini_compare::operator()):
+       Change to consider section_order_index.
+       (Output_section::Input_section_sort_section_order_index_compare
+       ::operator()): New method.
+       (Output_section::sort_attached_input_sections): Change to sort
+       according to section order when specified.
+       (Output_section::add_input_section<32, true>): Add new parameter.
+       (Output_section::add_input_section<64, true>): Add new parameter.
+       (Output_section::add_input_section<32, false>): Add new parameter.
+       (Output_section::add_input_section<64, false>): Add new parameter.
+       * output.h (Output_section::add_input_section): Add new parameter.
+       (Output_section::input_section_order_specified): New
+       method.
+       (Output_section::set_input_section_order_specified): New method.
+       (Input_section::Input_section): Initialize section_order_index_.
+       (Input_section::section_order_index): New method.
+       (Input_section::set_section_order_index): New method.
+       (Input_section::section_order_index_): New member.
+       (Input_section::Input_section_sort_section_order_index_compare): New
+       struct.
+       (Output_section::input_section_order_specified_): New member.
+       * script-sections.cc (is_wildcard_string): Delete and move modified
+       method to gold.h.
+       (Output_section_element_input::Output_section_element_input): Modify
+       call to is_wildcard_string.
+       (Output_section_element_input::Input_section_pattern
+       ::Input_section_pattern): Ditto.
+       (Output_section_element_input::Output_section_element_input): Ditto.
+       * testsuite/Makefile.am (final_layout): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/final_layout.cc: New file.
+       * testsuite/final_layout.sh: New file.
+
+2010-06-01  Rafael Espindola  <espindola@google.com>
+
+       * plugin.cc (Plugin::load): Pass the output name to the plugin.
+
+2010-06-01  Rafael Espindola  <espindola@google.com>
+
+       * plugin.cc (Sized_pluginobj::::do_add_symbols): Correctly set the
+       visibility of symbols.
+
+2010-05-27  Doug Kwan  <dougkwan@google.com>
+
+       * object.cc (Sized_relobj::do_finalize_local_symbols): Use offset
+       from start of output section instead of address for a local symbol
+       in a merged or relaxed section when doing a relocatable link.
+
+2010-05-26  Rafael Espindola  <espindola@google.com>
+
+       PR 11604
+       * object.cc(Sized_relobj::do_layout_deferred_sections): Avoid
+       adding sections the garbage collector removed.
+       * testsuite/Makefile.am: Add test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test_7.sh: New.
+       * testsuite/plugin_test_7_1.c: New.
+       * testsuite/plugin_test_7_2.c: New.
+
+2010-05-26  Rafael Espindola  <espindola@google.com>
+
+       * script-sections.cc (Output_section_definition::set_section_addresses):
+       Check for --section-start.
+
+2010-05-26  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_scan_relocatable_relocs): New class.
+       (Target_arm::relocate_special_relocatable): New method.
+       (Arm_relocate_functions::arm_branch_common): Handle relocatable link.
+       (Arm_relocate_functions::thumb_branch_common): Same.
+       (Target_arm::scan_relocatable_relocs): Use Arm_scan_relocatable_relocs
+       instead of Default_scan_relocatable_relocs.
+       * target-reloc.h (relocate_for_relocatable): Let target handle
+       relocation strategy Relocatable_relocs::RELOC_SPECIAL.
+       * target.h (Sized_target::relocate_special_relocatable): New method.
+
+2010-05-25  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * timer.cc: Only #include <sys/times.h> if HAVE_TIMES is defined.
+
+2010-05-23  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_input_section::do_output_offset): Use convert_types
+       instead of a cast.
+       (Target_arm::apply_cortex_a8_workaround): Rewrite a conditional branch
+       with a direct branch, not a conditional branch, to a stub.
+       * merge.cc (Output_merge_base::record_input_section): New method
+       defintion.
+       (Output_merge_data::do_add_input_section): Record input section if
+       keeps-input-sections flag is set.
+       (Output_merge_string::do_add_input_section): Ditto.
+       * merge.h (Output_merge_base::Output_merge_base): Initialize new data
+       members KEEPS_INPUT_SECTIONS_, FIRST_RELOBJ_, FIRST_SHNDX_ and
+       INPUT_SECTIONS_.
+       (Output_merge_base::keeps_input_sections,
+       Output_merge_base::set_keeps_input_sections,
+       Output_merge_base::first_relobj, Output_merge_base::first_shndx): New
+       method definitions.
+       (Output_merge_base::Input_sections): New type declaration.
+       (Output_merge_base::input_sections_begin,
+       Output_merge_base::input_sections_end,
+       Output_merge_base::do_set_keeps_input_sections): New method definitions.
+       (Output_merge_base::bool keeps_input_sections_,
+       Output_merge_base::first_relobj_, Output_merge_base::first_shndx_,
+       Output_merge_base::input_sections_): New data members.
+       (Output_merge_data::do_set_keeps_input_sections): New method
+       defintion.
+       (Output_merge_string::do_set_keeps_input_sections): Ditto.
+       * output.cc (Output_section::Input_section::relobj): Move method
+       defintion from class declaration to here and handle merge sections.
+       (Output_section::Input_section::shndx): Ditto.
+       (Output_section::Output_section): Remove initializations of removed
+       data members and initialize new data member LOOKUP_MAPS_.
+       (Output_section::add_input_section): Set keeps-input-sections flag
+       for a newly created merge output section as appropriate.  Adjust code
+       to use Output_section_lookup_maps class.
+       (Output_section::add_relaxed_input_section): Adjst code for lookup
+       maps code refactoring.
+       (Output_section::add_merge_input_section): Add a new parameter
+       KEEPS_INPUT_SECTION.  Adjust code to use Output_section_lookup_maps
+       class.  If adding input section to a newly created merge output
+       section fails, remove the new merge section.
+       (Output_section::convert_input_sections_in_list_to_relaxed_input_sections):
+       Adjust code for use of the Output_section_lookup_maps class.
+       (Output_section::find_merge_section): Ditto.
+       (Output_section::build_lookup_maps): New method defintion.
+       (Output_section::find_relaxed_input_section): Adjust code to use
+       Output_section_lookup_maps class.
+       (Output_section::get_input_sections): Export merge sections.  Adjust
+       code to use Output_section_lookup_maps class.
+       (Output_section:::add_script_input_section): Adjust code to use
+       Output_section_lookup_maps class.  Update lookup maps for merge
+       sections also.
+       (Output_section::discard_states): Use Output_section_lookup_maps.
+       (Output_section::restore_states): Same.
+       * output.h (Merge_section_properties): Move class defintion out of
+       Output_section.
+       (Output_section_lookup_maps): New class.
+       (Output_section::Input_section::is_merge_section): New method
+       defintion.
+       (Output_section::Input_section::relobj): Move defintion out of class
+       defintion.  Declare method only.
+       (Output_section::Input_section::shndx): Ditto.
+       (Output_section::Input_section::output_merge_base): New method defintion.
+       (Output_section::Input_section::u2_.pomb): New union field.
+       (Output_section::Merge_section_by_properties_map,
+       Output_section::Output_section_data_by_input_section_map,
+       Output_section::Ouptut_relaxed_input_section_by_input_section_map):
+       Remove types.
+       (Output_section::add_merge_input_section): Add new parameter
+       KEEPS_INPUT_SECTIONS.
+       (Output_section::build_lookup_maps): New method declaration.
+       (Output_section::merge_section_map_,
+       Output_section::merge_section_by_properties_map_,
+       Output_section::relaxed_input_section_map_,
+       Output_section::is_relaxed_input_section_map_valid_): Remove data
+       members.
+       (Output_section::lookup_maps_): New data member.
+
+2010-05-21  Doug Kwan  <dougkwan@google.com>
+
+       PR gold/11619
+       * arm.cc (Arm_input_section::do_output_offset): Add a cast to
+       avoid a compilation error.
+
+2010-05-19  Rafael Espindola  <espindola@google.com>
+
+       * script-sections.cc (Output_section_definition::allocate_to_segment):
+       Update the phdrs_list even when the output section is NULL.
+       * testsuite/Makefile.am: Add test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/script_test_9.cc: New.
+       * testsuite/script_test_9.sh: New.
+       * testsuite/script_test_9.t: New.
+
+2010-05-19  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_input_section::original_size): New method.
+       (Arm_input_section::do_addralign): Add a cast.
+       (Arm_input_section::do_output_offset): Remove static cast.
+       (Arm_input_section::original_addralign,
+        Arm_input_section::original_size_): Change type to uint32_t.
+       (Arm_input_section::init): Add safe casts for section alignment
+       and size.
+       (Arm_input_section::set_final_data_size): Do not set address and
+       offset of stub table.
+       (Arm_output_section::fix_exidx_coverage): Change use of of
+       Output_section::Simple_input_section to that of
+       Output_section::Input_section.
+       (Target_arm::do_relax): Set addresses and file offsets of Stub_tables
+       except for the first pass.
+       * output.cc (Output_section::get_input_sections): Change type of
+       input_sections to std::list<Input_section>.
+       (Output_section::add_script_input_section): Rename from
+       Output_section::add_simple_input_section.  Change type of SIS
+       parameter from Simple_input_section to Input_section.
+       * output.h (Output_section::Simple_input_section): Remove class.
+       (Output_section::Input_section): Change class visibility to public.
+       (Output_section::Input_section::addralign): Use stored alignments
+       for special input sections if set.
+       (Output_section::Input_section::set_addralign): New method.
+       (Output_section::get_input_sections): Change parameter type from
+       list of Simple_input_section to list of Input_section.
+       (Output_section::add_script_input_section): Rename from
+       Output_section::add_simple_input_section. Change first parameter's
+       type from Simple_input_section to Input_section and remove the
+       second and third parameters.
+       * script-sections.cc (Input_section::Input_section_list): Change
+       type to list of Output_section::Input_section/
+       (Input_section_info::Input_section_info): Change parameter type of
+       INPUT_SECTION to Output_section::Input_section.
+       (Input_section_info::input_section): Change return type.
+       (Input_section_info::input_section_): Change type to
+       Output_section::Input_section.
+       (Output_section_element_input::set_section_addresses): Adjust code
+       to use Output_section::Input_section instead of
+       Output_section::Simple_input_section.  Adjust code for renaming
+       of Output_section::add_simple_input_section.
+       (Orphan_output_section::set_section_addresses): Ditto.
+
+2010-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gold.h (Unordered_multimap, Unordered_map): Fix defines for
+       when neither HAVE_TR1_UNORDERED_MAP nor HAVE_EXT_HASH_MAP are set.
+
+2010-05-18  Rafael Espindola  <espindola@google.com>
+
+       * options.cc (General_options::finalize): Handle -nostdlib.
+       * options.h (nostdlib): New option.
+       * script.cc (script_add_search_dir): Handle -nostdlib.
+
+2010-05-12  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_finalize_sections): Create an empty
+       attributes section only if there no attributes section after merging.
+       (Target_arm::merge_object_attributes): Move value of
+       Tag_MPextension_use_legacy to that of Tag_MPextension_use.
+       Handle Tag_DIV_use and Tag_MPextension_use_legacy.
+       * testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh
+       (check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout
+       and arm_attr_merge_7.stdout.
+       (arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o
+       arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r,
+       arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o,
+       arm_attr_merge_7b.o): New rules.
+       (MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and
+       arm_attr_merge_7
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_attr_merge.sh: New file.
+       * testsuite/arm_attr_merge_[67][ab].s: Same.
+
+2010-05-05  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (install-exec-local): Properly install gold as
+       default cross linker.
+       * Makefile.in: Regenerated.
+
+2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (install_as_default): Define and set to false
+       unless --enable-gold or --enable-gold=both/gold has been
+       specified.
+       * configure: Regenerate.
+
+       * Makefile.am (install-exec-local): Install the executable as
+       'ld.gold'.  If install_as_default is true then also install it as
+       'ld'.
+       * Makefile.in: Regenerated.
+
+2010-04-24  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::layout_reloc): In relocatable link don't
+       combine reloc sections for grouped sections.
+
+2010-04-23  Sriraman Tallam  <tmsriram@google.com>
+
+       * gc.h (gc_process_relocs): Pass information on relocs pointing to
+       sections that are not ordinary to icf.
+       * icf.cc (get_section_contents): Handle relocation pointing to section
+       with no object or shndx information.
+       * testsuite/Makefile.am: Remove icf_virtual_function_folding_test.sh
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/icf_virtual_function_folding_test.cc: Remove printf.
+       * testsuite/icf_virtual_function_folding_test.sh: Delete file.
+
+2010-04-22  Ian Lance Taylor  <iant@google.com>
+
+       * expression.cc (Expression::Expression_eval_info): Add
+       result_alignment_pointer field.
+       (Expression::eval_with_dot): Add result_alignment_pointer
+       parameter.  Change all callers.
+       (Expression::eval_maybe_dot): Likewise.
+       (class Binary_expression): Add alignment_pointer parameter to
+       left_value and right_value.  Change all callers.
+       (BINARY_EXPRESSION): Set result alignment.
+       (class Trinary_expression): Add alignment_pointer parameter to
+       arg2_value and arg3_value.  Change all callers.
+       (Trinary_cond::value): Set result alignment.
+       (Max_expression::value, Min_expression::value): Likewise.
+       (Align_expression::value): Likewise.
+       * script-sections.cc (class Sections_element): Add dot_alignment
+       parameter to set_section_addresses virtual function.  Update
+       instantiations.
+       (class Output_section_element): Likewise.
+       (Script_sections::create_segments): Add dot_alignment parameter.
+       Change all callers.
+       (Script_sections::create_segments_from_phdrs_clause): Likewise.
+       (Script_sections::set_phdrs_clause_addresses): Likewise.
+       * script-sections.h: Update declarations.
+       * script.h: Update declarations.
+       * output.h (Output_segment::set_minimum_p_align): Don't decrease
+       min_p_align.
+       * testsuite/script_test_3.t: Set large alignment.
+       * testsuite/script_test_3.sh: Make sure that at least one LOAD
+       segment has expected alignment.
+
+2010-04-22  Nick Clifton  <nickc@redhat.com>
+
+       * po/gold.pot: Updated by the Translation project.
+       * po/vi.po: Updated Vietnamese translation.
+
+2010-04-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (check_PROGRAMS): Add
+       icf_virtual_function_folding_test.
+       * testsuite/Makefile.in: Regenerated.
+
+2010-04-15  Andrew Haley  <aph@redhat.com>
+
+       * options.h (merge_exidx_entries): New option.
+       * arm.cc (class Arm_exidx_fixup): Add new arg, merge_exidx_entries.
+       (class Arm_exidx_fixup::merge_exidx_entries_): New member.
+       (Output_section::fix_exidx_coverage): Add new arg, merge_exidx_entries.
+       (Target_arm::merge_exidx_entries): New function.
+       (process_exidx_entry): Don't merge if merge_exidx_entries_ is false.
+       (Arm_output_section::fix_exidx_coverage): Pass merge_exidx_entries
+       to Arm_exidx_fixup constructor.
+       Add new arg, merge_exidx_entries.
+       (Target_arm::fix_exidx_coverage): pass merge_exidx_entries to
+       Arm_output_section::fix_exidx_coverage.
+
+2010-04-18  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.cc (get_section_contents): Check for preemptible functions.
+       Ignore addend when appropriate.
+       * symtab.cc (should_add_dynsym_entry): Add new parameter.  Check for
+       section folded.
+       (add_from_relobj): Check for section folded.
+       (set_dynsym_indexes): Fix call to should_add_dynsym_entry.
+       * symtab.h (should_add_dynsym_entry): Add new parameter.
+       * target-reloc.h (scan_relocs): Check for section folded.
+       * x86_64.cc (Target_x86_64::Scan::possible_function_pointer_reloc):
+       Check reloc types for function pointers in shared objects.
+       * testsuite/Makefile.am (icf_virtual_function_folding_test): New test
+       case.
+       (icf_preemptible_functions_test): New test case.
+       (icf_string_merge_test): New test case.
+       * testsuite.Makefile.in: Regenerate.
+       * testsuite/icf_safe_so_test.sh: Change to not fold foo_glob and
+       bar_glob.  Refactor code.
+       * testsuite/icf_preemptible_functions_test.cc: New file.
+       * testsuite/icf_preemptible_functions_test.sh: New file.
+       * testsuite/icf_string_merge_test.cc: New file.
+       * testsuite/icf_string_merge_test.sh: New file.
+       * testsuite/icf_virtual_function_folding_test.cc: New file.
+       * testsuite/icf_virtual_function_folding_test.sh: New file.
+
+2010-04-14  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_output_section::fix_exidx_coverage): Mark object
+       for local symbol recounting if we remove a section due to ICF.
+       * gold.cc (queue_middle_gc_tasks): Create a dummy blocker if
+       there are no regular objects in input.
+
+2010-04-13  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_input_section::set_final_data_size): Compute
+       accurate final data size instead of using current data size.
+
+2010-04-09  Doug Kwan  <dougkwan@google.com>
+
+       * layout.cc (Layout::choose_output_section): Handle script section
+       types.
+       (Layout::make_output_section_for_script): Add section type parameter.
+       Handle script section types.
+       * layout.h (Layout::make_output_section_for_script): Add section
+       type parameter.
+       * output.cc (Output_section::Output_section): Initialize data member
+       is_noload_.
+       (Output_section::do_reset_address_and_file_offset): Do not set address
+       to 0 if section is a NOLOAD section.
+       * output.h (Output_section::is_noload): New method.
+       (Output_section::set_is_noload): Ditto.
+       (Output_section::is_noload_): New data member.
+       * script-c.h (Script_section_type): New enum type.
+       (struct Parser_output_section_header): Add new file section_type.
+       * script-sections.cc (Sections_element::output_section_name): Add
+       parameter for returning script section type.
+       (Output_section_definition::output_section_name): Ditto.
+       (Output_section_definition::section_type)P; New method.
+       (Output_section_definiton::script_section_type_name): Ditto.
+       (Output_section_definition::script_section_type_): New data member.
+       (Output_section_definition::Output_section_definition): Initialize
+       data member Output_section_definition::script_section_type_.
+       (Output_section_definition::create_sections): Pass script section type
+       to Layout::make_output_section_for_script.
+       (Output_section_definition::output_section_name): Return script
+       section type to caller.
+       (Output_section_definition::set_section_address): Do not advance
+       dot value and load address if section type is NOLOAD.  Set address
+       of NOLOAD sections regardless of section flags.
+       (Output_section_definition::print): Print section type if it is
+       not SCRIPT_SECTION_TYPE_NONE.
+       (Output_section_definition::section_type): New method.
+       (Output_section_definition::script_section_type_name): Ditto.
+       (Script_sections::output_section_name): Add new parameter
+       PSECTION_TYPE for returning script section type.  Pass it to
+       section elements.  Handle discard sections.
+       (Sort_output_sections::operator()): Handle NOLOAD sections.
+       * script-sections.h (Script_sections::Section_type): New enum type.
+       (Script_sections::output_section_name): Add a new parameter for
+       returning script section type.
+       * script.cc (script_keyword_parsecodes): Add keywords COPY, DSECT,
+       INFO and NOLOAD.
+       * yyscript.y (union): Add new field SECTION_TYPE.
+       (COPY, DSECT, INFO, NOLOAD): New tokens.
+       (opt_address_and_section_type): Change type to output_section_header.
+       (section_type): New non-terminal
+       (section_header): Handle section type.
+       (opt_address_and_section_type): Return section type value.
+
+2010-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/plugin_common_test_1.c (foo): Add prototype.
+       * testsuite/plugin_common_test_2.c (foo): Likewise.
+
+2010-04-08  Doug Kwan  <dougkwan@google.com>
+
+       * merge.cc (Output_merge_data::set_final_data_size): Handle empty
+       Output_merge_data.
+       * output.cc (Output_section::add_merge_input_section): Simplify
+       code and return status of Output_merge_base::add_input_section.
+       Update merge section map only if Output_merge_base::add_input_section
+       returns true.
+
+2010-04-07  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::scan_section_for_cortex_a8_erratum): Warn
+       if section is marked as containing instructions but has no mapping
+       symbols.
+       (Arm_relobj::do_count_local_symbols): Call adjust_sym_shndx to get
+       correct section index.
+       (Arm_relobj::find_linked_text_section): Ditto.
+
+2010-04-07  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (include_member): Destroy Read_symbols_data object before
+       releasing file.
+       * object.cc (Read_symbols_data::~Read_symbols_data) New destructor.
+       * object.h (Read_symbols_data::Read_symbols_data) New constructor.
+       (Read_symbols_data::~Read_symbols_data) New destructor.
+       (Section_relocs::Section_relocs) New constructor.
+       (Section_relocs::~Section_relocs) New destructor.
+       (Read_relocs_data::Read_relocs_data) New constructor.
+       (Read_relocs_data::~Read_relocs_data) New destructor.
+       * testsuite/binary_unittest.cc (Sized_binary_test): Set sd member
+       pointers to NULL after deleting.
+
+2010-04-07  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc: Replace "endianity" with "endianness" in comments.
+       (Arm_exidx_cantunwind): Ditto.
+       (Arm_relobj::Arm_relobj): Initialize merge_flags_and_attribures.
+       (Arm_relobj::merge_flags_and_attributes): New method.
+       (Arm_relobj::merge_flags_and_attributes_): New data member.
+       (Arm_exidx_cantunwind::do_fixed_endian_write): Fix formatting.
+       (Arm_relobj::scan_sections_for_stubs): Ditto.
+       (Arm_relobj::do_read_symbols): Check to see if we really want to
+       merge processor-specific flags and attributes.  Exit early if
+       an object is empty except for section names and the undefined symbol.
+       (Target_arm::do_finalize_sections): Move check for ELF format to
+       Arm_relobj::do_read_symbols.  Merge processor specific flags and
+       attributes from a regular object only when we have determined that
+       it is aapropriate.  Do not create an .ARM.attributes section in
+       output if there is no regular input object.
+       (Target_arm::merge_processor_specific_flags): Check
+       --warn-mismatch before printing any error.
+       (Target_arm::merge_object_attributes): Ditto.
+       * gold.cc (queue_middle_tasks): Handle the case in which there is
+       no regular object in input.
+       * options.cc (General_options::parse_EB): New method.
+       (General_options::parse_EL): Same.
+       (General_options::General_options): Initialize endianness_.
+       * options.h (-EB, -EL, -no-pipeline-knowledge, -p, --warn-mismatch):
+       New options.
+       (General_options::Endianness): New enum.
+       (General_options::endianness): New method.
+       (General_options::endianness_): New data member.
+       * parameters.cc (Parameters::set_options): Check target endianness.
+       (Parameters::set_target_once): Ditto.
+       (Parameters::check_target_endianness): New method.
+       (parameters_force_valid_target): If either -EL or -EB is specified,
+       use it to define endianness of default target.
+       * parameters.h (Parameters::check_target_endianness): New method
+       declaration.
+       * target.h (class Target): Change "endianity" to "endianness"
+       in comments.
+
+2010-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (AM_INIT_AUTOMAKE): Add option no-dist.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2010-04-06  Cary Coutant  <ccoutant@google.com>
+
+       gcc PR lto/42757
+       * plugin.cc (Pluginobj::get_symbol_resolution_info): Check for
+       prevailing definitions of common symbols.
+       * testsuite/plugin_test_6.sh: New test case.
+       * testsuite/plugin_common_test_1.c: New test case.
+       * testsuite/plugin_common_test_2.c: New test case.
+       * testsuite/Makefile.am (plugin_test_6): New test case.
+       * testsuite/Makefile.in: Regenerate.
+
+2010-04-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: New Vietnamese translation.
+
+2010-03-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::using_thumb_only): Handle v6-M
+
+2010-03-25  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_fixup::update_offset_map): Rearrange code
+       to avoid a conversion warning on a 32-bit host.
+
+2010-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/script_test_3.t: Add a TLS segment.
+       * testsuite/Makefile.am (check_PROGRAMS): Add
+       tls_phdrs_script_test.
+       (tls_phdrs_script_test_SOURCES): Define.
+       (tls_phdrs_script_test_DEPENDENCIES): Define.
+       (tls_phdrs_script_test_LDFLAGS): Define.
+       (tls_phdrs_script_test_LDADD): Define.
+       * testsuite/Makefile.in: Rebuild.
+
+2010-03-23  Cary Coutant  <ccoutant@google.com>
+
+       * fileread.cc (find_or_make_view): Fix comment.
+
+2010-03-23  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.cc (class Orphan_section_placement): Define
+       PLACE_TLS and PLACE_TLS_BSS.
+       (Orphan_section_placement::Orphan_section_placement): Initialize
+       new places.
+       (Orphan_section_placement::find_place): Handle SHF_TLS sections.
+       * testsuite/Makefile.am (check_PROGRAMS): Add tls_script_test.
+       (tls_script_test_SOURCES): Define.
+       (tls_script_test_DEPENDENCIES): Define.
+       (tls_script_test_LDFLAGS): Define.
+       (tls_script_test_LDADD): Define.
+       * testsuite/Makefile.in: Rebuild.
+
+2010-03-22  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relocate_functions::abs8,
+       Arm_relocate_functions::abs16): Use correct check for overflow
+       specified in the ARM ELF specs.
+       (Arm_relocate_functions): thumb_branch_common.  Handle bit 1 of branch
+       target of a BLX instruction specially.
+       (Reloc_stub::stub_type_for_reloc): Ditto.
+       (Relocate::relocate): Use symbolic names instead of numeric relocation
+       codes to report error.
+       (Target_arm::do_relox): Reduce default stub-group size for Cortex-A8
+       workaround.
+       * testsuite/Makefile.am (check_DATA): add thumb_blx_in_range.stdout,
+       thumb_blx_out_of_range.stdout, thumb2_blx_in_range.stdout and
+       thumb2_blx_out_of_range.stdout
+       (thumb_bl_out_of_range, thumb_bl_out_of_range.o,
+       thumb2_bl_out_of_range, thumb2_bl_out_of_range.o): Fix dependenices.
+       (thumb_blx_in_range.stdout, thumb_blx_in_range, thumb_blx_in_range.o,
+       thumb_blx_out_of_range.stdout, thumb_blx_out_of_range,
+       thumb_blx_out_of_range.o, thumb2_blx_in_range.stdout,
+       thumb2_blx_in_range, thumb2_blx_in_range.o,
+       thumb2_blx_out_of_range.stdout, thumb2_blx_out_of_range,
+       thumb2_blx_out_of_range.o): New rules.
+       (MOSTLYCLEANFILES): Add thumb_blx_in_range, thumb_blx_out_of_range,
+       thumb2_blx_in_range and thumb2_blx_out_of_range.
+       * testsuite/Makefile.in: Regenerate.
+       * arm_branch_in_range.sh: Add tests for THUMB BLX.
+       * testsuite/thumb_blx_in_range.s: New file.
+       * testsuite/thumb_blx_out_of_range.s: New file.
+
+2010-03-22  Rafael Espindola  <espindola@google.com>
+
+       * archive.cc (Should_include): Move to archive.h.
+       (should_include_member): Make it a member of Archive.
+       (Lib_group): New.
+       (Add_lib_group_symbols): New.
+       * archive.h: Include options.h.
+       (Archive_member): Moved from Archive.
+       (Should_include): Moved from archive.cc.
+       (Lib_group): New.
+       (Add_lib_group_symbols): New.
+       * dynobj.cc (do_should_include_member): New.
+       * dynobj.h (do_should_include_member): New.
+       * gold.cc (queue_initial_tasks): Update call to queue.
+       * main.cc (main): Print lib group stats.
+       * object.cc (do_should_include_member): New.
+       * object.h: Include archive.h.
+       (Object::should_include_member): New.
+       (Object::do_should_include_member): New.
+       (Sized_relobj::do_should_include_member): New.
+       * options.cc (General_options::parse_start_lib): New.
+       (General_options::parse_end_lib): New.
+       (Input_arguments::add_file): Handle lib groups.
+       (Input_arguments::start_group): Check we are not in a lib.
+       (Input_arguments::start_lib): New.
+       (Input_arguments::end_lib): New.
+       * options.h (General_options): Add start_lib and end_lib.
+       (Input_argument::lib_): New.
+       (Input_argument::lib): New.
+       (Input_argument::is_lib): New.
+       (Input_file_lib): New.
+       (Input_arguments::in_lib_): New.
+       (Input_arguments::in_lib): New.
+       (Input_arguments::start_lib): New.
+       (Input_arguments::end_lib_): New.
+       * plugin.cc (Pluginobj::get_symbol_resolution_info): Mark symbols
+       in unused members as preempted.
+       (Sized_pluginobj::do_should_include_member): New.
+       * plugin.h (Sized_pluginobj::do_should_include_member): New.
+       * readsyms.cc (Read_symbols::locks): If we are just reading a member,
+       return the blocker.
+       (Read_symbols::do_whole_lib_group): New.
+       (Read_symbols::do_lib_group): New.
+       (Read_symbols::do_read_symbols): Handle lib groups.
+       (Read_symbols::get_name): Handle lib groups.
+       * readsyms.h (Read_symbols): Add an archive member pointer.
+       (Read_symbols::do_whole_lib_group): New.
+       (Read_symbols::do_lib_group): New.
+       (Read_symbols::member_): New.
+       * script.cc (read_input_script): Update call to queue_soon.
+
+2010-03-19  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Stub_table::Stub_table): Initialize new data members
+       Stub_table::reloc_stubs_size_ and Stub_table::reloc_stubs_addralign_.
+       (Stub_table::add_reloc_stub): Assign stub offset and update
+       Stub_table::reloc_stubs_size_ and Stub_table::reloc_stubs_addralign_.
+       (Stub_table::reloc_stubs_size_, Stub_table::reloc_stubs_addralign_):
+       New data members.
+       (Stub_table::update_data_size_and_addralign): Use
+       Stub_table::reloc_stubs_size_ and Stub_table::reloc_stubs_addralign_
+       instead of going over all reloc stubs.
+       (Stub_table::finalize_stubs): Do not assign reloc stub offsets.
+       * stringpool.cc (Stringpool_template::Stringpool_template): Initialize
+       Stringpool_template::offset_ to size of Stringpool_char.
+       (Stringpool_template::new_key_offset): Remove code to initialize
+       Stringpool_template::offset_.
+       * stringpool.h (Stringpool_template::set_no_zero_null): Set
+       Stringpool_template::offset_ to zero.
+
+2010-03-15  Doug Kwan  <dougkwan@google.com>
+
+       * stringpool.cc (Stringpool_template::Stringpool_template): Initialize
+       offset_.
+       (Stringpool_template::new_key_offset): New method.
+       (Stringpool_template::add_string): Assign offsets when adding new
+       strings.
+       (Stringpool_template::set_string_offsets): Do not set string offsets
+       when not optimizing.
+       * stringpool.h (Chunked_vector::Chunked_vector): Initialize data
+       member size_.
+       (Chunked_vector::clear): Clear size_.
+       (Chunked_vector::reserve): Call reserve method of all Element_vectors.
+       (Chunked_vector::size): Return size_.
+       (Chunked_vector::push_back): Use size_ to find insert position.
+       (Chunked_vector::size_): New data member.
+       (Stringpool_template::set_no_zero_null): Assert string set is empty.
+       (Stringpool_template::new_key_offset): New method declaration.
+       (Stringpool_template::offset_): New data member.
+
+2010-03-15   Rafael Espindola  <espindola@google.com>
+
+       * readsyms.cc (Read_symbols::do_read_symbols): Update calls to
+       Add_symbols' constructor.
+       * readsyms.h (Add_symbols): Remove the input_group member.
+
+2010-03-10  Ian Lance Taylor  <iant@google.com>
+
+       * reloc.cc (Sized_relobj::split_stack_adjust_reltype): Call the
+       target to ask whether a reference to a symbol requires a stack
+       split.
+       * target.h (Target::is_call_to_non_split): New function.
+       (Target::do_is_call_to_non_split): Declare virtual function.
+       * target.cc: Include "symtab.h".
+       (Target::do_is_call_to_non_split): New function.
+       * i386.cc (Target_i386::do_is_call_to_non_split): New function.
+
+2010-03-10  Cary Coutant  <ccoutant@google.com>
+
+       * fileread.cc (File_read::~File_read): Don't delete whole_file_view_.
+       (File_read::open[1]): Remove initial mapping of whole_file_view_.
+       (File_read::open[2]): Add whole_file_view_ to list of views.
+       (File_read::make_view): Remove test of whole_file_view_.
+       (File_read::find_or_make_view): Create whole_file_view_ if
+       necessary.
+       (File_read::clear_views): Replace bool parameter with enum;
+       adjust all callers.  Don't delete views with permanent data;
+       do delete cached views and views from archives if
+       --no-keep-files-mapped is set.  Set whole_file_view_ to NULL
+       if clearing the corresponding view.
+       * fileread.h (File_read::Clear_views_mode): New enum.
+       (File_read::View::is_permanent_view): New method.
+       (File_read::clear_views): Replace bool parameter
+       with enum; adjust all callers.
+       * options.h (General_options): Change keep_files_mapped option;
+       add map_whole_files.
+       * readsyms.cc (Add_symbols::run): Delete sd_ object before
+       releasing the file.
+       * reloc.cc (Scan_relocs::run): Delete rd_ object before releasing
+       the file.
+
+2010-03-10  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Target_sparc::Scan::local): Accept R_SPARC_WPLT30.
+
+2010-03-09  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.cc (get_section_contents): Add '@' marker after processing the
+       merge reloc.
+
+2010-03-08  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_fixup::update_offset_map): Fix build breakage
+       due to a conversion warning.
+       (Arm_relobj::update_output_local_symbol_count): Check for local
+       symbol with unset output index.
+
+2010-03-05  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add --spare-dynamic-tags.
+       * output.cc (Output_data_dynamic::set_final_data_size): Implement
+       --spare-dynamic-tags.
+
+2010-03-05  Ian Lance Taylor  <iant@google.com>
+
+       * incremental.cc: Include "libiberty.h".
+
+2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * dynobj.h (Verdef::Verdef): Add is_info arg, is_info member
+       function, is_info_ member.
+       * dynobj.cc (Verdef::write): Set VER_FLG_INFO if this->is_info_.
+       (Versions::Versions): Update caller.
+       (Versions::define_base_version): Likewise.
+       (Versions::add_def): Likewise.
+
+2010-03-03  Sriraman Tallam  <tmsriram@google.com>
+
+       * i386.cc (Target_i386::can_check_for_function_pointers): New function.
+       (Scan::possible_function_pointer_reloc): New function.
+       (Scan::local_reloc_may_be_function_pointer): Change to call
+       possible_function_pointer_reloc.
+       (Scan::global_reloc_may_be_function_pointer): Ditto.
+       * icf.h (Icf::check_section_for_function_pointers): Change to reject
+       relocations in ".data.rel.ro._ZTV" section.
+       * testsuite/icf_safe_so_test.sh: Change to pass i386.
+       * testsuite/icf_safe_so_test.cc: Ditto.
+       * testsuite/icf_safe_test.cc: Ditto.
+       * testsuite/icf_safe_test.sh: Ditto.
+
+2010-03-03  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       * target-reloc.h (relocate_section): Check the symbol table index
+       for -1U before setting the local symbol index.
+       (scan_relocatable_relocs): If copying the relocation, record that
+       the local symbol is required.
+       * object.h (Symbol_value::is_output_symtab_index_set): New
+       function.
+       (Symbol_value::may_be_discarded_from_output_symtab): New
+       function.
+       (Symbol_value::has_output_symtab_entry): New function.
+       (Symbol_value::needs_output_symtab_entry): Remove.
+       (Symbol_value::output_symtab_index): Make sure the symbol index is
+       set.
+       (Symbol_value::set_output_symtab_index): Make sure the symbol
+       index is not set.  Make sure the new index is valid.
+       (Symbol_value::set_must_have_output_symtab_entry): New function.
+       (Symbol_value::has_output_dynsym_entry): New function.
+       (Symbol_value::set_output_dynsym_index): Make sure the new index
+       is valid.
+       (Sized_relobj::set_must_have_output_symtab_entry): New function.
+       * object.cc (Sized_relobj::do_count_local_symbols): Only discard a
+       local symbol if permitted.
+       (Sized_relobj::do_finalize_local_symbols): Call
+       is_output_symtab_index_set rather than needs_output_symtab_entry.
+       (Sized_relobj::write_local_symbols): Call has_output_symtab_entry
+       rather than needs_output_symtab_entry.  Call
+       has_output_dynsym_entry rather than needs_output_dynsym_entry.
+       * arm.cc (Arm_relobj::update_output_local_symbol_count): Call
+       is_output_symtab_index_set rather than needs_output_symtab_entry.
+       * testsuite/discard_locals_relocatable_test.c: New file.
+       * testsuite/discard_locals_test.sh: Test -r.
+       * testsuite/Makefile.am (check_DATA): Add
+       discard_locals_relocatable_test1.syms,
+       discard_local_relocatable_test2.syms.
+       (MOSTLYCLEANFILES): Likewise.  Also add
+       discard_locals_relocatable_test1.lout and
+       discard_locals_relocatable_test2.out.
+       (discard_locals_relocatable_test1.syms): New target.
+       (discard_locals_relocatable_test.o): New target.
+       (discard_locals_relocatable_test1.out): New target.
+       (discard_locals_relocatable_test2.syms): New target.
+       (discard_locals_relocatable_test2.out): New target.
+       (various): Add missing ../ld-new dependencies.
+       * testsuite/Makefile.in: Rebuild.
+
+2010-03-03  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: New Finnish translation.
+
+2010-03-01  Doug Kwan  <dougkwan@google.com>
+
+       * layout.cc (Layout::Layout): Force section types of .init_array*,
+       .preinit_array* and .fini_array* sections.
+       * output.cc (Output_section::Input_section_sort_entry::has_priority):
+       Fix check of return value of std::string::find.().
+       (Output_section::Input_section_sort_compare::operator()): Remove
+       comment about .init_array.
+       (Output_section::Input_section_sort_init_fini_compare::operator()):
+       New method.
+       (Output_section::sort_attached_input_sections): Handle .init_array
+       and .fini_array specially.
+       * output.h (Output_section::Inut_section_sort_compare): Update
+       comment.
+       (Output_section::Input_section_sort_init_fini_compare): New struct.
+
+2010-02-26  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Relocate::reloc_is_non_pic): Treat
+       R_ARM_PREL31 and R_ARM_SBREL31 as position independent.
+       * testsuite/debug_msg.sh: Avoid matching source line number for
+       use of global variable undef_int.
+
+2010-02-26  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::scan_reloc_for_stub): Move code handling
+       R_ARM_V4BX to Target_arm::scan_reloc_section_for_stubs.
+       (Target_arm::scan_reloc_section_for_stubs): Instead of calling
+       scan_reloc_for_stub, do all processing of R_ARM_V4BX here.
+       * options.cc (General_options::General_options): Initialize member
+       fix_v4bx_.
+       * testsuite/Makefile.am (check_SCRIPTS): Add arm_fix_v4bx.sh
+       (check_DATA): Add arm_fix_v4bx.stdout, arm_fix_v4bx_interworking.stdout
+       and rm_no_fix_v4bx.stdout
+       (arm_fix_v4bx.stdout, arm_fix_v4bx, arm_fix_v4bx.o,
+       arm_fix_v4bx_interworking.stdout, arm_fix_v4bx_interworking,
+       arm_no_fix_v4bx.stdout, arm_no_fix_v4bx): New make rules.
+       (MOSTLYCLEANFILES): Add arm_fix_v4bx, arm_fix_v4bx_interworking
+       and arm_no_fix_v4bx.
+       * Makefile.in: Regenerate.
+       * testsuite/arm_fix_v4bx.s: New file.
+       * testsuite/arm_fix_v4bx.sh: Ditto.
+
+2010-02-24  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::got_section): Make the .got section the first
+       non RELRO section in the data segment.
+       * testsuite/script_test_5.sh: Fix match patterns to avoid matching
+       suffixes of section names.
+
+2010-02-24  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_finalize_sections): Skip processor specific
+       flags and attributes merging if an input file is a binary file.
+       * fileread.cc (Input_file::open): Record format of original file.
+       * fileread.h (Input_file::Format): New enum type.
+       (Input_file::Input_file): Initialize data member format_.
+       (Input_file::format): New method definition.
+       (Input_file::format_):: New data member.
+
+2010-02-24  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_output_data_got): New class.
+       (ARM_TCB_SIZE): New constant
+       (Target_arm): Use Arm_output_data_got instead of Output_data_got.
+       (Arm_output_section::fix_exidx_coverage): Add a parameter for layout.
+       If user uses a script with a SECTIONS clause, issue only a warning
+       for a misplaced EXIDX input section.  Otherwise, issue an error.
+       (Arm_relobj::do_gc_process_relocs): Exit early if we are not doing
+       garbage collection.
+       (Target_arm::got_mode_index_entry): Handle static linking.
+       (Target_arm::Scan::local): Ditto.
+       (Target_arm::Scan::global): Ditto.
+       (Target_arm::Relocate::relocate_tls): Handle static linking.  Fix
+       all incorrectly implemented relocations.
+       (Target_arm::fix_exidx_coverage): Pass layout to
+       Arm_output_section::fix_exidx_coverage.
+       * layout.cc (Layout::section_name_mapping): Remove trailing dots
+       from ".ARM.exidx." and ".ARM.extab.".
+
+2010-02-23  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Target_arm::do_finalize_sections): Create attribute
+       section if it does not already exist.
+       * attributes.cc (Attributes_section_data::Attributes_section_data):
+       Don't crash if size is zero.
+
+2010-02-23  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       * gold.cc (queue_middle_tasks): If no input files were opened,
+       exit.
+       * workqueue.h (Task_function::Task_function): Assert that there is
+       a blocker.
+
+2010-02-22  Doug Kwan  <dougkwan@google.com>
+
+       * gold-threads.h (Once::~Once): Explicitly define virtual destructor.
+       * icf.cc (get_section_contents): Cast snprintf arguments to long long
+       types to avoid warnings due to different uint64_t implementations
+       on different hosts.
+
+2010-02-21  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relocate_functions::arm_branch_common): Fix bug in
+       handling of the maximum backward branch offset.
+       (Arm_relocate_functions::thumb_branch_common): Ditto.
+       * testsuite/Makefile.am (check_SCRIPTS): Add arm_branch_in_range.sh.
+       (check_DATA): Add arm_bl_in_range.stdout, arm_bl_out_of_range.stdout
+       thumb_bl_in_range.stdout, thumb_bl_out_of_range.stdout,
+       thumb2_bl_in_range.stdout and thumb2_bl_out_of_range.stdout.
+       (arm_bl_in_range.stdout, arm_bl_in_range, arm_bl_in_range.o,
+       arm_bl_out_of_range.stdout, arm_bl_out_of_range,
+       arm_bl_out_of_range.o, thumb_bl_in_range.stdout, thumb_bl_in_range,
+       thumb_bl_in_range.o, thumb_bl_out_of_range.stdout,
+       thumb_bl_out_of_range thumb_bl_out_of_range.o,
+       thumb2_bl_in_range.stdout, thumb2_bl_in_range, thumb2_bl_in_range.o
+       thumb2_bl_out_of_range.stdout, thumb2_bl_out_of_range,
+       thumb2_bl_out_of_range.o): New rules.
+       (MOSTLYCLEANFILES): Add arm_bl_in_range, arm_bl_out_of_range,
+       thumb_bl_in_range, thumb_bl_out_of_range, thumb2_bl_in_range and
+       thumb2_bl_out_of_range
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_bl_in_range.s: New file.
+       * testsuite/arm_bl_out_of_range.s: Ditto.
+       * testsuite/arm_branch_in_range.sh: Ditto.
+       * testsuite/arm_branch_range.t: Ditto.
+       * testsuite/thumb2_branch_range.t: Ditto.
+       * testsuite/thumb_bl_in_range.s: Ditto.
+       * testsuite/thumb_bl_out_of_range.s: Ditto.
+       * testsuite/thumb_branch_range.t: Ditto.
+
+2010-02-20  Sriraman Tallam  <tmsriram@google.com>
+
+       * gc.h (gc_process_relocs): Change vectors to point to the new list.
+       Add reloc offset information.
+       * icf.cc (get_section_contents): Change iterators to point to the new
+       vectors. Add reloc offset information to the contents.
+       * icf.h (Icf::Sections_reachable_info): New typedef.
+       (Icf::Sections_reachable_list): New typedef.
+       (Icf::Offset_info): New typedef.
+       (Icf::Reloc_info): New struct typedef.
+       (Icf::Reloc_info_list): New typedef.
+       (Icf::symbol_reloc_list): Delete method.
+       (Icf::addend_reloc_list): Delete method.
+       (Icf::section_reloc_list): Delete method.
+       (Icf::reloc_info_list): New method.
+       (Icf::reloc_info_list_): New member.
+
+2010-02-19  Doug Kwan  <dougkwan@google.com>
+
+       * arm-reloc.def: Mark R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
+       R_ARM_TLS_LDO32, R_ARM_TLS_IE32 and R_ARM_TLS_LE32 are implemented.
+       * arm.cc (Arm_relocation_functions): New forward declaration.
+       (Target_arm::Target_arm): Initialize new data members
+       got_mod_index_offset_ and tls_base_symbol_defined_.
+       (Target_arm::Relocate::relocate_tls): New method.
+       (Target_arm::optimize_tls_reloc, Target_arm::define_tls_base_symbol,
+        Target_arm::got_mod_index_entry, Target_arm::rel_tls_desc_section):
+       New methods.
+       (Target_arm::Got_type): Add GOT_TYPE_TLS_NOFFSET, GOT_TYPE_OFFSET,
+       GOT_TYPE_TLS_PAIR and GOT_TYPE_TLS_DESC.
+       (Target_arm::got_mod_index_offset_,
+       Target_arm::tls_base_symbol_defined_): New data members.
+       (Target_arm::Scan::local, Target::Scan::global,
+       Target_arm::Relocate::relocate): Handle 32-bit initial TLS
+       relocations.
+
+2010-02-18  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::find_linked_text_section): New method.
+       (Arm_relobj::make_exidx_input_section): Pass section index of linked
+       text section as a parameter becuase some broken tools may not set
+       the link in section header.
+       (Target_arm::has_got_section): New method.
+       (Target_arm::scan_section_for_cortex_a8_stubs): Treat an input section
+       without any mapping symbol as data only.  Remove warning.
+       (Arm_relobj::do_read_synbols): If an EXIDX input section has no
+       link in its section header, try to discover the link by inspecting the
+       REL31 relocation at the beginning of the section.
+       (Target_arm::Scan::check_non_pic): Report name of offending relocation
+       in error message.
+       (Target_arm::Scan::global): Treat any reference to the symbol
+       _GLOBAL_OFFSET_TABLE_ as a GOT access.
+
+2010-02-12  Sriraman Tallam  <tmsriram@google.com>
+
+       * arm.cc (Scan::local_reloc_may_be_function_pointer): New function.
+       (Scan::global_reloc_may_be_function_pointer): New function.
+       * sparc.cc (Scan::local_reloc_may_be_function_pointer): New function.
+       (Scan::global_reloc_may_be_function_pointer): New function.
+       * powerpc.cc (Scan::local_reloc_may_be_function_pointer): New function.
+       (Scan::global_reloc_may_be_function_pointer): New function.
+       * i386.cc (Scan::local_reloc_may_be_function_pointer): New function.
+       (Scan::global_reloc_may_be_function_pointer): New function.
+       * x86_64.cc (Scan::local_reloc_may_be_function_pointer): New function.
+       (Scan::global_reloc_may_be_function_pointer): New function.
+       (Scan::possible_function_pointer_reloc): New function.
+       (Target_x86_64::can_check_for_function_pointers): New function.
+       * gc.h (gc_process_relocs): Scan relocation types to determine if
+       function pointers were taken for targets that support it.
+       * icf.cc (Icf::find_identical_sections): Include functions for
+       folding in safe ICF whose pointer is not taken.
+       * icf.h (Secn_fptr_taken_set): New typedef.
+       (fptr_section_id_): New member.
+       (section_has_function_pointers): New function.
+       (set_section_has_function_pointers): New function.
+       (check_section_for_function_pointers): New function.
+       * options.h: Fix comment for safe ICF option.
+       * target.h (can_check_for_function_pointers): New function.
+       * testsuite/Makefile.am: Add icf_safe_so_test test case.
+       Modify icf_safe_test for X86-64.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/icf_safe_so_test.cc: New file.
+       * testsuite/icf_safe_so_test.sh: New file.
+       * testsuite/icf_safe_test.cc (kept_func_3): New function.
+       (main): Change to take pointer to function kept_func_3.
+       * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Check if safe
+       folding is done correctly for X86-64.
+
+2010-02-12  David S. Miller  <davem@davemloft.net>
+
+       * output.h (Output_reloc<SHT_REL>::Output_reloc): Add
+       is_symbolless parameter.
+       (Output_reloc<SHT_REL>::is_symbolless): New.
+       (Output_reloc<SHT_REL>::is_symbolless_): New.
+       (Output_reloc<SHT_REL>::type_): Decrease to 29 bits.
+       (Output_reloc<SHT_RELA>::Output_reloc): Add is_symbolless parameter.
+       (Output_reloc<SHT_RELA>::is_symbolless): New.
+       (Output_data_reloc::add_global): Handle is_symbolless.
+       (Output_data_reloc::add_global_relative): Likewise.
+       (Output_data_reloc::add_local): Likewise.
+       (Output_data_reloc::add_local_relative): Likewise.
+       (Output_data_reloc::add_symbolless_global_addend): New.
+       (Output_data_reloc::add_symbolless_local_addend): New.
+       * output.cc (Output_reloc<SHT_REL>::Output_reloc): Handle
+       is_symbolless.
+       (Output_reloc::set_needs_dynsym_index): Test ->is_symbolless_
+       instead of ->is_relative_
+       (Output_reloc::write): Likewise.
+       (Output_reloc::get_symbol_index): Return 0 when ->is_symbolless_
+       (Output_reloc::write_rel): Simplify.
+
+       * sparc.cc (Target_sparc::Scan::local): Use
+       ->add_symbolless_local_addend as needed.
+       (Target_sparc::Scan::global): Use ->add_symbolless_global_addend as
+       needed.  Also, emit appropriate unaligned vs. aligned dynamic reloc
+       based upon relocation offset.
+
+2010-02-11  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Scan::local): Fix bugs in relocation handling.
+       (Target_arm::Scan::global): Ditto.  Also remove a comment before the
+       beginning of function.
+       (Target_arm::Relocate::relocate): Remove error messages for MOVW_ABS
+       and MOVT_ABS relocations.  Those are non issued in scanning.  Fix
+       parameter is_32bit in calls to should_apply_static_reloc.
+       * testsuite/Makefile.am (check_SCRIPTS): Add arm_abs_global.sh.
+       (check_DATA): Add arm_abs_global.stdout.
+       (arm_abs_lib.o, libarm_abs.so, arm_abs_global.o, arm_abs_global,
+       arm_abs_global.stdout): New rules.
+       (MOSTLLYCLEANFILES): Add arm_abs_global
+       * Makefile.in: Regenerate.
+       * testsuite/arm_abs_global.s: New file.
+       * testsuite/arm_abs_global.sh: Ditto.
+       * testsuite/arm_abs_lib.s: Ditto.
+
+2010-02-11  Ian Lance Taylor  <iant@google.com>
+
+       * gold.cc (queue_middle_gc_tasks): Use a separate blocker for each
+       Read_relocs task.
+       (queue_middle_tasks): Likewise, and also for Scan_relocs.  Run
+       Allocate_commons_task first.
+       * reloc.cc (Read_relocs::run): Pass next_blocker_ down to next
+       task, rather than symtab_lock_.
+       (Gc_process_relocs::~Gc_process_relocs): New function.
+       (Gc_process_relocs::is_runnable): Check this_blocker_.
+       (Gc_process_relocs::locks): Use next_blocker_ rather than
+       blocker_.
+       (Scan_relocs::~Scan_relocs): New function.
+       (Scan_relocs::is_runnable): Check this_blocker_ rather than
+       symtab_lock_.
+       (Scan_relocs::locks): Drop symtab_lock_ and blocker_.  Add
+       next_blocker_.
+       * reloc.h (class Read_relocs): Drop symtab_lock_ and blocker_
+       fields.  Add this_blocker_ and next_blocker_ fields.  Adjust
+       constructor accordingly.
+       (class Gc_process_relocs): Likewise.
+       (class Scan_relocs): Likewise.
+       * common.h (class Allocate_commons_task): Remove symtab_lock_
+       field, and corresponding constructor parameter.
+       * common.cc (Allocate_commons_tasK::is_runnable): Remove use of
+       symtab_lock_.
+       (Allocate_commons_task::locks): Likewise.
+
+2010-02-11  Ian Lance Taylor  <iant@google.com>
+
+       * gold-threads.h (class Once): Define.
+       (class Initialize_lock): Rewrite as child of Once.
+       * gold-threads.cc (class Once_initialize): Define.
+       (once_pointer_control): New static variable.
+       (once_pointer, once_arg): New static variables.
+       (c_run_once): New static function.
+       (Once::Once, Once::run_once, Once::internal_run): New functions.
+       (class Initialize_lock_once): Remove.
+       (initialize_lock_control): Remove.
+       (initialize_lock_pointer): Remove.
+       (initialize_lock_once): Remove.
+       (Initialize_lock::Initialize_lock): Move to gold-threads.h.
+       (Initialize_lock::initialize): Rewrite.
+       (Initialize_lock::do_run_once): New function.
+       * archive.cc (Archive::interpret_header): Only clear name if it is
+       not already empty.
+       * fileread.cc: Include "gold-threads.h"
+       (file_counts_lock): New static variable.
+       (file_counts_initialize_lock): Likewise.
+       (File_read::release): Only increment counts when using --stats.
+       Use a lock around the increment.
+       * parameters.cc (class Set_parameters_target_once): Define.
+       (set_parameters_target_once): New static variable.
+       (Parameters::Parameters): Move here from parameters.h.
+       (Parameters::set_target): Rewrite.
+       (Parameters::set_target_once): New function.
+       (Parameters::clear_target): Move here and rewrite.
+       * parameters.h (class Parameters): Update declarations.  Add
+       set_parameters_target_once_ field.
+       (Parameters::Parameters): Move to parameters.cc.
+       (Parameters::clear_target): Likewise.
+       * readsyms.cc (Read_symbols::do_group): Create a Start_group
+       task.
+       (Start_group::~Start_group): New function.
+       (Start_group::is_runnable): New function.
+       (Start_group::locks, Start_group::run): New functions.
+       (Finish_group::run): Change saw_undefined to size_t.
+       * readsyms.h (class Start_group): Define.
+       (class Finish_group): Change saw_undefined_ field to size_t.
+       (Finish_group::Finish_group): Remove saw_undefined and
+       this_blocker parameters.  Change all callers.
+       (Finish_group::set_saw_undefined): New function.
+       (Finish_group::set_blocker): New function.
+       * symtab.h (class Symbol_table): Change saw_undefined to return
+       size_t.  Change saw_undefined_ field to size_t.
+       * target-select.cc (Set_target_once::do_run_once): New function.
+       (Target_selector::Target_selector): Initialize set_target_once_
+       field.  Don't initialize lock_ and initialize_lock_ fields.
+       (Target_selector::instantiate_target): Rewrite.
+       (Target_selector::set_target): New function.
+       * target-select.h (class Set_target_once): Define.
+       (class Target_selector): Update declarations.  Make
+       Set_target_once a friend.  Remove lock_ and initialize_lock_
+       fields.  Add set_target_once_ field.
+
+2010-02-10  Ian Lance Taylor  <iant@google.com>
+
+       * dirsearch.cc (Dirsearch::initialize): Add all blockers before
+       queueing any tasks.
+       * gold.cc (queue_middle_gc_tasks): Likewise.  Fix final blocker.
+       (queue_middle_tasks): Add all blockers before queueing any tasks.
+       (queue_final_tasks): Likewise.
+       * token.h (Task_token::add_blockers): New function.
+       * object.h (Input_objects::number_of_relobjs): New function.
+
+2010-02-10  Ian Lance Taylor  <iant@google.com>
+
+       * i386.cc (Relocate::relocate_tls): A local symbol is final if not
+       shared, not if not position independent.
+       * x86_64.cc (Relocate::relocate_tls): Likewise.
+       * testsuite/Makefile.am (check_PROGRAMS): Add tls_pie_pic_test.
+       (tls_pie_pic_test): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+       * testsuite/Makefile.am (check_PROGRAMS): Add tls_pie_test.
+       (tls_test_main_pie.o, tls_test_pie.o): New targets.
+       (tls_test_file2_pie.o, tls_test_c_pie.o, tls_pie_test): Likewise.
+       * testsuite/Makefile.in: Rebuild.
+
+2010-02-09  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Target_sparc::Scan::local): Do not emit relocs other than
+       R_SPARC_RELATIVE using ->add_local_relative().
+       (Target_sparc::Scan::global): Likewise for ->add_global_relative().
+
+       * output.h (Output_data_dynamic::add_section_size): New method
+       that takes two Output_data objects.
+       (Output_data_dynamic::Dynamic_entry): Create storage for secondary
+       entry param.  Handle it in initializers.
+       * output.cc (Output_data_dynamic::Dynamic_entry::write): For
+       DYNAMIC_SECTION_SIZE, add in second object size if non-NULL.
+       * layout.h (Layout::add_target_dynamic_tags): Add dynrel_includes_plt
+       arg.
+       * layout.cc (Layout::add_target_dynamic_tags): If dynrel_includes_plt,
+       and .rela.plt exists, set DT_REL{,A}SZ to sum of .rela.dyn and .rela.plt
+       * arm.cc (Target_arm::do_finalize_sections): Update to pass false
+       for dynrel_includes_plt.
+       * i386.cc (Target_i386::do_finalize_sections): Likewise.
+       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
+       * sparc.cc (Target_sparc::make_plt_entry): Force .rela.dyn to be output
+       before .rela.plt
+       (Target_sparc::do_finalize_sections): Update to pass true for
+       dynrel_includes_plt.
+       * powerpc.cc (Target_powerpc::make_plt_entry): Force .rela.dyn to be
+       output before .rela.plt
+       (Target_powerpc::do_finalize_sections): Update to pass true for
+       dynrel_includes_plt when 32-bit.
+
+2010-02-08  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::simple_input_section_output_address): New
+       method.
+       (Arm_relobj::section_needs_cortex_a8_stub_scanning,
+       Arm_relobj::scan_section_for_cortex_a8_stubs,
+       Arm_relobj::do_relocation_section): Instead of calling
+       Output_section::output_address, use faster
+       Arm_relobj::simple_input_section_output_address.
+
+2010-02-08  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Target_sparc::Relocate::relocate): If relocation offset is
+       unaligned for R_SPARC_16, R_SPARC_32, or R_SPARC_64, use the unaligned
+       relocation helper function.
+
+       * sparc.cc (Target_sparc::Scan::local): Handle R_SPARC_GOTDATA_OP*
+       just like R_SPARC_GOT{10,13,22}.
+       (Target_sparc::Scan::local): Likewise.
+       (Target_sparc::Relocate:relocate): Likewise.
+
+2010-02-06  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Rewrite targetobjs duplicate removal code to use
+       only shell constructs.
+       * configure: Rebuild.
+
+2010-02-05  Doug Kwan  <dougkwan@google.com>
+
+       PR 11247
+       * arm.cc (Arm_relobj::section_is_scannable): New method.
+       (Arm_relobj::section_needs_reloc_stub_scanning): Use it.
+       (Arm_relobj::section_needs_cortex_a8_stub_scanning): Same.
+
+2010-02-04  Doug Kwan  <dougkwan@google.com>
+
+       PR 11247
+       * arm-reloc-property.cc (cstdio): Include.
+       * configure.ac (targetobjs): Remove duplicates.
+       * configure: Regenerate.
+       * resolve.cc (Symbol_table::resolve): Explicit instantiate both
+       big and little endian version for a given address size.
+
+2010-02-03  Doug Kwan  <dougkwan@google.com>
+
+       * arm-reloc-property.cc
+       (Arm_reloc_property_table::reloc_name_in_error_message): New method
+       definition.
+       * arm-reloc-property.h
+       (Arm_reloc_property_table::get_implemented_static_reloc_property):
+       New method definition.
+       (Arm_reloc_property_table::reloc_name_in_error_message): New method
+       declaration.
+       * arm-reloc.def (THM_MOVT_ABS, THM_MOVT_PREL, THM_MOVT_BREL): Change
+       overflow to N.
+       (GOT_PREL): Change implemented to Y.
+       * arm.cc (Target_arm::reloc_uses_thumb_bit): Remove method.
+       (Target_arm::Relocate::reloc_needs_sym_origin): Remove method.
+       (Arm_relocate_functions::movw_abs_nc): Remove method.
+       (Arm_relocate_functions::movt_abs): Ditto.
+       (Arm_relocate_functions::thm_movw_abs_nc): Ditto.
+       (Arm_relocate_functions::thm_movt_abs): Ditto.
+       (Arm_relocate_functions::movw_rel_nc): Ditto.
+       (Arm_relocate_functions::movw_rel): Ditto.
+       (Arm_relocate_functions::movt_rel): Ditto.
+       (Arm_relocate_functions:thm_movw_rel_nc): Ditto.
+       (Arm_relocate_functions:thm_movw_rel): Ditto.
+       (Arm_relocate_functions:thm_movt_rel): Ditto.
+       (Arm_relocate_functions::movw, Arm_relocate_functions::movt,
+       (Arm_relocate_functions::thm_movw, Arm_relocate_functions::thm_movt):
+       New method definitions.
+       (Arm_relocation_functions::arm_grp_alu): Add assertion for group index.
+       (Arm_relocation_functions::arm_grp_ldr): Ditto.
+       (Arm_relocation_functions::arm_grp_ldrs): Ditto.
+       (Arm_relocation_functions::arm_grp_ldc): Ditto.
+       (Target_arm::Relocate::relocate): Check for non-static or
+       unimplemented relocation code and exit early.  Change calls to
+       Target_arm::reloc_uses_thumb_bit and
+       Target_arm::Reloc::reloc_needs_sym_origin to use relocation property
+       instead.  Refactor code to handle similar relocations to increase
+       code sharing.  Remove check for unsupported relocation code in switch
+       statement.
+       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Use
+       relocation property table to find out size.  Change error message to
+       print out the name of a relocation code instead of the numeric value.
+       (Target_arm::scan_reloc_for_stub): Use relocation property table
+       instead of calling Target_arm::reloc_uses_thumb_bit().
+
+2010-02-02  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::relocate_section): Do view adjustment for all
+       types of relaxed input section.
+
+2010-02-02  Doug Kwan  <dougkwan@google.com>
+
+       * Makefile.am (HFILES): Add arm-reloc-property.h.
+       (DEFFILES): New.
+       (TARGETSOURCES): Add arm-reloc-property.cc
+       (ALL_TARGETOBJS): Add arm-reloc-property.$(OBJEXT)
+       (libgold_a_SOURCES): $(DEFFILES)
+       * Makefile.in: Regenerate.
+       * arm-reloc-property.cc: New file.
+       * arm-reloc-property.h: New file.
+       * arm-reloc.def: New file.
+       * arm.cc: Update comments.
+       (arm-reloc-property.h): New included header.
+       (arm_reloc_property_table): New global variable.
+       (Target_arm::do_select_as_default_target): New method definition.
+       * configure.tgt (armeb*-*-*,armbe*-*-*,arm*-*-*): Add
+       arm-reloc-property to targ_extra_obj.
+       * parameters.cc (set_parameters_target): Call
+       Target::select_as_default_target().
+       * target.h (Target::select_as_default_target): New method definition.
+       (Target::do_select_as_default_target): Same.
+
+2010-02-01  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_fixup::Arm_exidx_fixup): Initialize
+       first_output_text_section_.
+       (Arm_exidx_fixup::first_output_text_section): New method definition.
+       (Arm_exidx_fixup::first_output_text_section_): New data member.
+       (Arm_exidx_fixup::process_exidx_section): Record the first text
+       output section seen.
+       (Arm_output_section::fix_exidx_coverage): Set correct linked section
+       and entsize in output section header.
+
+2010-01-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc: Added support for the ARM relocations: R_ARM_THM_PC8,
+       R_ARM_THM_PC12, R_ARM_THM_ALU_PREL_11_0.
+       (Arm_relocate_functions::thm_alu11): New Method.
+       (Arm_relocate_functions::thm_pc8): New Method.
+       (Arm_relocate_functions::thm_pc12): New Method.
+       (Target_arm::Scan::local): Handle the relocations.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+       (Target_arm:Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
+
+2010-01-29  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Scan::global): General PLTs for the same set
+       of relocation types as ld.
+
+2010-01-29  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relocate_functions::arm_branch_common) Change visibility
+       to public.
+       (Arm_relocate_functions::thumb_branch_common): Ditto.
+       (Arm_relocate_functions::thm_call, Arm_relocate_functions::thm_jump24,
+       Arm_relocate_functions::thm_xpc22, Arm_relocate_functions::plt32,
+       Arm_relocate_functions::xpc25, Arm_relocate_functions::call,
+       Arm_relocate_functions::jump24): Remove.
+       (Target_arm::Relocate::relocate): Adjust code to call
+       Arm_relocation_functions::arm_branch_common and
+       Arm_relocation_functions::thumb_branch_common instead of their removed
+       wrappers.  Merge switch-cases together to reduce source code size.
+
+2010-01-29  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::Arm_relobj): Initialize new data member
+       output_local_symbol_count_needs_update_.
+       (Arm_relobj::output_local_symbol_count_needs_update,
+        Arm_relobj::set_output_local_symbol_count_needs_update,
+        Arm_relobj::update_output_local_symbol_count): New methods.
+       (Arm_relobj::output_local_symbol_count_needs_update_): New data
+       member.
+       (Arm_exidx_cantunwind::do_fixed_endian_write): Write address
+       of pointed function as in a R_ARM_PREL31 relocation.
+       (Arm_output_section<big_endian>::fix_exidx_coverage): Mark objects
+       for output local symbol count updating.
+       (Target_arm::do_relax): Update output local symbol counts in objects
+       if necessary.
+       * object.h (Sized_relobj::set_output_local_symbol_count): New method.
+
+2010-01-29  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc: Added support for the ARM relocations:
+       R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL, R_ARM_MOVW_BREL,
+       R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL.
+       (Arm_relocate_functions::movw_rel_nc): Renamed (was
+       movw_prel_nc).
+       (Arm_relocate_functions::movw_rel): New method.
+       (Arm_relocate_functions::movt_rel): Renamed (was movt_prel).
+       (Arm_relocate_functions::thm_movw_rel_nc): Renamed (was
+       thm_movw_prel_nc).
+       (Arm_relocate_functions::thm_movw_rel): New method.
+       (Arm_relocate_functions::thm_movt_rel): Renamed (was
+       thm_movt_prel).
+       (Target_arm::Scan::local): Handle MOVW_BREL/MOVT_BREL
+       relocations.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2010-01-27  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc: Added support for ARM group relocations.
+       (Target_arm::reloc_needs_sym_origin): New method.
+       (Arm_relocate_functions::calc_grp_kn): New method.
+       (Arm_relocate_functions::calc_grp_residual): New method.
+       (Arm_relocate_functions::calc_grp_gn): New method.
+       (Arm_relocate_functions::arm_grp_alu): New Method.
+       (Arm_relocate_functions::arm_grp_ldr): New Method.
+       (Arm_relocate_functions::arm_grp_ldrs): New Method.
+       (Arm_relocate_functions::arm_grp_ldc): New Method.
+       (Target_arm::Scan::local): Handle the ARM group relocations.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2010-01-26  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (set): Include.
+       (class Arm_exidx_fixup): Change type of last_input_section_ to const
+       pointer type.
+       (Arm_output_section::Text_section_list): New type.
+       (Arm_output_section::append_text_sections_to_list): New method.
+       (Arm_output_section::fix_exidx_coverage): Ditto.
+       (Arm_relobj::Arm_relobj): Initialize exidx_section_map_.
+       (Arm_relobj::convert_input_section_to_relaxed_section): Use
+       Relobj::set_section_offset() instead of
+       Sized_relobj::invalidate_section_offset().
+       (Arm_relobj::section_needs_reloc_stub_scanning): Add an extra
+       parameter for section headers. Ignore relocation sections for
+       unallocated sections and EXIDX sections.
+       (Target_arm::fix_exidx_coverage): New method.
+       (Target_arm::output_section_address_less_than): New type.
+       (Arm_exidx_fixup::add_exidx_cantunwind_as_needed): Use index of the
+       linked text section instead of the EXIDX section.
+       (Arm_output_section::create_stub_group): Add an assertion to check
+       that this is not an EXIDX output section.
+       (Arm_output_section::append_text_sections_to_list): New method.
+       (Arm_output_section::fix_exidx_coverage): Ditto.
+       (Arm_relobj::scan_sections_for_stubs): Adjust call to
+       Arm_relobj::section_needs_reloc_stub_scanning.
+       (Target_arm::do_relax): Fix EXIDX output section coverage in the
+       first pass.
+       (Target_arm::fix_exidx_coverage): New method.
+       * object.h (Relobj::set_output_section): New method.
+       (Sized_relobj::invalidate_section_offset): Remove method.
+       (Sized_relobj::do_invalidate_section_offset): Remove method.
+       (Sized_relobj::do_set_section_offset): Handle offset value -1.
+
+2010-01-25  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_merged_section::do_output_offset):
+       Fix warning due to signed and unsigned comparison on a 32-bit host.
+
+2010-01-22  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_relax): Record an output section for section
+       offset adjustment it contains any stub table that has changed.
+       * layout.cc (Layout::clean_up_after_relaxation): Adjust section
+       offsets in an output section if necessary.
+       * output.cc (Output_section::Output_section): Initialize
+       section_offsets_need_adjustments_.
+       (Output_section::add_input_section_for_script): Renamed to
+       Output_section::add_simple_input_section.
+       (Output_section::save_states): Add a comment.
+       (Output_section::discard_states): New method defintion.
+       (Output_section::adjust_section_offsets): Same.
+       * output.h (Output_section::add_input_section_for_script): Renamed to
+       Output_section::add_simple_input_section.
+       (Output_section::discard_states): New method declaration.
+       (Output_section::adjust_section_offsets): Same.
+       (Output_section::section_offsets_need_adjustment,
+       Output_section::set_section_offsets_need_adjustment): New method
+       definitions.
+       (Output_section::section_offsets_need_adjustment_): New data member.
+       * script-sections.cc
+       (Output_section_element_input::set_section_address): Adjust code for
+       renaming of Output_section::add_input_section_for_script.
+       (Orphan_output_section::set_section_address): Same.
+
+2010-01-22  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Target_arm): Updated fix_v4bx method and usage of
+       Fix_v4bx enum values .
+       * options.h (General_options): New option definitions.
+       (General_options::fix_v4bx): New method.
+       (General_options::Fix_v4bx): New enum.
+       * options.cc (General_options::parse_fix_v4bx): New method.
+       (General_options::parse_fix_v4bx_interworking): New method.
+
+2010-01-22  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_fixup): New class.
+
+2010-01-21  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_cantunwind, Arm_exidx_merged_section): New
+       classes.
+       (Arm_exidx_section_offset_map): New type.
+
+2010-01-21  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_exidx_input_section): New class.
+       (Arm_relobj::exidx_input_section_by_link,
+       Arm_relobj::exidx_input_section_by_shndx,
+       Arm_relobj::make_exidx_input_section): New methods.
+       (read_arm_attributes_section): Remove.
+       (Arm_relobj::do_read_symbols): Look for ARM.exidx sections and record
+       information about them.
+       (Arm_dynobj::do_read_symbols): Move code in read_arm_attributes_section
+       to here.
+
+2010-01-20  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Arm_input_section_map): Change key type from
+       Input_section_specifier to Section_id.
+       (Target_arm::new_arm_input_section: Adjust code for change of key
+       type.
+       (Target_arm::find_arm_input_section): Ditto.
+       * gc.h (object.h): Include for Section_id nand Section_id_hash.
+       (Section_id): Remove.
+       (Garbage_collection::Section_id_hash): Remove.
+       * icf.h (object.h): Include for Section_id nand Section_id_hash.
+       (Section_id): Remove.
+       (Icf::Section_id_hash): Remove.
+       * object.h (Section_id, Const_section_id, Section_id_hash,
+       Const_section_id_hash): New type definitions.
+       * output.cc (Output_section::add_relaxed_input_section): Change to
+       use Const_section_id instead of Input_section_specifier as key type.
+       (Output_section::add_merge_input_section): Ditto.
+       (Output_section::build_relaxation_map): Change to use Section_id
+       instead of Input_section_specifier as key type.
+       (Output_section::convert_input_sections_in_list_to_relaxed_sections):
+       Ditto.
+       (Output_section::convert_input_sections_to_relaxed_sections): Change
+       to use Const_section_id instead of Input_section_specifier as key type.
+       (Output_section::find_merge_section): Ditto.
+       (Output_section::find_relaxed_input_section): Ditto.
+       * output.h (Input_section_specifier): Remove class.
+       (Output_section::Output_section_data_by_input_section_map): Change
+       key type to Const_section_id.
+       (Output_section::Output_relaxed_input_section_by_input_section_map):
+       Ditto.
+       (Output_section::Relaxation_map): Change key type to Section_id.
+
+2010-01-20  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc: Added support for R_ARM_V4BX relocation
+       (class Arm_v4bx_stub): New class.
+       (DEF_STUBS): Updated definition to support v4_veneer_bx.
+       (Stub_factory::make_arm_v4bx_stub): New method.
+       (Stub_factory::elf32_arm_stub_v4_veneer_bx): New veneer template.
+       (Stub_table::empty): Handle v4bx stubs.
+       (Stub_table::add_arm_v4bx_stub): New method.
+       (Stub_table::find_arm_v4bx_stub): New method.
+       (Arm_relocate_functions::v4bx): New method.
+       (Target_arm::fix_v4bx): New method.
+       (Target_arm::Target_arm): Handle R_ARM_V4BX.
+       (Stub_table::relocate_stubs): Likewise.
+       (Stub_table::do_write): Likewise.
+       (Stub_table::update_data_size_and_addralign): Likewise.
+       (Stub_table::finalize_stubs):  Likewise.
+       (Target_arm::Scan::local): Likewise.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::do_finalize_sections): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+       (Target_arm::scan_reloc_for_stub): Likewise.
+       (Target_arm::scan_reloc_section_for_stubs): Likewise.
+
+2010-01-19  Ian Lance Taylor  <iant@google.com>
+
+       * output.cc (Output_section_headers::do_sized_write): Write large
+       segment count to sh_info field.
+       (Output_file_header::do_sized_write): For large segment count,
+       write PN_XNUM to e_phnum field.
+
+2010-01-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Arm_relocate_functions::thm_jump6): New function.
+       (Arm_relocate_functions::thm_jump8): New function.
+       (Arm_relocate_functions::thm_jump11): New function.
+       (Target_arm::Scan::local): Handle R_ARM_THM_JUMP6, R_ARM_THM_JUMP8,
+       R_ARM_THM_JUMP11.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::Relocate::relocate): Likewise.
+       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2010-01-14  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (map, utility): Include headers.
+       (Target_arm::apply_cortex_a8_workaround): New method.
+       (Arm_relobj::do_relocate_sections): Apply any Cortex-A8 workaround.
+       (Target_arm::Scan::local): Handle R_ARM_THM_JUMP24, R_ARM_THM_JUMP19.
+       (Target_arm::Scan::global): R_ARM_THM_JUMP19.
+       (Target_arm::do_finalize_sections): Set fix_cortex_a8_ according to
+       the --[no-]fix-cortex-a8 command line options.
+       (Target_arm::Relocate::relocate): Handle R_ARM_JUMP19.
+       (Target_arm::relocate_stub): Use addend in instruction template.
+       * options.h (DEFINE_bool): Set the user-set flag.
+       (General_options): Add --[no-]-fix-cortex options.
+       * output.cc (Output_section::convert_input_sections_to_relaxed_sections)
+       : Update fast look-up map after conversion.
+
+2010-01-14  Sriraman Tallam  <tmsriram@google.com>
+
+       * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack
+       in the first pass of do_layout.
+
+2010-01-13  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,
+       Arm_relobj::scan_sections_for_stubs): Rearrange code to avoid an
+       apparent compiler problem of not folding static constant integral
+       data members of elfcpp::Elf_sizes<32>.
+
+2010-01-13  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,
+       Arm_relobj::section_needs_cortex_a8_stub_scanning,
+       Arm_relobj::scan_section_for_cortex_a8_erratum,
+       Arm_relobj::scan_span_for_cortex_a8_erratum): New methods.
+       (Arm_relobj::scan_sections_for_stubs): Move code deciding what
+       sections to scan for relocation stubs into a new method
+       Arm_relobj::section_needs_reloc_stub_scanning.  Handle both
+       relocation and Cortex-A8 stub scanning.
+       (Target_arm::do_relax): Force stubs to be after stubbed sections
+       if fixing the Cortex-A8 erratum.  Remove all Cortex-A8 stubs at
+       the beginning of a new relaxation pass.  Update a comment.
+       (Target_arm::scan_span_for_cortex_a8_erratum): New method definition.
+
+2010-01-12  Ian Lance Taylor  <iant@google.com>
+
+       * target-reloc.h (visibility_error): New inline function.
+       (relocate_section): Call visibility_error.
+       * testsuite/Makefile.am (check_DATA): Add protected_3.err.
+       (MOSTLYCLEANFILES): Likewise.
+       (protected_4_pic.o, protected_3.err): New targets.
+       * testsuite/protected_4.cc: New file.
+
+2010-01-12  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Cortex_a8_reloc): New class.
+       (Target_arm::Target_arm): Initialize new data members fix_cortex_a8_
+       and cortex_a8_relocs_info_.
+       (Target_arm::fix_cortex_a8): New method definition.
+       (Target_arm::Cortex_a8_relocs_info): New type.
+       (Target_arm::fix_cortex_a8_, Target_arm::cortex_a8_relocs_info_):
+       New data member declarations.
+       (Target_arm::scan_reloc_for_stub): Record information about
+       relocations for THUMB branches that might be exempted from the
+       Cortex-A8 workaround.
+       (Target_arm::do_relax): Clear all Cortex-A8 relocation information
+       at the beginning of a relaxation pass.
+
+2010-01-12  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::mapping_symbols_info_): New data member.
+       (Arm_relobj::Mapping_symbol_position,
+        Arm_reloj::Mapping_symbol_position_less,
+        Arm_relobj::Mapping_symbols_info): New types.
+       (Target_arm::is_mapping_symbol_name): New method definition.
+       (Arm_relobj::do_count_local_symbols): Save information about mapping
+       symbols.
+
+2010-01-11  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relocate_functions::thumb32_branch_offset,
+       Arm_relocate_functions::thumb32_branch_upper,
+       Arm_relocate_functions::thumb32_branch_lower,
+       Arm_relocate_functions::thumb32_cond_branch_offset,
+       Arm_relocate_functions::thumb32_cond_branch_upper,
+       Arm_relocate_functions::thumb32_cond_branch_lower,
+       Arm_relocate_functions::thm_jump19): New methods to handle THUMB
+       branch offset encoding.
+       (Arm_relocate_functions::thumb_branch_common): Use new branch
+       offset encoding methods to avoid code duplication.
+       (Stub_template::Stub_template) Handle THUMB16_SPECIAL_TYPE.
+       (Stub_addend_reader::operator()): Use new branch encoding method
+       to avoid code duplication.
+
+2010-01-11  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::do_gc_process_relocs): New method.
+       (Target_arm::do_finalize_sections): Define special EXIDX section
+       symbols only if referenced.
+       * gc.h (Garbage_collection::add_reference): New method.
+       (gc_process_relocs): Use Garbage_collection::add_reference to avoid
+       code duplication.
+
+2010-01-11  Ian Lance Taylor  <iant@google.com>
+
+       * script.cc (Version_script_info::build_expression_list_lookup):
+       Change complaing about duplicate wildcard match from error to
+       warning.
+
+       * script.cc (class Lazy_demangler): Recreate--revert part of patch
+       of 2009-12-30.
+       (Version_script_info::Version_script_info): Initialize globs_,
+       default_version_, default_is_global_, and exact_.  Don't
+       initialize globals_ or locals_.
+       (Version_script_info::build_lookup_tables): Build local symbols
+       first.
+       (Version_script_info::unquote): New function.
+       (Version_script_info::add_exact_match): New function.
+       (Version_script_info::build_expression_list_lookup): Remove lookup
+       parameter.  Add is_global parameter.  Change all callers.  Handle
+       wildcard pattern specially.  Unquote pattern.  Call
+       add_exact_match.
+       (Version_script_info::get_name_to_match): New function.
+       (Version_script_info::get_symbol_version): New function.
+       (Version_script_info::get_symbol_version_helper): Remove.
+       (Version_script_info::check_unmatched_names): Call unquote.
+       * script.h (class Version_script_info): Change get_symbol_version
+       to be non-inline and add is_global parameter; change all callers.
+       Rewrite symbol_is_local.  Update declarations.  Define struct
+       Version_tree_match, Exact, Globs.  Don't define struct Lookup.
+       Remove globals_ and locals_ members.  Add exact_, globs_,
+       default_version_, is_global_.
+       (Version_script_info::Glob): Remove pattern, add expression and
+       is_global.  Update constructor.  Change all callers.
+       * dynobj.cc (Versions::finalize): Mark the version symbol as the
+       default version.
+       (Versions::symbol_section_contents): If a symbol is undefined, or
+       defined in a dynamic object, set the version index to
+       VER_NDX_LOCAL.
+       * symtab.cc (Symbol_table::add_from_relobj): Don't call
+       symbol_is_local.
+       (Symbol_table::add_from_pluginobj): Likewise.
+       * testsuite/ver_matching_test.sh: blaza1 and blaza go into V2.
+
+2010-01-11  Doug Kwan  <dougkwan@google.com>
+
+       * Makefile.am (incremental_dump_DEPENDENCIES): Add libintl dependency.
+       (incremental_dump_LDADD): Add linking option for libintl.
+       * Makefile.in: Regenerate.
+
+2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/11144
+       * testsuite/Makefile.am (dynamic_list.stdout): Use --dyn-syms
+       instead of -Ds.
+       * testsuite/Makefile.in: Regenerated.
+
+2010-01-10  Doug Kwan  <dougkwan@google.com>
+
+       * options.h (DEFINE_var): Use parentheses around argument varname__
+       in macro body to avoid any unintended subsequent substitutions.
+
+2010-01-10  Ian Lance Taylor  <iant@google.com>
+
+       * resolve.cc (Symbol_table::resolve): Add symbols to list of ODR
+       candidates before doing symbol resolution.
+
+       * resolve.cc (Symbol_table::resolve): Add symbols to the list of
+       ODR candidates if only one is weak.
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       * script.cc (Version_script_info::build_expression_list_lookup):
+       Don't warn about ambiguous version, just record the ambiguity.
+       (Version_script_info::get_symbol_version_helper): Give error if
+       version is ambiguous.
+
+2010-01-08  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Stub_table::Stub_table): Initalize cortex_a8_stubs_,
+       prev_data_size_ and prev_addralign_.  Remove initializer for
+       deleted data member has_been_changed_.
+       (Stub_table::empty): Look at both reloc_stubs_ and cortex_a8_stubs_
+       to determine if the table is empty.
+       (Stub_table::has_been_changed, Stub_table_set_has_been_changed):
+       Remove.
+       (Stub_table::add_reloc_stub): Define method in class definition
+       instead of just declaring it there.
+       (Stub_table::add_cortex_a8_stub): New method definition.
+       (Stub_table::update_data_size_and_addralign): Ditto.
+       (Stub_table::finalize_stubs): Ditto.
+       (Stub_table::apply_cortex_a8_workaround_to_address_range): Ditto.
+       (Stub_table::do_addralign_): Return address alignment in the
+       (Stub_table::do_reset_address_and_file_offset): Define method in
+       class definition instead of declaring it there.  Set current data
+       size to be the data size of the previous pass.
+       (Stub_table::set_final_data_size): Use current data size as the
+       final data size.
+       (Stub_table::relocate_stub): Change parameter type of stub from
+       Reloc_stub pointer to Stub pointer.
+       (Stub_table::addralign_, Stub_table::has_been_changed_): Remove.
+       (Stub_table::Cortex_a8_stub_list): New typedef.
+       (Stub_table::cortex_a8_stubs_, Stub_table::prev_data_size_,
+        Stub_table::prev_addralign_): New data member.
+       (Arm_relobj::Arm_relobj): Initialize data member
+       section_has_cortex_a8_workaround_.
+       (Arm_relobj::section_has_cortex_a8_workaround,
+        Arm_relobj::mark_section_for_cortex_a8_workaround): New method
+        definitions.
+       (Arm_relobj::section_has_cortex_a8_workaround_): New data member
+       declarations.
+       (Target_arm::relocate_stub): Change parameter type of stub from
+       Reloc_stub pointer to Stub pointer.
+       (Insn_template::size, Insn_template::alignment): Handle
+       THUMB16_SPECIAL_TYPE.
+       (Stub_table::remove_all_cortex_a8_stubs, Stub_table::finalize_stubs,
+        Stub_table::update_data_size_and_addralign,
+        Stub_table::apply_cortex_a8_workaround_to_address_range): New method
+       definitions.
+       (Stub_table::relocate_stubs): Handle Cortex-A8 stubs.
+       (Stub_table::do_write): Ditto.
+       (Target_arm::do_relax): Adjust code for changes in Stub_table.
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       PR 11108
+       * symtab.h (class Symbol): Remove fields is_target_special_ and
+       has_plt_offset_.  Add field is_defined_in_discarded_section_.
+       (Symbol::is_defined_in_discarded_section): New function.
+       (Symbol::set_is_defined_in_discarded_section): New function.
+       (Symbol::has_plt_offset): Rewrite.
+       (Symbol::set_plt_offset): Verify that new offset is not -1U.
+       * symtab.cc (Symbol::init_fields): Initialize plt_offset_ to -1U.
+       Don't initialize is_target_special_ or has_plt_offset_.
+       Initialize is_defined_in_discarded_section_.
+       (Symbol_table::add_from_relobj): If appropriate, set
+       is_defined_in_discarded_section.
+       * resolve.cc (Symbol::override_base_with_special): Don't test
+       is_target_special_.  Change has_plt_offset_ to has_plt_offset().
+       * target-reloc.h (relocate_section): Do special handling for
+       symbols defined in discarded sections for global symbols as well
+       as local symbols.
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       * dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
+       the SHT_SYMTAB case.
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj::do_layout): Don't get confused if
+       layout_eh_frame returns NULL.
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       PR 11084
+       * dynobj.cc (Sized_dynobj::find_dynsym_sections): If there is no
+       dynamic symbol table, use the normal symbol table.
+       (Sized_dynobj::do_read_symbols): Remove assertion about type of
+       symbol table.
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       PR 11072
+       * layout.cc (Layout::include_section): Remove .gnu_debuglink
+       sections.
+
+2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.cc (print_version): Change to "Copyright 2010".
+
+2010-01-08  Ian Lance Taylor  <iant@google.com>
+
+       PR 10287
+       PR 11063
+       * i386.cc (class Target_i386): Change return type of plt_section
+       to be non-const.
+       (class Output_data_plt_i386): Add tls_desc_rel_ field.
+       (Output_data_plt_i386::Output_data_plt_i386): Initialize
+       tls_desc_rel_ field.
+       (Output_data_plt_i386::rel_tls_desc): New function.
+       (Target_i386::rel_tls_desc_section): New function.
+       (Target_i386::Scan::local): Rewrite R_386_TLS_GOTDESC handling.
+       (Target_i386::Scan::global): For R_386_TLS_GOTDESC put
+       R_386_TLS_DESC reloc in rel_tls_desc_section.
+       * x86_64.cc (class Target_x86_64): Add tlsdesc_reloc_info_ field.
+       Define struct Tlsdesc_info.
+       (Target_x86_64::Target_x86_64): Initialize tlsdesc_reloc_info_.
+       (Target_x86_64::do_reloc_symbol_index): New function.
+       (Target_x86_64::add_tlsdesc_info): New function.
+       (class Output_data_plt_x86_64): Add tlsdesc_rel_ field.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64): Initialize
+       tlsdesc_rel_ field.
+       (Output_data_plt_x86_64::rela_plt): Rename from rel_plt.  Change
+       all callers.
+       (Output_data_plt_x86_64::rela_tlsdesc): New function.
+       (Target_x86_64::rela_tlsdesc_section): New function.
+       (Target_x86_64::Scan::local): Rewrite R_X86_64_GOTPC32_TLSDESC
+       handling.
+       (Target_x86_64::Scan::global): For R_X86_64_GOTPC32_TLSDESC put
+       (Target_x86_64::do_reloc_addend): New function.
+       R_X86_64_TLSDESC reloc in rela_tlsdesc_section.
+       * output.h (class Output_reloc) [SHT_REL]: Add new constructor
+       declarations.  Define TARGET_CODE.  Add arg field to u1_ union.
+       (Output_reloc::type): New function.
+       (Output_reloc::is_local_section_symbol): Check for TARGET_CODE.
+       (Output_reloc::is_target_specific): New function.
+       (Output_reloc::target_arg): New function.
+       (class Output_reloc) [SHT_RELA]: Add four new constructors for
+       absolute relocs and target specific relocs.
+       (class Output_data_reloc) [SHT_REL]: Add add_absolute and
+       add_target_specific.
+       (class Output_data_reloc) [SHT_RELA]: Likewise.
+       * output.cc (Output_reloc::Output_reloc): Add four new versions
+       for absolute relocs and target specific relocs.
+       (Output_reloc::set_needs_dynsym_index): Add TARGET_CODE case.
+       (Output_reloc::get_symbol_index): Likewise.
+       (Output_reloc::local_section_offset): Check that local_sym_index_
+       is not TARGET_CODE or 0.
+       (Output_reloc::symbol_value): Likewise.
+       (Output_reloc::write) [SHT_RELA]: Call target for target specific
+       reloc.
+       * target.h (class Target): Add reloc_symbol_index and reloc_addend
+       functions.  Add do_reloc_symbol_index and do_reloc_addend virtual
+       functions.
+       * layout.cc (add_target_dynamic_tags): Use output section for
+       DT_PLTRELSZ and DT_JMPREL.
+
+2010-01-07  Ian Lance Taylor  <iant@google.com>
+
+       PR 11061
+       * output.h (class Output_reloc) [SHT_RELA]: Add is_relative
+       function.
+       (class Output_data_reloc_generic): Define.
+       (class Output_data_reloc_base): Change base class to
+       Output_data_reloc_generic.  Change add() method to call
+       bump_relative_reloc_count for a relative reloc.  Remove
+       sort_relocs_ field.
+       * output.cc (Output_data_reloc_base::do_write): Change sort_reloc_
+       to sort_relocs().
+       * layout.cc (Layout::add_target_dynamic_tags): Change dyn_rel to
+       Output_data_reloc_generic*.  Add DT_RELCOUNT/DT_RELACOUNT tag if
+       appropriate.
+       * layout.h (class Layout): Update declaration.
+
+2010-01-07  Ian Lance Taylor  <iant@google.com>
+
+       * output.h (class Output_data): Add const version of
+       output_section and do_output_section.
+       (class Output_section_data): Add const version of
+       do_output_section.
+       (class Output_section): Likewise.
+       * layout.cc (Layout::add_target_dynamic_tags): New function.
+       * layout.h (class Layout): Update declarations.
+       * arm.cc (Target_arm::do_finalize_sections): Use
+       add_target_dynamic_tags.
+       * i386.cc (Target_i386::do_finalize_sections): Likewise.
+       * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
+       * sparc.cc (Target_sparc::do_finalize_sections): Likewise.
+       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
+
+2010-01-07  Ian Lance Taylor  <iant@google.com>
+
+       PR 11042
+       * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Mark the dynamic
+       object as needed.
+
+2010-01-07  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       PR 11019
+       * object.cc: Instantiate Xindex::initialize_symtab_xindex and
+       Xindex::read_symtab_xindex.
+
+2010-01-07  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Insn_template::Type): New enum value THUMB16_SPECIAL_TYPE.
+       (Insn_template::thumb16_bcond_insn): New method declaration.
+       (Insn_template): Fix spelling.
+       (Stub::thumb16_special): New method declaration.
+       (Stub::do_write): Define virtual method which was previously pure
+       virtual.
+       (Stub::do_thumb16_special): New method declaration.
+       (Stub::do_fixed_endian_write): New template member.
+       (Reloc_stub::do_write): Remove.
+       (Reloc_stub::do_fixed_endian_write): Remove.
+       (Cortex_a8_stub): New class definition.
+       (Stub_factory::make_cortex_a8_stub): New method definition.
+       (Stub_factory::Stub_factory): Add missing static storage class
+       qualifier for elf32_arm_stub_a8_veneer_blx.
+
+2010-01-07  Ian Lance Taylor  <iant@google.com>
+
+       PR 10980
+       * options.h (class General_options): Add --warn-unresolved-symbols
+       and --error-unresolved-symbols.
+       * errors.cc (Errors::undefined_symbol): Implement
+       --warn-unresolved-symbols.
+
+       * options.h (class General_options): Add -z text and -z textoff.
+       * layout.cc (Layout::finish_dynamic_section): Implement -z text.
+
+2010-01-06  Sriraman Tallam  <tmsriram@google.com>
+
+       * gc.h (Garbage_collection::Cident_section_map): New typedef.
+       (Garbage_collection::cident_sections): New function.
+       (Garbage_collection::add_cident_section): New function.
+       (Garbage_collection::cident_sections_): New member.
+       (gc_process_relocs): Add references to sections whose names are C
+       identifiers.
+       * gold.h (cident_section_start_prefix): New constant.
+       (cident_section_stop_prefix): New constant.
+       (is_cident): New function.
+       * layout.cc (Layout::define_section_symbols): Replace string constants
+       with the newly defined constants.
+       * object.cc (Sized_relobj::do_layout): Track sections whose names are
+       C identifiers.
+       * testsuite/Makefile.am: Add gc_orphan_section_test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gc_orphan_section_test.cc: New file.
+       * testsuite/gc_orphan_section_test.sh: New file.
+
+2010-01-06  Ian Lance Taylor  <iant@google.com>
+
+       PR 10980
+       * options.h (class General_options): Add --warn-shared-textrel.
+       * layout.cc (Layout::finish_dynamic_section): Implement
+       --warn-shared-textrel.
+
+       PR 10980
+       * options.h (class General_options): Add --warn-multiple-gp.
+
+2010-01-06  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * Makefile.am (incremental_dump_DEPENDENCIES): Remove
+       $(THREADSLIB) and $(LIBDL).
+       * Makefile.in: Rebuild.
+
+2010-01-06  Ian Lance Taylor  <iant@google.com>
+
+       PR 10980
+       * options.cc (General_options::parse_section_start): New function.
+       (General_options::section_start): New function.
+       (General_options::General_options): Initialize all members.
+       * options.h: Include <map>
+       (class General_options): Add --section-start.  Add section_starts_
+       member.
+       * layout.cc (Layout::attach_allocated_section_to_segment): If
+       --section-start was used, set the address of the segment.  Remove
+       local sort_sections.
+       (Layout::relaxation_loop_body): If the address of the load segment
+       has been set by --section-start, don't use it.
+       * output.h (Output_segment::update_flags_for_output_section): New
+       function.
+       * output.cc (Output_segment::add_output_section): Call
+       update_flags_for_output_section.
+
+2010-01-05  Ian Lance Taylor  <iant@google.com>
+
+       PR 10980
+       * options.h (class General_options): Add --undefined-version.
+       * script.cc (struct Version_expression): Add was_matched_by_symbol
+       field.
+       (Version_script_info::matched_symbol): New function.
+       (Version_script_info::get_symbol_version_helper): Call
+       matched_symbol.
+       (Version_script_info::check_unmatched_names): New function.
+       * script.h (class Version_script_info): Update declarations.
+       * gold.cc (queue_middle_tasks): Handle --no-undefined-version.
+
+       * options.h (class General_options): Use DEFINE_bool_alias for
+       allow_multiple_definition.
+       * resolve.cc (Symbol_table::should_override): Don't test
+       allow_multiple_definition.
+
+       PR 10980
+       * options.h (class General_options): Add --cref.
+       * main.cc (main): Print cref table if --cref.  Don't close mapfile
+       until after printing cref table.
+       * cref.cc: Include "symtab.h".
+       (class Cref_inputs): Define Cref_table_compare and Cref_table.
+       (Cref_table_compare::operator()): New function.
+       (Cref_inputs::gather_cref): New function.
+       (filecol): New static const.
+       (Cref_inputs::print_cref): New function.
+       (Cref::print_cref): New function.
+       * cref.h: Include <cstdio>.
+       (class Cref): Update declarations.
+       * mapfile.h (Mapfile::file): New function.
+       * object.h (class Object): Define Symbols.  Declare virtual
+       do_get_global_symbols.
+       (Object::get_global_symbols): New function.
+       * object.cc (Input_objects::add_object): Pass object to cref_ if
+       --cref.
+       (Input_objects::archive_start): Likewise.
+       (Input_objects::archive_stop): Likewise.
+       (Input_objects::print_cref): New function.
+       * dynobj.h (Sized_dynobj::do_get_global_symbols): New function.
+       * dynobj.cc (big_endian>::do_add_symbols): Create symbols_ if
+       --cref.
+       * plugin.cc (Sized_pluginobj::do_get_global_symbols): New
+       function.
+       * plugin.h (class Sized_pluginobj): Update declarations.
+
+2010-01-05  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol_table::add_from_object): Rename def parameter
+       to is_default_version.  Rename insdef to insdefault.
+       (Symbol_table::add_from_relobj): Rename def to is_default_version
+       and local to is_forced_local.
+       (Symbol_table::add_from_pluginobj): Likewise.
+       (Symbol_table::add_from_dynobj): Likewise.
+       (Symbol_table::define_special_symbol): Rename insdef to
+       insdefault.
+
+2010-01-04  Ian Lance Taylor  <iant@google.com>
+
+       PR 10980
+       * options.h (class General_options): Add
+       --allow-multiple-definition and -z muldefs.
+       * resolve.cc (Symbol_table::should_override): Don't warn about a
+       multiple symbol definition if --allow-multiple-definition or -z
+       muldefs.
+
+       PR 10980
+       * options.h (class General_options): Add --add-needed and
+       --copy-dt-needed-entries.  Tweak --as-needed help entry.
+       * object.cc (Input_objects::check_dynamic_dependencies): Give an
+       error if --copy-dt-needed-entries aka --add-needed is used and
+       would cause a change in behaviour.
+
+       PR 10980
+       * options.h (class General_options): Add -G as a short version of
+       --shared.  Add no-op options -assert, -g, and -i.
+
+2010-01-04  Sriraman Tallam  <tmsriram@google.com>
+
+       * gc.h (gc_process_relocs): Call is_section_foldable_candidate to
+       check for .text or .gnu.linkonce.t sections.
+       * icf.cc (Icf::find_identical_sections): Ditto.
+       Change the detection for mangled function name within the section
+       name.
+       * icf.h (is_section_foldable_candidate): New function.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10980
+       * options.h (class General_options): Permit two dashes with
+       --retain-symbols-file.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10979
+       * layout.cc (Layout::relaxation_loop_body): If -Ttext was used,
+       don't put the file header and segment headers in the text
+       segment.
+
+       PR 10979
+       * common.cc (Sort_commons::operator()): Stabilize sort when both
+       entries are NULL.
+       (Symbol_table::do_allocate_commons_list): When allocating common
+       symbols, skip a symbol which is no longer common.
+       * symtab.h (Symbol::is_common): Test whether the symbol comes from
+       an object before checking its type.
+       * testsuite/common_test_2.c: New file.
+       * testsuite/common_test_3.c: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add common_test_2.
+       (common_test_2_SOURCES, common_test_2_DEPENDENCIES): Define.
+       (common_test_2_LDFLAGS, common_test_2_LDADD): Define.
+       (common_test_2_pic.o, common_test_2.so): New targets.
+       (common_test_3_pic.o, common_test_3.so): New targets.
+       * testsuite/Makefile.in: Rebuild.
+
+       PR 10979
+       * script.cc (read_input_script): If we see a new SECTIONS clause,
+       and we have added an input section, give an error.
+       * layout.h (class Layout): Add have_added_input_section function.
+       Add have_added_input_section_ field.
+       * layout.cc (Layout::Layout): Initialize
+       have_added_input_section_.
+       (Layout::layout): Set have_added_input_section_.
+       (Layout::layout_eh_frame): Likewise.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10931
+       * options.h (class General_options): Add --sort-common option.
+       * symtab.h (class Symbol_table): Define Sort_commons_order enum.
+       * common.cc (Sort_common): Add sort_order parameter to
+       constructor.  Add sort_order_ field.
+       (Sort_commons::operator): Check sort_order_.
+       (Symbol_table::allocate_commons): Determine the sort order.
+       (Symbol_table::do_allocate_commons): Add sort_order parameter.
+       Change all callers.
+       (Symbol_table::do_allocate_commons_list): Likewise.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10916
+       * symtab.cc (Symbol_table::add_from_relobj): When not exporting
+       symbols from this object, don't change the visibility of an
+       undefined symbol.
+       * testsuite/exclude_libs_test_1.c (lib1_ref): New function.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10861
+       * script.h (class Version_script_info): Define Language enum.
+       Update declarations.  Define Glob, Exact, and Lookup types.  Add
+       new fields globals_, locals_, and is_finalized_.
+       * script.cc: Various formatting fixes.
+       (class Parser_closure): Change language_stack_ from a vector of
+       std::string to one of Version_script_info::Language.  Adjust all
+       uses accordingly.
+       (class Lazy_demangler): Remove.
+       (struct Version_expression): Change language from std::string to
+       Version_script_info::Language.
+       (Version_script_info::Version_script_info): New function.
+       (Version_script_info::~Version_script_info): Don't call clear.
+       (Version_script_info::finalize): New function.
+       (Version_script_info::build_lookup_tables): New function.
+       (Version_script_info::build_expression_list_lookup): New
+       function.
+       (Version_script_info::get_symbol_version_helper): Rewrite to use
+       lookup tables.
+       (Version_script_info::print_expression_list): Adjust to use
+       Version_script_info::Language.
+       (script_push_lex_into_version_mode): Check that the version script
+       has not been finalized.
+       (version_script_push_lang): Change language string to
+       Version_script_info::Language.
+       * options.cc (Command_line::version_script): New function.
+       * options.h (class General_options): Add finalize_dynamic_list
+       function.  Change version_script from declaration to definition.
+       * testsuite/ver_test_4.script: Remove duplicate def of t2_2.
+       * testsuite/version_script.map: Remove duplicate def of foo.
+       * testsuite/Makefile.am (ver_matching_def.so): Depend upon
+       version_script.map.
+       * testsuite/Makefile.in: Rebuild.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10843
+       * target-reloc.h (relocate_for_relocatable): When copying a reloc,
+       if the input symbol index is 0, make the output symbol index 0.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10670
+       * options.h (class General_options): Add -x/--discard-all.
+       * object.cc (Sized_relobj::do_count_local_symbols): Handle
+       --discard-all.  If the local symbol needs a dynamic entry, check
+       that before handling --discard-locals.
+
+2009-12-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 10450
+       * output.cc (Output_segment::Output_segment): If PT_TLS, set the
+       flags to PF_R.
+       (Output_segment::add_output_section): Don't change the flags if
+       the type is PT_TLS.
+
+       PR 10450
+       * dynobj.cc (Dynobj::create_gnu_hash_table): Add symbols to the
+       GNU hash table if they need a dynamic value.  Otherwise, don't add
+       them if they are defined in a dynamic object or are forced local.
+
+2009-12-29  Ian Lance Taylor  <iant@google.com>
+
+       PR 10450
+       * layout.cc (Layout::create_dynamic_symtab): Only set entsize of
+       .gnu.hash table for a 32-bit target.
+
+       PR 10450
+       * symtab.h (Symbol::needs_dynsym_entry): A symbol in both a
+       regular and a dynamic object only needs a dynamic symbol table
+       entry if it is externally visible.
+
+       PR 10450
+       * i386.cc (class Target_i386): Initialize global_offset_table_ in
+       constructor.  Add global_offset_table_ field.
+       (Target_i386::got_section): Set global_offset_table_.
+       (Target_i386::do_finalize_sections): Set global_offset_table_
+       size.
+       * x86_64.cc (class Target_x86_64): Initialize global_offset_table_
+       in constructor.  Add global_offset_table_ field.
+       (Target_x86_64::got_section): Set global_offset_table_.
+       (Target_x86_64::do_finalize_sections): Set global_offset_table_
+       size.
+
+       * layout.cc (Layout::Layout): Initialize increase_relro_.
+       (Layout::get_output_section): Add is_relro, is_last_relro, and
+       is_first_non_relro parameters.  Change all callers.
+       (Layout::choose_output_section): Likewise.
+       (Layout::add_output_section_data): Likewise.
+       (Layout::make_output_section): Likewise.
+       (Layout::set_segment_offsets): Clear increase_relro when using a
+       linker script.
+       * layout.h (class Layout): Add increase_relro method.  Add
+       increase_relro_ field.  Update declarations.
+       * output.cc (Output_section::Output_section): Initialize
+       is_last_relro_ and is_first_non_relro_.
+       (Output_segment::add_output_section): Group relro sections is
+       do_sort is true.  Handle is_last_relro and is_first_non_relro.
+       (Output_segment::maximum_alignment): Remove relro handling.
+       (Output_segment::set_section_addresses): Add increase_relro
+       parameter.  Change all callers.  Add initial alignment to align
+       relro sections on separate page.  Remove old relro handling.
+       (Output_segment::set_section_list_addresses): Remove in_relro
+       parameter.  Change all callers.
+       (Output_segment::set_offset): Add increase parameter.  Change all
+       callers.  Remove old relro handling.
+       * output.h (class Output_section): Add new methods: is_last_relro,
+       set_is_last_relro, is_first_non_relro, set_is_first_non_relro.
+       Add is_last_relro_ and is_first_non_relro_ fields.
+       * i386.cc (Target_i386::got_section): Don't call set_is_relro.
+       Create separate .got.plt section.  Call increase_relro.
+       * x86_64.cc (Target_x86_64::got_section): Likewise.
+       * testsuite/relro_script_test.t: Add .got.plt.
+
+       PR 10450
+       * layout.cc (Layout::Layout): Initialize dynamic_symbol_ field.
+       (Layout::create_initial_dynamic_sections): Set dynamic_symbol_.
+       (Layout::finalize): Call set_dynamic_symbol_size.
+       (Layout::set_dynamic_symbol_size): New function.
+       * layout.h (class Layout): Add dynamic_symbol_ field.  Declare
+       set_dynamic_symbol_size.
+
+       PR 10450
+       * output.h (class Output_section): Add is_entsize_zero_ field.
+       * output.cc (Output_section::Output_section): Initialize
+       is_entsize_zero_.
+       (Output_section::set_entsize): If two different entsizes are
+       requested, force it to zero.
+       (Output_section::add_input_section): Set flags for .debug_str
+       before updating section flags.  Set entsize.
+       (Output_section::update_flags_for_input_section): Set SHF_MERGE
+       and SHF_STRING if all input sections have those flags.
+
+2009-12-29   Rafael Espindola  <espindola@google.com>
+
+       * main.cc (main): Fix the sys time reporting.
+       * workqueue.cc (Workqueue::find_and_run_task): Fix the sys time
+       reporting.
+
+2009-12-29  Sriraman Tallam  <tmsriram@google.com>
+
+       * options.cc (General_options::parse_version): Allow -v to exit
+       without an error if there is nothing to link.
+
+2009-12-29  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Set the MCMODEL_MEDIUM conditional to false if
+       using a version of gcc before 4.1.
+       * configure: Rebuild.
+
+2009-12-28  Chris Demetriou  <cgd@google.com>
+
+       * attributes.cc (Output_attributes_section_data::do_write): Use
+       std::vector::front rather than std::vector::data.
+
+2009-12-28  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.h (class Symbol_table): Add enum Defined.
+       * resolve.cc (Symbol_table::should_override): Add defined
+       parameter.  Change all callers.  Test whether object is NULL
+       before calling a method on it.
+       (Symbol_table::report_resolve_problem): Add defined parameter.
+       Change all callers.
+       (Symbol_table::should_override_with_special): Likewise.
+       * symtab.cc (Symbol_table::define_in_output_data): Add defined
+       parameter.  Change all callers.
+       (Symbol_table::do_define_in_output_data): Likewise.
+       (Symbol_table::define_in_output_segment): Likewise.
+       (Symbol_table::do_define_in_output_segment): Likewise.
+       (Symbol_table::define_as_constant): Likewise.
+       (Symbol_table::do_define_as_constant): Likewise.
+       * script.h (class Symbol_assignment): Add is_defsym parameter to
+       constructor; change all callers.
+       * script.cc (Script_options::add_symbol_assignment): Add is_defsym
+       parameter.  Change all callers.  Add is_defsym_ field.
+       (class Parser_closure): Add parsing_defsym parameter to
+       constructor; change all callers.  Add parsing_defsym accessor
+       function.  Add parsing_defsym_ field.
+
+2009-12-28  Ian Lance Taylor  <iant@google.com>
+
+       * gold.cc (queue_middle_tasks): Fix formatting.
+       * object.cc (Relobj::is_section_name_included): Likewise.
+
+2009-12-23  Ian Lance Taylor  <iant@google.com>
+
+       * i386.cc (Target_i386::do_calls_non_split): Recognize
+       -fsplit-stack prologue for a function with a static chain.
+       * x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
+       -fsplit-stack prologue when using %r11.
+
+2009-12-21  Sriraman Tallam  <tmsriram@google.com>
+
+       * options.cc (General_options::parse_version): Make -v continue and do
+       the link like GNU ld does.
+
+2009-12-17  Rafael Avila de Espindola  <espindola@google.com>
+
+       * Makefile.am (CCFILES): Add timer.cc.
+       (HFILES): Add timer.h.
+       * configure.ac: Check for sysconf and times.
+       * main.cc: include timer.h.
+       (main): Use Timer instead of get_run_time.
+       * timer.cc: New.
+       * timer.h: New.
+       * workqueue.cc: include timer.h.
+       (Workqueue::find_and_run_task):
+       Report user, sys and wall time.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2009-12-16  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::scan_sections_for_stubs): Exclude ICF-eliminated
+       sections.
+       * object.cc (Sized_relobj::do_finalize_local_symbols): Handle
+       relaxed input sections.
+       * output.cc (Output_section::find_relaxed_input_section): Change
+       return type to Output_relaxed_input_section pointer.  Adjust code
+       for new type of relaxed_input_section_map_.
+       * output.h (Output_section::find_relaxed_input_section): Change
+       return type to Output_relaxed_input_section pointer.
+       (Output_section::Output_relaxed_input_section_by_input_section_map):
+       New type.
+       (Output_section::relaxed_input_section_map_): Change type to
+       Output_section::Output_relaxed_input_section_by_input_section_map.
+       * symtab.cc (Symbol_table::compute_final_value): Handle relaxed
+       input section.
+
+2009-12-15  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::create_shstrtab): Only write out after input
+       sections if we are compressing debug sections.
+
+2009-12-15  Ian Lance Taylor  <iant@google.com>
+
+       * archive.cc (Archive::add_symbols): Only look up a symbol without
+       a version if there is, in fact, a version.
+
+2009-12-14  Ian Lance Taylor  <iant@google.com>
+
+       Revert -Wshadow changes, all changes from:
+       2009-12-11  Doug Kwan  <dougkwan@google.com>
+       2009-12-11  Nick Clifton  <nickc@redhat.com>
+       * configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
+
+2009-12-11  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::do_finalize_sections): Fix build breakage
+       due to -Wshadow.
+       * attributes.cc (Object_attribute::size): Ditto.
+       (Attributes_section_data::size): Ditto.
+       (Attributes_section_data::Attributes_section_data): Ditto.
+       (Output_attributes_section_data::do_write): Ditto.
+       * attributes.h (Object_attribute::set_type): Ditto.
+       * testsuite/tls_test_main.cc (safe_lock, safe_unlock): Ditto.
+
+2009-12-11  Nick Clifton  <nickc@redhat.com>
+
+       * archive.cc: Fix shadowed variable warnings.
+       * arm.cc: Likewise.
+       * compressed_output.cc: Likewise.
+       * compressed_output.h: Likewise.
+       * configure: Likewise.
+       * dwarf_reader.cc: Likewise.
+       * dynobj.cc: Likewise.
+       * dynobj.h: Likewise.
+       * ehframe.cc: Likewise.
+       * ehframe.h: Likewise.
+       * errors.cc: Likewise.
+       * expression.cc: Likewise.
+       * fileread.cc: Likewise.
+       * fileread.h: Likewise.
+       * freebsd.h: Likewise.
+       * i386.cc: Likewise.
+       * icf.cc: Likewise.
+       * incremental.h: Likewise.
+       * layout.cc: Likewise.
+       * layout.h: Likewise.
+       * mapfile.cc: Likewise.
+       * merge.cc: Likewise.
+       * merge.h: Likewise.
+       * object.cc: Likewise.
+       * object.h: Likewise.
+       * options.h: Likewise.
+       * output.cc: Likewise.
+       * output.h: Likewise.
+       * parameters.cc: Likewise.
+       * plugin.cc: Likewise.
+       * powerpc.cc: Likewise.
+       * reduced_debug_output.cc: Likewise.
+       * reduced_debug_output.h: Likewise.
+       * reloc.cc: Likewise.
+       * reloc.h: Likewise.
+       * resolve.cc: Likewise.
+       * script-sections.cc: Likewise.
+       * script.cc: Likewise.
+       * script.h: Likewise.
+       * sparc.cc: Likewise.
+       * symtab.cc: Likewise.
+       * symtab.h: Likewise.
+       * target-select.cc: Likewise.
+       * target-select.h: Likewise.
+       * token.h: Likewise.
+       * workqueue.cc: Likewise.
+       * workqueue.h: Likewise.
+       * x86_64.cc: Likewise.
+
+2009-12-10  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (attributes.h): New include.
+       (Arm_relobj::Arm_relobj): Initialize attributes_section_data_.
+       (Arm_relobj::~Arm_relobj): Delete object pointed by
+       attributes_section_data_.
+       (Arm_relobj::attributes_section_data): New method definition.
+       (Arm_relobj::attributes_section_data_): New data member declaration.
+       (Arm_dynobj::Arm_dynobj): Initialize attributes_section_data_.
+       (Arm_dynobj::~Arm_dynobj): Delete object pointed by
+       attributes_section_data_.
+       (Arm_dynobj::attributes_section_data): New method definition.
+       (Arm_dynobj::attributes_section_data_): New data member declaration.
+       (Target_arm::Target_arm): Initialize attributes_section_data_.  Change
+       initialization value of may_use_blx_ to false.
+       (Target_arm::using_thumb2, Target_arm::using_thumb_only,
+       Target_arm::may_use_arm_nop, Target_arm::may_use_thumb2_nop): Use
+       object attributes to compute results instead of hard-coding.
+       (Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order,
+       Target_arm::get_secondary_compatible_arch,
+       Target_arm::set_secondary_compatible_arch
+       Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name,
+       Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes):
+       New method declarations.
+       (Target_arm::get_aeabi_object_attribute): New method definition.
+       (Target_arm::attributes_section_data_): New data member declaration.
+       (read_arm_attributes_section): New template definition.
+       (Arm_relobj::do_read_symbols): Read attributes section if it exists.
+       (Arm_dynobj::do_read_symbols): Ditto.
+       (Target_arm::do_finalize_sections): Merge attributes sections from
+       input.  Check for BLX use after attributes section merging.
+       Fix __exidx_start and __exidx_end visibility.  Create an
+       .ARM.attributes section if necessary.
+       (Target_arm::get_secondary_compatible_arch,
+       Target_arm::set_secondary_compatible_arch,
+       Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name,
+       Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes,
+       Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order):
+       New method definitions.
+
+2009-12-09  Ian Lance Taylor  <iant@google.com>
+
+       * plugin.cc (Plugin::load): Don't cast from void* to a function
+       pointer.
+
+2009-12-09  Ian Lance Taylor  <iant@google.com>
+
+       * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
+       information fields.
+
+2009-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (two_file_shared_1_pic_2_test_DEPENDENCIES):
+       Replace two_file_shared_1.so with two_file_shared_2.so.
+       * testsuite/Makefile.in: Regenerated.
+
+2009-12-08  Doug Kwan  <dougkwan@google.com>
+
+       * Makefile.am (CCFILES): Add attributes.cc and int_encoding.cc.
+       (HFILES): Add attributes.h and int_encoding.h.
+       * Makefile.in: Regenerate.
+       * dwarf_reader.cc (read_unsigned_LEB_128, read_signed_LEB_128): Move
+       function definitions to int_encoding.cc
+       * dwarf_reader.h (read_unsigned_LEB_128, read_signed_LEB_128): Move
+       prototypes to int_encoding.h
+       * reduced_debug_output.cc (int_encoding.h): New include.
+       (write_unsigned_LEB_128, get_length_as_unsigned_LEB_128): Move
+       function definitions to int_encoding.cc
+       (insert_into_vector, read_from_pointer): Move template definitions to
+       int_encoding.h
+       * attributes.cc: New file.
+       * attributes.h: New file.
+       * int_encoding.cc: New file.
+       * int_encoding.h: New file.
+
+2009-12-07  Rafael Avila de Espindola  <espindola@google.com>
+
+       PR gold/11055
+       * incremental-dump.cc (dump_incremental_inputs): New.
+       (main): Use dump_incremental_inputs.
+
+2009-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/10893
+       * i386.cc (Target_i386::Scan::globa): Use is_func instead of
+       checking elfcpp::STT_FUNC.
+       (Target_i386::Relocate::relocate): Likewise.
+       * x86_64.cc (Target_x86_64::Scan::global): Likewise.
+
+       * symtab.cc (Symbol_table::sized_write_symbol): Turn IFUNC
+       symbols from shared libraries into normal FUNC symbols.
+
+       * symtab.h (Symbol): Add is_func and use it.
+
+2009-12-05  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::arm_info): Initialize new fields
+       attributes_section and attributes_vendor.
+       * i386.cc (Target_i386::i386_info): Same.
+       * object.cc (Sized_relobj::do_layout): Skip attribute section.
+       * powerpc.cc (Target_powerpc::powerpc_info): Initialize new
+       fields attributes_section and attributes_vendor.
+       * sparc.cc (Target_sparc::sparc_info): Same.
+       * target.h (Target::attributes_section, Target::attributes_vendor,
+       Target::is_attributes_section, Target::attribute_arg_type,
+       Target::attributes_order): New method definitions.
+       (Target::Target_info::attributes_section,
+       Target::Target_info::attributes_vendor): New fields.
+       (Target::do_attribute_arg_type, Target::do_attributes_order): New
+       virtual method definitions.
+       * x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields
+       attributes_section and attributes_vendor.
+       * testsuite/testfile.cc (Target_test::test_target_info): Same.
+
+2009-12-05  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc: Update comments about interworking and stub generation.
+       (Target_arm::Relocate::reloc_is_non_pic): Update list of relocations
+       considered as non-PIC.
+       (Arm_relocate_functions::base_abs): Fix formatting.
+       (Arm_relocate_functions::got_prel): Fix comment.  Change interface
+       of function to use GOT entry address instead of offset.
+       (Target_arm::Scan::global): Issue an error if a symbol would need a
+       PLT does not get one because it is untyped.  Remove code to create
+       dynamic symbols for relative branches.
+       (Target_arm::Relocate::relocate: Use 0 instead of false since function
+       takes unsigned integer instead of boolean.
+
+2009-12-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/Makefile.am (constructor_test_LDADD): New. Empty.
+       (two_file_test_LDADD): Likewise.
+       (common_test_1_LDADD): Likewise.
+       (exception_test_LDADD) Likewise.
+       (weak_test_LDADD): Likewise.
+       (many_sections_test_LDADD): Likewise.
+       (initpri1_LDADD): Likewise.
+       (script_test_1_LDADD): Likewise.
+       (script_test_2_LDADD): Likewise.
+       (justsyms_LDADD): Likewise.
+       (binary_test_LDADD): Likewise.
+       (large_LDADD): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2009-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * resolve.cc (symbol_to_bits): Treat STB_GNU_UNIQUE as STB_GLOBAL.
+       (Symbol_table::override_with_special): Likewise.
+       (Symbol_table::add_from_object): Likewise.
+
+2009-12-04  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
+       Don't set the data_offset twice.
+
+2009-12-04  Rafael Avila de Espindola  <espindola@google.com>
+
+       * testsuite/Makefile.in: Regenerate.
+
+2009-12-03  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc: Remove comment about missing .ARM.exidx section symbols.
+       (Target_arm::do_finalize_sections): Add parameter for symbol table
+       pointer.  Add __exidx_start and __exidx_end symbols as appropriate.
+       * i386.cc (Target_i386::do_finalize_sections): Add an additional
+       parameter for symbol table pointer.
+       * layout.cc (Layout::finalize): Call Target::finalize_sections with
+       an additional parameter for a pointer to symbol table.
+       * powerpc.cc (Target_powerpc::do_finalize_sections): Add an additional
+       parameter for a symbol table pointer.
+       * sparc.cc (Target_sparc::do_finalize_sections): Ditto.
+       * target.h (Target::finalize_sections, Target::do_finalize_sections):
+       Ditto.
+       * x86_64.cc (Target_x86_64::do_finalize_sections): Add an additional
+       parameter for a symbol table pointer.
+
+2009-12-03  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (Incremental_inputs_header)
+       (Incremental_inputs_header_write, Incremental_inputs_entry)
+       (Incremental_inputs_entry_write): Move ...
+       * incremental.h (Incremental_inputs_header)
+       (Incremental_inputs_header_write, Incremental_inputs_entry)
+       (Incremental_inputs_entry_write): here.
+
+2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (make_sized_incremental_binary): Set the target.
+       Error if it is incompatible.
+       * output.h (Output_file): Add filename method.
+
+2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (Incremental_inputs_entry): Remove unused argument
+       from the get_* methods.
+
+2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental-dump.cc (main): Check that the offeset of a script is 0.
+       * incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
+       Write 0 for the data_offset of scripts.
+
+2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
+
+       * testsuite/Makefile.am: Add the incremental_test.sh test.
+       * testsuite/incremental_test.sh: New.
+       * testsuite/incremental_test_1.c: New.
+       * testsuite/incremental_test_2.c: New.
+
+2009-12-01  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental-dump.cc (main): Fix typos.
+
+2009-11-27  Rafael Avila de Espindola  <espindola@google.com>
+
+       PR gold/11025
+       * incremental-dump.cc (main): Use llu to print 64 bit values.
+
+2009-11-26  Per Øyvind Karlsen <peroyvind@mandriva.org>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (incremental_dump_DEPENDENCIES): Add $(THREADSLIB)
+       $(LIBDL).
+       (incremental_dump_LDADD): Likewise.
+       * Makefile.in: Regenerated.
+
+2009-11-25  Doug Kwan  <dougkwan@google.com>
+
+       Revert:
+
+       2009-11-25  Doug Kwan  <dougkwan@google.com>
+
+               * arm.cc (Target_arm::Target_arm): Move method definition
+               outside of class definition.  Add code to handle
+               --target1-rel, --target1-abs and --target2= options.
+               (Target_arm::get_reloc_reloc_type): Change method to be
+               non-static and const.
+               (Target_arm::target1_is_rel_, Target_arm::target2_reloc_):
+               New data member declaration.
+               (Target_arm::Scan::local, Target_arm::Scan::global,
+               Target_arm::Relocate::relocate,
+               Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
+               Adjust call to Target_arm::get_real_reloc_type.
+               (Target_arm::get_real_reloc_type): Use command line options
+               to determine real types of R_ARM_TARGET1 and R_ARM_TARGET2.
+               * options.h (--target1-rel, --target1-abs, --target2): New
+               ARM-only options.
+
+2009-11-25  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Target_arm): Move method definition outside of
+       class definition.  Add code to handle --target1-rel, --target1-abs
+       and --target2= options.
+       (Target_arm::get_reloc_reloc_type): Change method to be non-static
+       and const.
+       (Target_arm::target1_is_rel_, Target_arm::target2_reloc_): New data
+       member declaration.
+       (Target_arm::Scan::local, Target_arm::Scan::global,
+       Target_arm::Relocate::relocate,
+       Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Adjust
+       call to Target_arm::get_real_reloc_type.
+       (Target_arm::get_real_reloc_type): Use command line options to
+       determine real types of R_ARM_TARGET1 and R_ARM_TARGET2.
+       * options.h (--target1-rel, --target1-abs, --target2): New ARM-only
+       options.
+
+2009-11-25  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::may_use_thumb2_nop): New method definition.
+       (Arm_relocate_functions::thumb_branch_common): New metod declaration.
+       (Arm_relocate_functions::abs12, Arm_relocate_functions::abs16): Fix
+       formatting.
+       (Arm_relocate_functions::thm_call): Replace body with a call to
+       Arm_relocate_functions::thumb_branch_common.
+       (Arm_relocate_functions::thm_jump24,
+       Arm_relocate_functions::thm_xpc22): New method definitions.
+       (Arm_relocate_functions::thumb_branch_common): New method definition.
+       (Reloc_stub::stbu_type_for_reloc): Fix incorrect uses of bit-wise-or
+       operator.
+       (Target_arm::Relocate::relocate): Adjust call to thm_call.
+       Add code to handle R_ARM_THM_XPC22 and R_ARM_THM_JUMP24.
+
+2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
+
+       * Makefile.am: Build incremental-dump
+       * Makefile.in: Regenerate.
+       * incremental-dump.cc: New.
+       * incremental.cc (Incremental_inputs_header_data,
+       Incremental_inputs_entry_data): Move to incremental.h
+       * incremental.h: (Incremental_inputs_header_data,
+       Incremental_inputs_entry_data): Move from incremental.cc
+
+2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (Incremental_inputs_header,
+       Incremental_inputs_header_write, Incremental_inputs_entry,
+       Incremental_inputs_entry_write): Add a typedef with the data type.
+
+2009-11-24  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (Incremental_inputs_header,
+       Incremental_inputs_header_write, Incremental_inputs_entry,
+       Incremental_inputs_entry_write): Update comment about which
+       type has the filed descriptions.
+
+2009-11-15  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::may_use_arm_nop): New method definition.
+       (Arm_relocate_functions::arm_branch_common): Change method defintion
+       in class definition to a method declaration and update list of formal
+       parameters.
+       (Arm_relocate_functions::plt32, Arm_relocate_functions::call,
+       Arm_relocation_functions::jump24): Adjust call to
+       Arm_relocate_functions::arm_branch_common.  Update list of formal
+       parameters.
+       (Arm_relocate_functions::xpc25): New method definition.
+       (Arm_relocate_functions::arm_branch_common): Move method defintion
+       out from class definition.  Use stubs for mode-switching and extending
+       branch ranges.
+       (Target_arm::Relocate::relocate): Handle weakly-undefined symbols
+       specially.  Change code to enable use of stubs in ARM branches.
+
+2009-11-10  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::do_relocate_sections): Remove options parameter
+       in method declaration.
+       (Target_arm::relocate_stub): New method declaration.
+       (Target_arm::default_target): Change to return a pointer instead of
+       a const reference.
+       (Reloc_stub::stub_type_for_reloc): Adjust for the change in
+       Target_arm::default_target.
+       (Arm_Relobj::do_relocate_sections): Remove options paramater in
+       method definition.
+       (Target_arm::relocate_section): Adjust view.
+       (Target_arm::relocate_stub): New method definition.
+
+2009-11-10  Doug Kwan  <dougkwan@google.com>
+
+       * i386.cc (Target_i386::do_calls_non_split): Add a cast to avoid
+       a format warning.
+       * incremental.cc (open_incremental_binary): Initialized local
+       variables to avoid warnings.
+       * object.cc (make_elf_object): Ditto.
+       * x86_64.cc (Target_x86_64::do_calls_non_split): Add a cast to avoid
+       a format warning.
+
+009-11-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/10930
+       * testsuite/plugin_test.c: Include "config.h".
+
+2009-11-09  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::fake_relnum_for_stubs): New constant.
+       (arm_symbol_value): Remove.
+       (Arm_relocate_functions::arm_branch_common,
+       Arm_relocate_functions::abs8, Arm_relocate_functions::thm_abs5,
+       Arm_relocate_functions::abs12, Arm_relocate_functions::abs16,
+       Arm_relocate_functions::abs32, Arm_relocate_functions::rel32,
+       Arm_relocate_functions::thm_call, Arm_relocate_functions::plt32,
+       Arm_relocate_functions::call, Arm_relocate_functions::jump24,
+       Arm_relocate_functions::prel31, Arm_relocate_functions::mov_abs_nc,
+       Arm_relocate_functions::movt_abs, Arm_relocate_functions::movw_abs_nc,
+       Arm_relocate_functions::thm_mobw_abs_nc,
+       Arm_relocate_functions::thm_mov_abs,
+       Arm_relocate_functions::movw_prel_nc,
+       Arm_relocate_functions::thm_movt_abs,
+       Arm_relocate_functions::movt_prel,
+       Arm_relocate_functions::thm_movw_prel_nc,
+       Arm_relocate_functions::thm_movt_prel): Adjust callers of the above.
+       (Target_arm::Relocate::relocate): Only decompose address into two
+       parts if relocation type uses the thumb-bit and pass the actual
+       bit instead of a flag indicating that the thumb-bit is used.  Adjust
+       calls to methods in Arm_relocate_functions for this change.
+
+2009-11-08  Ian Lance Taylor  <iant@google.com>
+
+       PR 10925
+       * reloc.cc: Instantiate
+       Sized_relobj::initialize_input_to_output_maps and
+       Sized_relobj:free_input_to_output_maps.
+
+2009-11-06  Ian Lance Taylor  <iant@google.com>
+
+       PR 10876
+       * defstd.cc (in_segment): Set only_if_ref true for "end".
+
+2009-11-06  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (class Reloc_stub): Correct a comment.
+       (Target_arm::Target_arm): Initialize arm_input_section_map_.
+       (Target_arm::scan_section_for_stubs): New method declaration.
+       (Target_arm::do_make_elf_object, Target_arm::do_make_output_section):
+       Change methods from private to protected.
+       (Target_arm::do_may_relax): New method definition.
+       (Target_arm::do_relax, Target_arm::group_sections,
+       Target_arm::scan_reloc_for_stub,
+       Target_arm::scan_reloc_section_for_stubs): New method declarations.
+       (Target_arm::arm_input_section_map_): New data member declaration.
+       (Target_arm::scan_reloc_for_stub,
+       Target_arm::scan_reloc_section_for_stubs,
+       Target_arm::scan_section_for_stubs, Target_arm::group_sections,
+       Target_arm::do_relax): New method definitions.
+
+2009-11-06  Mikolaj Zalewski  <mikolaj@google.com>
+
+       * configure.ac: Check for (struct stat)::st_mtim
+       * fileread.cc (File_read::get_mtime): Use st_mtim if available.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2009-11-05  Ian Lance Taylor  <iant@google.com>
+
+       PR 10910
+       * output.cc (Output_segment::add_output_section): Add missing
+       return statement.
+
+2009-11-04  Ian Lance Taylor  <iant@google.com>
+
+       PR 10880
+       * object.h (class Object): Add is_needed and set_is_needed
+       methods.  Add is_needed_ field.  Make bool fields into bitfields.
+       * symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is
+       defined in a dynamic object and referenced by a regular object,
+       set is_needed for the dynamic object.
+       * layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED
+       if the file is marked with as_needed and it is not needed.
+
+2009-11-04  Ian Lance Taylor  <iant@google.com>
+
+       PR 10887
+       * arm.cc (Target_arm::do_finalize_sections): Don't add dynamic
+       tags if data is discarded by linker script.
+       * i386.cc (Target_i386::do_finalize_sections): Likewise.
+       * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
+       * sparc.cc (Target_sparc::do_finalize_sections): Likewise.
+       * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
+
+2009-11-04  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::get_output_section): Add is_interp and
+       is_dynamic_linker_section parameters.  Change all callers.
+       (Layout::choose_output_section): Likewise.
+       (Layout::make_output_section): Likewise.
+       (Layout::add_output_section_data): Add is_dynamic_linker_section
+       parameter.  Change all callers.
+       * layout.h (class Layout): Update declarations.
+       * output.h (class Output_section): Add is_interp, set_is_interp,
+       is_dynamic_linker_section, set_is_dynamic_linker_section methods.
+       Add is_interp_, is_dynamic_linker_section_ fields.  Change
+       generate_code_fills_at_write_ to a bitfield.
+       * output.cc (Output_section::Output_sections): Initialize new
+       fields.
+       (Output_segment::add_output_section): Add do_sort parameter.
+       Change all callers.
+
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 10860
+       * options.h (class General_options): Add --warn-common.
+       * resolve.cc (Symbol_table::resolve): Handle --warn-common when
+       merging two common symbols.
+       (Symbol_table::should_override): Handle --warn-common when merging
+       a common symbol with a defined symbol.  Use report_resolve_problem
+       for multiple definitions.
+       (Symbol_table::report_resolve_problem): New function.
+       * symtab.h (class Symbol_table): Declare report_resolve_problem.
+
+2009-11-03  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Target_arm): Initialize stub_tables_ and
+       stub_factory_.
+       (Target_arm::stub_factory): New method definition.
+       (Target_arm::new_arm_input_section,
+       Target_arm::find_arm_input_section, Target_arm::new_stub_table,
+       Target_arm::reloc_uses_thumb_bit): New method declarations.
+       (Target_arm::Stub_table_list, Target_arm::Arm_input_section_map):
+       New type definitions.
+       (Target_arm::stub_tables_, Target_arm::stub_factory_): New data
+       member declarations.
+       (Target_arm::reloc_uses_thumb_bit, Target_arm::new_arm_input_section,
+       Target_arm::find_arm_input_section, Target_arm::new_stub_table):
+       New method definitions.
+
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add --warn_constructors.
+
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 10893
+       * defstd.cc (in_section): Add entries for __rel_iplt_start,
+       __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
+
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 10895
+       * po/Make-in ($(srcdir)/$(PACKAGE).pot): Pass -C and
+       --msgid-bugs-address.
+       (install-pdf): New target.
+       (install-data_yes): Look up one directory to find mkinstalldirs.
+
+2009-11-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * po/Make-in (.po.gmo): Don't generate .gmo files in source
+       tree.
+
+2009-10-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Stub_addend_reader): Fix bug in previouls check-in.
+
+2009-10-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Stub_addend_reader): New struct template definition
+       and partial specializations.
+       (Stub_addend_reader::operator()): New method definition for a
+       partially specialized template.
+
+2009-10-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj::processor_specific_flags): New method
+       definition.
+       (Arm_relobj::do_read_symbols): New method declaration.
+       (Arm_relobj::processor_specific_flags_): New data member declaration.
+       (Arm_dynobj): New class definition.
+       (Target_arm::do_finalize_sections): Add input_objects parameter.
+       (Target_arm::do_adjust_elf_header): New method declaration.
+       (Target_arm::are_eabi_versions_compatible,
+       (Target_arm::merge_processor_specific_flags): New method declaration.
+       (Target_arm::do_make_elf_object): New overloaded method definitions
+       and declaration.
+       (Arm_relobj::do_read_symbols): New method definition.
+       (Arm_dynobj::do_read_symbols): Ditto.
+       (Target_arm::do_finalize_sections): Add input_objects parameters.
+       Merge processor-specific flags from all input objects.
+       (Target_arm::are_eabi_versions_compatible,
+       Target_arm::merge_processor_specific_flags,
+       Target_arm::do_adjust_elf_header, Target_arm::do_make_elf_object):
+       New method definitions.
+       * i386.cc (Target_i386::do_finalize_sections): Add unnamed
+       Input_objects pointer type parameter.
+       * layout.cc (Layout::finalize): Pass input objects to target's.
+       finalize_sections function.
+       * output.cc (Output_file_header::do_sized_write): Set ELF file
+       header's processor-specific flags.
+       * powerpc.cc (Target_powerpc::do_finalize_sections): Add unnamed
+       Input_objects pointer type parameter.
+       * sparc.cc (Target_sparc::do_finalize_sections): Same.
+       * target.h (Input_objects): New forward class declaration.
+       (Target::processor_specific_flags,
+       Target::are_processor_specific_flags_sect): New method definitions.
+       (Target::finalize_sections): Add input_objects parameter.
+       (Target::Target): Initialize processor_specific_flags_ and
+       are_processor_specific_flags_set_.
+       (Target::do_finalize_sections): Add unnamed Input_objects pointer type
+       parameter.
+       (Target::set_processor_specific_flags): New method definition.
+       (Target::processor_specific_flags_,
+       Target::are_processor_specific_flags_set_): New data member
+       declarations.
+       * x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed
+       Input_objects pointer type parameter.
+
+2009-10-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc: Use Arm_address instead of elfcpp::Elf_types<32>::Elf_Addr.
+
+2009-10-28  Ian Lance Taylor  <iant@google.com>
+
+       * object.h (class Relobj): Drop options parameter from
+       gc_process_relocs, scan_relocs, relocate, do_gc_process_relocs,
+       do_scan_relocs, do_relocate.  Change all callers.
+       (class Sized_relobj): Drop options parameters from
+       do_gc_process_relocs, do_scan_relocs, do_relocate,
+       do_relocate_sections, relocate_sections, emit_relocs_scan,
+       emit_relocs_scan_reltype.  Change all callers.
+       (struct Relocate_info): Remove options field and all references to
+       it.
+       * reloc.h (class Read_relocs): Remove options constructor
+       parameter and options_ field.  Change all callers.
+       (class Gc_process_relocs, class Scan_relocs): Likewise.
+       (class Relocate_task): Likewise.
+       * target-reloc.h (scan_relocs): Remove options parameter.  Change
+       all callers.
+       (scan_relocatable_relocs): Likewise.
+       * target.h (class Sized_target): Remove options parameter from
+       gc_process_relocs, scan_relocs, scan_relocatable_relocs.  Change
+       all callers.
+       * gc.h (gc_process_relocs): Remove options parameter.  Change all
+       callers.
+       * arm.cc: Update functions to remove options parameters.
+       * i386.cc: Likewise.
+       * powerpc.cc: Likewise.
+       * sparc.cc: Likewise.
+       * x86_64.cc: Likewise.
+       * testsuite/testfile.cc: Likewise.
+
+2009-10-28  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_relobj): New class definition.
+       (Arm_relobj::scan_sections_for_stubs,
+       Arm_relobj::do_count_local_symbols, Arm_relobj::do_relocate_sections):
+       New method definitions.
+
+2009-10-28  Cary Coutant  <ccoutant@google.com>
+
+       * plugin.h (Plugin::Plugin): Initialize cleanup_done_.
+       (Plugin::cleanup_done_): New member.
+       (Plugin_manager::Plugin_manager): Remove cleanup_done_.
+       (Plugin_manager::cleanup_done_): Remove.
+       (Plugin_manager::add_input_file): Edit error message.
+       * plugin.cc (Plugin::cleanup): Test and set cleanup_done_.
+       (Plugin_manager::cleanup): Remove use of cleanup_done_.
+
+2009-10-27  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * fileread.cc: (File_read::View::~View): Use the new
+       data_ownership_ filed.
+       (File_read::~File_read): Dispose the new whole_file_view_.
+       (File_read::open): Mmap the whole file if needed.
+       (File_read::open): Use whole_file_view_ instead of contents_.
+       (File_read::find_view): Use whole_file_view_ if applicable.
+       (File_read::do_read): Use whole_file_view_ instead of contents_.
+       (File_read::make_view): Use whole_file_view_ instead of contents_,
+       update File_read::View::View call.
+       (File_read::find_or_make_view): Update File_read::View::View
+       call.
+       * fileread.h: (File_read::File_read): Initialize whole_file_view_,
+       remove contents_
+       (File_read::View::Data_ownership): New enum.
+       (File_read::View::View): Replace bool mapped_ with Data_ownership
+       argument.
+       (File_read::View::mapped_): Remove (replaced by data_ownership_).
+       (File_read::View::data_ownership_): New field.
+       (File_read::contents_): Remove (replaced by whole_file_view_).
+       (File_read::whole_file_view_): New field.
+       * options.h (class General_options): Add --keep-files-mapped.
+
+2009-10-27  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.cc (add_from_pluginobj): Pass correct value for is_ordinary.
+       * testsuite/Makefile.am (plugin_test_5): New test case.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-10-25  Doug Kwan  <dougkwan@google.com>
+
+       * object.h (Sized_relobj::View_size, Sized_relobj::Views): Change
+       from private to protected to allow access by child class.
+       (Sized_relobj::do_relocate_sections): New method declaration.
+       (Sized_relobj::relocate_sections): Virtualize.
+       * reloc.cc (Sized_relobj::do_relocate_sections): Rename from
+       Sized_relobj::relocate_sections.  Instantiate template explicitly
+       for different target sizes and endianity.
+
+2009-10-24  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_output_section, Arm_relobj): Forward class declarations.
+       (Arm_input_section::as_arm_input_section): New method.
+       (Arm_output_section): New class definition.
+       (Arm_output_section::create_stub_group,
+       Arm_output_section::group_sections): New method definitions.
+
+2009-10-22  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Arm_input_section): New class definition.
+       (Arm_input_section::init, Arm_input_section:do_write,
+       Arm_input_section::set_final_data_size,
+       Arm_input_section::do_reset_address_and_file_offset): New method
+       definitions.
+
+2009-10-21  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Stub_table, Arm_input_section): New forward class
+       declarations.
+       (Stub_table): New class defintion.
+       (Stub_table::add_reloc_stub, Stub_table::relocate_stubs
+       Stub_table::do_reset_address_and_file_offset, Stub_table::do_write):
+       New method definition.
+
+2009-10-21  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc: Update copyright comments.
+       (Target_arm): New forward class template declaration.
+       (Arm_address): New type.
+       (ARM_MAX_FWD_BRANCH_OFFSET, ARM_MAX_BWD_BRANCH_OFFSET,
+       THM_MAX_FWD_BRANCH_OFFSET, THM_MAX_BWD_BRANCH_OFFSET,
+       THM2_MAX_FWD_BRANCH_OFFSET, THM2_MAX_BWD_BRANCH_OFFSET): New
+       constants.
+       (Insn_template): Same.
+       (DEF_STUBS): New macro.
+       (Stub_type): New enum type.
+       (Stub_template): New class definition.
+       (Stub): Same.
+       (Reloc_stub): Same.
+       (Stub_factory): Same.
+       (Target_arm::Target_arm): Initialize may_use_blx_ and
+       should_force_pic_veneer_.
+       (Target_arm::may_use_blx, Target_arm::set_may_use_blx,
+       Target_arm::should_force_pic_veneer,
+       Target_arm::set_should_force_pic_veneer, Target_arm::using_thumb2,
+       Target_arm::using_thumb_only, Target_arm:;default_target): New
+       method defintions.
+       (Target_arm::may_use_blx_, Target_arm::should_force_pic_veneer_):
+       New data member declarations.
+       (Insn_template::size, Insn_template::alignment): New method defintions.
+       (Stub_template::Stub_template): New method definition.
+       (Reloc_stub::Key::name, Reloc_stub::stub_type_for_reloc,
+       Reloc_stub::do_fixed_endian_write, Reloc_stub::do_write): Same.
+       (Stub_factory::Stub_factory): New method definition.
+       * gold.h (string_hash): New template.
+       * output.h (Input_section_specifier::hash_value): Use
+       gold::string_hash.
+       (Input_section_specifier::string_hash): Remove.
+       * stringpool.cc (Stringpool_template::string_hash): Use
+       gold::string_hash.
+
+2009-10-20  Doug Kwan  <dougkwan@google.com>
+
+       * object.cc (Sized_relobj::do_finalize_local_symbols): Handle section
+       symbols of relaxed input sections.
+       * output.h (Output_section::find_relaxed_input_section): Make
+       method public.
+
+2009-10-16  Doug Kwan  <dougkwan@google.com>
+
+       * dynobj.cc (Versions::Versions): Initialize version_script_.
+       Only insert base version symbol definition for a shared object
+       if version script defines any version versions.
+       (Versions::define_base_version): New method definition.
+       (Versions::add_def): Check that base version is not needed.
+       (Versions::add_need): Define base version lazily.
+       * dynobj.h (Versions::define_base_version): New method declaration.
+       (Versions::needs_base_version_): New data member declaration.
+       * testsuite/Makefile.am (check_SCRIPTS): Add no_version_test.sh
+       (check_DATA): Add no_version_test.stdout.
+       (libno_version_test.so, no_version_test.o no_version_test.stdout):
+       New make rules.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/no_version_test.c: New file.
+       * testsuite/no_version_test.sh: Ditto.
+
+2009-10-16  Doug Kwan  <dougkwan@google.com>
+
+       * expression.cc (class Segment_start_expression): New class definition.
+       (Segment_start_expression::value): New method definition.
+       (script_exp_function_segment_start): Return a new
+       Segment_start_expression.
+       * script-c.h (script_saw_segment_start_expression): New function
+       prototype.
+       * script-sections.cc (Script_sections::Script_sections): Initialize
+       SAW_SEGMENT_START_EXPRESSION_ to false.
+       (Script_sections::set_section_addresses): Use -Ttext, -Tdata
+       and -Tbbs options to specify section addresses if given in
+       command line and no SEGMENT_START expression is seen in a script.
+       * script-sections.h (Script_sections::saw_segment_start_expression,
+       Script_sections::set_saw_segment_start_expression): New method
+       definition.
+       (Script_sections::saw_segment_start_expression_): New data member
+       declaration.
+       * script.cc (script_saw_segment_start_expression): New function.
+       * yyscript.y (SEGMENT_START): Call script_saw_segment_start_expression.
+       * testsuite/Makefile.am (check_SCRIPTS): Add script_test_6.sh,
+       script_test_7.sh and script_test_8.sh.
+       (check_DATA): Add script_test_6.stdout, script_test_7.stdout and
+       script_test_8.stdout.
+       (MOSTLYCLEANFILES): Add script_test_6, script_test_7 and script_test_8.
+       (script_test_6, script_test_6.stdout, script_test_7,
+       script_test_7.stdout, script_test_8, script_test_8.stdout): New rules.
+       * Makefile.in: Regenerate.
+       * testsuite/script_test_6.sh: New file.
+       * testsuite/script_test_6.t: Same.
+       * testsuite/script_test_7.sh: Same.
+       * testsuite/script_test_7.t: Same.
+       * testsuite/script_test_8.sh: Same.
+
+2009-10-16  Doug Kwan  <dougkwan@google.com>
+
+       * output.cc (Output_segment::set_section_list_address): Cast
+       expressions to unsigned long long type to avoid format warnings.
+
+2009-10-15  Ian Lance Taylor  <iant@google.com>
+
+       * script.cc (Script_options::add_symbol_assignment): Always add a
+       dot assignment to script_sections_.
+       * script-sections.cc (Script_sections::add_dot_assignment):
+       Initialize if necessary.
+
+       * layout.cc (Layout::relaxation_loop_body): Don't crash if we see
+       program headers with no load segment if there is a linker script.
+
+       * layout.cc (Layout::set_segment_offsets): Align the file offset
+       to the segment aligment for -N or -n with no load segment.
+       * output.cc (Output_segment::add_output_section): Don't crash if
+       the first section is a TLS section.
+       (Output_segment::set_section_list_addresses): Print an error
+       message if the address moves backward in a linker script.
+       * script-sections.cc
+       (Output_section_element_input::set_section_addresses): Don't
+       increase *dot_value for a SHF_TLS/SHT_NOBITS section.
+       (Orphan_output_section::set_section_addresses): Likewise.
+
+2009-10-15  Doug Kwan  <dougkwan@google.com>
+
+       * layout.cc (Layout::finish_dynamic_section): Generate tags
+       DT_FINI_ARRAY, DT_FINI_ARRAYSZ, DT_INIT_ARRAY, DT_INIT_ARRAYSZ,
+       DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ as needed. If -Bsymbolic is
+       used, add DT_SYMBOLIC and set DF_SYMBOLIC in DT_FLAGS.
+
+2009-10-14  Ian Lance Taylor  <iant@google.com>
+
+       * object.h (class Relocate_info): Add reloc_shdr and data_shdr
+       fields.
+       * object.cc (Sized_relobj::relocate_sections): Set reloc_shdr and
+       data_shdr fields of relinfo.
+       * i386.cc (class Target_i386::Relocate): Remove ldo_addrs_ field.
+       (Target_i386::Relocate::relocate_tls): Don't call fix_up_ldo.  For
+       R_386_TLS_LDO_32, adjust based on section flags.
+       (Target_i386::Relocate::fix_up_ldo): Remove.
+
+2009-10-13  Ian Lance Taylor  <iant@google.com>
+
+       Add support for -pie.
+       * options.h (class General_options): Add -pie and
+       --pic-executable.
+       (General_options::output_is_position_independent): Test -pie.
+       (General_options::output_is_executable): Return true if not shared
+       and not relocatable.
+       (General_options::output_is_pie): Remove.
+       * options.cc (General_options::finalize): Reject incompatible uses
+       of -pie.
+       * gold.cc (queue_middle_tasks): A -pie link is not static.
+       * symtab.h (Symbol::needs_plt_entry): Return false if -pie.
+       * symtab.cc (Symbol::final_value_is_known): Return false if
+       output_is_position_independent.
+       * layout.cc (Layout::set_segment_offsets): Start at address 0 if
+       output_is_position_independent.
+       * output.cc (Output_file_header::do_sized_write): Use ET_DYN if
+       output_is_position_independent.
+       * i386.cc (Output_data_plt_i386::do_write): Use the PIC PLT if
+       output_is_position_independent.
+       * testsuite/Makefile.am (check_PROGRAMS): Add basic_pie_test and
+       two_file_pie_test.
+       (basic_pie_test.o, basic_pie_test): New targets.
+       (two_file_test_1_pie.o, two_file_test_1b_pie.o): New targets.
+       (two_file_test_2_pie.o, two_file_test_main_pie.o): New targets.
+       (two_file_pie_test): New target.
+       * testsuite/Makefile.in: Rebuild.
+       * README: Remove note saying that -pie is not supported.
+
+2009-10-13  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
+       * options.h (class General_options): Add -init and -fini.
+       * layout.cc (Layout::finish_dynamic_section): Emit
+       given init and fini functions.
+
+2009-10-13  Sriraman Tallam  <tmsriram@google.com>
+
+       * gc.h (gc_process_relocs): Check if icf is enabled using new
+       function.
+       * gold.cc (queue_initial_tasks): Likewise.
+       (queue_middle_tasks): Likewise.
+       * object.cc (do_layout): Likewise.
+       * symtab.cc (is_section_folded): Likewise.
+       * main.cc (main): Likewise.
+       * reloc.cc (Read_relocs::run): Likewise.
+       (Sized_relobj::do_scan_relocs): Likewise.
+       * icf.cc (is_function_ctor_or_dtor): New function.
+       (Icf::find_identical_sections): Check if function is ctor or dtor when
+       safe icf is chosen.
+       * options.h (General_options::icf): Change option to be an enum.
+       (Icf_status): New enum.
+       (icf_enabled): New method.
+       (icf_safe_folding): New method.
+       (set_icf_status): New method.
+       (icf_status_): New variable.
+       * (options.cc) (General_options::finalize): Set icf_status_.
+       * testsuite/Makefile.am: Add commands to build icf_safe_test. Modify
+       icf_test and icf_keep_unique_test to use the --icf enum flag.
+       * testsuite/icf_safe_test.sh: New file.
+       * testsuite/icf_safe_test.cc: New file.
+
+2009-10-12  Sriraman Tallam  <tmsriram@google.com>
+
+       * symtab.h: Check for GOLD_SYMTAB_H before header includes. Remove
+       includes to gc.h and icf.h.
+       * arm.cc: Include gc.h.
+       * gold.cc: Likewise.
+       * i386.cc: Likewise.
+       * powerpc.cc: Likewise.
+       * sparc.cc: Likewise.
+       * x86_64.cc: Likewise.
+       * gc.h: Include icf.h.
+
+2009-10-11  Ian Lance Taylor  <iant@google.com>
+
+       * plugin.cc: Include "gold.h" before other header files.
+
+2009-10-10  Chris Demetriou  <cgd@google.com>
+
+       * options.h (Input_file_argument::Input_file_type): New enum.
+       (Input_file_argument::is_lib_): Replace with...
+       (Input_file_argument::type_): New member.
+       (Input_file_argument::Input_file_argument): Take Input_file_type
+       'type' rather than boolean 'is_lib' as second argument.
+       (Input_file_argument::is_lib): Use type_.
+       (Input_file_argument::is_searched_file): New function.
+       (Input_file_argument::may_need_search): Handle is_searched_file.
+       * options.cc (General_options::parse_library): Support -l:filename.
+       (General_options::parse_just_symbols): Update for Input_file_argument
+       changes.
+       (Command_line::process): Likewise.
+       * archive.cc (Archive::get_file_and_offset): Likewise.
+       * plugin.cc (Plugin_manager::release_input_file): Likewise.
+       * script.cc (read_script_file, script_add_file): Likewise.
+       * fileread.cc (Input_file::Input_file): Likewise.
+       (Input_file::will_search_for): Handle is_searched_file.
+       (Input_file::open): Likewise.
+       * readsyms.cc (Read_symbols::get_name): Likewise.
+       * testsuite/Makefile.am (searched_file_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/searched_file_test.cc: New file.
+       * testsuite/searched_file_test_lib.cc: New file.
+
+2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       * descriptor.cc: Include <cstdio> and "binary-io.h".
+       (Descriptors::open): Open the files in binary mode always.
+       * script.cc (Lex::get_token): Treat \r as whitespace.
+
+2009-10-09  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/retain_symbols_file_test.sh: Don't test for __tcf_0.
+
+2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+           Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Check for readv function also.
+       * fileread.cc (readv): Define if not HAVE_READV.
+       * fileread.h (File_read:: max_readv_entries): Set to 1 if readv
+       does not exist.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2009-10-09  Doug Kwan  <dougkwan@google.com>
+
+       * layout.cc (Layout::make_output_section): Call target hook to make
+       ordinary output section.
+       (Layout::finalize): Adjust parameter list of call the
+       Target::may_relax().
+       * layout.h (class Layout::section_list): New method.
+       * merge.h (Output_merge_base::entsize): Change visibility to public.
+       (Output_merge_base::is_string, Output_merge_base::do_is_string):
+       New methods.
+       (Output_merge_string::do_is_string): New method.
+       * object.cc (Sized_relobj::do_setup): renamed from
+       Sized_relobj::set_up.
+       * object.h (Sized_relobj::adjust_shndx,
+       Sized_relobj::initializ_input_to_output_maps,
+       Sized_relobj::free_input_to_output_maps): Change visibilities to
+       protected.
+       (Sized_relobj::setup): Virtualize.
+       (Sized_relobj::do_setup): New method declaration.
+       (Sized_relobj::invalidate_section_offset,
+       Sized_relobj::do_invalidate_section_offset): New method decfinitions.
+       (Sized_relobj::elf_file, Sized_relobj::local_values): New methods.
+       * options.cc (parse_int): New function.
+       * options.h (parse_int): New declaration.
+       (DEFINE_int): New macro.
+       (stub_group_size): New option.
+       * output.cc (Output_section::Output_section): Initialize memebers
+       merge_section_map_, merge_section_by_properties_map_,
+       relaxed_input_section_map_, is_relaxed_input_section_map_valid_.
+       (Output_section::add_input_section): Handled deferred code-fill
+       generation and remove an old comment.
+       (Output_section::add_relaxed_input_section): New method definition.
+       (Output_section::add_merge_input_section): Use merge section by
+       properties map to speed to search.  Update merge section maps
+       as appropriate.
+       (Output_section::build_relaxation_map): New method definition.
+       (Output_section::convert_input_sections_in_list_to_relaxed_sections):
+       Same.
+       (Output_section::relax_input_section): Renamed to
+       Output_section::convert_input_sections_to_relaxed_sections and change
+       interface to take a vector of pointers to relaxed sections.
+       (Output_section::find_merge_section,
+       Output_section::find_relaxed_input_section): New method definitions.
+       (Output_section::is_input_address_mapped,
+       Output_section::output_offset, Output_section::output_address):
+       Use output section data maps to speed up searching.
+       (Output_section::find_starting_output_address): Add comments.
+       (Output_section::do_write,
+       Output_section::write_to_postprocessing_buffer): Do code-fill
+       generation as appropriate.
+       (Output_section::get_input_sections): Invalidate relaxed input section
+       map.
+       (Output_section::restore_states): Adjust type of checkpoint .
+       Invalidate relaxed input section map.
+       * output.h (Output_merge_base): New class declaration.
+       (Input_section_specifier): New class defintion.
+       (class Output_relaxed_input_section) Change base class to
+       Output_section_data_build.
+       (Output_relaxed_input_section::Output_relaxed_input_section): Adjust
+       base class initializer.
+       (Output_section::add_relaxed_input_section): New method declaration.
+       (Output_section::Input_section): Change visibility to protected.
+       (Output_section::Input_section::relobj,
+       Output_section::Input_section::shndx): Handle relaxed input sections.
+       Output_section::input_sections) Change visibility to protected.  Also
+       define overload to return a non-const pointer.
+       (Output_section::Merge_section_properties): New class defintion.
+       (Output_section::Merge_section_by_properties_map,
+       Output_section::Output_section_data_by_input_section_map,
+       Output_section::Relaxation_map): New types.
+       (Output_section::relax_input_section): Rename method to
+       Output_section::convert_input_sections_to_relaxed_sections and change
+       interface to take a vector of relaxed section pointers.
+       (Output_section::find_merge_section,
+       Output_section::find_relaxed_input_section,
+       Output_section::build_relaxation_map,
+       Output_section::convert_input_sections_in_list_to_relaxed_sections):
+       New method declarations.
+       (Output_section::merge_section_map_
+       Output_section::merge_section_by_properties_map_,
+       Output_section::relaxed_input_section_map_,
+       Output_section::is_relaxed_input_section_map_valid_,
+       Output_section::generate_code_fills_at_write_): New data members.
+       * script-sections.cc
+       (Output_section_element_input::set_section_addresses): Call
+       current_data_size and addralign methods of relaxed input sections.
+       (Orphan_output_section::set_section_addresses): Call current_data_size
+       and addralign methods of relaxed input sections.
+       * symtab.cc (Symbol_table::compute_final_value): Extract template
+       from the body of Symbol_table::sized_finalize_symbol.
+       (Symbol_table::sized_finalized_symbol): Call
+       Symbol_table::compute_final_value.
+       * symtab.h (Symbol_table::Compute_final_value_status): New enum type.
+       (Symbol_table::compute_final_value): New templated method declaration.
+       * target.cc (Target::do_make_output_section): New method defintion.
+       * target.h (Target::make_output_section): New method declaration.
+       (Target::relax): Add more parameters for input objects, symbol table
+       and layout.  Adjust call to do_relax.
+       (Target::do_make_output_section): New method declaration.
+       (Target::do_relax): Add parameters for input objects, symbol table
+       and layout.
+
+2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * pread.c: Include stdio.h.
+
+2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not
+       defined.
+
+2009-10-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
+       Change read_shndx type to unsigned int.
+       (Sized_dwarf_line_info::read_lines): Change shndx type to unsigned
+       int.
+       (Sized_dwarf_line_info::read_line_mappings): Likewise.
+       * dwarf_reader.h (Sized_dwarf_line_info::Sized_dwarf_line_info):
+       Change read_shndx type to unsigned int.
+       (Sized_dwarf_line_info::read_lines): Change shndx type to unsigned
+       int.
+       (Sized_dwarf_line_info::read_line_mappings): Likewise.
+       * layout.cc (Layout::create_symtab_sections): Cast the result of
+       local_symcount * symsize to off_t in the gold_assert.
+
+2009-10-09  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Target_arm::relocate::reloc_is_non_pic): Return true for
+       R_ARM_THM_ABS5, R_ARM_ABS8, R_ARM_ABS12, R_ARM_ABS16,
+       R_ARM_BASE_ABS.
+       (Arm_relocate_functions::abs8): Remove has_thumb_bit parameter.
+       (Arm_relocate_functions::thm_abs5): New function.
+       (Arm_relocate_functions::abs12): New function.
+       (Arm_relocate_functions::abs16): New function.
+       (Arm_relocate_functions::base_abs): New function.
+       (Scan::check_non_pic): Handle R_ARM_ABS32_NOI.
+       (Scan::local): Remove special handling of R_ARM_ABS8.  Handle
+       R_ARM_ABS32_NOI, R_ARM_THM_ABS5, R_ARM_ABS12, R_ARM_ABS16, and
+       R_ARM_BASE_ABS.
+       (Scan::global): Likewise.
+       (Relocate::relocate): Handle R_ARM_ABS12, R_ARM_ABS16,
+       R_ARM_ABS32_NOI, R_ARM_THM_ABS5, and R_ARM_BASE_ABS.
+       (Relocatable_size_for_reloc::get_size_for_reloc): Handle
+       R_ARM_ABS16, R_ARM_THM_ABS5, R_ARM_ABS32_NOI, R_ARM_ABS12, and
+       R_ARM_BASE_ABS.
+
+2009-10-09  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Arm_relocate_functions::movw_prel_nc): New function.
+       (Arm_relocate_functions::movt_prel): New function.
+       (Arm_relocate_functions::thm_movw_prel_nc): New function.
+       (Arm_relocate_functions::thm_movt_prel): New function.
+       (Scan::local): Handle R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL,
+       R_ARM_THM_MOVW_PREL_NC, and R_ARM_THM_MOVT_PREL.
+       (Scan::global, Relocate::relocate): Likewise.
+       (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
+
+2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * gold.cc: (queue_initial_tasks): Pass incremental_inputs to
+       Incremental_checker.
+       * incremental.cc: (INCREMENTAL_LINK_VERSION): Change type to
+       unsigned int.
+       (class Incremental_inputs_header): New class.
+       (Incremental_inputs_header_writer): Edit comment.
+       (Incremental_inputs_entry): New class.
+       (Incremental_inputs_entry_writer): Edit comment.
+       (Sized_incremental_binary::do_find_incremental_inputs_section):
+       Add *strtab_shndx parameter, fill it.
+       (Sized_incremental_binary::do_check_inputs): New method.
+       (Incremental_checker::can_incrementally_link_output_file): Use
+       Sized_incremental_binary::check_inputs.
+       (Incremental_inputs::report_command_line): Save command line in
+       command_line_.
+       * incremental.h:
+       (Incremental_binary::find_incremental_inputs_section): New
+       method.
+       (Incremental_binary::do_find_incremental_inputs_section): Add
+       strtab_shndx parameter.
+       (Incremental_binary::do_check_inputs): New pure virtual method.
+       (Sized_incremental_binary::do_check_inputs): Declare.
+       (Incremental_checker::Incremental_checker): Add incremental_inputs
+       parameter, use it to initialize incremental_inputs_.
+       (Incremental_checker::incremental_inputs_): New field.
+       (Incremental_checker::command_line): New method.
+       (Incremental_checker::inputs): New method.
+       (Incremental_checker::command_line_): New field.
+
+2009-10-09  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * incremental.cc: Include <cstdarg> and "target-select.h".
+       (vexplain_no_incremental): New function.
+       (explain_no_incremental): New function.
+       (Incremental_binary::error): New method.
+       (Sized_incremental_binary::do_find_incremental_inputs_section): New
+       method.
+       (make_sized_incremental_binary): New function.
+       (open_incremental_binary): New function.
+       (can_incrementally_link_file): Add checks if output is ELF and has
+       inputs section.
+       * incremental.h: Include "elfcpp_file.h" and "output.h".
+       (Incremental_binary): New class.
+       (Sized_incremental_binary): New class.
+       (open_incremental_binary): Declare.
+       * object.cc (is_elf_object): Use
+       elfcpp::Elf_recognizer::is_elf_file.
+       (make_elf_object): Use elfcpp::Elf_recognizer::is_valid_header.
+       * output.h (Output_file::filesize): New method.
+
+2009-10-07  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
+       New function.
+       (Arm_relocate_functions::insert_val_arm_movw_movt): New function.
+       (Arm_relocate_functions::extract_thumb_movw_movt_addend): New
+       function.
+       (Arm_relocate_functions::insert_val_thumb_movw_movt): New
+       function.
+       (Arm_relocate_functions::movw_abs_nc): New function.
+       (Arm_relocate_functions::movt_abs): New function.
+       (Arm_relocate_functions::thm_movw_abs_nc): New function.
+       (Arm_relocate_functions::thm_movt_abs): New function.
+       (Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
+       R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS.
+       (Scan::global): Likewise.
+       (Relocate::relocate): Likewise.
+       (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
+
+2009-10-07  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (Arm_relocate_functions::got_prel) New function.
+       (Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
+       (Relocate::relocate): Likewise.
+       (Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
+
+2009-10-06  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Define
+       split_stack_adjust_size parameter.
+       * object.h (class Object): Add uses_split_stack_ and
+       has_no_split_stack_ fields.  Add uses_split_stack and
+       has_no_split_stack accessor functions.  Declare
+       handle_split_stack_section.
+       (class Reloc_symbol_changes): Define.
+       (class Sized_relobj): Define Function_offsets.  Declare
+       split_stack_adjust, split_stack_adjust_reltype, and
+       find_functions.
+       * object.cc (Object::handle_split_stack_section): New function.
+       (Sized_relobj::do_layout): Call handle_split_stack_section.
+       * dynobj.cc (Sized_dynobj::do_layout): Call
+       handle_split_stack_section.
+       * reloc.cc (Sized_relobj::relocate_sections): Call
+       split_stack_adjust for executable sections in split_stack
+       objects.  Pass reloc_map to relocate_section.
+       (Sized_relobj::split_stack_adjust): New function.
+       (Sized_relobj::split_stack_adjust_reltype): New function.
+       (Sized_relobj::find_functions): New function.
+       * target-reloc.h: Include "object.h".
+       (relocate_section): Add reloc_symbol_changes parameter.  Change
+       all callers.
+       * target.h (class Target): Add calls_non_split method.  Declare
+       do_calls_non_split virtual method.  Declare match_view and
+       set_view_to_nop.
+       * target.cc: Include "elfcpp.h".
+       (Target::do_calls_non_split): New function.
+       (Target::match_view): New function.
+       (Target::set_view_to_nop): New function.
+       * gold.cc (queue_middle_tasks): Give an error if mixing
+       split-stack and non-split-stack objects with -r.
+       * i386.cc (Target_i386::relocate_section): Add
+       reloc_symbol_changes parameter.
+       (Target_i386::do_calls_non_split): New function.
+       * x86_64.cc (Target_x86_64::relocate_section): Add
+       reloc_symbol_changes parameter.
+       (Target_x86_64::do_calls_non_split): New function.
+       * arm.cc (Target_arm::relocate_section): Add reloc_symbol_changes
+       parameter.
+       * powerpc.cc (Target_powerpc::relocate_section): Add
+       reloc_symbol_changes parameter.
+       * sparc.cc (Target_sparc::relocate_section): Add
+       reloc_symbol_changes parameter.
+       * configure.ac: Call AM_CONDITIONAL for the default target.
+       * configure: Rebuild.
+       * testsuite/Makefile.am (TEST_AS): New variable.
+       (check_SCRIPTS): Add split_i386.sh and split_x86_64.sh.
+       (check_DATA): Add split_i386 and split_x86_64 files.
+       (SPLIT_DEFSYMS): Define.
+       (split_i386_[1234n].o): New targets.
+       (split_i386_[124]): New targets.
+       (split_i386_[1234r].stdout): New targets.
+       (split_x86_64_[1234n].o): New targets.
+       (split_x86_64_[124]): New targets.
+       (split_x86_64_[1234r].stdout): New targets.
+       (MOSTLYCLEANFILES): Add new executables.
+       * testsuite/split_i386.sh: New file.
+       * testsuite/split_x86_64.sh: New file.
+       * testsuite/split_i386_1.s: New file.
+       * testsuite/split_i386_2.s: New file.
+       * testsuite/split_i386_3.s: New file.
+       * testsuite/split_i386_4.s: New file.
+       * testsuite/split_i386_n.s: New file.
+       * testsuite/split_x86_64_1.s: New file.
+       * testsuite/split_x86_64_2.s: New file.
+       * testsuite/split_x86_64_3.s: New file.
+       * testsuite/split_x86_64_4.s: New file.
+       * testsuite/split_x86_64_n.s: New file.
+       * testsuite/testfile.cc (Target_test): Update relocation_section
+       function.
+       * testsuite/Makefile.in: Rebuild.
+
+2009-10-06  Ian Lance Taylor  <iant@google.com>
+
+       * i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
+       (Target_i386::Relocate::relocate_tls): Call fix_up_ldo before
+       changing local_dynamic_type_ from LOCAL_DYNAMIC_NONE.  When
+       handling R_386_TLS_LDO_32, if local_dynamic_type_ is NONE, push
+       the address on ldo_addrs_.
+       (Target_i386::Relocate::fix_up_ldo): New function.
+
+2009-10-06   Rafael Espindola  <espindola@google.com>
+
+       * plugin.cc (add_input_library): New.
+       (Plugin::load): Add add_input_library to tv.
+       (Plugin_manager::add_input_file): Add the is_lib argument.
+       (add_input_file): Update call to Plugin_manager::add_input_file.
+       (add_input_library): New.
+       * plugin.h (Plugin_manager::add_input_file): Add the is_lib argument.
+
+2009-09-30  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::may_need_copy_reloc): Check for THUMB function
+       symbol and call Symbol::may_need_copy_reloc to determine if
+       a copy reloc is needed.
+       * copy-relocs.cc (Copy_relocs::need_copy_reloc): Return false if -z
+       nocopyreloc is given in command line.
+       (Copy_relocs::emit_copy_reloc): Assert that -z nocopyreloc is not
+       given in command line.
+       * i386.cc (Target_i386::may_need_copy_reloc): Remove.
+       (Target_i386::Scan::global): Use Symbol::may_need_copy_reloc instead
+       of the removed Target_i386::may_need_copy_reloc.
+       * options.h (copyreloc): New option with default value false.
+       * powerpc.cc (Target_powerpc::may_need_copy_reloc): Remove.
+       (Target_powerpc::Scan::global): Use Symbol::may_need_copy_reloc
+       instead of the removed Target_powerpc::may_need_copy_reloc.
+       * sparc.cc (Target_powerpc::may_need_copy_reloc): Remove.
+       (Target_sparc::Scan::global): Use Symbol::may_need_copy_reloc
+       instead of the removed Target_sparc::may_need_copy_reloc.
+       * symtab.h (Symbol::may_need_copy_reloc): New method definition.
+       * x86_64.cc (Target_powerpc::may_need_copy_reloc): Remove.
+       (Target_x86_64::Scan::global): Use Symbol::may_need_copy_reloc
+       instead of the removed Target_x86_64::may_need_copy_reloc.
+
+2009-09-30  Ian Lance Taylor  <iant@google.com>
+
+       * object.h (class Object): Remove target_ field, and target,
+       sized_target, and set_target methods.
+       (Object::sized_target): Remove.
+       (class Sized_relobj): Update declarations.  Remove sized_target.
+       * object.cc (Sized_relobj::setup): Remove target parameter.
+       Change all callers.
+       (Input_objects::add_object): Don't do anything with the target.
+       (make_elf_sized_object): Add punconfigured parameter.  Change all
+       callers.  Set or test parameter target.
+       * dynobj.cc (Sized_dynobj::target): Remove target parameter.
+       Change all callers.
+       * parameters.cc (Parameters::set_target): Change parameter type to
+       be non-const.
+       (Parameters::default_target): Remove.
+       (set_parameters_target): Change parameter type to be non-const.
+       (parameters_force_valid_target): New function.
+       (parameters_clear_target): New function.
+       * parameters.h (class Parameters): Update declarations.  Remove
+       default_target method.  Add sized_target and clear_target
+       methods.  Change target_ to be non-const.
+       (set_parameters_target): Update declaration.
+       (parameters_force_valid_target): Declare.
+       (parameters_clear_target): Declare.
+       * readsyms.cc (Read_symbols::do_read_symbols): Pass punconfigured
+       as NULL if we aren't searching.
+       (Add_symbols::run): Don't check for compatible target.
+       * fileread.cc (Input_file::open_binary): Call
+       parameters_force_valid_target.
+       * gold.cc (queue_middle_tasks): Likewise.
+       * plugin.cc (make_sized_plugin_object): Likewise.  Don't call
+       set_target on object.
+       * dynobj.h (class Sized_dynobj): Update declarations.
+       * archive.cc (Archive::get_elf_object_for_member): Return NULL if
+       make_elf_object returns NULL.
+       (Archive::include_member): Don't check whether object target is
+       compatible.
+       * output.cc (Output_section::add_input_section): Get target from
+       parameters.
+       (Output_section::relax_input_section): Likewise.
+       * reloc.cc (Sized_relobj::do_gc_process_relocs): Get target from
+       parameters.
+       (Sized_relobj::do_scan_relocs): Likewise.
+       (Sized_relobj::relocate_sections): Likewise.
+       * resolve.cc (Symbol_table::resolve): Likewise.
+       * symtab.cc (Symbol_table::wrap_symbol): Likewise.  Remove object
+       parameter.  Change all callers.
+       (Symbol_table::add_from_object): Get target from parameters.
+       (Symbol_table::add_from_relobj): Don't check object target.
+       (Symbol_table::add_from_dynobj): Likewise.
+       (Symbol_table::define_special_symbol): Get target from
+       parameters.
+       * symtab.h (class Symbol_table): Update declaration.
+       * testsuite/binary_unittest.cc (gold_testsuite): Remove target
+       parameter.  Change all callers.  Clear parameter target.
+       (Binary_test): Test target here.
+       * testsuite/object_unittest.cc (gold_testsuite): Remove
+       target_test_pointer parameter.  Change all callers.
+       (Object_test): Test target here.
+
+2009-09-26  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/initpri1.c: Don't try to use constructor priorities if
+       compiling with gcc before 4.3.
+
+2009-09-22  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * testsuite/retain_symbols_file_test.sh (check_present): Change
+       output file name to retain_symbols_file_test.stdout.
+       (check_absent): Likewise.
+
+2009-09-18  Craig Silverstein  <csilvers@google.com>
+
+       * object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
+       * options.cc: Include <cerrno> and <fstream>.
+       (General_options::finalize): Parse -retain-symbols-file tag.
+       * options.h: New flag.
+       (General_options): New method should_retain_symbol, new
+       variable symbols_to_retain.
+       * symtab.cc (Symbol_table::sized_finalize_symbol): Test
+       should_retain_symbol map.
+       * testsuite/Makefile.am (retain_symbols_file_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/retain_symbols_file_test.sh: New file.
+
+2009-09-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2009-09-17  Doug Kwan  <dougkwan@google.com>
+
+       * debug.h (DEBUG_RELAXATION): New constant.
+       (DEBUG_ALL): Add DEBUG_RELAXATION.
+       (debug_string_to_enum): Add relaxation debug option.
+       * layout.cc
+       (Layout::Relaxation_debug_check::check_output_data_for_reset_values,
+       Layout::Relaxation_debug_check::read_sections,
+       Layout::Relaxation_debug_check::read_sections): New method definitions.
+       (Layout::Layout): Initialize data members
+       record_output_section_data_from_scrips_,
+       script_output_section_data_list_ and relaxation_debug_check_.
+       (Layout::save_segments, Layout::restore_segments,
+       Layout::clean_up_after_relaxation, Layout::prepare_for_relaxation,
+       Layout::relaxation_loop_body): New method definitions.
+       (Layout::finalize): Support relaxation.  Move section layout code to
+       Layout::relaxation_loop_body.
+       (Layout::set_asection_address_from_script): Move code for orphan
+       section placement out.
+       (Layout::place_orphan_sections_in_script): New method definition.
+       * layout.h (Output_segment_headers, Output_file_header):
+       New forward class declarations.
+       (Layout::~Layout): Define.
+       (Layout::new_output_section_data_from_script): New method definition.
+       (Layout::place_orphan_sections_in_script): New method declaration.
+       (Layout::Segment_states): New type declaration.
+       (Layout::save_segments, Layout::restore_segments,
+       Layout::clean_up_after_relaxation, Layout::prepare_for_relaxation,
+       Layout::relaxation_loop_body): New method declarations.
+       (Layout::Output_section_data_list): New type declaration.
+       (Layout::Relaxation_debug_check): New class definition.
+       (Layout::record_output_section_data_from_script_,
+       Layout::script_output_section_data_list_, Layout::segment_states_,
+       Layout::relaxation_debug_check_): New data members.
+       * output.cc: (Output_section_headers::do_size): New method definition.
+       (Output_section_headers::Output_section_headers): Move size
+       computation to Output_section_headers::do_size.
+       (Output_segment_headers::do_size): New method definition.
+       (Output_file_header::Output_file_header): Move size computation to
+       Output_file_header::do_size and call it.
+       (Output_file_header::do_size): New method definition.
+       (Output_data_group::Output_data_group): Adjust call to
+       Output_section_data.
+       (Output_data_dynamic::set_final_data_size): Add DT_NULL tag only once.
+       (Output_symtab_xindex::do_write): Add array bound check.
+       (Output_section::Input_section::print_to_mapfile): Handle
+       RELAXED_INPUT_SECTION_CODE.
+       (Output_section::Output_section): Initialize data member checkpoint_.
+       (Output_section::~Output_section): Delete checkpoint object pointed
+       by checkpoint_.
+       (Output_section::add_input_section): Always add an Input_section if
+       relaxing.
+       (Output_section::add_merge_input_section): Add assert.
+       (Output_section::relax_input_section): New method definition.
+       (Output_section::set_final_data_size): Set load address to zero for
+       an unallocated section.
+       (Output_section::do_address_and_file_offset_have_reset_values):
+       New method definition.
+       (Output_section::Input_section_sort_enty::Input_section_sort_enty):
+       Handle relaxed input section.
+       (Output_section::sort_attached_input_sections): Checkpoint input
+       section list lazily.
+       (Output_section::get_input_sections): Change type of input_sections to
+       list of Simple_input_section pointers.  Checkpoint input section list
+       lazily.  Also handle relaxed input sections.
+       (Output_section::add_input_section_for_script): Take a reference to
+       a Simple_input_section object instead of Relobj pointer and section
+       index as parameter.  Handle relaxed input sections.
+       (Output_section::save_states, Output_section::restore_states): New
+       method definitions.
+       * output.h (Output_data::Output_data): Initialize is_data_size_fixed_.
+       (Output_data::is_data_size_fixed): New method definition.
+       (Output_data::reset_addresss_and_file_offset): Do not reset data size
+       if it is fixed.
+       (Output_data::address_and_file_offset_have_reset_values): New method
+       definition.
+       (Output_data::do_address_and_file_offset_have_reset_values): New method
+       definition.
+       (Output_data::set_data_size): Check that data size is not fixed.
+       (Output_data::fix_data_size): New method definition.
+       (Output_data::is_data_size_fixed_): New data member.
+       (Output_section_headers::set_final_data_size): New method definition.
+       (Output_section_headers::do_size): New method declaration.
+       (Output_segment_headers::set_final_data_size): New method definition.
+       (Output_segment_headers::do_size): New method declaration.
+       (Output_file_header::set_final_data_size)::New method definition.
+       (Output_file_header::do_size)::New method declaration.
+       (Output_section_data::Output_section_data): Add new parameter
+       is_data_size_fixed and use it to fix data size.
+       (Output_data_const::Output_data_const): Adjust call to base class
+       constructor and fix data size.
+       (Output_data_const_buffer::Output_data_const_buffer): Adjust call to
+       base class constructor and fix data size.
+       (Output_data_fixed_space::Output_data_fixed_space): Adjust call to
+       base class constructor and fix data size.
+       (Output_data_zero_fill::Output_data_zero_fill): Adjust call to base
+       class constructor and fix data size.
+       (Output_data_group::set_final_data_size): New method definition.
+       (Output_data_dynamic::Dynamic_entry::tag): New method definition.
+       (Output_symtab_xindex::Output_symtab_xindex): Adjust call to base
+       class constructor and fix data size.
+       (Output_relaxed_input_section): New class definition.
+       (Output_section::Simple_input_section): New class definition.
+       (Output_section::get_input_sections): Adjust parameter list.
+       (Output_section::add_input_section_for_script): Same.
+       (Output_section::save_states, Output_section::restore_states,
+       Output_section::do_address_and_file_offset_have_reset_values,
+       (Output_section::Input_section::Input_section): Handle
+       RELAXED_INPUT_SECTION_CODE.  Add new overload for
+       Output_relaxed_input_section.
+       (Output_section::Input_section::is_input_section,
+       Output_section::Input_section::set_output_section): Handle relaxed
+       input section.
+       (Output_section::Input_section::is_relaxed_input_section,
+       Output_section::Input_section::output_section_data,
+       Output_section::Input_section::relaxed_input_section): New method
+       definitions.
+       (Output_section::Input_section::RELAXED_INPUT_SECTION_CODE): New enum
+       value.
+       (Output_section::Input_section::u1_): Update comments.
+       (Output_section::Input_section::u2_): Add new union member poris.
+       (Output_section::Checkpoint_output_section): New classs definition.
+       (Output_section::relax_input_section): New method declaration.
+       (Output_section::checkpoint_): New data member.
+       (Output_segment): Update comments.
+       (Output_segment::Output_segment): Un-privatize copy constructor.
+       (Output_segment::operator=): Un-privatize.
+       * script-sections.cc (Output_section_element::Input_section_list):
+       Change element type to Output_section::Simple_input_section.
+       (Output_section_element_dot_assignment::set_section_addresses):
+       Register output section data for relaxation clean up.
+       (Output_data_exression::Output_data_expression): Adjust call to base
+       constructor to fix data size.
+       (Output_section_element_data::set_section_addresses): Register
+       Output_data_expression object for relaxation clean up.
+       (struct Input_section_info): Replace Relobj pointer and section index
+       pair with Output_section::Simple_input_section and Convert struct to a
+       class.
+       (Input_section_sorter::operator()): Adjust access to
+       Input_section_info data member to use accessors.
+       (Output_section_element_input::set_section_addresses): Use layout
+       parameter.  Adjust code to use Output_section::Simple_input_section
+       and Input_secction_info classes.  Register filler for relaxation
+       clean up.
+       (Orphan_output_section::set_section_addresses): Replace Relobj pointer
+       and section index pair with Output_section::Simple_input_section
+       class.  Adjust code accordingly.
+       (Phdrs_element::release_segment): New method definition.
+       (Script_sections::attach_sections_using_phdrs_clause): Do not modify
+       segment list.
+       (Script_sections::release_segments): New method definition.
+       * script-sections.h (Script_sections::release_segments): New
+       method declaration.
+       * target.h (Target::may_relax, Target::relax,
+       Target::do_may_relax, Target::do_relax): New method definitions.
+
+2009-09-17  Viktor Kutuzov  <vkutuzov@accesssoftek.com>
+
+       * arm.cc (has_signed_unsigned_overflow): New function.
+       (Arm_relocate_functions::abs8): New function.
+       (Target_arm::Scan::local): Handle R_ARM_ABS8.
+       (Target_arm::Scan::global): Likewise.
+       (Target_arm::relocate::relocate): Likewise.
+       (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
+       Likewise.
+
+2009-09-16  Cary Coutant  <ccoutant@google.com>
+
+       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add more generated files.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/gold.pot: Updated by the Translation project.
+
+2009-09-08  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (Output_file::open): Add execute permission to empty file.
+       * testsuite/Makefile.am (permission_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-09-02  Ian Lance Taylor  <iant@google.com>
+
+       * output.cc (Output_file::resize): Call map_no_anonymous rather
+       than map.
+
+2009-09-01  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * gold.cc: Include "incremental.h".
+       (queue_initial_tasks): Call Incremental_checker methods.
+       * incremental.cc: Include "output.h".
+       (Incremental_checker::can_incrementally_link_output_file): New
+       method.
+       * incremental.h (Incremental_checker): New class.
+
+       * output.cc (Output_file::open_for_modification): New method.
+       (Output_file::map_anonymous): Changed return type to bool.  Record
+       map in base_ field.
+       (Output_file::map_no_anonymous): New method, broken out of map.
+       (Output_file::map): Use map_no_anonymous and map_anonymous.
+       * output.h (class Output_file): Update declarations.
+
+2009-08-24  Cary Coutant  <ccoutant@google.com>
+
+       * options.h (Command_line::Pre_options): New class.
+       (Command_line::pre_options): New member.
+       * options.cc (gold::options::ready_to_register): New variable.
+       (One_option::register_option): Do nothing if not registering options.
+       Assert if same short option registered twice.
+       (General_options::General_options): Turn off option registration when
+       done constructing.
+       (Command_line::Pre_options::Pre_options): New constructor.
+
+2009-08-24  Cary Coutant  <ccoutant@google.com>
+
+       * options.h (General_options::no_keep_memory): Remove incorrect
+       short option.
+
+2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (am__skiplex, am__skipyacc): New.
+       * Makefile.in: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (AM_CPPFLAGS): Renamed from ...
+       (INCLUDES): ... this.
+       * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
+       (AM_CPPFLAGS): Renamed from ...
+       (INCLUDE): ... this.
+       * Makefile.in, testsuite/Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Likewise.
+       * config.in: Likewise.
+       * configure: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
+       * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-08-19  Cary Coutant  <ccoutant@google.com>
+
+       * resolve.cc (Symbol_table::resolve): Don't complain about defined
+       symbols in shared libraries overridden by hidden or internal symbols
+       in the main program.
+
+2009-08-19  Chris Demetriou  <cgd@google.com>
+
+       * testsuite/debug_msg.sh: Match .* rather than ${srcdir} when
+       checking source file names in error messages.
+
+2009-08-18  Doug Kwan  <dougkwan@google.com>
+
+       * dynobj.cc (Sized_dynobj::setup): Take a Target object instead of
+       an elcpp::Ehdr as parameter.  Adjust call to set_target.
+       * dynobj.h (Sized_dynobj::setup): Take a Target object instead of
+       an elfcpp::Ehdr as parameter.
+       * object.cc (Object::set_target): Remove the version that looks up
+       a target and sets it.
+       (Sized_relobj::setup): Take a Target object instead of
+       an elfcpp::Ehdr as parameter.  Adjust call to set_target.
+       (make_elf_sized_object): Find target and ask target to
+       make an ELF object.
+       * object.h: (Object::set_target): Remove the version that looks up
+       a target and sets it.
+       (Sized_relobj::setup): Take a Target object instead of
+       an elfcpp:Ehdr as parameter.
+       * target.cc: Include dynobj.h.
+       (Target::do_make_elf_object_implementation): New.
+       (Target::do_make_elf_object): New.
+       * target.h (Target::make_elf_object): New template declaration.
+       (Target::do_make_elf_object): New method declarations.
+       (Target::do_make_elf_object_implementation): New template declaration.
+
+2009-08-14  Ian Lance Taylor  <iant@google.com>
+
+       * gold.h (FUNCTION_NAME): Define.
+       (gold_unreachable): Use FUNCTION_NAME.
+
+2009-08-12  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.cc (Icf::find_identical_sections): Issue a warning when a
+       symbol in the --keep-unique list is not found.
+
+2009-08-12  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.cc (Icf::find_identical_sections): Unfold symbols that have
+       been maked as --keep-unique.
+       (Icf::unfold_section): New function.
+       * icf.h (Icf::unfold_section): New function.
+       * options.h (General_options::keep_unique): New option.
+       * testsuite/Makefile.am: Add commands to build icf_keep_unique_test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/icf_keep_unique_test.sh: New file.
+       * testsuite/icf_keep_unique_test.cc: New file.
+
+2009-08-12  Cary Coutant  <ccoutant@google.com>
+
+       PR 10471
+       * resolve.cc (Symbol_table::resolve): Check for references from
+       dynamic objects to hidden and internal symbols.
+       * testsuite/Makefile.am (hidden_test.sh): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/hidden_test.sh: New script.
+       * testsuite/hidden_test_1.c: New test source.
+       * testsuite/hidden_test_main.c: New test source.
+
+2009-08-11  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc: Update comments.
+       (Target_arm::do_finalize_sections): Add a special PT_ARM_EXIDX
+       segment to locate the .ARM.exidx section if present.
+
+2009-08-09  Doug Kwan  <dougkwan@google.com>
+
+       * dynobj.h (Sized_dynobj::do_section_entsize): Revert the previous
+       patch.
+
+2009-08-07  Sriraman Tallam  <tmsriram@google.com>
+       * dynobj.h (Sized_dynobj::do_section_entsize): Add return to avoid
+       compiler warnings.
+
+2009-08-06  Sriraman Tallam  <tmsriram@google.com>
+
+       * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for a
+       valid tls_segment only for non-debug-section relocations.
+       * testsuite/Makefile.am: Add gc_tls_test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gc_tls_test.cc: New file.
+       * testsuite/gc_tls_test.sh: New file.
+
+2009-08-05  Sriraman Tallam  <tmsriram@google.com>
+
+       * icf.cc: New file.
+       * icf.h: New file.
+       * Makefile.am (CCFILES): Add icf.cc.
+       (HFILES): Add icf.h
+       * Makefile.in: Regenerate.
+       * dynobj.h (Sized_dynobj::do_section_entsize): New function.
+       * gc.h (gc_process_relocs): Populate lists used by icf to contain
+       section, symbol and addend information for the relocs.
+       * gold.cc (queue_middle_tasks): Call identical code folding.
+       * gold.h: Add defines for multimap.
+       * layout.cc (Layout::create_symtab_sections): Add symtab as parameter
+       to the call of finalize_local_symbols.
+       * main.cc (main): Create object of class Icf.
+       * object.cc (Sized_relobj::do_layout): Allow this function to be
+       called twice during icf.
+       (Sized_relobj::do_finalize_local_symbols): Fold symbols corresponding
+       to sections marked as identical by icf.
+       (Sized_relobj::do_section_flags): Get section_flags from Symbols_data
+       when available.
+       (Sized_relobj::do_section_entsize): New function.
+       * object.h (Object::section_entsize): New function.
+       (Object::do_section_entsize): New pure virtual function.
+       (Relobj::finalize_local_symbols): Add new parameter.
+       (Relobj::do_section_entsize): New function.
+       * options.h (General_options::icf): New option.
+       (General_options::icf_iterations): New option.
+       (General_options::print_icf_sections): New option.
+       * plugin.cc (Sized_pluginobj::do_section_entsize): New function.
+       * plugin.h (Sized_pluginobj::do_section_entsize): New function.
+       * reloc.cc (Read_relocs::run): Delay scanning relocs when doing
+       icf.
+       * symtab.cc (Symbol_table::is_section_folded): New function.
+       (Symbol_table::sized_finalize_symbol):  Fold symbols corresponding
+       to sections marked as identical by icf.
+       * symtab.h (Symbol_table::set_icf): New function.
+       (Symbol_table::icf): New function.
+       (Symbol_table::is_section_folded): New function.
+       (Symbol_table::icf_): New data member.
+       * target-reloc.h (relocate_section): Ignore sections folded by icf.
+       * testsuite/Makefile.am: Add commands to build icf_test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/icf_test.sh: New file.
+       * testsuite/icf_test.cc: New file.
+
+2009-07-24  Chris Demetriou  <cgd@google.com>
+
+       * layout.cc (is_compressible_debug_section): Fix incorrect
+       comment about compressed section names.
+
+2009-07-20  Ian Lance Taylor  <ian@airs.com>
+
+       PR 10419
+       * x86_64.cc (Target_x86_64::do_code_fill): Correct nop sequences.
+
+2009-07-16  Ian Lance Taylor  <iant@google.com>
+
+       PR 10400
+       * layout.h: #include <map>.
+       (class Kept_section): Change from struct to class.  Add accessors
+       and setters.  Add section size to Comdat_group mapping.  Change
+       Comdat_group to std::map.  Add is_comdat_ field.  Add
+       linkonce_size field in union.
+       (class Layout): Update declaration of find_or_add_kept_section.
+       Don't declare find_kept_object.
+       * layout.cc (Layout::find_or_add_kept_section): Remove candidate
+       parameter.  Add object, shndx, is_comdat, and is_group_name
+       parameters.  Change all callers.  Adjust for new Kept_section.
+       (Layout::find_kept_object): Remove.
+       * object.cc (Sized_relobj::include_section_group): Update use of
+       Kept_section.  Rename secnum to shndx.  Only record
+       Kept_comdat_section if sections are the same size.
+       (Sized_relobj::include_linkonce_section): Update use of
+       Kept_section.  Only record Kept_comdat_section if sections are the
+       same size.  Set size of linkonce section.
+       (Sized_relobj::map_to_kept_section): Update call to
+       get_kept_comdat_section.
+       * object.h (class Sized_relobj): Rename fields in
+       Kept_comdat_section to drop trailing underscores; change object
+       field to Relobj*.  Change Kept_comdat_section_table to store
+       struct rather than pointer.
+       (Sized_relobj::set_kept_comdat_section): Remove kept parameter.
+       Add kept_object and kept_shndx parameters.  Change all callers.
+       (Sized_relobj::get_kept_comdat_section): Change return type to
+       bool.  Add kept_object and kept_shndx parameters.  Change all
+       callers.
+       * plugin.cc (Pluginobj::include_comdat_group): Update call to
+       Layout::find_or_add_kept_section.
+
+2009-07-09  Ian Lance Taylor  <iant@google.com>
+
+       * merge.cc (Object_merge_map::initialize_input_to_output_map):
+       Reserve space in the hash table.
+
+2009-07-06  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * fileread.cc (File_read::get_mtime): New method.
+       * fileread.h (Timespec): New structure.
+       (File_read::get_mtime): New method.
+       * incremental.cc (Incremental_inputs_entry_data::timestamp_usec):
+       Renamed from timestamp_nsec.
+       (Incremental_inputs_entry_write::timestamp_sec): Fix argument to
+       Elf_Xword.
+       (Incremental_inputs_entry_write::timestamp_usec): Renamed from
+       timestamp_nsec.
+       (Incremental_inputs::report_archive): Save mtime; style fix.
+       (Incremental_inputs::report_obejct): Save mtime; style fix.
+       (Incremental_inputs::report_script): Save mtime; style fix.
+       (Incremental_inputs::finalize_inputs): Style fix.
+       (Incremental_inputs::finalize): Style fix.
+       (Incremental_inputs::create_input_section_data): Store inputs
+       mtime.
+       * incremental.h (Incremental_inputs::report_script): Add mtime
+       argument.
+       (Incremental_inputs::Input_info::Input_info): Intialize only one
+       union member.
+       (Incremental_inputs::Input_info::archive): Move to nameless
+       union.
+       (Incremental_inputs::Input_info::obejct): Move to nameless union.
+       (Incremental_inputs::Input_info::script): Move to nameless union.
+       (Incremental_inputs::mtime): New field.
+       * script.cc (read_input_script): Pass file mtime to
+       Incremental_input.
+       * script.h (Script_info::inputs): Style fix.
+
+2009-07-01  Ian Lance Taylor  <ian@airs.com>
+
+       * freebsd.h (Target_freebsd::do_adjust_elf_header): Use size
+       instead of 32.
+
+2009-06-24  Ian Lance Taylor  <iant@google.com>
+
+       PR 10156
+       * layout.cc (Layout::choose_output_section): If we find an
+       existing section, update the flags.
+       (Layout::create_notes): New function, broken out of
+       Layout::finalize.
+       (Layout::finalize): Don't create note sections.
+       (Layout::create_note): Don't crash if linker script discards
+       section.
+       (Layout::create_gold_note): Likewise.
+       (Layout::create_build_id): Likewise.  Don't set
+       after_input_sections on the section.
+       (Layout::create_executable_stack_info): Remove target parameter.
+       Change caller.
+       * layout.h (class Layout): Declare create_notes.  Update
+       declaration of create_executable_stack_info.
+       * gold.cc (queue_middle_tasks): Call create_notes.
+       * output.cc (Output_section::update_flags_for_input_section): Move
+       here from output.h.  If SHF_ALLOC flag is newly set, mark address
+       invalid.
+       * output.h (Output_data::mark_address_invalid): New function.
+       (class Output_section): Only declare, not define,
+       update_flags_for_input_section.  Remove set_flags.
+
+2009-06-24  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.cc (Output_section_definition::
+       set_section_addresses): Rename shadowing local load_address to
+       laddr.
+
+2009-06-24  Ian Lance Taylor  <iant@google.com>
+
+       PR 10244
+       * reloc.cc (relocate_sections): Skip empty relocation sections.
+
+2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+       PR 10156
+       * layout.cc (Layout::create_note): Use choose_output_section
+       rather than make_output_section.
+
+2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+       PR 10237
+       * options.cc (General_options::parse_V): Set printed_version_.
+       (General_options::General_options): Initialize printed_version_.
+       * options.h (class General_options): Add printed_version_ field.
+       * gold.cc (queue_initial_tasks): If there are no input files,
+       don't give a fatal error if we printed the version information.
+       (queue_middle_tasks): If using -r with a shared object, give a
+       fatal error rather than an ordinary error.
+
+2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+       PR 10219
+       * layout.cc (Layout::Layout): Initialize have_stabstr_section_.
+       (Layout::make_output_section): Set have_stabstr_section_ if we see
+       a .stab*str section.
+       (Layout::finalize): Call link_stabs_sections.
+       (Layout::link_stabs_sections): New file.
+       * layout.h (class Layout): Add have_stabstr_section_ field.
+       Declare link_stabs_sections.
+
+2009-06-23  Doug Kwan  <dougkwan@google.com>
+
+       * Makefile.am (libgold_a_LIBADD): New.
+       (ld_new_DEPENDENCIES, ld_new_LDADD): Remove LIBOBJS
+       * Makefile.in: Regenerate.
+       * config.in (HAVE_DECL_MEMMEM, HAVE_DECL_STRNDUP): New.
+       * configure: Regenerate.
+       * configure.ac (AC_CHECK_DECLS): Add strndup and memmem.
+       * fileread.cc: Include sys/state.h
+       * gold.h: Declare memmem and strndup if found missing.
+       * gold_reloc.h: Include byteswap.h if HAVE_BYTESWAP_H is defined.
+
+2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Call AC_CHECK_DECLS using C, not C++.
+       * configure: Rebuild.
+
+2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+       PR 10147
+       * object.cc (Object::section_contents): Don't try to get a view if
+       the section has length zero.
+       (Object::handle_gnu_warning_section): If the section is empty, use
+       the name of the section as the warning.
+
+2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+       PR 10133
+       * stringpool.h (class Stringpool_template): Add optimize_ field.
+       (Stringpool_template::set_optimize): New function.
+       * stringpool.cc (Stringpool_template::Stringpool_template):
+       Initialize optimize_ field.
+       (Stringpool_template::set_string_offsets): Test local optimize
+       fild rather than parameter.
+       * layout.cc (Layout::Layout): Call set_optimize on the section
+       name stringpool.
+
+2009-06-22  Ian Lance Taylor  <iant@google.com>
+
+       PR 10030
+       * yyscript.y: Parse TARGET.
+       * script.cc (script_set_target): New function.
+       * script-c.h (script_set_target): Declare.
+       * options.cc (General_options::string_to_object_format): Rename
+       from string_to_object_format in anonymous namespace.  Change
+       callers.
+       * options.h (class General_options): Declare
+       string_to_object_format.
+
+2009-06-22  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.cc (Script_sections::create_segments): Don't put
+       program headers in a PT_LOAD segment if -n or -N.
+
+2009-06-22  Ian Lance Taylor  <iant@google.com>
+
+       PR 10141
+       * options.h (class General_options): Add -z lazy and -z now.  Sort
+       -z options into alphabetical order.
+       * layout.cc (Layout::finish_dynamic_section): Handle -z now.
+
+2009-06-21  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::make_output_section): Call
+       Target::new_output_section.
+       (Layout::attach_allocated_section_to_segment): Put large section
+       sections in a separate load segment with the large segment flag
+       set.
+       (Layout::segment_precedes): Sort large data segments after other
+       load segments.
+       (align_file_offset): New static function.
+       (Layout::set_segment_offsets): Use align_file_offset.
+       * output.h (class Output_section): Add is_small_section_ and
+       is_large_section_ fields.
+       (Output_section::is_small_section): New function.
+       (Output_section::set_is_small_section):  New function.
+       (Output_section::is_large_section): New function.
+       (Output_section::set_is_large_section): New function.
+       (Output_section::is_large_data_section): New function.
+       (class Output_segment): Add is_large_data_segment_ field.
+       (Output_segment::is_large_data_segment): New function.
+       (Output_segment::set_is_large_data_segment): New function.
+       * output.cc (Output_section::Output_section): Initialize new
+       fields.
+       (Output_segment::Output_segment): Likewise.
+       (Output_segment::add_output_section): Add assertion that large
+       data sections always go in large data segments.  Force small data
+       sections to the end of the list of data sections.  Force small BSS
+       sections to the start of the list of BSS sections.  For large BSS
+       sections to the end of the list of BSS sections.
+       * symtab.h (class Symbol): Declare is_common_shndx.
+       (Symbol::is_defined): Check Symbol::is_common_shndx.
+       (Symbol::is_common): Likewise.
+       (class Symbol_table): Define enum Commons_section_type.  Update
+       declarations.  Add small_commons_ and large_commons_ fields.
+       * symtab.cc (Symbol::is_common_shndx): New function.
+       (Symbol_table::Symbol_table): Initialize new fields.
+       (Symbol_table::add_from_object): Put small and large common
+       symbols in the right list.
+       (Symbol_table::sized_finalized_symbol): Check
+       Symbol::is_common_shndx.
+       (Symbol_table::sized_write_globals): Likewise.
+       * common.cc (Symbol_table::do_allocate_commons): Allocate new
+       common symbol lists.  Don't call do_allocate_commons_list if the
+       list is empty.
+       (Symbol_table::do_allocate_commons_list): Remove is_tls
+       parameter.  Add comons_section_type parameter.  Change all
+       callers.  Handle small and large common symbols.
+       * object.cc (Sized_relobj::do_finalize_local_symbols): Check
+       Symbol::is_common_shndx.
+       * resolve.cc (symbol_to_bits): Likewise.
+       * target.h (Target::small_common_shndx): New function.
+       (Target::small_common_section_flags): New function.
+       (Target::large_common_shndx): New function.
+       (Target::large_common_section_flags): New function.
+       (Target::new_output_section): New function.
+       (Target::Target_info): Add small_common_shndx, large_common_shndx,
+       small_common_section_flags, and large_common_section_flags
+       fields.
+       (Target::do_new_output_section): New virtual function.
+       * arm.cc (Target_arm::arm_info): Initialize new fields.
+       * i386.cc (Target_i386::i386_info): Likewise.
+       * powerpc.cc (Target_powerpc::powerpc_info) [all versions]:
+       Likewise.
+       * sparc.c (Target_sparc::sparc_info) [all versions]: Likewise.
+       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
+       (Target_x86_64::do_new_output_section): New function.
+       * configure.ac: Define conditional MCMODEL_MEDIUM.
+       * testsuite/Makefile.am (check_PROGRAMS): Add large.
+       (large_SOURCES, large_CFLAGS, large_DEPENDENCIES): Define.
+       (large_LDFLAGS): Define.
+       * testsuite/large.c: New file.
+       * testsuite/testfile.cc (Target_test::test_target_info):
+       Initialize new fields.
+       * configure, testsuite/Makefile.in: Rebuild.
+
+2009-06-05  Doug Kwan  <dougkwan@google.com>
+
+       * Makefile.am (CCFILES): Add target.cc.
+       * Makefile.in: Regenerate.
+       * i386.cc (class Target_i386): Define new virtual method to
+       override do_is_local_label_name in parent.
+       * object.cc (Sized_relobj::do_count_local_symbols): Discard
+       local symbols if --discard-locals or -X is given.
+       * options.h (class General_options): Declare new options
+       '--discard-locals' and '-X' for discarding locals.
+       * target.h (class Target): Define new methods is_local_label_name.
+       Declare new virtual method do_is_local_label_name.
+       * target.cc: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add discard_locals_test.
+       (check_SCRIPTS): Add discard_locals_test.sh.
+       (check_DATA): Add discard_local_tests.syms.
+       (discard_locals_test_SOURCES, discard_locals_test_LDFLAGS): Define.
+       (discard_local_tests.syms, discard_locals_test.o): New make rules.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/discard_locals_test.c: New file.
+       * testsuite/discard_locals_test.sh: Same.
+
+2009-06-05  Doug Kwan  <dougkwan@google.com>
+
+       * object.cc (Sized_relobj::Sized_relobj): Initialize
+       discarded_eh_frame_shndx_ to -1U.
+       (Sized_relobj::do_layout): Record index of a discard .eh_frame
+       section.
+       (Sized_relobj::do_count_local_symbols): Skip local symbols in
+       a discarded .eh_frame section.
+       (Sized_relobj::do_finalize_local_symbols): Ditto.
+       * object.h (class Sized_relobj): Declare new member
+       discarded_eh_frame_shndx_.
+       * testsuite/Makefile.am (check_PROGRAMS): Add local_labels_test.
+       (local_labels_test.o, local_labels_test): New rules.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-06-04  Doug Kwan  <dougkwan@google.com>
+
+       * layout.cc (Layout::section_name_mapping): Add mapping for
+       special ARM sections.
+
+2009-06-03  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (utils::sign_extend): Reverse test in gold_assert.
+       (utils::has_overflow): Same.
+
+2009-06-03  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::section_name_mapping): New array, replacing
+       Layout::linkonce_mapping.
+       (Layout::section_name_mapping_count): New variable, replacing
+       Layout::linkonce_mapping_count.
+       (Layout::linkonce_output_name): Remove.
+       (Layout::output_section_name): Rewrite.
+       * layout.h (class Layout): Rename Linkonce_mapping to
+       Section_name_mapping, linkonce_mapping to section_name_mapping,
+       linkonce_mapping_count to section_name_mapping_count.  Don't
+       declare linkonce_output_name.
+
+2009-06-03  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (namespace utils): New.
+       (Target_arm::reloc_is_non_pic): Define new method.
+       (class Arm_relocate_functions): New.
+       (Target_arm::Relocate::relocate): Handle relocation types used by
+       Android.
+
+2009-06-03  Ian Lance Taylor  <iant@google.com>
+
+       * arm.cc (Target_arm::scan::global): Use || instead of |.
+
+2009-06-02  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Target_arm::Scan::Scan):  Initialize
+       issued_non_pic_error_.
+       (class Target_arm::Scan): Declare new method check_non_pic.
+       Define new method symbol_needs_plt_entry.
+       Declare new data member issued_non_pic_error_.
+       (class Target_arm::Relocate): Declare new method
+       should_apply_static_reloc.
+       (Target_arm::may_need_copy_reloc): Handle STT_ARM_TFUNC.
+       (Target_arm::Scan::check_non_pic): Define new method.
+       (Target_arm::Scan::local): Handle a small subset of reloc types used
+       by Android.
+       (Target_arm::Scan::local): Same.
+       (Target_arm::Relocate::should_apply_statci_reloc): Define new method.
+
+2009-05-31  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * incremental.cc (Incremental_inputs::report_command_line): Filter
+       out --incremental-* options.
+
+2009-05-29  Doug Kwan  <dougkwan@google.com>
+
+       * arm.cc (Output_data_plt_arm): Forward declaration for new
+       template class.
+       (class Target_arm): Update comment.
+       (Target_arm::Target_arm): Initialize new data members GOT_,
+       PLT_, GOT_PLT_, REL_DYN_, COPY_RELOCS_ and DYNBSS_.
+       Declare new methods Target_arm::got_section, Target_arm::make_plt_entry
+       and Target_arm::rel_dyn_section.
+       Declare new_enum Target_arm::Got_type.
+       Declare new data members GOT_, PLT_, GOT_PLT_, REL_DYN_, COPY_RELOCS_
+       and DYNBSS_.
+       Update commments for member do_dynsym_value.
+       (Target_arm::got_size, Target_arm::plt_section,
+       Target_arm::may_need_copy_reloc and Target_arm::copy_reloc): Define
+       new methods inside class defintion.
+       (Target_arm::got_section): Define new method.
+       (Target_arm::rel_dyn_section): Same.
+       (Output_data_plt_arm): New template class.
+       (Output_data_plt_arm::Output_data_plt_arm): Define constructor.
+       (Output_data_plt_arm:do_adjust_output_section): Define new method.
+       (Output_data_plt_arm::add_entry): Same.
+       (Output_data_plt_arm::first_plt_entry): Define new
+       static data member for PLT instruction template.
+       (Output_data_plt_arm::plt_entry): Same.
+       (Output_data_plt_arm::do_write): Define new method.
+       (Target_arm::make_plt_entry): Same.
+       (Target_arm::do_finalize_sections): Same.
+       (Target_arm::do_dynsym_value): Same.
+
+2009-05-28  Doug Kwan  <dougkwan@google.com>
+
+       * Makefile.am (TARGETSOURCES): Add arm.cc.
+       (ALL_TARGETOBJECTS): Add arm.$(OBJEXT)
+       * Makefile.in: Regenerate.
+       * arm.cc: New file.
+       * configure.tgt: Add armbe*-*-*, armeb*-*-* and arm*-*-* targets.
+
+2009-05-26  Doug Kwan  <dougkwan@google.com>
+
+       * options.cc (General_options::parse_exclude_libs).  Fix a comment.
+       (General_options::check_excluded_libs): Strip off directories in
+       archive name before matching like GNU ld does.
+       * testsuite/Makefile.am (MOSTLYCLEANFILES,
+       exclude_libs_test_DEPENDENCIES): Add alt/libexclude_libs_test_3.a
+       (exclude_libs_test_LDFLAGS): Add linker option
+       -Wl,--exclude-libs,libexclude_libs_test_3
+       (exclude_libs_test_LADD): Add alt/libexclude_libs_test_3.a as
+       an explicit archive without using -l.
+       (alt/libexclude_libs_test_3.a): New make rule.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/exclude_libs_test.c : Declare lib3_default().
+       (main): Call it.
+       * exclude_libs_test.sh: Add tests for alt/exclude_libs_test_3.a.
+       * exclude_libs_test_3.c: New file.
+
+2009-05-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/id.po: New Indonesian translation.
+       * po/gold.pot: Updated template file.
+
+2009-05-22  Sriraman Tallam  <tmsriram@google.com>
+
+       * testsuite/Makefile.am: Add -ffunction-sections to compile
+       gc_comdat_test files.  Add -Wl,--gc-sections to build
+       gc_comdat_test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gc_comdat_test.sh: Fix the condition around grep.
+
+2009-05-21  Sriraman Tallam  <tmsriram@google.com>
+
+       * object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
+       kept comdat section was garbage collected.
+       * testsuite/Makefile.am: Add test gc_comdat_test.sh.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/gc_comdat_test.sh: New file.
+       * testsuite/gc_comdat_test_1.cc: New file.
+       * testsuite/gc_comdat_test_2.cc: New file.
+
+2009-05-19  Doug Kwan  <dougkwan@google.com>
+
+       * archive.cc (Archive::Archive): Move constructor from archive.h
+       to here.  Initialize no_export_.
+       (Archive::get_elf_object_for_member): Set no_export flag of object.
+       * archive.h (Archive::Archive): Move constructor body to
+       archive.cc.
+       (Archive::no_export): New method.
+       (Archive::no_export_): New field.
+       * object.h (Object::Object): Initialize no_export_ to false.
+       (Object::no_export, Object::set_no_export): New methods.
+       (Object::no_export_): New field.
+       * options.cc (General_options::parse_exclude_libs): New method.
+       (General_options::check_excluded_libs) Same.
+       * options.h (exclude_libs): New option.
+       (General_options::check_excluded_libs): New method declaration.
+       (General_options::excluded_libs_): New field.
+       * symtab.cc (Symbol_table::add_from_relobj): Hide symbols with
+       default or protected visibility if an object has no-export flag set.
+       testsuite/Makefile.am (check_PROGRAMS): Add exclude_libs_test.
+       (check_SCRIPTS): Add exclude_libs_test.sh.
+       (check_DATA): Add exclude_libs_test.syms.
+       (MOSTLYCLEANFILES): Add exclude_libs_test.syms,
+       libexclude_libs_test_1.a and libexclude_libs_test_2.a.
+       (exclude_libs_test_SOURCES, exclude_libs_test_DEPENDENCIES,
+       exclude_libs_test_LDFLAGS and exclude_libs_test_LDADD): Define.
+       (exclude_libs_test.syms, libexclude_libs_test_1.a,
+       libexclude_libs_test_2.a): New rules.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/exclude_libs_test.c: New file.
+       * testsuite/exclude_libs_test.sh: Ditto.
+       * testsuite/exclude_libs_test_1.c: Ditto.
+       * testsuite/exclude_libs_test_2.c: Ditto.
+
+2009-05-15  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Check for declarations for cases where libiberty.h
+       checks HAVE_DECL_xxx.
+       * configure, config.in: Rebuild.
+
+2009-05-15  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * gold.h (Incremental_argument_list): Remove (invalid) forward
+       declaration.
+       * incremental.cc (Incremental_inputs::report_achive): New method.
+       (Incremental_inputs::report_object): New method.
+       (Incremental_inputs::report_script): New method.
+       (Incremental_inputs::finalize_inputs): New method.
+       (Incremental_inputs::finalize): Call finalize_inputs().
+       (Incremental_inputs::sized_create_incremental_inputs_section_data):
+       Create inputs entries.
+       * incremental.h (Incremental_input_type): New enum.
+       (Incremental_inputs::Incremental_input): Initialize new fields.
+       (Incremental_inputs::report_inputs): New method.
+       (Incremental_inputs::report_achive): New method.
+       (Incremental_inputs::report_object): New method.
+       (Incremental_inputs::report_script): New method.
+       (Incremental_inputs::finalize_inputs): New method.
+       (Incremental_inputs::Input_info): New struct.
+       (Incremental_inputs::Input_info_map): New typedef.
+       (Incremental_inputs::lock_): New field.
+       (Incremental_inputs::Inputs_): New field.
+       (Incremental_inputs::Inputs_map): New field.
+       * main.cc (main): Call Incremental_input::report_inputs.
+       * options.h (Input_argument_list): Typedef moved from
+       Input_arguments.
+       (Input_file_group::Files): Remove, use ::Input_argument_list.
+       (Input_file_group::Input_argument_list): Remove, use
+       ::Input_argument_list.
+       * plugin.cc (Plugin_manager::add_input_file): Add error in
+       incremental build.
+       * read_syms.cc (do_read_syms): Call Incremental_input::report_*
+       functions.
+       * script.cc (read_input_script): Call
+       Incremental_input::report_script.
+       * script.h (Script_info): New class.
+
+2009-04-27  Ian Lance Taylor  <iant@google.com>
+
+       * x86_64.cc (do_adjust_output_section): Set entsize to
+       plt_entry_size.
+
+2009-04-23  Elliott Hughes  <enh@google.com>
+
+       * output.cc (Output_file::close): After short writes, continue
+       writing from the correct offset in the buffer being written.
+
+2009-04-23  Chris Demetriou  <cgd@google.com>
+
+       * configure.ac (HAVE_TR1_UNORDERED_MAP_REHASH): New define.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * gold.h: Avoid std::tr1::unordered_map and std::tr1::unordered_set
+       if HAVE_TR1_UNORDERED_MAP_REHASH is not defined.
+
+2009-04-21  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * incremental.cc (Incremental_inputs_header_data): Renamed from
+       Incremental_input_header_data.
+       (Incremental_inputs_header_data::data_size): New field.
+       (Incremental_inputs_header_data::put_input_file_count): Renamed
+       from input_file_count.
+       (Incremental_inputs_header_data::put_command_line_offset): Renamed
+       from command_line_offset.
+       (Incremental_inputs_header_data::put_reserved): Renamed from
+       put_reserved.
+       (Incremental_inputs_entry_data): Renamed from
+       Incremental_input_entry_data.
+       (Incremental_inputs_entry_data::data_size): New field.
+       (Incremental_inputs::report_command_line): New method.
+       (Incremental_inputs::finalize): New method.
+       (Incremental_inputs::create_incremental_inputs_data): New method.
+       (Incremental_inputs::sized_create_incremental_inputs_data): New method.
+       * incremental.h: New file.
+       * layout.cc (Layout::Layout): Handle new incremental_inputs_.
+       (Layout::finalize): Create incremental inputs section in
+       incremental builds.
+       (Layout::create_incremental_info_sections): New method.
+       * layout.h (Layout::incremental_inputs): New method.
+       (Layout::create_incremental_info_sections): New method.
+       (Layout::incremental_inputs_): New field.
+       * main.cc (main): Notify Incremental_input of the command line.
+
+2009-04-01  Ian Lance Taylor  <iant@google.com>
+           Mikolaj Zalewski  <mikolajz@google.com>
+
+       * gold.h (reserve_unordered_map): Define, three versions, one for
+       each version of Unordered_map.
+       * layout.cc (Layout::Layout): Remove options parameter.  Add
+       number_of_input_files parameter.  Don't initialize options_.
+       Initialize number_of_input_files_ and resized_signatures_.  Move
+       sections_are_attached_.
+       (Layout::layout_group): Reserve space for group_signatures_.
+       (Layout::find_or_add_kept_section): Change name parameter to be a
+       reference.  Resize signatures_ map when it gets large enough.
+       (Layout::layout_eh_frame): Use parameters->options() instead of
+       this->options_.
+       (Layout::make_output_section): Likewise.
+       (Layout::attach_allocated_section_to_segment): Likewise.
+       (Layout::finalize, Layout::create_executable_stack): Likewise.
+       (Layout::set_segment_offsets, Layout::create_interp): Likewise.
+       (Layout::finish_dynamic_section, Layout::write_binary): Likewise.
+       * layout.h (class Layout): Update declarations.  Remove options_
+       field.  Add number_of_input_files_ and resized_signatures_
+       fields.  Move sections_are_attached_ field.
+       * main.cc (main): Pass number of input files to Layout
+       constructor.  Don't pass options.
+
+2009-03-30  Ian Lance Taylor  <iant@google.com>
+
+       * ffsll.c (ffsll): Correct implementation.
+
+2009-03-27  Ian Lance Taylor  <iant@google.com>
+
+       * ffsll.c: New file.
+       * configure.ac: Call AC_REPLACE_FUNCS on ffsll.
+       * gold.h (ffsll): Declare if HAVE_FFSLL is not defined.
+       * ftruncate.c (ftruncate): Declare before definition.
+       * mremap.c (mremap): Likewise.
+       * pread.c (pread): Likewise.
+       * configure, Makefile.in, config.in: Rebuild.
+
+       * mremap.c: New file.
+       * configure.ac: Call AC_REPLACE_FUNCS on mremap.
+       * gold.h (MREMAP_MAYMOVE): Define if HAVE_MREMAP is not defined.
+       (mremap): Declare if HAVE_MREMAP is not defined.
+       * configure, Makefile.in, config.in: Rebuild.
+
+2009-03-27  Cary Coutant  <ccoutant@google.com>
+
+       * powerpc.cc (Target_powerpc::check_non_pic): Assert that output is
+       position independent.
+       * sparc.cc (Target_sparc::check_non_pic): Likewise.
+       * x86_64.cc (Target_x86_64::check_non_pic): Likewise.
+
+2009-03-24  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.h (needs_plt_entry): Check for unsatisfied reference from
+       an executable.
+       (needs_dynamic_reloc): Likewise.
+
+2009-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * yyscript.y (file_cmd): Recognize EXTERN.
+       (extern_name_list, extern_name_list_body): New nonterminals.
+       * script.cc (script_add_extern): Define.
+       * script-c.h (script_add_extern): Declare.
+
+2009-03-24  Rafael Avila de Espindola  <espindola@google.com>
+
+       * object.cc (is_elf_object): Define.
+       * object.h (is_elf_object): Declare.
+       * archive.cc (Archive::get_elf_object_for_member): Call
+       is_elf_object.
+       * readsyms.cc (Read_symbols::do_read_symbols): Likewise.
+
+2009-03-24  Elliott Hughes  <enh@google.com>
+
+       * output.cc (Output_file::map_anonymous): Define.
+       (Output_file::map): Use map_anonymous.  If the regular mmap fails,
+       try an anonymous one.  Report the size if the mmap fails.
+       * output.h (class Output_file): Declare map_anonymous.
+
+2009-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * target-select.cc (instantiate_target): Don't acquire the lock if
+       the instantiated_target_ field has already been set.
+
+2009-03-23  Ian Lance Taylor  <iant@google.com>
+
+       * gold-threads.h (class Initialize_lock): Define.
+       * gold-threads.cc (class Initialize_lock_once): Define.
+       (initialize_lock_control): New static variable.
+       (initialize_lock_pointer): New static variable.
+       (initialize_lock_once): New static function.
+       (Initialize_lock::Initialize_lock): Define.
+       (Initialize_lock::initialize): Define.
+       * target-select.h: Include "gold-threads.h".
+       (class Target_selector): Add lock_ and initialize_lock_ fields.
+       Don't define instantiate_target, just declare it.
+       * target-select.cc (Target_selector::Target_selector): Initialize
+       new fields.
+       (Target_selector::instantiate_target): Define.
+       * descriptors.h: Include "gold-threads.h".
+       (class Descriptors): Add initialize_lock_ field.
+       * descriptors.cc (Descriptors::Descriptors): Initialize new
+       field.
+       (Descriptors::open): Use initialize_lock_ field
+       * errors.h (class Errors): Add initialize_lock_ field.
+       * errors.cc (Errors::Errors): Initialize new field.
+       (Errors::initialize_lock): Use initialize_lock_ field.
+       * powerpc.cc (class Target_selector_powerpc): Remove
+       instantiated_target_ field.  In do_recognize call
+       instantiate_target rather than do_instantiate_target.  In
+       do_instantiate_target just allocate a new target.
+       * sparc.cc (class Target_selector_sparc): Likewise.
+
+       * freebsd.h: New file.
+       * i386.cc: Include "freebsd.h".
+       (Target_i386): Derive from Target_freebsd rather than
+       Sized_target.
+       (Target_selector_i386): Derive from Target_selector_freebsd rather
+       than Target_selector.
+       * x86_64.cc: Include "freebsd.h".
+       (Target_x86_64): Derive from Target_freebsd rather than
+       Sized_target.
+       (Target_selector_x86_64): Derive from Target_selector_freebsd
+       rather than Target_selector.
+       * target.h (class Target): Add adjust_elf_header and
+       do_adjust_elf_header.
+       * output.cc (Output_file_header:: do_sized_write): Call target
+       adjust_elf_header routine.
+       * configure.tgt: Set targ_osabi.
+       * configure.ac: Define GOLD_DEFAULT_OSABI.
+       * parameters.cc (Parameters::default_target): Pass
+       GOLD_DEFAULT_OSABI to select_target.
+       * target-select.h (class Target_selector): Make instantiate_target
+       protected rather than private.
+       * Makefile.am (HFILES): Add freebsd.h.
+       * configure, Makefile.in, config.in: Rebuild.
+
+       * merge.cc (do_add_input_section): Correct pend value.  Change
+       message about last entry not being null terminated from error to
+       warning.
+
+2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * incremental.cc: New file.
+       * Makefile.am (CCFILES): Add incremental.cc.
+       * Makefile.in: Rebuild.
+
+2009-03-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * layout.cc (Layout::output_section_name): Preserve names
+       of '.note.' sections.
+
+2009-03-19  Ian Lance Taylor  <iant@google.com>
+
+       * descriptors.cc (Descriptors::open): Check that the options are
+       valid before using them.
+
+2009-03-18  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.h: Include <list>.
+       (class Script_sections): Change Sections_elements from std::vector
+       to std::list.  Typedef public Elements_iterator.  Add
+       orphan_section_placement_, data_segment_align_start_, and
+       saw_data_segment_align_ fields.  Remove data_segment_align_index_
+       field.
+       * script-sections.cc (class Orphan_section_placement): New class.
+       (class Sections_element): Add virtual functions is_relro and
+       orphan_section_init.  Remove virtual function place_orphan_here.
+       (class Output_section_definition): Add is_relro and
+       orphan_section_init.  Remove place_orphan_here.
+       (class Orphan_output_section): Likewise.
+       (Script_sections::Script_sections): Update for field changes.
+       (Script_sections::data_segment_align): Set saw_data_segment_align_
+       and data_segment_align_start_, not data_segment_align_index.
+       (Script_sections::data_segment_relro_end): Check
+       saw_data_segment_align_.  Use data_segment_align_start_ rather
+       than data_segment_align_index_.
+       (Script_sections::place_orphan): Rewrite to use
+       Orphan_section_placement.
+
+2009-03-17  Ian Lance Taylor  <iant@google.com>
+
+       * archive.cc (Archive::add_symbols): Check for a version attached
+       to the symbol name in the archive map.
+       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_11.
+       (ver_test_11_SOURCES, ver_test_11_DEPENDENCIES): Define.
+       (ver_test_11_LDFLAGS, ver_test_11_LDADD): Define.
+       (ver_test_11.a): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+       * configure.ac: Check for chsize and posix_fallocate.  Replace
+       ftruncate.
+       * ftruncate.c: New file, from gnulib.
+       * output.cc (posix_fallocate): Define dummy version if not
+       HAVE_POSIX_FALLOCATE.
+       (Output_file::map): Call posix_fallocate rather than lseek and
+       write.
+       * gold.h (ftruncate): Declare if not HAVE_FTRUNCATE.
+       * configure, Makefile.in, config.in: Rebuild.
+
+2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * layout.h (Layout::create_note): Add section_name parameter.
+       * layout.cc (Layout::create_note): Likewise.
+       (Layout::create_build_id, Layout::create_gold_note): Fix callers.
+
+2009-03-17  Ian Lance Taylor  <iant@google.com>
+
+       * descriptors.cc: Include "options.h".
+       (FD_CLOEXEC, O_CLOEXEC): Define if not defined.
+       (Descriptors::open): Always use O_CLOEXEC when opening a new
+       descriptor.  If we have a plugin, and O_CLOEXEC was not defined,
+       then set FD_CLOEXEC.
+
+       * sparc.cc (class Target_sparc): Add has_got_section.
+       (Target_sparc::Scan::global): If we see _GLOBAL_OFFSET_TABLE_,
+       make sure we have a GOT section.
+
+       * sparc.cc (optimize_tls_reloc): Recognize R_SPARC_TLS_IE_ADD.
+       (Target_sparc::Scan::local): Likewise.
+       (Target_sparc::Scan::global): Likewise.
+       (Target_sparc::Relocate::relocate): Likewise.
+       (Target_sparc::Relocate::relocate_tls): Likewise.
+
+       * symtab.cc (Symbol_table::define_default_version): New function,
+       broken out of add_from_object.
+       (Symbol_table::add_from_object): Call define_default_version.
+       (Symbol_table::define_special_symbol): Add resolve_oldsym
+       parameter.  Change all callers.  If the version for a symbol comes
+       from a version script, resolve it with the symbol with the same
+       name with no version.  Also add the symbol without a version if
+       appropriate.
+       (do_define_in_output_data): If resolving with oldsym, don't delete
+       sym.
+       (do_define_in_output_segment): Likewise.
+       (do_define_as_constant): Likewise.
+       * symtab.h (class Symbol_table): Update declarations.
+
+2009-03-13  Ian Lance Taylor  <iant@google.com>
+
+       * readsyms.cc (Read_symbols::incompatible_warning): New function.
+       (Read_symbols::requeue): New function.
+       (Read_symbols::do_read_symbols): If make_elf_object fails because
+       the target type is not configured, and the file was searched for,
+       issue a warning and retry with the next directory.
+       (Add_symbols::run): If the file has an incompatible format, and
+       it was searched for, requeue the Read_symbols task.  On error,
+       release the object.
+       * readsyms.h (class Read_symbols): Add dirindex_ field.  Add
+       dirindex parameter to constructor.  Change all callers.  Declare
+       incompatible_warning and requeue.
+       (class Add_symbols): Add dirpath_, dirindex_, mapfile_,
+       input_argument_ and input_group_ fields.  Add them to
+       constructor.  Change all callers.
+       (class Read_script): Add dirindex_ field.  Add it to constructor.
+       Change all callers.
+       * archive.cc (Archive::setup): Remove input_objects parameter.
+       Change all callers.
+       (Archive::get_file_and_offset): Likewise.
+       (Archive::read_all_symbols): Likewise.
+       (Archive::read_symbols): Likewise.
+       (Archive::get_elf_object_for_member): Remove input_objects
+       parameter.  Add punconfigured parameter.  Change all callers.
+       (Archive::add_symbols): Change return type to bool.  Check return
+       value of include_member.
+       (Archive::include_all_members): Likewise.
+       (Archive::include_member): Change return type to bool.  Return
+       false if first included object has incompatible target.  Set
+       included_member_ field.
+       (Add_archive_symbols::run): If add_symbols returns false, requeue
+       Read_symbols task.
+       * archive.h (class Archive): Add included_member_ field.
+       Initialize it in constructor.  Add input_file and searched_for
+       methods.  Update declarations.
+       (class Add_archive_symbols): Add dirpath_, dirindex_, and
+       input_argument_ fields.  Add them to constructor.  Change all
+       callers.
+       * script.cc: Include "target-select.h".
+       (class Parser_closure): Add skip_on_incompatible_target_ and
+       found_incompatible_target_ fields.  Add
+       skip_on_incompatible_target parameter to constructor.  Change all
+       callers.  Add methods skip_on_incompatible_target,
+       clear_skip_on_incompatible_target, found_incompatible_target, and
+       set_found_incompatible_target.
+       (read_input_script): Add dirindex parameter.  Change all callers.
+       If parser finds an incompatible target, requeue Read_symbols
+       task.
+       (script_set_symbol): Clear skip_on_incompatible_target in
+       closure.
+       (script_add_assertion, script_parse_option): Likewise.
+       (script_start_sections, script_add_phdr): Likewise.
+       (script_check_output_format): New function.
+       * script.h (read_input_script): Update declaration.
+       * script-c.h (script_check_output_format): Declare.
+       * yyscript.y (file_cmd): Handle OUTPUT_FORMAT.
+       (ignore_cmd): Remove OUTPUT_FORMAT.
+       * fileread.cc (Input_file::Input_file): Add explicit this.
+       (Input_file::will_search_for): New function.
+       (Input_file::open): Add pindex parameter.  Change all callers.
+       * fileread.h (class Input_file): Add input_file_argument method.
+       Declare will_search_for.  Update declarations.
+       * object.cc (make_elf_object): Add punconfigured parameter.
+       Change all callers.
+       * object.h (class Object): Make input_file public.  Add
+       searched_for method.
+       (make_elf_object): Update declaration.
+       * dirsearch.cc (Dirsearch::find): Add pindex parameter.  Use it to
+       restart search.
+       * dirsearch.h (class Dirsearch): Update declaration.
+       * options.h (class General_options): Add --warn-search-mismatch.
+       * parameters.cc (Parameters::is_compatible_target): New function.
+       * parameters.h (class Parameters): Declare is_compatible_target.
+       * workqueue.cc (Workqueue::add_blocker): New function.
+       * workqueue.h (class Workqueue): Declare add_blocker.
+
+       * fileread.cc (Input_file::open): Remove options parameter.
+       Change all callers.
+       (Input_file::open_binary): Likewise.
+       * script.cc (read_input_script): Likewise.
+       * readsyms.h (class Read_symbols): Remove options_ field.  Remove
+       options parameter from constructor.  Change all callers.
+       (class Read_script): Likewise.
+       * fileread.h (class Input_file): Update declarations.
+       * script.h (read_input_script): Update declaration.
+
+2009-03-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: New Spanish translation.
+
+2009-03-06  Cary Coutant  <ccoutant@google.com>
+
+       * options.cc (parse_short_option): Keep dash_z from registering itself.
+
+2009-03-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 9918
+       * target-reloc.h (relocate_section): Pass output_section to
+       relocate.
+       * i386.cc (Target_i386::should_apply_static_reloc): Add
+       output_section parameter.  Change all callers.
+       (Target_i386::Relocate::relocate): Add output_section parameter.
+       * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
+       * sparc.cc (Target_sparc::Relocate::relocate): Likewise.
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
+       * testsuite/two_file_shared.sh: New script.
+       * testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh.
+       (check_DATA): Add two_file_shared.dbg.
+       (two_file_shared.dbg): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2009-03-01  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Check for byteswap.h.
+       * configure: Rebuild.
+       * config.in: Rebuild.
+
+2009-03-01  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * layout.cc (Layout::find_or_add_kept_section): New function.
+       (Layout::add_comdat): Removed.
+       * layout.h (struct Kept_section): Move out of class Layout.
+       Remove trailing underscores from field names.  Add group_sections
+       field.  Rename group_ field to is_group.  Change all uses.
+       (class Layout): Declare find_or_add_kept_section, not add_comdat.
+       * object.cc (Sized_relobj::Sized_relobj): Don't initialize
+       comdat_groups_ field.
+       (Sized_relobj::include_section_group): Use
+       find_or_add_kept_section and Kept_section::group_sections.
+       (Sized_relobj::include_linkonce_section): Likewise.
+       * object.cc (class Sized_relobj): Don't define Comdat_group or
+       Comdat_group_table.  Remove find_comdat_group and
+       add_comdat_group.  Remove comdat_groups_ field.
+       * plugin.cc (include_comdat_group): Use
+       Layout::find_or_add_kept_section.
+
+2009-02-28  Ian Lance Taylor  <iant@google.com>
+
+       * README: --gc-sections and map files are now supported.  Document
+       some build requirements.
+
+       PR 6992
+       * symtab.cc (Symbol_table::sized_write_section_symbol): In a
+       relocatable link set the value of the section symbol to zero.
+       * object.cc (Sized_relobj::do_finalize_local_symbols): In a
+       relocatable link don't include the section address in the local
+       symbol value.
+
+2009-02-27  Ian Lance Taylor  <iant@google.com>
+
+       PR 6811
+       * options.h (class Search_directory): Add is_system_directory.
+       (class General_options): Declare is_in_system_directory.
+       * options.cc (get_relative_sysroot): Make static.
+       (get_default_sysroot): Make static.
+       (General_optoins::is_in_system_directory): New function.
+       * fileread.cc (Input_file::is_in_system_directory): New function.
+       * fileread.h (class Input_file): Declare is_in_system_directory.
+       * object.h (class Object): Add is_in_system_directory.
+       (class Input_objects): Remove system_library_directory_ field.
+       * object.cc (Input_objects::add_object): Don't set
+       system_library_directory_.
+       (input_objects::found_in_system_library_directory): Remove.
+       * symtab.cc (Symbol_table::write_globals): Remove input_objects
+       parameter.  Change all callers.
+       (Symbol_table::sized_write_globals): Likewise.
+       (Symbol_table::warn_about_undefined_dynobj_symbol): Likewise.
+       Call Object::is_in_system_directory.
+       * symtab.h (class Symbol_table): Update declarations.
+
+       PR 5990
+       * descriptors.h (Open_descriptor): Add is_on_stack field.
+       * descriptors.cc (Descriptors::open): If the descriptor is on the
+       top of the stack, remove it.  Initialize is_on_stack field.
+       (Descriptors::release): Only add pod to stack if it is not on the
+       stack already.
+       (Descriptors::close_some_descriptor): Clear stack_next and
+       is_on_stack fields.
+
+       PR 7091
+       * output.cc (Output_section::find_starting_output_address): Rename
+       from starting_output_address; add PADDR parameter; change return
+       type.
+       * output.h (class Output_section): Declare
+       find_starting_output_address instead of starting_output_address.
+       * object.cc (Sized_relobj::do_finalize_local_symbols): Handle a
+       section symbol for which we can't find a merge section.
+
+       PR 9836
+       * symtab.cc (Symbol_table::add_from_object): If the visibility is
+       hidden or internal, force the symbol to be local.
+       * resolve.cc (Symbol::override_visibility): Define.
+       (Symbol::override_base): Use override_visibility.
+       (Symbol_table::resolve): Likewise.
+       (Symbol::override_base_with_special): Likewise.
+       (Symbol_table::override_with_special): If the visibility is hidden
+       or internal, force the symbol to be local.
+       * symtab.h (class Symbol): Add set_visibility and
+       override_visibility.
+       * testsuite/ver_test_1.sh: New file.
+       * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_1.sh.
+       (check_DATA): Add ver_test_1.syms.
+       (ver_test_1.syms): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2009-02-25  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::choose_output_section): Don't rename sections
+       when using a linker script that has a SECTIONS clause.
+       * Makefile.in: Regenerate.
+
+       * testsuite/Makefile.am (script_test_5.sh): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/script_test_5.cc: New file.
+       * testsuite/script_test_5.sh: New file.
+       * testsuite/script_test_5.t: New file.
+
+2009-02-13  Rafael Avila de Espindola  <espindola@google.com>
+
+       * archive.cc (Archive::include_member): Update calls to add_symbols.
+       * dynobj.cc (Sized_dynobj<size, big_endian>::make_version_map): Add
+       the Layout argument.
+       * dynobj.h (do_add_symbols): Add the Layout argument.
+       * object.cc (Sized_relobj<size, big_endian>::do_add_symbols): Add the
+       Layout argument.
+       * object.h (Object::add_symbols): Add the Layout argument.
+       (Object::do_add_symbols): Add the Layout argument.
+       (Sized_relobj::do_add_symbols): Add the Layout argument.
+       * plugin.cc (Sized_pluginobj<size, big_endian>::do_add_symbols):
+       Unify the two versions.
+       (Add_plugin_symbols): Remove.
+       * plugin.h (Pluginobj::add_symbols, Pluginobj::do_add_symbols): Remove.
+       (Sized_pluginobj::do_add_symbols): Unify the two versions.
+       (Add_plugin_symbols): Remove.
+       * readsyms.cc (Read_symbols::do_read_symbols): Update call to
+       Add_symbols. Use Add_symbols instead of Add_plugin_symbols.
+       (Add_symbols::run): Make it work with Pulginobj.
+
+2009-02-06  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj::do_layout): Make info message start
+       with lower case letter.
+
+2009-02-06  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * binary.cc: Fix file comment.
+
+       * options.h (enum Incremental_disposition): Define.
+       (class General_options): Add new options: --incremental,
+       --incremental_changed, --incremental_unchanged,
+       --incremental_unknown.  Add incremental_disposition_ and
+       implicit_incremental_ fields.
+       (General_options::incremental_disposition): New function.
+       (class Position_dependent_options): Add incremental_disposition
+       option.
+       (Position_dependent_options::copy_from_options): Set incremental
+       dispositions.
+       * options.cc (General_options::parse_incremental_changed): New
+       function.
+       (General_options::parse_incremental_unchanged): New function.
+       (General_options::parse_incremental_unknown): New function.
+       (General_options::General_options): Initialize new fields
+       incremental_disposition_ and implicit_incremental_.
+       (General_options::finalize): Check for uasge of --incremental-*
+       without --incremental.
+
+2009-02-06  Chris Demetriou  <cgd@google.com>
+
+       * gold.h (gold_undefined_symbol): Change to take only a Symbol
+       pointer and to report location as the file name associated with
+       the symbol.
+       (gold_undefined_symbol_at_location): New function to replace the
+       old gold_undefined_symbol functionality.
+       * target-reloc.h (relocate_section): Update to use
+       gold_undefined_symbol_at_location.
+       * symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
+       Call gold_undefined_symbol function rather than gold_error.
+       * errors.h (Errors::undefined_symbol): Take location as a
+       string, rather than calculating it from a relocation.
+       * errors.cc (Errors::fatal): Print "fatal error:" before the
+       formatted message.
+       (Errors::error, Errors::error_at_location): Print "error: "
+       before the formatted message.
+       (Errors::undefined_symbol): Take location as a string, rather
+       than calculating it from a relocation.
+       (gold_undefined_symbol_at_location): New function akin to
+       old gold_undefined_symbol, calculates location from relocation.
+       (gold_undefined_symbol): Change to take only a Symbol pointer
+       and to report location as the file name associated with the symbol.
+       * testsuite/debug_msg.sh: Update for changed error messages.
+       * testsuite/undef_symbol.sh: Likewise.
+
+2009-02-04  Duncan Sands  <baldrick@free.fr>
+
+       PR 9812
+       * reduced_debug_output.h
+       (Output_reduced_debug_abbrev_section::failed): Use format for
+       gold_warning.
+       (Output_reduced_debug_info_section::faild): Likewise.
+
+2009-01-31  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * script.cc (Lazy_demangler): New class.
+       (Version_script_info::get_symbol_version_helper): Demangle a
+       symbol only once.
+
+2009-01-29  Cary Coutant  <ccoutant@google.com>
+
+       * i386.cc (Target_i386::Relocate::relocate): Recognize non-PIC calls
+       to __tls_get_addr.
+       * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
+
+2009-01-28  Ian Lance Taylor  <iant@google.com>
+
+       * version.cc (version_string): Bump to 1.9.
+
+       * gold.h: Include <cstring> and <stdint.h>.
+       * version.cc: Include <cstdio>.
+       * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a
+       warning.
+       * reduced_debug_output.cc (insert_into_vector): Rename from
+       Insert_into_vector; change all callers.  Use Swap_unaligned to
+       avoid aliasing issue; remove union since it is unnecessary.
+
+2009-01-27  Sriraman Tallam  <tmsriram@google.com>
+
+       * Makefile.am (CCFILES): Add gc.cc.
+       (HFILES): Add gc.h.
+       * Makefile.in: Regenerate.
+       * gold.cc (Gc_runner): New class.
+       (queue_initial_tasks): Call garbage collection related tasks
+       when corresponding options are invoked.
+       (queue_middle_gc_tasks): New function.
+       (queue_middle_tasks): Reorder tasks to allow relocs to be read and
+       processed early before laying out sections during garbage collection.
+       * gold.h (queue_middle_gc_tasks): New function.
+       (is_prefix_of): Move from "layout.cc".
+       * i386.cc (Target_i386::gc_process_relocs): New function.
+       * layout.cc (is_prefix_of): Remove. Move to "gold.h"
+       * main.cc (main): Create object of class "Garbage_collection".
+       * object.cc (Relobj::copy_symbols_data): New function.
+       (Relobj::is_section_name_included): New function.
+       (Sized_relobj::do_layout): Allow this function to be called twice
+       during garbage collection and defer layout of section during the
+       first call.
+       * object.h (Relobj::get_symbols_data): New function.
+       (Relobj::is_section_name_included): New function.
+       (Relobj::copy_symbols_data): New function.
+       (Relobj::set_symbols_data): New function.
+       (Relobj::get_relocs_data): New function.
+       (Relobj::set_relocs_data): New function.
+       (Relobj::is_output_section_offset_invalid): New pure virtual function.
+       (Relobj::gc_process_relocs): New function.
+       (Relobj::do_gc_process_relocs): New pure virtual function.
+       (Relobj::sd_): New data member.
+       (Sized_relobj::is_output_section_offset_invalid): New function.
+       (Sized_relobj::do_gc_process_relocs): New function.
+       * options.h (General_options::gc_sections): Modify to not be a no-op.
+       (General_options::print_gc_sections): New option.
+       * plugin.cc (Plugin_finish::run): Remove function call to
+       Plugin_manager::layout_deferred_objects.  Move it to "gold.cc".
+       * powerpc.cc (Target_powerpc::gc_process_relocs): New function.
+       * reloc.cc (Read_relocs::run): Add task to process relocs and
+       determine unreferenced sections when doing garbage collection.
+       (Gc_process_relocs): New class.
+       (Sized_relobj::do_gc_process_relocs): New function.
+       (Sized_relobj::do_scan_relocs): Don't try to scan the relocs for
+       sections that are garbage collected.
+       * reloc.h (Gc_process_relocs): New class.
+       * sparc.cc (Target_sparc::gc_process_relocs): New function.
+       * symtab.cc (Symbol::should_add_dynsym_entry): Do not add entries for
+       symbols whose corresponding sections are garbage collected.
+       (Symbol_table::Symbol_table): Add new parameter for the garbage
+       collection object.
+       (Symbol_table::gc_mark_undef_symbols): New function.
+       (Symbol_table::gc_mark_symbol_for_shlib): New function.
+       (Symbol_table::gc_mark_dyn_syms): New function.
+       (Symbol_table::resolve): Do not treat symbols seen in dynamic objects
+       as garbage.
+       (Symbol_table::add_from_object): Likewise.
+       (Symbol_table::add_from_relobj): When building shared objects, do not
+       treat externally visible symbols as garbage.
+       (Symbol_table::sized_finalize_symbol): Do not check dynamic symbol
+       table information for static and relocatable links.
+       * symtab.h (Symbol_table::set_gc): New function.
+       (Symbol_table::gc): New function.
+       (Symbol_table::gc_mark_undef_symbols): New function.
+       (Symbol_table::gc_mark_symbol_for_shlib): New function.
+       (Symbol_table::gc_mark_dyn_syms): New function.
+       (Symbol_table::gc_): New data member.
+       * target.h (Sized_target::gc_process_relocs): New pure virtual
+       function.
+       * x86_64.cc (Target_x86_64::gc_process_relocs): New function.
+       * testsuite/testfile.cc (Target_test::gc_process_relocs): New function.
+
+2009-01-20  Chris Faylor <me.sourceware@sourceware.org>
+
+       * options.h (General_options::gc_sections): Define as a no-op for now.
+       (General_options::no_keep_memory): Ditto.
+       (General_options::Bshareable): Define.
+       * options.cc (General_options::finalize): Honor -Bshareable.
+
+2009-01-20  Andreas Schwab  <schwab@suse.de>
+
+       * powerpc.cc (Powerpc_relocate_functions::rel16_ha): Don't try to
+       read the value in the contents, since we don't use it.  Use the
+       template endianness when writing.
+       (Relocate::relocate): Use it for R_PPC_REL16_HA.
+
+2009-01-19  Andreas Schwab  <schwab@suse.de>
+
+       * configure.tgt (powerpc64-*): Fix targ_obj.
+
+2009-01-15  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj::write_local_symbols): Don't write out
+       local symbols when stripping all symbols.
+
+2009-01-14  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (Output_reloc): Add explicit instantiations.
+
+2009-01-14  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Archive::get_elf_object_for_member): Remove call
+       to File_read::claim_for_plugin.
+       * descriptors.cc (Descriptors::open): Remove reference to
+       is_claimed.
+       (Descriptors::claim_for_plugin): Remove.
+       * descriptors.h (Descriptors::claim_for_plugin): Remove.
+       (Descriptors::is_claimed): Remove.
+       (claim_descriptor_for_plugin): Remove.
+       * fileread.cc (File_read::claim_for_plugin): Remove.
+       * fileread.h (File_read::claim_for_plugin): Remove.
+       (File_read::descriptor): Reopen descriptor if necessary.
+       * plugin.cc  (Plugin::load): Add two new APIs to transfer vector.
+       (Plugin_manager::all_symbols_read): Add task parameter. Change
+       all callers.
+       (Plugin_manager::get_input_file): New function.
+       (Plugin_manager::release_input_file): New function.
+       (Pluginobj::Pluginobj): Add filesize parameter and initialize
+       corresponding data member.
+       (Sized_pluginobj::Sized_pluginobj): Add filesize parameter
+       and pass to base constructor. Change all callers.
+       (get_input_file, release_input_file): New functions.
+       (make_sized_plugin_object): Add filesize parameter. Change all callers.
+       * plugin.h (Plugin_manager::Plugin_manager): Initialize task_ member.
+       (Plugin_manager::all_symbols_read): Add task parameter.
+       (Plugin_manager::get_input_file): New function.
+       (Plugin_manager::release_input_file): New function.
+       (Plugin_manager::task_): New data member.
+       (Pluginobj::Pluginobj): Add filesize parameter.
+       (Pluginobj::filename): New function.
+       (Pluginobj::descriptor): New function.
+       (Pluginobj::filesize): New function.
+       (Pluginobj::filesize_): New data member.
+       (Sized_pluginobj::Sized_pluginobj): Add filesize parameter.
+       * readsyms.cc (Read_symbols::do_read_symbols): Remove call to
+       File_read::claim_for_plugin; use Object::unlock to unlock the file.
+
+       * testsuite/Makefile.am (plugin_test_4): New test case for plugins
+       with archive libraries.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test.c (struct sym_info): New type.
+       (get_input_file, release_input_file): New static variables.
+       (onload): Capture new transfer vector entries.
+       (claim_file_hook): Stop reading at end of file according to filesize.
+       Factor out parsing of readelf output into separate function.
+       (all_symbols_read_hook): Exercise get_input_file and release_input_file
+       APIs and get the source file name from the symbol table.  Convert
+       source file name to corresponding object file name.  Print info
+       message when adding new input files.
+       (parse_readelf_line): New function.
+       * testsuite/plugin_test_1.sh: Add checks for new info messages.
+       * testsuite/plugin_test_2.sh: Likewise.
+       * testsuite/plugin_test_3.sh: Likewise.
+       * testsuite/plugin_test_4.sh: New test case.
+
+2009-01-07  Ian Lance Taylor  <iant@google.com>
+
+       * version.cc (version_string): Bump to 1.8.
+
+2008-12-23  Cary Coutant  <ccoutant@google.com>
+
+       * gold.cc (gold_exit): Call plugin cleanup handlers on exit.
+       * plugin.cc (Plugin_manager::finish): Rename as
+       layout_deferred_objects.  Move cleanup to separate function.
+       (Plugin_manager::cleanup): New function.
+       (Plugin_finish::run): Call layout_deferred_objects and cleanup
+       separately.
+       * plugin.h (Plugin_manager::finish): Rename as
+       layout_deferred_objects.
+       (Plugin_manager::cleanup): New function.
+       (Plugin_manager::cleanup_done): New field.
+
+2008-12-23  Cary Coutant  <ccoutant@google.com>
+
+       * plugin.cc (is_visible_from_outside): New function.
+       (Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside
+       so we don't return "IR only" status for exported symbols or -r links.
+
+       * testsuite/Makefile.am (plugin_test_3): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test_3.sh: New file.
+
+2008-12-22  Cary Coutant  <ccoutant@google.com>
+
+       * object.cc (Sized_relobj::layout_section): New function.
+       (Sized_relobj::do_layout): Defer layout of input sections until after
+       plugin has provided replacement files.
+       (Sized_relobj::do_layout_deferred_sections): New function.
+       * object.h (Relobj::set_section_offset): Remove virtual keyword.
+       (Relobj::layout_deferred_sections): New function.
+       (Relobj::do_layout_deferred_sections): New function.
+       (Sized_relobj::do_layout_deferred_sections): New function.
+       (Sized_relobj::layout_section): New function.
+       (Sized_relobj::Deferred_layout): New structure.
+       (Sized_relobj::deferred_layout_): New field.
+       * plugin.cc (Plugin_manager::finish): Renamed, was cleanup.
+       Change all callers.  Layout deferred sections.
+       (class Plugin_finish): Renamed, was Plugin_cleanup.  Change all
+       references.
+       (Plugin_hook::run): Move code from do_plugin_hook inline.
+       (Plugin_hook::do_plugin_hook): Remove.
+       * plugin.h (Plugin_manager::Plugin_manager): Add missing initializers.
+       (Plugin_manager::finish): Renamed, was cleanup.
+       (Plugin_manager::should_defer_layout): New function.
+       (Plugin_manager::add_deferred_layout_object): New function.
+       (Plugin_manager::Deferred_layout_list): New type.
+       (Plugin_manager::deferred_layout_objects_): New field.
+       (Plugin_hook::do_plugin_hook): Remove.
+
+2008-12-17  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add --no case for
+       --export-dynamic.
+
+2008-12-16  Cary Coutant  <ccoutant@google.com>
+
+       * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
+       vector.
+       (Plugin_manager::claim_file): Create plugin object even if
+       plugin did not call the add_symbols callback.
+       (Plugin_obj::get_symbol_resolution_info): Guard against plugin
+       asking for more symbols than were added.
+       * testsuite/Makefile.am (plugin_test_1): Add test case with
+       no global symbols.
+       (empty.syms): New target.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test.c (claim_file_hook): Add new debug
+       message. Don't call add_symbols if no globals.
+       (all_symbols_read_hook): Don't provide replacement for empty
+       claimed file.
+
+2008-12-12  Ian Lance Taylor  <iant@google.com>
+
+       * target-reloc.h (Default_scan_relocatable_relocs): Only discard
+       r_type == 0 for a local symbol with r_sym == 0.
+       (scan_relocatable_relocs): Pass r_sym to
+       local_non_section_strategy.
+       * reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add
+       r_sym parameter.
+
+       * configure.ac: Update test for TLS descriptors: they are
+       supported as of glibc 2.9.
+       * configure: Rebuild.
+
+2008-12-11  Ian Lance Taylor  <iant@google.com>
+
+       PR 7091
+       * target-reloc.h (Default_scan_relocatable_relocs): For each
+       function, map r_type == 0 to RELOC_DISCARD.
+
+2008-12-10  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacement
+       object to override a kept COMDAT group from a plugin object.
+
+2008-12-09  Ian Lance Taylor  <iant@google.com>
+
+       PR 7088
+       * yyscript.y (file_cmd): Handle INPUT.
+
+       * testsuite/initpri1.c: Change all declarations to be full
+       prototypes by adding void, to avoid compiler warnings.
+
+2008-12-05  Rafael Avila de Espindola  <espindola@google.com>
+
+       * options.cc (General_options::parse_plugin_opt): New.
+       (General_options::add_plugin): The argument now is just the filename.
+       (General_options::add_plugin_option): New.
+       * options.h (plugin_opt): New.
+       (add_plugin): Change argument name.
+       (add_plugin_option): New.
+       * plugin.cc (Plugin::load): Don't parse the plugin option.
+       * plugin.h (Plugin::Plugin): Rename argument. Init filename_.
+       (Plugin::add_option): New.
+       (Plugin::args_): Change type.
+       (Plugin::filename_): New.
+       (Plugin_manager::add_plugin_option): New.
+       * testsuite/Makefile.am (plugin_test_1): Use new syntax.
+       * testsuite/Makefile.in: Regenerate.
+
+2008-12-05  Cary Coutant  <ccoutant@google.com>
+
+       * layout.cc (Layout::include_section): Check for SHF_EXCLUDE.
+       Handle --strip-lto-sections option.
+       * options.h (strip_lto_sections): New option.
+
+2008-12-01  Cary Coutant  <ccoutant@google.com>
+
+       * plugin.cc (ld_plugin_message): Change format parameter to const.
+       Fix mismatch between new[] and delete.
+
+2008-11-14  Cary Coutant  <ccoutant@google.com>
+
+       * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
+       instead of -1U.
+
+2008-11-05  Craig Silverstein  <csilvers@google.com>
+
+       * options.cc (General_options::parse_dynamic_list): New function.
+       * options.h (General_options): New flags dynamic_list,
+       dynamic_list_data, dynamic_list_cpp_new, and
+       dynamic_list_cpp_typeinfo.  New variable dynamic_list_.
+       (General_options::in_dynamic_list): New function.
+       * script.cc (Lex::Mode): New enum DYNAMIC_LIST.
+       (Lex::can_start_name): Add support for DYNAMIC_LIST mode.
+       (Lex::can_continue_name): Likewise.
+       (yylex): Likewise.
+       (read_script_file): New parameter script_options.
+       (read_dynamic_list): New function.
+       (Script_options::define_dynamic_list): New function.
+       (dynamic_list_keyword_parsecodes): New variable.
+       (dynamic_list_keywords): New variable.
+       * script.h (Script_options::define_dynamic_list): New function
+       prototype.
+       (read_dynamic_list): New function prototype.
+       * symtab.cc (strprefix): New macro.
+       (Symbol::should_add_dynsym_entry): Support dynamic_list,
+       dynamic_list_data, dynamic_list_cpp_new, and
+       dynamic_list_cpp_typeinfo.
+       * yyscript.y (PARSING_DYNAMIC_LIST): New token.
+       (dynamic_list_expr): New rule.
+       (dynamic_list_nodes): Likewise.
+       (dynamic_list_node): Likewise.
+       * testsuite/Makefile.am (dynamic_list): New test.
+       * testsuite/Makefile.in: Regenerated.
+       * testsuite/dynamic_list.t: New file.
+       * testsuite/dynamic_list.sh: New file.
+
+2008-11-05  Craig Silverstein  <csilvers@google.com>
+
+       * testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
+       * testsuite/tls_test_c.c (t11): Add explicit "void" to prototype.
+       (t11_last): Likewise.
+       * testsuite/ver_test_6.c (main): Likewise.
+
+2008-10-07  Cary Coutant  <ccoutant@google.com>
+
+       * options.c (General_options::finalize): Add check for -static and
+       -shared.
+       * gold.cc (queue_middle_tasks): Assert that list of dynamic objects
+       is not empty.
+
+2008-10-02  Cary Coutant  <ccoutant@google.com>
+
+       * plugin.cc (make_sized_plugin_object): Fix conditional
+       compilation to work when not all targets are enabled.
+
+2008-09-29  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Archive::get_file_and_offset): Use filename instead
+       of name to get library path.
+       (Archive::include_member): Unlock external member of a thin archive.
+
+       * testsuite/Makefile.am (TEST_AR): New variable.
+       (thin_archive_test_1): New test.
+       (thin_archive_test_2): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/thin_archive_main.cc: New file.
+       * testsuite/thin_archive_test_1.cc: New file.
+       * testsuite/thin_archive_test_2.cc: New file.
+       * testsuite/thin_archive_test_3.cc: New file.
+       * testsuite/thin_archive_test_4.cc: New file.
+
+2008-09-29  Cary Coutant  <ccoutant@google.com>
+
+       * mapfile.cc (Mapfile::print_input_section): Change -1U to -1ULL.
+       * object.cc (Sized_relobj::do_layout): Use constant invalid_address
+       instead of -1U.
+       (Sized_relobj::do_finalize_local_symbols): Likewise.
+       (Sized_relobj::map_to_kept_section): Likewise.
+       * object.h (Sized_relobj::invalid_address): New constant.
+       (Sized_relobj::do_output_section_offset): Check for invalid_address
+       and return -1ULL.
+       * output.cc (Output_reloc::local_section_offset): Use constant
+       invalid_address instead of -1U.
+       (Output_reloc::get_address): Likewise.
+       (Output_section::output_address): Change -1U to -1ULL.
+       * output.h (Output_reloc::invalid_address): New constant.
+       * reloc.cc (Sized_relobj::write_sections): Use constant
+       invalid_address instead of -1U.
+       (Sized_relobj::relocate_sections): Likewise.
+       * symtab.cc (Symbol_table::sized_finalize_symbol): Handle symbol
+       values for merge sections.
+       * target-reloc.h (relocate_for_relocatable): Use constant
+       invalid_address instead of -1U.
+
+2008-09-19  Cary Coutant  <ccoutant@google.com>
+
+       Add plugin functionality for link-time optimization (LTO).
+       * configure.ac (plugins): Add --enable-plugins option.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * Makefile.am (LIBDL): New variable.
+       (CCFILES): Add plugin.cc.
+       (HFILES): Add plugin.h.
+       (ldadd_var): Add LIBDL.
+       * Makefile.in: Regenerate.
+
+       * archive.cc: Include "plugin.h".
+       (Archive::setup): Don't preread archive symbols when using a plugin.
+       (Archive::get_file_and_offset): Add memsize parameter.  Change callers.
+       (Archive::get_elf_object_for_member): Call plugin hooks for claiming
+       files.
+       (Archive::include_member): Add symbols from plugin objects.
+       * archive.h (Archive::get_file_and_offset): Add memsize parameter.
+       * descriptors.cc (Descriptors::open): Check for file descriptors
+       abandoned by plugins.
+       (Descriptors::claim_for_plugin): New function.
+       * descriptors.h (Descriptors::claim_for_plugin): New function.
+       (Open_descriptor::is_claimed): New field.
+       (claim_descriptor_for_plugin): New function.
+       * fileread.cc (File_read::claim_for_plugin): New function.
+       * fileread.h (File_read::claim_for_plugin): New function.
+       (File_read::descriptor): New function.
+       * gold.cc: Include "plugin.h".
+       (queue_initial_tasks): Add task to call plugin hooks for generating
+       new object files.
+       * main.cc: Include "plugin.h".
+       (main): Load plugin libraries.
+       * object.h (Pluginobj): Declare.
+       (Object::pluginobj): New function.
+       (Object::do_pluginobj): New function.
+       (Object::set_target): New function.
+       * options.cc: Include "plugin.h".
+       (General_options::parse_plugin): New function.
+       (General_options::General_options): Initialize plugins_ field.
+       (General_options::add_plugin): New function.
+       * options.h (Plugin_manager): Declare.
+       (General_options): Add --plugin option.
+       (General_options::has_plugins): New function.
+       (General_options::plugins): New function.
+       (General_options::add_plugin): New function.
+       (General_options::plugins_): New field.
+       * plugin.cc: New file.
+       * plugin.h: New file.
+       * readsyms.cc: Include "plugin.h".
+       (Read_symbols::do_read_symbols): Check for archive before checking
+       for ELF file.  Call plugin hooks to claim files.
+       * resolve.cc (Symbol_table::resolve): Record when symbol is referenced
+       from a real object file; force override when processing replacement
+       files.
+       * symtab.cc (Symbol::init_fields): Initialize in_real_elf_ field.
+       (Symbol::init_base_object): Likewise.
+       (Symbol::init_base_output_data): Likewise.
+       (Symbol::init_base_output_segment): Likewise.
+       (Symbol::init_base_constant): Likewise.
+       (Symbol::init_base_undefined): Likewise.
+       (Symbol::output_section): Assert that object is not a plugin.
+       (Symbol_table::add_from_pluginobj): New function.
+       (Symbol_table::sized_finalize_symbol): Treat symbols from plugins as
+       undefined.
+       (Symbol_table::sized_write_globals): Likewise.
+       (Symbol_table::add_from_pluginobj): Instantiate template.
+       * symtab.h (Sized_pluginobj): Declare.
+       (Symbol::in_real_elf): New function.
+       (Symbol::set_in_real_elf): New function.
+       (Symbol::in_real_elf_): New field.
+       (Symbol_table::add_from_pluginobj): New function.
+
+       * testsuite/Makefile.am (AM_CFLAGS): New variable.
+       (LIBDL): New variable.
+       (LDADD): Add LIBDL.
+       (check_PROGRAMS): Add plugin_test_1 and plugin_test_2.
+       (check_SCRIPTS): Add plugin_test_1.sh and plugin_test_2.sh.
+       (check_DATA): Add plugin_test_1.err and plugin_test_2.err.
+       (MOSTLYCLEANFILES): Likewise.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test.c: New file.
+       * testsuite/plugin_test_1.sh: New file.
+       * testsuite/plugin_test_2.sh: New file.
+
+2008-09-16  Ian Lance Taylor  <iant@google.com>
+
+       * target-reloc.h (relocate_section): Check whether a symbol is
+       defined by the ABI before reporting an undefined symbol error.
+       * target.h (Target::is_defined_by_abi): Make parameter const.
+       (Target::do_is_defined_by_abi): Likewise.
+       * i386.cc (Target_i386::do_is_defined_by_abi): Likewise.
+       * powerpc.cc (Target_powerpc::do_is_defined_by_abi): Likewise.
+       * sparc.cc (Target_sparc::do_is_defined_by_abi): Likewise.
+       * x86_64.cc (Target_x86_64::do_is_defined_by_abi): Likewise.
+       * testsuite/Makefile.am (tls_test_shared.so): Add -Wl,-z,defs.
+       * testsuite/Makefile.in: Rebuild.
+
+       * fileread.cc (make_view): Add casts to avoid warning.
+
+2008-09-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * i386.cc (Target_i386::define_tls_base_symbol): Update comments.
+       * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
+
+2008-09-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * options.h (General_options::output_is_executable): New.
+       (General_options::output_is_pie): New.
+       * i386.cc (Target_i386::define_tls_base_symbol): Use SEGMENT_START
+       for shared libraries.
+       * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
+
+2008-09-11  Chris Demetriou  <cgd@google.com>
+
+       * options.h (origin): New -z option.
+       * layout.cc (Layout:finish_dynamic_section): If "-z origin"
+       is specified, set DF_ORIGIN in DT_FLAGS and set DF_1_ORIGIN
+       in DT_FLAGS_1.
+
+2008-09-05  Cary Coutant  <ccoutant@google.com>
+
+       * fileread.cc (File_read::make_view): Add check for attempt to map
+       beyond end of file.
+
+2008-09-05  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.cc (Symbol_table::add_from_dynobj): Fix typos in
+       explicit instantiations.
+
+2008-08-28  Kris Van Hees  <kris.van.hees@oracle.com>
+
+       PR gold/6858
+       * options.cc (General_options::finalize): Allow undefined symbols
+       in shlibs if linking -shared.
+
+       PR gold/6859
+       * symtab.cc (Symbol::init_base_undefined): Mark explicitly undefined
+       symbols as not needing a dynsym entry.
+
+2008-08-20  Craig Silverstein  <csilvers@google.com>
+
+       * fileread.cc (File_read::open): Do not lock the file unless it
+       was successfully opened.
+
+2008-08-14  Cary Coutant  <ccoutant@google.com>
+
+       * x86_64.cc (Target_x86_64::Relocate::relocat_tls):
+       Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
+       * testsuite/tls_test.cc (struct int128): 128-bit struct
+       for testing TLS relocs with non-zero addend.
+       (v12): New TLS variable.
+       (t12): New test.
+       (t_last): Add check for v12.
+       * testsuite/tls_test.h (t12): New function.
+       * testsuite/tls_test_main.cc (thread_routine): Call new test.
+
+2008-08-13  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::attach_allocated_section_to_segment): Don't
+       set tls_segment_ or relro_segment_.
+       (Layout::make_output_segment): Set tls_segment_ and relro_segment_
+       when appropriate.
+       * output.h (Output_section::clear_is_relro): New function.
+       * output.cc (Output_segment::add_output_section): Handle SHF_TLS
+       sections specially even when output_data_ is empty.
+       (Output_segment::maximum_alignment): When first section is relro,
+       only force alignment for PT_LOAD segments.
+       * script.cc (script_data_segment_align): New function.
+       (script_data_segment_relro_end): New function.
+       * script-c.h (script_data_segment_align): Declare.
+       (script_data_segment_relro_end): Declare.
+       * script-sections.h (class Script_sections): Declare
+       data_segment_align and data_segment_relro_end.  Add fields
+       segment_align_index_ and saw_relro_end_.
+       * script-sections.cc (class Sections_element): Add set_is_relro
+       virtual function.  Add new bool* parameter to place_orphan_here.
+       Add get_output_section virtual function.
+       (class Output_section_definition): Add set_is_relro.  Add new
+       bool* parameter to place_orphan_here.  Add get_output_section.
+       Add is_relro_ field.
+       (Output_section_definition::Output_section_definition): Initialize
+       evaluated_address_, evaluated_load_address, evaluated_addralign_,
+       and is_relro_ fields.
+       (Output_section_definition::place_orphan_here): Add is_relro
+       parameter.
+       (Output_section_definition::set_section_addresses): Set relro for
+       output section.
+       (Output_section_definition::alternate_constraint): Likewise.
+       (class Orphan_output_section): Add new bool* parameter to
+       place_orphan_here.  Add get_output_section.
+       (Orphan_output_section::place_orphan_here): Add is_relro
+       parameter.
+       (Script_sections::Script_sections): Initialize
+       data_segment_align_index_ and saw_relro_end_.
+       (Script_sections::data_segment_align): New function.
+       (Script_sections::data_segment_relro_end): New function.
+       (Script_sections::place_orphan): Set or clear is_relro.
+       (Script_sections::set_section_addresses): Force alignment of first
+       TLS section.
+       * yyscript.y (exp): Call script_data_segment_align and
+       script_data_segment_relro_end.
+       * testsuite/relro_script_test.t: New file.
+       * testsuite/relro_test.cc (using_script): Declare.
+       (t1, t2): Test using_script.
+       * testsuite/Makefile.am (check_PROGRAMS): Add relro_script_test.
+       (relro_script_test_SOURCES): Define.
+       (relro_script_test_DEPENDENCIES): Define.
+       (relro_script_test_LDFLAGS): Define.
+       (relro_script_test_LDADD): Define.
+       (relro_script_test.so): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-08-06  Cary Coutant <ccoutant@google.com>
+
+       * archive.cc (Archive::total_archives, Archive::total_members)
+       (Archive::total_members_loaded): New variables.
+       (Archive::setup): Add parameter.  Add option to preread
+       archive symbols.
+       (Archive::read_armap): Add counter.
+       (Archive::get_file_and_offset): New function.
+       (Archive::get_elf_object_for_member): New function.
+       (Archive::read_all_symbols): New function.
+       (Archive::read_symbols): New function.
+       (Archive::add_symbols): Add counters.
+       (Archive::include_all_members): Use armap to find members if it's
+       already built.
+       (Archive::include_member): Skip reading symbols if already read.
+       Factored code into Archive::get_file_and_offset and
+       Archive::get_elf_object_for_member.  Changed call to
+       Mapfile::report_include_archive_member.
+       (Archive::print_stats): New function.
+       * archive.h: Declare Object and Read_symbols_data classes.
+       (Archive::Archive): Add initializers for new members.
+       (Archive::setup): Add parameter.
+       (Archive::print_stats): New function.
+       (Archive::total_archives, Archive::total_members)
+       (Archive::total_members_loaded): New variables.
+       (Archive::get_file_and_offset): New function.
+       (Archive::get_elf_object_for_member): New function.
+       (Archive::read_all_symbols): New function.
+       (Archive::read_symbols): New function.
+       (Archive::Archive_member): New class.
+       (Archive::members_): New member.
+       (Archive::num_members_): New member.
+       * main.cc: Include archive.h.
+       (main): Call Archive::print_stats.
+       * mapfile.cc (Mapfile::report_include_archive_member): Delete
+       archive parameter; member_name is now the fully-decorated name.
+       * mapfile.h (Mapfile::report_include_archive_member): Likewise.
+       * options.h: (General_options): Add --preread-archive-symbols option.
+       * readsyms.cc (Read_symbols::do_read_symbols): Change call to
+       Archive::setup.
+
+2008-08-04  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.h (Symbol::use_plt_offset): New function.
+       * i386.cc (Relocate::relocate): Call Symbol::use_plt_offset.
+       * powerpc.cc (Relocate::relocate): Likewise.
+       * sparc.cc (Relocate::relocate): Likewise.
+       * x86_64.cc (Relocate::relocate): Likewise.
+       * testsuite/weak_plt.sh: New test.
+       * testsuite/weak_plt_main.cc: New test.
+       * testsuite/weak_plt_shared.cc: New test.
+       * testsuite/Makefile.am (check_SCRIPTS): Add weak_plt.sh.
+       (check_PROGRAMS): Add weak_plt.
+       (check_DATA): Add weak_plt_shared.so.
+       (weak_plt_main_pic.o, weak_plt): New targets.
+       (weak_plt_shared_pic.o, weak_plt_shared.so): New targets.
+       * testsuite/Makefile.in: Rebuild.
+
+       * testsuite/Makefile.am (weak_alias_test_1.so): Depend upon
+       gcctestdir/ld.
+       (weak_alias_test_2.so, weak_alias_test_4.so): Likewise.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (POTFILES.in): Set LC_ALL=C.
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2008-07-29  Ian Lance Taylor  <iant@google.com>
+
+       * script.cc (Script_options::finalize_symbols): Finalize SECTIONS
+       symbols before other symbols.
+       * testsuite/script_test_2.cc (test_addr): Declare.
+       (test_addr_alias): Declare.
+       (main): Check that test_addr and test_addr_alias have the right
+       values.
+       * testsuite/script_test_2.t: Define test_addr_alias and
+       test_addr.
+
+2008-07-24  Ian Lance Taylor  <iant@google.com>
+
+       PR 5990
+       * descriptors.cc: New file.
+       * descriptors.h: New file.
+       * gold-threads.h (class Hold_optional_lock): New class.
+       * fileread.cc: Include "descriptors.h".
+       (File_read::~File_read): Release descriptor rather than closing
+       it.
+       (File_read::open) [file]: Call open_descriptor rather than open.
+       Set is_descriptor_opened_.
+       (File_read::open) [memory]: Assert that descriptor is not open.
+       (File_read::reopen_descriptor): New function.
+       (File_read::release): Release descriptor.
+       (File_read::do_read): Make non-const.  Reopen descriptor.
+       (File_read::read): Make non-const.
+       (File_read::make_view): Reopen descriptor.
+       (File_read::do_readv): Likewise.
+       * fileread.h (class File_read): Add is_descriptor_opened_ field.
+       Update declarations.
+       * layout.cc: Include "descriptors.h".
+       (Layout::create_build_id): Use open_descriptor rather than open.
+       * output.cc: Include "descriptors.h".
+       (Output_file::open): Use open_descriptor rather than open.
+       * archive.cc (Archive::const_iterator): Change Archive to be
+       non-const.
+       (Archive::begin, Archive::end): Make non-const.
+       (Archive::count_members): Likewise.
+       * archive.h (class Archive): Update declarations.
+       * object.h (Object::read): Make non-const.
+       * Makefile.am (CCFILES): Add descriptors.cc.
+       (HFILES): Add descriptors.h.
+       * Makefile.in: Rebuild.
+
+       PR 6716
+       * gold.h: Always include <clocale>.  Add Solaris workarounds
+       following code in binutils/sysdep.h.
+
+       PR 6048
+       * ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether
+       this->eh_frame_hdr_ is NULL before using it.
+
+       * dynobj.cc (Versions::Versions): Update comment.
+
+       * dynobj.cc (Versions::Versions): If there is an soname, use it as
+       the base version name.
+
+       * stringpool.cc (Stringpool_template::add_with_length): Set key to
+       array size plus one.
+       (Stringpool_template::set_string_offsets): Subtract one from key
+       before using it as an array index.
+       (Stringpool_template::get_offset_with_length): Likewise.
+       (Stringpool_template::write_to_buffer): Likewise.
+       * stringpool.h (Stringpool_template::get_offset_from_key):
+       Likewise.
+
+2008-07-23  Ian Lance Taylor  <iant@google.com>
+
+       PR 6658
+       * object.h (Merged_symbol_value::value): Do our best to handle a
+       negative addend.
+
+       PR 6647
+       * script.cc (Version_script_info::get_versions): Don't add empty
+       version tag to return value.
+       (Version_script_info::get_symbol_version_helper): Change return
+       type to bool.  Add pversion parameter.  Change all callers.
+       (script_register_vers_node): Don't require a non-NULL tag.
+       * script.h (class Version_script_info): Update declarations.
+       (Version_script_info::get_symbol_version): Change return type to
+       bool.  Add version parameter.  Change all callers.
+       * symtab.cc (Sized_symbol::add_from_relobj): Rework version
+       handling.  Handle an empty version from a version script.
+       (Symbol_table::define_special_symbol): Likewise.
+       * testsuite/ver_test_10.script: New file.
+       * testsuite/ver_test_10.sh: New file.
+       * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_10.sh.
+       (check_DATA): Add ver_test_10.syms.
+       (ver_test_10.syms, ver_test_10.so): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-07-23  Simon Baldwin  <simonb@google.com>
+
+       * symtab.cc (Symbol_table::sized_write_symbol): Only set st_size
+       to zero for undefined symbols from dynamic libraries.
+
+2008-07-23  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol_table::resolve): Remove version parameter.
+       Change all callers.
+       * symtab.h (class Symbol_table): Update declaration.
+       * testsuite/ver_test_9.cc: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_9.
+       (ver_test_9_SOURCES, ver_test_9_DEPENDENCIES): Define.
+       (ver_test_9_LDFLAGS, ver_test_9_LDADD): Define.
+       (ver_test_9.so, ver_test_9.o): New targets.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-07-22  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Define --check-sections.
+       * layout.cc (Layout::set_segment_offsets): Handle
+       --check-sections.
+
+       * options.h (class General_options): Define -n/--nmagic and
+       -N/--omagic.
+       * options.cc (General_options::finalize): For -n/--nmagic or
+       -N/--omagic, set -static.
+       * layout.cc (Layout::attach_allocated_section_to_segment): If
+       -N/--omagic, don't put read-only and read-write sections in
+       different segments.
+       (Layout::find_first_load_seg): If -N/--omagic, don't insist on
+       finding a read-only segment.
+       (Layout::set_segment_offsets): If -N/--omagic or -n/--nmagic,
+       don't set the minimum segment alignment to the common page size,
+       and don't set the file offset to the address modulo the page size.
+       * script-sections.cc (Script_sections::create_segments): If
+       -n/--omagic, don't put read-only and read-write sections in
+       different segments.
+
+       * cref.cc: New file.
+       * cref.h: New file.
+       * options.h (class General_options): Add --print-symbol-counts.
+       * main.cc (main): Issue defined symbol report if requested.
+       * archive.cc (Archive::interpret_header): Make into a const member
+       function.
+       (Archive::add_symbols): Call Input_objects::archive_start and
+       archive_stop.
+       (Archive::const_iterator): Define new class.
+       (Archive::begin, Archive::end): New functions.
+       (Archive::include_all_members): Rewrite to use iterator.
+       (Archive::count_members): New function.
+       * archive.h (class Archive): Update declarations.
+       (Archive::filename): New function.
+       * object.cc: Include "cref.h".
+       (Sized_relobj::Sized_relobj): Initialize defined_count_.
+       (Sized_relobj::do_get_global_symbol_counts): New function.
+       (Input_objects::add_object): Add object to cross-referencer.
+       (Input_objects::archive_start): New function.
+       (Input_objects::archive_stop): New function.
+       (Input_objects::print_symbol_counts): New function.
+       * object.h: Declare Cref and Archive.
+       (Object::get_global_symbol_counts): New function.
+       (Object::do_get_global_symbol_counts): New pure virtual function.
+       (class Sized_relobj): Add defined_count_ field.  Update
+       declarations.
+       (class Input_objects): Add cref_ field.  Update constructor.
+       Update declarations.
+       * dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize symbols_ and
+       defined_count_.
+       (Sized_dynobj::do_add_symbols): Allocate symbols_ if printing
+       symbol counts.
+       (Sized_dynobj::do_get_global_symbol_counts): New function.
+       * dynobj.h (class Sized_dynobj): Add fields symbols_ and
+       defined_count_.  Update declarations.  Define Symbols typedef.
+       * symtab.cc (Symbol_table::add_from_relobj): Add defined
+       parameter.  Change all callers.
+       (Symbol_table::add_from_dynobj): Add sympointers and defined
+       parameters.  Change all callers.
+       * symtab.h (class Symbol_table): Update declarations.
+       * Makefile.am (CCFILES): Add cref.cc.
+       (HFILES): Add cref.h.
+       * Makefile.in: Rebuild.
+
+2008-07-22  Simon Baldwin  <simonb@google.com>
+
+       * symtab.cc (Symbol_table::sized_write_symbol): Set symbol size
+       to zero when writing undefined symbols.
+
+2008-07-22  Ian Lance Taylor  <iant@google.com>
+
+       * output.cc (Output_section::add_input_section): Don't try to
+       merge empty merge sections.
+
+2008-07-21  Craig Silverstein  <csilvers@google.com>
+
+       * symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
+       Include symbol version in error message.
+
+2008-07-20  Chris Demetriou  <cgd@google.com>
+
+       * configure.ac (gold_cv_c_random_seed): New configured variable.
+       (RANDOM_SEED_CFLAGS): New substituted variable.
+       * Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Add $(RANDOM_SEED_CFLAGS).
+       * configure: Rebuild.
+       * Makefile.in: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+2008-07-18  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol_table::add_from_object): Rewrite the case
+       where we see NAME/NULL and NAME/VERSION  as separate symbols.
+       * testsuite/ver_test_main.cc (main): Call t4.
+       (t4, t4_2a): Define.
+       * testsuite/ver_test_2.cc (t4_2): Define.
+       * testsuite/ver_test_2.script: Put t4_2a in VER2.
+       * testsuite/ver_test_4.cc (t4_2a): Define.
+       * testsuite/ver_test_4.script: Put t4_2a in VER2.
+       * testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.
+
+2008-07-17  Ian Lance Taylor  <iant@google.com>
+
+       * dynobj.cc (Versions::add_def): If we give an error about a
+       missing version, go ahead and create the version anyhow.
+
+2008-07-10  Ian Lance Taylor  <iant@google.com>
+
+       Handle output sections with more than 0x7fffffff bytes.
+       * object.h (class Relobj): Change map_to_output_ to
+       output_sections_, and just keep a section pointer.  Change all
+       uses.  Move comdat group support to Sized_relobj.
+       (Relobj::is_section_specially_mapped): Remove.
+       (Relobj::output_section): Remove poff parameter.  Change all
+       callers.
+       (Relobj::output_section_offset): New function.
+       (Relobj::set_section_offset): Rewrite.
+       (Relobj::map_to_output): Remove.
+       (Relobj::output_sections): New function.
+       (Relobj::do_output_section_offset): New pure virtual function.
+       (Relobj::do_set_section_offset): Likewise.
+       (class Sized_relobj): Add section_offsets_ field.  Add comdat
+       group support from Relobj.  Update declarations.
+       (Sized_relobj::get_output_section_offset): New function.
+       (Sized_relobj::do_output_section_offset): New function.
+       (Sized_relobj::do_set_section_offset): New function.
+       * object.cc (Relobj::output_section_address): Remove.
+       (Sized_relobj::Sized_relobj): Initialize new fields.
+       (Sized_relobj::include_section_group): Cast find_kept_object to
+       Sized_relobj.
+       (Sized_relobj::include_linkonce_section): Likewise.
+       (Sized_relobj::do_layout): Use separate arrays for output section
+       and output offset.
+       (Sized_relobj::do_count_local_symbols): Change map_to_output to
+       output_sections.
+       (Sized_relobj::do_finalize_local_symbols): Change map_to_output to
+       output_sections and section_offsets.
+       (Sized_relobj::write_local_symbols): Likewise.
+       (map_to_kept_section): Compute output address directly.
+       * reloc.cc (Sized_relobj::do_read_relocs): Change map_to_output to
+       output_sections and section_offsets.
+       (Sized_relobj::write_sections): Likewise.
+       (Sized_relobj::relocate_sections): Likewise.
+       * symtab.cc (sized_finalize_symbol): Use output_section_offset.
+       * output.h (class Output_reloc): Update declarations.  Change
+       u2_.relobj to Sized_relobj*.
+       (class Output_data_reloc): Change add functions to use
+       Sized_relobj*.
+       * output.cc (Output_reloc::Output_reloc): Change relobj to
+       Sized_relobj*.
+       (Output_reloc::local_section_offset): Change return type to
+       Elf_Addr.  Use get_output_section_offset.
+       (Output_reloc::get_address): Likewise.
+       (Output_section::is_input_address_mapped): Don't call
+       is_section_specially_mapped.
+       (Output_section::output_offset): Likewise.
+       (Output_section::output_address): Likewise.
+       (Output_section::starting_output_address): Likewise.
+       * copy-relocs.cc (Copy_relocs::copy_reloc): Change object
+       parameter to Sized_relobj*.
+       (Copy_relocs::need_copy_reloc): Likewise.
+       (Copy_relocs::save): Likewise.
+       * copy-relocs.h (class Copy_relocs): Update declarations.
+       (class Copy_relocs::Copy_reloc_entry): Change constructor to use
+       Sized_relobj*.  Change relobj_ field to Sized_relobj*.
+       * target-reloc.h (relocate_for_relocatable): Change
+       offset_in_output_section type to Elf_Addr.  Change code that uses
+       it as well.
+       * layout.cc (Layout::layout): Always set *off.
+       * mapfile.cc (Mapfile::print_input_section): Use
+       output_section_offset.
+       * i386.cc (Target_i386::copy_reloc): Change object parameter to
+       Sized_relobj*.
+       * powerpc.cc (Target_powerpc::copy_reloc): Likewise.
+       * sparc.cc (Target_sparc::copy_reloc): Likewise.
+       * x86_64.cc (Target_x86_64::copy_reloc): Likewise.
+
+2008-07-03  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::include_section): Do not discard unrecognized
+       SHT_STRTAB sections.
+
+2008-06-30  Craig Silverstein  <csilvers@cs.stanford.edu>
+
+       * script.cc (Lex::can_continue_name): Make '?' allowable in
+       version-script names.
+       * testsuite/version_script.map: Change glob pattern to use '?'
+
+2008-06-30  Manish Singh  <yosh@gimp.org>
+
+       PR 6585
+       * symtab.cc (Symbol_table::add_undefined_symbols_from_command_line):
+       Correct typo.
+
+2008-06-30  Ian Lance Taylor  <iant@google.com>
+
+       PR 6660
+       PR 6682
+       * powerpc.cc (Powerpc_relocate_functions::addr16_ha) [both
+       versions]: Don't try to read the value in the contents, since we
+       don't use it.  Use the template endianness when writing.
+
+2008-06-25  Cary Coutant  <ccoutant@google.com>
+
+       * fileread.cc (File_read::make_view): Assert on zero-length view.
+       * object.cc (Sized_relobj::do_read_symbols): Don't try to read
+       symbol table when there are no symbols to read.
+
+2008-06-23  Craig Silverstein  <csilvers@google.com>
+
+       * version.cc (version_string): Bump to 1.7
+
+2008-06-18  Craig Silverstein  <csilvers@google.com>
+
+       * powerpc.cc (Powerpc_relocate_functions::addr16_ha): cast
+       constant 0xFFFF to type Valtype.
+       (Powerpc_relocate_functions::rel16_ha): Likewise.
+
+2008-06-17  Ian Lance Taylor  <iant@google.com>
+
+       * output.h (Output_section::Input_section): Initialize p2align_ to
+       zero for Output_section_data constructors.
+       (Output_section::Input_section::addralign): If not an input
+       section, return the alignment of the Output_section_data.
+       * testsuite/copy_test.cc: New file.
+       * testsuite/copy_test_1.cc: New file.
+       * testsuite/copy_test_2.cc: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add copy_test.
+       (copy_test_SOURCES, copy_test_DEPENDENCIES): New variables.
+       (copy_test_LDFLAGS, copy_test_LDADD): New variables.
+       (copy_test_1_pic.o, copy_test_1.so): New targets.
+       (copy_test_2_pic.o, copy_test_2.so): New targets.
+       * testsuite/Makefile.in: Rebuild.
+
+       * script-sections.cc (Script_sections::place_orphan): Initialize
+       local variable exact.
+
+2008-06-13  David Edelsohn  <edelsohn@gnu.org>
+
+       * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
+
+2008-06-12  David Edelsohn  <edelsohn@gnu.org>
+           David S. Miller  <davem@davemloft.net>
+
+       * powerpc.cc: New file.
+       * Makefile.am (TARGETSOURCES): Add powerpc.cc
+       (ALL_TARGETOBJS): Add powerpc.$(OBJEXT)
+       * configure.tgt: Add entries for powerpc-* and powerpc64-*.
+       * Makefile.in: Rebuild.
+
+2008-06-09  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and
+       <exception>.
+       (throwing, orig_terminate): New static variables.
+       (terminate_handler): New static function.
+       (t2): Set terminate handler.
+
+2008-06-05  Kris Van Hees  <kris.van.hees@oracle.com>
+
+       PR 6584
+       * binary.cc (Binary_to_elf::sized_convert): Fix .data
+       alignment.
+
+2008-05-30  Cary Coutant  <ccoutant@google.com>
+
+       * archive.cc (Archive::include_all_members) Correct to step
+       over symbol table and extended name table in thin archives.
+
+2008-05-29  Kris Van Hees  <kris.van.hees@oracle.com>
+
+       PR 6407
+       * target-reloc.h (relocate_for_relocatable): Fix new_offset
+       calculation.
+
+2008-05-28  Caleb Howe  <cshowe@google.com>
+
+       * reduced_debug_output.cc: New file.
+       * reduced_debug_output.h: New file.
+       * options.h (class General_options): Add --strip-debug-non-line.
+       * options.cc (General_options::finalize): Add strip_debug_non_line
+       to the strip heirarchy.
+       * layout.h (class Layout): Add debug_abbrev_ and debug_info_
+       fields.
+       * layout.cc: Include "reduced_debug_output.h".
+       (Layout::Layout): Initialize new fields.
+       (line_only_debug_sections): New static array.
+       (is_lines_only_debug_sections): New static inline function.
+       (Layout::include_section): Handle --strip-debug-non-line.
+       (Layout::make_output_section): If --strip-debug-non-line, build
+       new output sections for .debug_abbrev and .debug_info.
+       * dwarf_reader.cc (read_unsigned_LEB_128): Move to namespace
+       gold.  Warn about possible overflow.
+       (read_signed_LEB_128): Likewise.
+       * dwarf_reader.h: (read_unsigned_LEB_128): Declare.
+       (read_signed_LEB_128): Declare.
+       * Makefile.am (CCFILES): Add reduced_debug_output.cc.
+       (HFILES): Add reduced_debug_output.h.
+       * Makefile.in: Rebuild.
+
+2008-05-21  Ian Lance Taylor  <iant@google.com>
+
+       * mapfile.cc: New file.
+       * mapfile.h: New file.
+       * options.h (class General_options): Add -M/--print-map and -Map.
+       * options.cc (General_options::finalize): Make -M equivalent to
+       -Map -.
+       * main.cc: Include <cstdio> and "mapfile.h".
+       (main): Open mapfile if requested.
+       * gold.cc (class Middle_runner): Add mapfile_ field.  Update
+       constructor.  Change caller.
+       (queue_initial_tasks): Add mapfile parameter.  Change caller.
+       (queue_middle_tasks): Likewise.
+       * gold.h (queue_initial_tasks, queue_middle_tasks): Update
+       declarations.
+       * archive.cc: Include "mapfile.h".
+       (Archive::add_symbols): Add mapfile parameter.  Change all
+       callers.  Pass mapfile, symbol, and reason to include_member.
+       (Archive::include_all_members): Add mapfile parameter.  Change all
+       callers.
+       (Archive::include_member): Add mapfile, sym, and why parameters.
+       Change all callers.  Report inclusion to map file.
+       * archive.h: Include "fileread.h".
+       (class Archive): Update declarations.
+       (Archive::file): New const method.
+       (class Add_archive_symbols): Add mapfile_ field.  Update
+       constructor.  Change all callers.
+       * readsyms.h (class Read_symbols): Likewise.
+       (class Finish_group): Likewise.
+       (class Read_script): Likewise.
+       * common.cc: Include "mapfile.h".
+       (Symbol_table::allocate_commons): Add mapfile parameter.  Change
+       all callers.
+       (Symbol_table::do_allocate_commons): Likewise.
+       (Symbol_table::do_allocate_commons_list): Likewise.  Report common
+       symbol allocation to mapfile.
+       * common.h (class Allocate_commons_task): Add mapfile_ field.
+       Update constructor.  Change all callers.
+       * symtab.h (class Symbol_table): Update declarations.
+       * layout.cc: Include "mapfile.h".
+       (Layout_task_runner::run): Print information to mapfile.
+       (Layout::create_gold_note): Change Output_data_fixed_space to
+       Output_data_zero_fill.
+       (Layout::create_build_id): Likewise.
+       (Layout::print_to_mapfile): New function.
+       * layout.h (class Layout_task_runner): Add mapfile_ field.  Update
+       constructor.  Change caller.
+       (class Layout): Declare print_to_mapfile.
+       * output.cc (Output_section::Input_section::print_to_mapfile): New
+       function.
+       (Output_section::add_input_section): If producing a map, always
+       add to input_sections_ list.
+       (Output_section::do_print_to_mapfile): New function.
+       (Output_segment::print_sections_to_mapfile): New function.
+       (Output_segment::print_section_list_to_mapfile): New function.
+       * output.h: Include "mapfile.h".
+       (Output_data::print_to_mapfile): New function.
+       (Output_data::do_print_to_mapfile): New virtual function.
+       (Output_segment_headers::do_print_to_mapfile): New function.
+       (Output_file_header::do_print_to_mapfile): New function.
+       (Output_data_const::do_print_to_mapfile): New function.
+       (class Output_data_const_buffer): Add map_name_ field.  Update
+       constructor.  Change all callers.  Add do_print_to_mapfile
+       function.
+       (class Output_data_fixed_space): Likewise.
+       (class Output_data_space): Likewise.
+       (class Output_data_zero_fill): New class.
+       (Output_data_strtab::do_print_to_mapfile): New function.
+       (Output_data_reloc_base::do_print_to_mapfile): New function.
+       (Output_relocatable_relocs::do_print_to_mapfile): New function.
+       (Output_data_group::do_print_to_mapfile): New function.
+       (Output_data_got::do_print_to_mapfile): New function.
+       (Output_data_dynamic::do_print_to_mapfile): New function.
+       (Output_symtab_xindex::do_print_to_mapfile): New function.
+       (class Output_section): Declare do_print_to_mapflie.  Declare
+       print_to_mapfile in Input_section.
+       (class Output_segment): Declare new functions.
+       * object.h (Sized_relobj::symbol_count): New function.
+       * script-sections.cc
+       (Output_section_element_dot_assignment::set_section_addresses):
+       Change Output_data_fixed_space to Output_data_zero_fill.
+       (Output_data_expression::do_print_to_mapfile): New function.
+       * script.cc (read_input_script): Add mapfile parameter.  Change
+       all callers.
+       * script.h (read_input_script): Update declaration.
+       * ehframe.h (Eh_frame_hdr::do_print_to_mapfile): New function.
+       (Eh_frame::do_print_to_mapfile): New function.
+       * merge.h (Output_merge_data::do_print_to_mapfile): New function.
+       (Output_merge_string::do_print_to_mapfile): New function.
+       * i386.cc (Output_data_plt_i386::do_print_to_mapfile): New
+       function.
+       * sparc.cc (Output_data_plt_sparc::do_print_to_mapfile): New
+       function.
+       * x86_64.cc (Output_data_plt_x86_64::do_print_to_mapfile): New
+       function.
+       * Makefile.am (CCFILES): Add mapfile.cc.
+       (HFILES): Add mapfile.h.
+       * Makefile.in: Rebuild.
+
+2008-05-19  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add -z relro.
+       * layout.cc (Layout::Layout): Initialize relro_segment_.
+       (Layout::add_output_section_data): Return the output section.
+       (Layout::make_output_section): Rcognize relro sections and mark
+       them appropriately.
+       (Layout::attach_allocated_section_to_segment): Put relro sections
+       in a PT_GNU_RELRO segment.
+       (Layout::create_initial_dynamic_sections): Mark the .dynamic
+       section as relro.
+       (Layout::segment_precedes): Sort PT_GNU_RELRO segments after
+       PT_TLS segments.
+       (Layout::linkonce_mapping): Map d.rel.ro.local to
+       .data.rel.ro.local.
+       (Layout::output_section_name): Us .data.rel.ro.local for any
+       section which begins with that.
+       * layout.h (class Layout): Update add_output_section_data
+       declaration.  Add relro_segment_ field.
+       * output.cc (Output_section::Output_section): Initialize is_relro_
+       and is_relro_local_ fields.
+       (Output_segment::add_output_section): Group relro sections.
+       (Output_segment::is_first_section_relro): New function.
+       (Output_segment::maximum_alignment): If there is a relro section,
+       align the segment to the common page size.
+       (Output_segment::set_section_addresses): Track whether we are
+       looking at relro sections.  If the last section is a relro
+       section, align to the common page size.
+       (Output_segment::set_section_list_addresses): Add in_relro
+       parameter.  Change all callers.  Align to the page size when
+       moving from relro to non-relro section.
+       (Output_segment::set_offset): Align memsz of a PT_GNU_RELRO
+       segment.
+       * output.h (class Output_section): Add is_relro_ and
+       is_relro_local_ fields.
+       (Output_section::is_relro): New function.
+       (Output_section::set_is_relro): New function.
+       (Output_section::is_relro_local): New function.
+       (Output_section::set_is_relro_local): New function.
+       (class Output_segment): Update declarations.
+       * i386.cc (Target_i386::got_section): Mark .got section as relro.
+       * sparc.cc (Target_sparc::got_section): Likewise.
+       * x86_64.cc (Target_x86_64::got_section): Likewise.
+       * testsuite/relro_test_main.cc: New file.
+       * testsuite/relro_test.cc: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add relro_test.
+       (relro_test_SOURCES, relro_test_DEPENDENCIES): New variables.
+       (relro_test_LDFLAGS, relro_test_LDADD): New variables.
+       (relro_test.so, relro_test_pic.o): New targets.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-05-16  Ian Lance Taylor  <iant@google.com>
+
+       * output.cc (Output_segment::add_output_section): Remove front
+       parameter.
+       * output.h (class Output_segment): Remove
+       add_initial_output_section and overloaded add_output_section.
+       Update declaration of remaining add_output_section.
+       * layout.cc (Layout::create_interp): Call add_output_section
+       rather than add_initial_output_section.
+       (Layout::finish_dynamic_section): Likewise.
+
+       * i386.cc (Target_i386::Relocate::relocate_tls): Set dynamic type
+       for TLS_GOTDESC and TLS_DESC_CALL.  Only optimize TLS_LDO_32 if we
+       know the dynamic type.
+       * x86_64.cc (Target_x86_64::Relocate): Add saw_tls_block_reloc_
+       field.  Initialize it in constructor.
+       (Target_x86_64::Relocate::relocate_tls): Record that we saw a TLS
+       block reloc for TLSGD, GOTPC32_TLSDESC, TLSDESC_CALL, and TLSLD.
+       Only optimize DTPOFF32 and DTPOFF64 if we have seen a TLS block
+       reloc.
+
+       * output.cc (Output_reloc::get_address): Change return type to
+       Elf_Addr.
+       * output.h (class Output_reloc): Update get_address declaration.
+       * x86_64.cc (Output_data_plt_x86_64::do_write): Use 64-bit types
+       for section addresses.
+
+2008-05-09  Ian Lance Taylor  <iant@google.com>
+
+       PR 6493
+       * gold.cc (gold_nomem): Use return value of write.
+
+2008-05-08  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.c (Symbol::init_base_output_data): Add version
+       parameter.  Change all callers.
+       (Symbol::init_base_output_segment): Likewise.
+       (Symbol::init_base_constant): Likewise.
+       (Symbol::init_base_undefined): Likewise.
+       (Sized_symbol::init_output_data): Likewise.
+       (Sized_symbol::init_output_segment): Likewise.
+       (Sized_symbol::init_constant): Likewise.
+       (Sized_symbol::init_undefined): Likewise.
+       (Symbol_table::do_define_in_output_data): If the new symbol has a
+       version, mark it as the default.
+       (Symbol_table::do_define_in_output_segment): Likewise.
+       (Symbol_table::do_define_as_constant): Likewise.
+       * symtab.h (class Symbol): Update declarations.
+       (class Sized_symbol): Likewise.
+       * resolve.cc (Symbol::override_version): New function.
+       (Symbol::override_base): Call override_version.
+       (Symbol::override_base_with_special): Likewise.
+       * testsuite/ver_script_8.script: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_8.
+       (ver_test_8_SOURCES, ver_test_8_DEPENDENCIES): Define.
+       (ver_test_8_LDFLAGS, ver_test_8_LDADD): Define.
+       (ver_test_8_1.so, ver_test_8_2.so): New targets.
+
+2008-05-06  Ian Lance Taylor  <iant@google.com>
+
+       PR 6049
+       * options.h (DEFINE_set): Add VARNAME_begin and VARNAME_end
+       functions.
+       (class General_options): Remove existing --undefined, and add
+       --no-undefined instead.  Add new --undefined as synonym for -u.
+       * archive.cc (Archive::add_symbols): Check whether symbol was
+       named with -u.
+       * gold.cc (queue_middle_tasks): Add -u symbols to symbol table.
+       * symtab.h (class Symbol): Rename CONSTANT to IS_CONSTANT; change
+       all uses.  Add IS_UNDEFINED.  Update declarations to split
+       different versions of init_base.  Declare init_base_undefined.
+       (Symbol::is_defined): Handle IS_UNDEFINED.
+       (Symbol::is_undefined): Likewise.
+       (Symbol::is_weak_undefined): Call is_undefined.
+       (Symbol::is_absolute): Handle IS_CONSTANT.
+       (class Sized_symbol): Update declarations to split different
+       versions of init.  Declare init_undefined.
+       (class Symbol_table): Declare new functions.
+       * symtab.cc (Symbol::init_base_object): Rename from init_base.
+       Change all callers.
+       (Symbol::init_base_output_data): Likewise.
+       (Symbol::init_base_output_segment): Likewise.
+       (Symbol::init_base_constant): Likewise.
+       (Symbol::init_base_undefined): New function.
+       (Sized_symbol::init_object): Rename from init.  Change all
+       callers.
+       (Sized_symbol::init_output_data): Likewise.
+       (Sized_symbol::init_output_segment): Likewise.
+       (Sized_symbol::init_constant): Likewise.
+       (Sized_symbol::init_undefined): New function.
+       (Symbol_table::add_undefined_symbols_from_command_line): New
+       function.
+       (Symbol_table::do_add_undefined_symbols_from_command_line): New
+       function.
+       (Symbol::final_value_is_known): Handle IS_UNDEFINED.
+       (Symbol::output_section): Likewise.
+       (Symbol::set_output_section): Likewise.
+       (Symbol_table::sized_finalize_symbol): Likewise.
+       (Symbol_table::sized_write_globals): Likewise.
+       * resolve.cc (Symbol_table::should_override): Likewise.
+       (Symbol::override_base_with_special): Likewise.
+
+       * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected
+       symbol, change it to have default visibility.
+       * testsuite/protected_1.cc: New file.
+       * testsuite/protected_2.cc: New file.
+       * testsuite/protected_3.cc: New file.
+       * testsuite/protected_main_1.cc: New file.
+       * testsuite/protected_main_2.cc: New file.
+       * testsuite/protected_main_3.cc: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add protected_1.
+       (protected_1_SOURCES, protected_1_DEPENDENCIES): Define.
+       (protected_1_LDFLAGS, protected_1_LDADD): Define.
+       (protected_1.so): New target.
+       (protected_1_pic.o, protected_2_pic.o): New targets.
+       (protected_3_pic.o): New target.
+       (check_PROGRAMS): Add protected_2.
+       (protected_2_SOURCES, protected_2_DEPENDENCIES): Define.
+       (protected_2_LDFLAGS, protected_2_LDADD): Define.
+       * testsuite/Makefile.in: Rebuild.
+
+       * options.h (DEFINE_var): Add set_user_set_##varname__.
+       (DEFINE_bool_alias): New macro.
+       (class General_options): Define -Bstatic using DEFINE_bool_alias
+       rather than DEFINE_special.  Add --undefined as an alias for -z
+       defs.
+       * options.cc (General_options::parse_Bstatic): Remove.
+
+       * options.h (class General_options): Add --fatal-warnings.
+       * main.cc (main): Implement --fatal-warnings.
+       * errors.h (Errors::warning_count): New function.
+
+       * options.h (class General_options): Add -Bsymbolic-functions.
+       * symtab.h (Symbol::is_preemptible): Check for
+       -Bsymbolic-functions.
+
+2008-05-05  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (DEFINE_bool): For DASH_Z, create the negative option
+       as noVARNAME rather than no-VARNAME.
+       (class General_options): Add option -z combreloc.
+       * output.h (class Output_reloc) [SHT_REL]: Declare compare and
+       get_address.
+       (Output_reloc::sort_before) [SHT_REL]: New function.
+       (Output_reloc::sort_before) [SHT_RELA]: New function.
+       (class Output_data_reloc_base): Add sort_relocs_ field.  Define
+       Sort_relocs_comparison.
+       (Output_data_reloc_base::Output_data_reloc_base): Add sort_relocs
+       parameter.  Change all callers.
+       (Output_data_reloc::Output_data_reloc) [both versions]: Add
+       sort_relocs parameter.  Change all callers.
+       * output.cc (Output_reloc::get_address): New function, broken out
+       of write_rel.
+       (Output_reloc::write_rel): Call it.
+       (Output_reloc::compare): New function.
+       (Output_data_reloc_base::do_write): Optionally sort relocs.
+
+       * configure.ac: If targ_extra_obj is set, link it in.
+       * configure.tgt: Initialize all variables.
+       (x86_64*): Set targ_extra_obj and targ_extra_size.
+       * configure: Rebuild.
+
+       * object.cc (Sized_relobj::include_section_group): Adjust section
+       indexes read from group data.  Build vector to pass to
+       layout_group.
+       * layout.cc (Layout::layout_group): Add flags and shndxes
+       parameters.  Remove contents parameter.  Change caller.  Update
+       explicit instantiations.
+       * layout.h (class Layout): Update layout_group declaration.
+       * output.cc (Output_data_group::Output_data_group): Add flags and
+       input_shndxes parameters.  Remove contents parameter.  Change
+       caller.
+       (Output_data_group::do_write): Change input_sections_ to
+       input_shndxes_.
+       * output.h (class Output_data_group): Update constructor
+       declaration.  Rename input_sections_ to input_shndxes_.
+       * testsuite/many_sections_test.cc: Add template.
+
+2008-04-30  Cary Coutant  <ccoutant@google.com>
+
+       * target-reloc.h (relocate_section): Fix dead-pointer bug.
+
+       * layout.cc (Layout::include_section): Refactored check for debug
+       info section.
+       (Layout::add_comdat): Add new parameters.  Change type
+       of signature parameter.  Add object and shndx to signatures table.
+       (Layout::find_kept_object): New function.
+       * layout.h: Include <cstring>.
+       (Layout::is_debug_info_section): New function.
+       (Layout::add_comdat): Add new parameters.
+       (Layout::find_kept_object): New function.
+       (Layout::Kept_section): New struct.
+       (Layout::Signatures): Change type of map range.
+       * object.cc (Relobj::output_section_address): New function.
+       (Sized_relobj::include_section_group): Add new parameters.  Change
+       calls to Layout::add_comdat.  Change to build table of kept comdat
+       groups and table mapping discarded sections to kept sections.
+       (Sized_relobj::include_linkonce_section): Likewise.  Add new parameter.
+       (Sized_relobj::do_layout): Change calls to include_section_group and
+       include_linkonce_section.
+       (Sized_relobj::do_finalize_local_symbols): Do not set local symbol
+       value to zero when section is discarded.
+       (Sized_relobj::map_to_kept_section): New function.
+       * object.h (Relobj::output_section_address): New function.
+       (Relobj::Comdat_group): New type.
+       (Relobj::find_comdat_group): New function.
+       (Relobj::Comdat_group_table): New type.
+       (Relobj::Kept_comdat_section): New type.
+       (Relobj::Kept_comdat_section_table): New type.
+       (Relobj::add_comdat_group): New function.
+       (Relobj::set_kept_comdat_section): New function.
+       (Relobj::get_kept_comdat_section): New function.
+       (Relobj::comdat_groups_): New field.
+       (Relobj::kept_comdat_sections_): New field.
+       (Symbol_value::input_value): Update comment.
+       (Sized_relobj::map_to_kept_section) New function.
+       (Sized_relobj::include_linkonce_section): Add new parameter.
+       * target-reloc.h (Comdat_behavior): New type.
+       (get_comdat_behavior): New function.
+       (relocate_section): Add code to map a discarded section to the
+       corresponding kept section when applying a relocation.
+
+2008-04-30  Craig Silverstein  <csilvers@google.com>
+
+       * dwarf_reader.cc (next_generation_count): New static var.
+       (Addr2line_cache_entry): New struct.
+       (addr2line_cache): New static var.
+       (Dwarf_line_info::one_addr2line): Added caching.
+       (Dwarf_line_info::clear_addr2line_cache): New function.
+       * dwarf_reader.h (Dwarf_line_info::one_addr2line): Add
+       cache-size parameter.
+       (Dwarf_line_info::one_addr2line_cache): New function.
+       * symtab.cc (Symbol_table::detect_odr_violations): Pass
+       new cache-size argument to one_addr2line(), and clear cache.
+
+2008-04-28  Cary Coutant  <ccoutant@google.com>
+
+       * i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
+       R_386_PC8 relocations.
+
+2008-04-23  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj::include_section_group): Check for
+       invalid section group.
+
+       * object.cc (make_elf_object): Correct test for 64-bit ELF file
+       header size.
+
+       * readsyms.cc (Read_symbols::do_read_symbols): Use get_view rather
+       than read for file header.
+       * archive.cc (Archive::include_member): Likewise.
+
+2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2008-04-19  Ian Lance Taylor  <iant@google.com>
+
+       * version.cc (version_string): Bump to 1.6.
+
+       * testsuite/Makefile.am (many_sections_r_test): New target.
+       (many_sections_r_test_SOURCES): Remove.
+       (many_sections_r_test_DEPENDENCIES): Remove.
+       (many_sections_r_test_LDFLAGS): Remove.
+       (many_sections_r_test_LDADD): Remove.
+
+       * object.cc (Sized_relobj::do_add_symbols): Always pass
+       local_symbol_count_ to add_from_relobj.
+
+       * testsuite/Makefile.am (many_sections_check.h): Only check one in
+       every thousand variables.
+       * testsuite/Makefile.in: Rebuild.
+
+       * object.cc (Xindex::initialize_symtab_xindex): New function.
+       (Xindex::read_symtab_xindex): New function.
+       (Xindex::sym_xindex_to_shndx): New function.
+       (Sized_relobj::find_symtab): Pick up SHT_SYMTAB_SHNDX section if
+       available.
+       (Sized_relobj::do_initialize_xindex): New function.
+       (Sized_relobj::do_read_symbols): Adjust section links.
+       (Sized_relobj::symbol_section_and_value): Add is_ordinary
+       parameter.  Change all callers.
+       (Sized_relobj::include_section_group): Adjust section links and
+       symbol section indexes.
+       (Sized_relobj::do_layout): Adjust section links.
+       (Sized_relobj::do_count_local_symbols): Adjust section links and
+       symbol section indexes.
+       (Sized_relobj::do_finalize_local_symbols): Distinguish between
+       ordinary and special symbols.
+       (Sized_relobj::write_local_symbols): Add symtab_xindex and
+       dynsym_xindex parameters.  Change all callers.  Adjust section
+       links.  Use SHN_XINDEX when needed.
+       (Sized_relobj::get_symbol_location_info): Adjust section links.
+       Don't get fooled by special symbols.
+       * object.h (class Xindex): Define.
+       (class Object): Add xindex_ parameter.  Declare virtual functoin
+       do_initialize_xindex.
+       (Object::adjust_sym_shndx): New function.
+       (Object::set_xindex): New protected function.
+       (class Symbol_value): Add is_ordinary_shndx_ field.
+       (Symbol_value::Symbol_value): Initialize is_ordinary_shndx_.
+       (Symbol_value::value): Assert ordinary section.
+       (Symbol_value::initialize_input_to_output_map): Likewise.
+       (Symbol_value::set_input_shndx): Add is_ordinary parameter.
+       Change all callers.
+       (Symbol_value::input_shndx): Add is_ordinary parameter.  Change
+       all callers.
+       (class Sized_relobj): Update declarations.
+       (Sized_relobj::local_symbol_input_shndx): Add is_ordinary
+       parameter.  Change all callers.
+       (Sized_relobj::adjust_shndx): New function.
+       * dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize dynsym_shndx_
+       field.
+       (Sized_dynobj::find_dynsym_sections): Remove pdynsym_shndx
+       parameter.  Change all callers.  Pick up SHT_DYNSYM_SHNDX section
+       for SHT_DYNSYM section if available.  Set dynsym_shndx_ field.
+       (Sized_dynobj::read_dynsym_section): Adjust section links.
+       (Sized_dynobj::read_dynamic): Likewise.
+       (Sized_dynobj::do_read_symbols): Use dynsym_shndx_ field.  Adjust
+       section links.
+       (Sized_dynobj::do_initialize_xindex): New function.
+       * dynobj.h (class Sized_dynobj): Add dynsym_shndx_ field.  Declare
+       do_initialize_xindex.
+       (Sized_dynobj::adjust_shndx): New function.
+       * layout.cc (Layout::Layout): Initialize symtab_xindex_ and
+       dynsym_xindex_ fields.
+       (Layout::finalize): Add a call to set_section_indexes before
+       creating the symtab sections.
+       (Layout::set_section_indexes): Don't do anything if the section
+       already has a section index.
+       (Layout::create_symtab_sections): Add shnum parameter.  Change
+       caller.  Create .symtab_shndx section if needed.
+       (Layout::create_shdrs): Add shstrtab_section parameter.  Change
+       caller.
+       (Layout::allocated_output_section_count): New function.
+       (Layout::create_dynamic_symtab): Create .dynsym_shndx section if
+       needed.
+       * layout.h (class Layout): Add symtab_xindex_ and dynsym_xindex_
+       fields.  Update declarations.
+       (Layout::symtab_xindex): New function.
+       (Layout::dynsym_xindex): New function.
+       (class Write_symbols_task): Add layout_ field.
+       (Write_symbols_task::Write_symbols_task): Add layout parameter.
+       Change caller.
+       * output.cc (Output_section_headers::Output_section_headers): Add
+       shstrtab_section parameter.  Change all callers.
+       (Output_section_headers::do_sized_write): Store overflow values
+       for section count and section string table section index in
+       section header zero.
+       (Output_file_header::do_sized_write): Check for overflow of
+       section count and section string table section index.
+       (Output_symtab_xindex::do_write): New function.
+       (Output_symtab_xindex::endian_do_write): New function.
+       * output.h (class Output_section_headers): Add shstrtab_section_.
+       Update declarations.
+       (class Output_symtab_xindex): Define.
+       (Output_section::has_out_shndx): New function.
+       * symtab.cc (Symbol::init_fields): Initialize is_ordinary_shndx_
+       field.
+       (Symbol::init_base): Add st_shndx and is_ordinary parameters.
+       Change all callers.
+       (Sized_symbol::init): Likewise.
+       (Symbol::output_section): Check for ordinary symbol.
+       (Symbol_table::add_from_object): Remove orig_sym parameter.  Add
+       st_shndx, is_ordinary, and orig_st_shndx parameters.  Change all
+       callers.
+       (Symbol_table::add_from_relobj): Add symndx_offset parameter.
+       Change all callers.  Simplify handling of symbols from sections
+       not included in the link.
+       (Symbol_table::add_from_dynobj): Handle ordinary symbol
+       distinction.
+       (Weak_alias_sorter::operator()): Assert that symbols are
+       ordinary.
+       (Symbol_table::sized_finalize_symbol): Handle ordinary symbol
+       distinction.
+       (Symbol_table::write_globals): Add symtab_xindex and dynsym_xindex
+       parameters.  Change all callers.
+       (Symbol_table::sized_write_globals): Likewise.  Handle ordinary
+       symbol distinction.  Use SHN_XINDEX when needed.
+       (Symbol_table::write_section_symbol): Add symtab_xindex
+       parameter.  Change all callers.
+       (Symbol_table::sized_write_section_symbol): Likewise.  Use
+       SHN_XINDEX when needed.
+       * symtab.h (class Symbol): Add is_ordinary_shndx_ field.  Update
+       declarations.
+       (Symbol::shndx): Add is_ordinary parameter.  Change all callers.
+       (Symbol::is_defined): Check is_ordinary.
+       (Symbol::is_undefined, Symbol::is_weak_undefined): Likewise.
+       (Symbol::is_absolute, Symbol::is_common): Likewise.
+       (class Sized_symbol): Update declarations.
+       (class Symbol_table): Update declarations.
+       * resolve.cc (Symbol::override_base): Add st_shndx and is_ordinary
+       parameters.  Change all callers.
+       (Sized_symbol::override): Likewise.
+       (Symbol_table::override): Likewise.
+       (symbol_to_bits): Add is_ordinary parameter.  Change all callers.
+       (Symbol_table::resolve): Remove orig_sym parameter.  Add st_shndx,
+       is_ordinary, and orig_st_shndx parameters.  Change all callers.
+       * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Require symbol
+       to be in an ordinary section.
+       * dwarf_reader.cc (Sized_dwarf_line_info::symbol_section): Add
+       object and is_ordinary parameters.  Change all callers.
+       (Sized_dwarf_line_info::read_relocs): Add object parameter.
+       Change all callers.  Don't add undefined or non-ordinary symbols
+       to reloc_map_.
+       (Sized_dwarf_line_info::read_line_mappings): Add object parameter.
+       Change all callers.
+       * dwarf_reader.h (class Sized_dwarf_line_info): Update
+       declarations.
+       * ehframe.cc (Eh_frame::read_fde): Check for ordinary symbol.
+       * reloc.cc (Sized_relobj::do_read_relocs): Adjust section links.
+       (Sized_relobj::relocate_sections): Likewise.
+       * target-reloc.h (scan_relocs): Adjust section symbol index.
+       (scan_relocatable_relocs): Likewise.
+       * i386.cc (Scan::local): Check for ordinary symbols.
+       * sparc.cc (Scan::local): Likewise.
+       * x86_64.cc (Scan::local): Likewise.
+       * testsuite/binary_unittest.cc (Sized_binary_test): Update calls
+       to symbol_section_and_value.
+       * testsuite/many_sections_test.cc: New file.
+       * testsuite/Makefile.am (BUILT_SOURCES): Define.
+       (check_PROGRAMS): Add many_sections_test.
+       (many_sections_test_SOURCES): Define.
+       (many_sections_test_DEPENDENCIES): Define.
+       (many_sections_test_LDFLAGS): Define.
+       (BUILT_SOURCES): Add many_sections_define.h.
+       (many_sections_define.h): New target.
+       (BUILT_SOURCES): Add many_sections_check.h.
+       (many_sections_check.h): New target.
+       (check_PROGRAMS): Add many_sections_r_test.
+       (many_sections_r_test_SOURCES): Define.
+       (many_sections_r_test_DEPENDENCIES): Define.
+       (many_sections_r_test_LDFLAGS): Define.
+       (many_sections_r_test_LDADD): Define.
+       (many_sections_r_test.o): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-04-17  Cary Coutant  <ccoutant@google.com>
+
+       * errors.cc (Errors::info): New function.
+       (gold_info): New function.
+       * errors.h (Errors::info): New function.
+       * gold.h (gold_info): New function.
+       * object.cc (Input_objects::add_object): Print trace output.
+       * options.cc (options::parse_set): New function.
+       (General_options::parse_wrap): Deleted.
+       (General_options::General_options): Deleted initializer.
+       * options.h (options::String_set): New typedef.
+       (options::parse_set): New function.
+       (DEFINE_set): New macro.
+       (General_options::wrap): Changed to use DEFINE_set. Changed
+       callers of any_wrap_symbols and is_wrap_symbol.
+       (General_options::trace, General_options::trace_symbol):
+       New options.
+       (General_options::any_wrap_symbols, General_options::is_wrap_symbol)
+       (General_options::wrap_symbols_): Deleted.
+       * symtab.cc (Symbol_table::add_from_object): Print trace output.
+
+2008-04-17  David S. Miller  <davem@davemloft.net>
+
+       * options.cc (General_options::parse_V): New function.
+       * options.h: Add entries for -V and -Qy.
+
+2008-04-17  Ian Lance Taylor  <iant@google.com>
+
+       * common.cc (Symbol_table::allocate_commons): Remove options
+       parameter.  Change caller.
+       (Symbol_table::do_allocate_commons): Remove options parameter.
+       Change caller.  Just call do_allocate_commons_list twice.
+       (Symbol_table::do_allocate_commons_list): New function, broken out
+       of do_allocate_commons.
+       * common.h (class Allocate_commons_task): Remove options_ field.
+       Update constructor.
+       * symtab.cc (Symbol_table::Symbol_table): Initialize
+       tls_commons_.
+       (Symbol_table::add_from_object): Put TLS common symbols on
+       tls_commons_ list.
+       (Symbol_table::sized_finalize_symbol): Handle STT_TLS symbols
+       which are IN_OUTPUT_DATA.
+       * symtab.h (class Symbol_table): Add tls_commons_ field.  Update
+       allocate_commons and do_allocate_commons declarations.  Declare
+       do_allocate_commons_list.
+       * gold.cc (queue_middle_tasks): Update creation of
+       Allocate_commons_task to not pass options.
+       * testsuite/Makefile.am (INCLUDES): Add -I.. .
+       (TLS_TEST_C_FLAGS): New variable.
+       (tls_test_c_pic.o): New target.
+       (tls_test_shared.so): Link in tls_test_c_pic.o.
+       (tls_test_c_pic_ie.o): New target.
+       (tls_test_ie_shared.so): Link in tls_test_c_pic_ie.o.
+       (tls_test_DEPENDENCIES, tls_test_LDADD): Add tls_test_c.o.
+       (tls_test_c.o): New target.
+       (tls_pic_test_DEPENDENCIES): Add tls_test_c_pic.o.
+       (tls_pic_test_LDADD): Likewise.
+       (tls_shared_gd_to_ie_test_DEPENDENCIES): Add tls_test_c_pic.o.
+       (tls_shared_gd_to_ie_test_LDADD): Likewise.
+       (tls_test_c_gnu2.o): New target.
+       (tls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): Add
+       tls_test_c_gnu2.o.
+       (tls_shared_gnu2_gd_to_ie_test_LDADD): Likewise.
+       (tls_test_gnu2_shared.so): Link in tls_test_c_gnu2.o.
+       (tls_test_shared_nonpic.so): Link in tls_test_c.o.
+       * testsuite/tls_test.cc: Include "config.h".
+       (t_last): Call t11_last.
+       * testsuite/tls_test.h (t11, t11_last): Declare.
+       * testsuite/tls_test_c.c: New file.
+       * testsuite/tls_test_main.cc (thread_routine): Call t11.
+       * configure.ac: Check for OpenMP support.
+       * configure, config.in, Makefile.in: Rebuild.
+       * testsuite/Makefile.in: Rebuild.
+
+2008-04-16  Cary Coutant  <ccoutant@google.com>
+
+       * i386.cc (Target_i386::define_tls_base_symbol): New function.
+       (Target_i386::tls_base_symbol_defined_): New field.
+       (Target_i386::Scan::local): Define _TLS_MODULE_BASE_ symbol.
+       (Target_i386::Scan::global): Likewise.
+       * symtab.cc (sized_finalize_symbol): Add check for TLS symbol.
+       * x86_64.cc (Target_x86_64::define_tls_base_symbol): New function.
+       (Target_x86_64::tls_base_symbol_defined_): New field.
+       (Target_x86_64::Scan::local): Define _TLS_MODULE_BASE_ symbol.
+       (Target_x86_64::Scan::global): Likewise.
+
+2008-04-16  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.h (Symbol::is_strong_undefined): Removed unused function.
+       (Symbol::needs_plt_entry): Allow weak undefined symbols.
+       (Symbol::needs_dynamic_reloc): Allow weak undefined symbols when
+       building shared libraries.
+       * testsuite/Makefile.am (weak_undef_nonpic_test): New target.
+       (weak_undef_file1_nonpic.o, weak_undef_file2_nonpic.o)
+       (weak_undef_lib_nonpic.so, alt/weak_undef_lib_nonpic.so): New targets.
+       * testsuite/Makefile.in: Rebuild.
+       * testsuite/weak_undef.h: New file.
+       * testsuite/weak_undef_file1.cc: Add extra test cases.
+       * testsuite/weak_undef_file2.cc: Likewise.
+       * testsuite/weak_undef_test.cc: Likewise.
+
+2008-04-16  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc (Target_sparc::Scan): Change from struct to class.
+       Add issued_non_pic_error_ field.  Declare check_non_pic.
+       (Target_sparc::Scan::check_non_pic): New function.
+       (Target_sparc::Scan::local): Call check_non_pic as appropriate.
+       (Target_sparc::Scan::global): Likewise.
+
+       * configure.ac (FN_PTRS_IN_SO_WITHOUT_PIC): Add sparc64.
+       * configure: Rebuild.
+
+       * options.h (DEFINE_enable): New macro.
+       (new_dtags): New enable option.
+       (initfirst, interpose, loadfltr, nodefaultlib,
+       nodelete, nodlopen, nodump): New -z options.
+       * layout.cc (Layout:finish_dynamic_section): If new
+       dtags enabled, emit DT_RUNPATH.  Also, emit a
+       DT_FLAGS_1 containing any specified -z flags.
+
+2008-04-16  Ian Lance Taylor  <iant@google.com>
+
+       * copy-relocs.cc: New file.
+       * copy-relocs.h: New file.
+       * reloc.cc: Remove Copy_relocs code.
+       * reloc.h: Likewise.
+       * reloc-types.h (struct Reloc_types) [both versions]: Add
+       get_reloc_addend_noerror.
+       * output.h (class Output_data_reloc<elfcpp::SHT_REL>): Add
+       variants of add_global which take an addend which must be zero.
+       * i386.cc: Include "copy-relocs.h".
+       (class Target_i386): Change type of copy_relocs_ to variable,
+       update initializer.
+       (Target_i386::copy_reloc): Rewrite to pass to Copy_relocs class.
+       Change all callers.
+       (Target_i386::do_finalize_sections): Change handling of
+       copy_relocs_.
+       * sparc.cc: Include "copy-relocs.h".
+       (class Target_sparc): Change type of copy_relocs_ to variable,
+       update initializer.
+       (Target_sparc::copy_reloc): Rewrite to pass to Copy_relocs class.
+       Change all callers.
+       (Target_sparc::do_finalize_sections): Change handling of
+       copy_relocs_.
+       * x86_64.cc: Include "copy-relocs.h".
+       (class Target_x86_64): Change type of copy_relocs_ to variable,
+       update initializer.
+       (Target_x86_64::copy_reloc): Rewrite to pass to Copy_relocs
+       class.  Change all callers.
+       (Target_x86_64::do_finalize_sections): Change handling of
+       copy_relocs_.
+       * Makefile.am (CCFILES): Add copy-relocs.cc.
+       (HFILES): Add copy-relocs.h.
+
+       * Makefile.in, aclocal.m4, testsuite/Makefile.in: Rebuild.
+
+       * testsuite/script_test_4.sh: Permit leading zeroes.
+
+2008-04-15  Ian Lance Taylor  <iant@google.com>
+
+       * script-sections.cc (Script_sections::create_segments): Use
+       header_size_adjustment even when there is enough room for the
+       headers.
+       * testsuite/script_test_4.sh: New file.
+       * testsuite/script_test_4.t: New file.
+       * testsuite/Makefile.am (check_SCRIPTS): Add script_test_4.sh.
+       (check_DATA): Add script_test_4.stdout.
+       (MOSTLYCLEANFILES): Likewise.
+       (script_test_4): New target.
+       (script_test_4.stdout): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+       * sparc.cc: Add definitions for Output_data_plt_sparc class
+       constants.
+
+2008-04-14  David S. Miller  <davem@davemloft.net>
+
+       * sparc.cc: New file.
+       * Makefile.am (TARGETSOURCES): Add sparc.cc
+       (ALL_TARGETOBJS): Add sparc.$(OBJEXT)
+       * configure.tgt: Document targ_extra_size and
+       targ_extra_big_endian.  Add entries for sparc-* and
+       sparc64-*.
+       * configure.ac: Handle targ_extra_size and
+       targ_extra_big_endian.
+       * Makefile.in: Rebuild.
+       * configure: Likewise.
+       * po/POTFILES.in: Likewise.
+       * po/gold.pot: Likewise.
+
+2008-04-14  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::Layout): Initialize sections_are_attached_.
+       (Layout::get_output_section): Ignore SHF_WRITE and SHF_EXECINSTR
+       in the name/type/flags to section mapping.  Don't call
+       allocate_output_section.
+       (Layout::choose_output_section): Change parameter from adjust_name
+       to is_input_section.  Don't permit input sections after sections
+       are attached to segments.  Don't call allocate_output_section.
+       (Layout::layout_eh_frame): Call update_flags_for_input_section,
+       not write_enable_output_section.
+       (Layout::make_output_section): Don't push to
+       unattached_section_list_ nor call attach_to_segment.  Call
+       attach_section_to_segment if sections are attached.
+       (Layout::attach_sections_to_segments): New function.
+       (Layout::attach_section_to_segment): New function.
+       (Layout::attach_allocated_section_to_segment): Rename from
+       attach_to_segment.  Remove flags parameter.
+       (Layout::allocate_output_section): Remove function.
+       (Layout::write_enable_output_section): Remove function.
+       * layout.h (class Layout): Update for above changes.  Add new
+       field sections_are_attached_.
+       * output.h (Output_section::update_flags_for_input_section): New
+       function.
+       * output.cc (Output_section::add_input_section): Call
+       update_flags_for_input_section.
+       * gold.cc (queue_middle_tasks): Call attach_sections_to_segments.
+
+2008-04-11  Cary Coutant  <ccoutant@google.com>
+
+       * i386.cc (Target_i386::got_mod_index_entry): Restore code previously
+       thought unnecessary.
+       * x86_64.cc (Target_x86_64::got_mod_index_entry): Likewise.
+
+2008-04-11  Ian Lance Taylor  <iant@google.com>
+
+       * output.h (class Output_section_data): Remove inline definition
+       of set_addralign.
+       * output.cc (Output_section_data::set_addralign): New function.
+
+2008-04-11  Cary Coutant  <ccoutant@google.com>
+
+       Add support for TLS descriptors for i386 and x86_64.
+       * i386.cc (Target_i386::Relocate::tls_desc_gd_to_ie): New function.
+       (Target_i386::Relocate::tls_desc_gd_to_le): New function.
+       (Target_i386::Got_type): Add GOT_TYPE_TLS_NOFFSET and
+       GOT_TYPE_TLS_DESC.
+       (Target_i386::got_mod_index_entry): Remove unnecessary code.
+       (Target_i386::Scan::local): Implement R_386_TLS_GOTDESC and
+       R_386_TLS_DESC_CALL relocations.  Fix problem with initial-exec
+       relocations.
+       (Target_i386::Scan::global): Fix problem with GD-to-IE relaxation.
+       Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations;
+       Fix problem with initial-exec relocations.
+       (Target_i386::Relocate::relocate_tls): Likewise.
+       (Target_i386::Relocate::tls_gd_to_ie): Fix problem with GD-to-IE
+       relaxation.
+       * output.cc (Output_data_dynamic::Dynamic_entry::write): Add
+       support for section-plus-offset dynamic table entries.
+       * output.h (Output_data_dynamic::add_section_plus_offset): New function.
+       (Output_data_dynamic::Dynamic_entry): Add support for
+       section-plus-offset dynamic table entries.
+       (Output_data_dynamic::Classification): Likewise.
+       (Output_data_dynamic::classification_): Renamed offset_.
+       * x86_64.cc (Target_x86_64::Relocate::tls_desc_gd_to_ie): New function.
+       (Target_x86_64::Relocate::tls_desc_gd_to_le): New function.
+       (Target_x86_64::make_plt_section): New function.
+       (Target_x86_64::reserve_tlsdesc_entries): New function.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64): Add new parameter.
+       (Output_data_plt_x86_64::reserve_tlsdesc_entry): New function.
+       (Output_data_plt_x86_64::has_tlsdesc_entry): New function.
+       (Output_data_plt_x86_64::get_tlsdesc_got_offset): New function.
+       (Output_data_plt_x86_64::get_tlsdesc_plt_offset): New function.
+       (Output_data_plt_x86_64::tlsdesc_plt_entry): New field.
+       (Output_data_plt_x86_64::set_final_data_size): Move out of line;
+       add extra PLT entry for TLS descriptors.
+       (Output_data_plt_x86_64::got_): New field.
+       (Output_data_plt_x86_64::tlsdesc_got_offset_): New field.
+       (Output_data_plt_x86_64::Output_data_plt_x86_64): Initialize new
+       fields.
+       (Output_data_plt_x86_64::do_write): Write extra PLT entry for TLS
+       descriptors.
+       (Target_x86_64::make_plt_entry): Factor out make_plt_section.
+       (Target_x86_64::got_mod_index_entry): Remove unnecessary code.
+       (Target_x86_64::Scan::local): Implement R_386_TLS_GOTDESC and
+       R_386_TLS_DESC_CALL relocations.
+       (Target_x86_64::Scan::global): Likewise.
+       (Target_x86_64::do_finalize_sections): Add dynamic table entries
+       for TLS descriptors.
+       (Relocate::relocate_tls): Fix problem with GD-to-IE relaxation.
+       Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations.
+       (Target_x86_64::Relocate::tls_gd_to_ie): Fix problem with
+       GD-to-IE relaxation.
+       * configure.ac: Export new conditional variables TLS_GNU2_DIALECT
+       and TLS_DESCRIPTORS.
+       * Makefile.in: Rebuild.
+       * configure: Rebuild.
+       * testsuite/Makefile.am (tls_shared_gd_to_ie_test): New target.
+       (tls_test_shared2.so): New target.
+       (tls_shared_gd_to_ie_test_SOURCES): New variable.
+       (tls_shared_gd_to_ie_test_DEPENDENCIES): New variable.
+       (tls_shared_gd_to_ie_test_LDFLAGS): New variable.
+       (tls_shared_gd_to_ie_test_LDADD): New variable.
+       (tls_shared_gnu2_gd_to_ie_test): New target.
+       (tls_test_gnu2.o, tls_test_file2_gnu2.o, tls_test_gnu2_shared2.so):
+       New targets.
+       (tls_shared_gnu2_gd_to_ie_test_SOURCES): New variable.
+       (ls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): New variable.
+       (tls_shared_gnu2_gd_to_ie_test_LDFLAGS): New variable.
+       (tls_shared_gnu2_gd_to_ie_test_LDADD): New variable.
+       (tls_shared_gnu2_test): New target.
+       (tls_test_gnu2_shared.so): New target.
+       (tls_shared_gnu2_test_SOURCES): New variable.
+       (tls_shared_gnu2_test_DEPENDENCIES): New variable.
+       (tls_shared_gnu2_test_LDFLAGS): New variable.
+       (tls_shared_gnu2_test_LDADD): New variable.
+       * testsuite/Makefile.in: Rebuild.
+       * testsuite/Makefile.
+
+2008-04-11  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/Makefile.am (justsyms_2r.o): Add dependency on
+       justsyms.t.
+       * testsuite/Makefile.in: Rebuild.
+
+       * testsuite/script_test_2a.cc (script_test_string_a): Make 8 bytes
+       long.
+       * testsuite/script_test_2.cc (main): Adjust test.
+
+2008-04-11  David S. Miller  <davem@davemloft.net>
+           Ian Lance Taylor  <iant@google.com>
+
+       * options.h (General_options): Add entries for '-Y' and
+       '-relax'.
+       * options.cc (General_options:finalize): If -Y was used, add those
+       entries to the library path instead of the default "/lib" and
+       "/usr/lib".
+
+2008-04-11  David S. Miller  <davem@davemloft.net>
+
+       * testsuite/justsyms.t: Start at 0x100.
+       * testsuite/justsyms_1.cc: Adjust justsyms_string assertion.
+       * testsuite/script_test_2b.cc (script_test_string_b): Make 8 bytes
+       long.
+       * testsuite/script_test_2.cc: Adjust string and section length
+       checks.
+
+2008-04-09  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/5996
+       * script-sections.cc (Sections_element::allocate_to_segment): Add
+       orphan parameter.
+       (Output_section_definition::allocate_to_segment): Likewise.
+       (Orphan_output_section::allocate_to_segment): Likewise.
+       (Script_sections::attach_sections_using_phdrs_clause): Don't
+       propagate non-PT_LOAD segments to orphan sections.
+       * testsuite/Makefile.am (script_test_3.stdout): Generate using
+       readelf rather than objdump.
+       * testsuite/script_test_3.sh: Adjust accordingly.  Test that
+       .interp section and PT_INTERP segment are the same size.
+       * testsuite/Makefile.in: Rebuild.
+
+       * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
+       aliases for symbols defined in the same object.
+       * testsuite/Makefile.am (check_PROGRAMS): Add weak_alias_test.
+       (weak_alias_test_SOURCES): New variable.
+       (weak_alias_test_DEPENDENCIES): New variable.
+       (weak_alias_test_LDFLAGS): New variable.
+       (weak_alias_test_LDADD): New variable.
+       (weak_alias_test_1_pic.o, weak_alias_test_1.so): New targets.
+       (weak_alias_test_2_pic.o, weak_alias_test_2.so): New targets.
+       (weak_alias_test_3.o): New target.
+       (weak_alias_test_4_pic.o, weak_alias_test_4.so): New targets.
+       * testsuite/weak_alias_test_main.cc: New file.
+       * testsuite/weak_alias_test_1.cc: New file.
+       * testsuite/weak_alias_test_2.cc: New file.
+       * testsuite/weak_alias_test_3.cc: New file.
+
+2008-04-08  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add --noinhibit-exec option.
+       * main.cc (main): Check --noinhibit-exec.
+
+       * options.h (class General_options): Define --wrap as a special
+       option.  Add wrap_symbols_ field.
+       (General_options::any_wrap_symbols): New function.
+       (General_options::is_wrap_symbol): New function.
+       * options.cc (General_options::parse_wrap): New function.
+       (General_options::General_options): Initialize wrap_symbols_.
+       * symtab.cc (Symbol_table::wrap_symbol): New function.
+       (Symbol_table::add_from_object): Handle --wrap.
+       * symtab.h (class Symbol_table): Declare wrap_symbol.
+       * target.h (Target::wrap_char): New function.
+       (Target::Target_info): Add wrap_char field.
+       * i386.cc (Target_i386::i386_info): Initialize wrap_char.
+       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
+       * testsuite/testfile.cc (Target_test::test_target_info):
+       Likewise.
+
+       * errors.cc (Errors::undefined_symbol): Mention symbol version if
+       there is one.
+
+       * layout.h (class Layout): Add added_eh_frame_data_ field.
+       * layout.cc (Layout::Layout): Initialize new field.
+       (Layout::layout_eh_frame): Don't add eh_frame_data_ to .eh_frame
+       output section until we find a section we merged successfully.
+       * object.cc (Sized_relobj::check_eh_frame_flags): Don't require
+       that the size be non-zero.
+
+       * merge.cc (Object_merge_map::get_output_offset): Remove inline
+       qualifier.
+
+2008-04-08  Craig Silverstein  <csilvers@google.com>
+
+       * configure.ac: Export new conditional variable HAVE_ZLIB.
+       * testsuite/Makefile.am (flagstest_o_specialfile): Condition
+       on HAVE_ZLIB.
+       (flagstest_o_specialfile_and_compress_debug_sections): Likewise.
+       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
+
+2008-04-07  Ian Lance Taylor  <iant@google.com>
+
+       * version.cc (version_string): Set to "1.5".
+
+       * x86_64.cc (Target_x86_64::Scan): Change from struct to class.
+       Add issued_non_pic_error_ field.  Declare check_non_pic.
+       (Target_x86_64::Scan::check_non_pic): New function.
+       (Target_x86_64::Scan::local): Call check_non_pic as appropriate.
+       (Target_x86_64::Scan::global): Likewise.
+
+       * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
+       addend parameter.  Change caller.  Handle merge sections.
+       (Output_reloc<SHT_REL>::symbol_value): Change parameter type from
+       Address to Addend.  Don't add in the result of
+       local_section_offset, pass down the addend and use the returned
+       value.
+       * output.h (class Output_reloc<SHT_REL>): Add Addend typedef.
+       Update declarations of local_section_offset and symbol_value.
+       * testsuite/two_file_test_1.cc (t18): New function.
+       * testsuite/two_file_test_2.cc (f18): New function.
+       * testsuite/two_file_test_main.cc (main): Call t18.
+       * testsuite/two_file_test.h (t18, f18): Declare.
+
+       * configure.ac: Don't test for objdump, c++filt, or readelf.
+       * testsuite/Makefile.am: Remove READELF and OBJDUMP_AND_CPPFILT
+       conditionals.
+       (TEST_READELF): New variable.
+       (TEST_OBJDUMP, TEST_CXXFILT, TEST_STRIP): New variables.
+       (check_PROGRAMS): Add two_file_strip_test.
+       (two_file_strip_test): New target.
+       (check_PROGRAMS): Add two_file_same_shared_strip_test.
+       (two_file_same_shared_strip_test_SOURCES): New variable.
+       (two_file_same_shared_strip_test_DEPENDENCIES): New variable.
+       (two_file_same_shared_strip_test_LDFLAGS): New variable.
+       (two_file_same_shared_strip_test_LDADD): New variable.
+       (two_file_shared_strip.so): New target.
+       (ver_test_2.syms, ver_test_4.syms): Use TEST_READELF.
+       (ver_test_5.syms, ver_test_7.syms): Likewise.
+       (ver_matching_test.stdout): Use TEST_OBJDUMP and TEST_CXXFILT.
+       (strip_test_3.stdout): Use TEST_OBJDUMP.
+       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
+
+2008-04-04  Cary Coutant  <ccoutant@google.com>
+
+       * symtab.h (Symbol::is_weak_undefined): New function.
+       (Symbol::is_strong_undefined): New function.
+       (Symbol::is_absolute): New function.
+       (Symbol::needs_plt_entry): Exclude weak undefined symbols.
+       (Symbol::needs_dynamic_reloc): Exclude weak undefined and
+       absolute symbols.
+       * testsuite/Makefile.am (check_PROGRAMS): Add weak_undef_test.
+       (weak_undef_test): New target.
+       * testsuite/Makefile.in: Rebuild.
+       * testsuite/weak_undef_file1.cc: New file.
+       * testsuite/weak_undef_file2.cc: New file.
+       * testsuite/weak_undef_test.cc: New file.
+
+2008-04-03  Craig Silverstein  <csilvers@google.com>
+
+       * compressed_output.h (class Output_compressed_section): Use
+       unsigned buffer.
+       * compressed_output.cc (zlib_compress): Use unsigned buffers,
+       add zlib header.
+       (zlib_compressed_suffix): Removed.
+       (Output_compressed_section::set_final_data_size): Use unsigned
+       buffers.
+       * testsuite/Makefile.am (flagstest_compress_debug_sections):
+       Fix linker invocation.
+       (flagstest_o_specialfile_and_compress_debug_sections):
+       Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2008-04-02  David S. Miller  <davem@davemloft.net>
+
+       *  dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog,
+       Sized_dwarf_line_info::process_one_opcode): Use Swap_unaligned.
+
+2008-04-02  Craig Silverstein  <csilvers@google.com>
+
+       * TODO: New file.
+
+2008-04-02  Ian Lance Taylor  <iant@google.com>
+
+       * fileread.cc (File_read::find_view): Add byteshift and vshifted
+       parameters.  Update for new key type to views_.  Change all
+       callers.
+       (File_read::read): Adjust for byteshift in returned view.
+       (File_read::add_view): New function, broken out of
+       find_and_make_view.
+       (File_read::make_view): New function, broken out of
+       find_and_make_view.
+       (File_read::find_or_make_view): Add offset and aligned
+       parameters.  Rewrite accordingly.  Change all callers.
+       (File_read::get_view): Add offset and aligned parameters.  Adjust
+       for byteshift in return value.
+       (File_read::get_lasting_view): Likewise.
+       * fileread.h (class File_read): Update declarations.
+       (class File_read::View): Add byteshift_ field.  Add byteshift to
+       constructor.  Add byteshift method.
+       * archive.h (Archive::clear_uncached_views): New function.
+       (Archive::get_view): Add aligned parameter.  Change all callers.
+       * object.h (Object::get_view): Add aligned parameter.  Change all
+       callers.
+       (Object::get_lasting_view): Likewise.
+
+       * fileread.cc (File_read::release): Don't call clear_views if
+       there are multiple objects.
+       * fileread.h (File_read::clear_uncached_views): New function.
+       * archive.cc (Add_archive_symbols::run): Call clear_uncached_views
+       on the archive.
+
+2008-03-31  Cary Coutant  <ccoutant@google.com>
+
+       Add thin archive support.
+       * archive.cc (Archive::armagt): New const.
+       (Archive::setup): Remove task parameter and calls to unlock.
+       (Archive::unlock_nested_archives): New function.
+       (Archive::read_header): Add nested_off parameter. Change
+       all callers.
+       (Archive::interpret_header): Likewise.
+       (Archive::include_all_members): Change to handle thin
+       archives.
+       (Archive::include_member): Likewise.
+       * archive.h (Archive::Archive): Add new parameters and
+       initializers.
+       (Archive::armagt): New const.
+       (Archive::setup): Remove task parameter.
+       (Archive::unlock_nested_archives): New function.
+       (Archive::read_header): Add nested_off parameter.
+       (Archive::interpret_header): Likewise.
+       (Archive::Nested_archive_table): New typedef.
+       (Archive::is_thin_archive_): New field.
+       (Archive::nested_archives_): New field.
+       (Archive::options_): New field.
+       (Archive::dirpath_): New field.
+       (Archive::task_): New field.
+       * readsyms.cc (Read_symbols::do_read_symbols): Add check
+       for thin archives.  Pass additional parameters to
+       Archive::Archive.  Unlock the archive file after calling
+       Archive::setup.
+
+2008-03-29  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol_table::do_define_as_constant): Don't force a
+       version symbol to be local.
+       * testsuite/ver_test_4.sh: New file.
+       * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_4.sh.
+       (check_DATA): Add ver_test_4.syms.
+       (ver_test_4.syms): New target.
+       * testsuite/Makefile.in: Rebuild.
+
+       * output.cc
+       (Output_section::Input_section_sort_entry::has_priority): New
+       function.
+       (Output_section::Input_section_sort_entry::match_file_name): New
+       function.
+       (Output_section::Input_section_sort_entry::match_section_name):
+       Remove.
+       (Output_section::Input_section_sort_entry::match_section_name_prefix):
+       Remove.
+       (Output_section::Input_section_sort_entry::match_section_file):
+       Remove.
+       (Output_section::Input_section_sort_compare::operator()): Rewrite
+       using new Input_section_sort_entry functions.  Sort crtbegin and
+       crtend first.  Sort sections with no priority before sections with
+       a priority.
+       * testsuite/initpri1.c (d3): Check j != 4.
+       (cd5): New constructor/destructor function.
+       (main): Check j != 2.
+
+       * symtab.cc (Symbol_table::add_from_object): If we don't use the
+       new symbol when resolving, don't call set_is_default.
+       * testsuite/ver_test_7.cc: New file.
+       * testsuite/ver_test_7.sh: New file.
+       * testsuite/Makefile.am (ver_test_7.so): New target.
+       (ver_test_7.o): New target.
+       (check_SCRIPTS): Add ver_test_7.sh.
+       (check_DATA): Add ver_test_7.syms.
+       (ver_test_7.syms): New target.
+
+2008-03-28  Ian Lance Taylor  <iant@google.com>
+
+       * layout.cc (Layout::layout): If we see an input section with a
+       name that needs sorting, set the must_sort flag for the output
+       section.
+       (Layout::make_output_section): If the name of the output section
+       indicates that it might require sorting, set the may_sort flag.
+       * output.h (Output_section::may_sort_attached_input_sections): New
+       function.
+       (Output_section::set_may_sort_attached_input_sections): New
+       function.
+       (Output_section::must_sort_attached_input_sections): New
+       function.
+       (Output_section::set_must_sort_attached_input_sections): New
+       function.
+       (class Output_section): Declare Input_section_sort_entry.  Define
+       Input_section_sort_compare.  Declare
+       sort_attached_input_sections.  Add new fields:
+       may_sort_attached_input_sections_,
+       must_sort_attached_input_sections_,
+       attached_input_sections_are_sorted_.
+       * output.cc (Output_section::Output_section): Initialize new
+       fields.
+       (Output_section::add_input_section): Add an entry to
+       input_sections_ if may_sort or must_sort are true.
+       (Output_section::set_final_data_size): Call
+       sort_attached_input_sections if necessary.
+       (Output_section::Input_section_sort_entry): Define new class.
+       (Output_section::Input_section_sort_compare::operator()): New
+       function.
+       (Output_section::sort_attached_input_sections): New function.
+       * configure.ac: Check whether the compiler supports constructor
+       priorities.  Define a CONSTRUCTOR_PRIORITY automake conditional.
+       * testsuite/initpri1.c: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add initpri1 if
+       CONSTRUCTOR_PRIORITY.
+       (initpri1_SOURCES, initpri1_DEPENDENCIES): New variables.
+       (initpri1_LDFLAGS): New variable.
+       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
+
+2008-03-27  Ian Lance Taylor  <iant@google.com>
+
+       * common.cc (Sort_commons::operator): Correct sorting algorithm.
+       * testsuite/common_test_1.c: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add common_test_1.
+       (common_test_1_SOURCES): New variable.
+       (common_test_1_DEPENDENCIES): New variable.
+       (common_test_1_LDFLAGS): New variable.
+
+       * symtab.cc (Symbol_table::add_from_object): Handle saw_undefined_
+       and commons_ correctly when NAME/VERSION does not override
+       NAME/NULL.
+       * testsuite/ver_test_6.c: New file.
+       * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_6
+       (ver_test_6_SOURCES, ver_test_6_DEPENDENCIES): New variables.
+       (ver_test_6_LDFLAGS, ver_test_6_LDADD): New variables.
+
+2008-03-26  Ian Lance Taylor  <iant@google.com>
+
+       * symtab.cc (Symbol_table::add_from_relobj): Don't set the version
+       of an undefined symbol from a version script.
+       * testsuite/Makefile.am (ver_test_5.so): New target.
+       (ver_test_5.o): New target.
+       (check_SCRIPTS): Add ver_test_5.sh.
+       (check_DATA): Add ver_test_5.syms.
+       (ver_test_5.syms): New target.
+       * testsuite/ver_test_5.cc: New file.
+       * testsuite/ver_test_5.script: New file.
+       * testsuite/ver_test_5.sh: New file.
+       * Makefile.in, testsuite/Makefile.in: Rebuild.
+
+       PR gold/5986
+       Fix problems building gold with gcc 4.3.0.
+       * gold.h (TEMPLATE_ATTRIBUTE_PRINTF_4): Define.
+       (gold_error_at_location, gold_warning_at_location): Use it.
+       * configure.ac: Check whether we can compile and use a template
+       function with a printf attribute.
+       * x86_64.cc (Target_x86_64::do_code_fill): Swap out a 32-bit value
+       when jumping over bytes.
+       * object.cc: Instantiate Object::read_section_data.
+       * debug.h: Include <cstring>
+       * dwarf_reader.cc: Include <algorithm>
+       * main.cc: Include <cstring>.
+       * options.cc: Include <cstring>.
+       * output.cc: Include <cstring>.
+       * script.cc: Include <cstring>.
+       * script.h: Include <string>.
+       * symtab.cc: Include <cstring> and <algorithm>.
+       * target-select.cc: Include <cstring>.
+       * version.cc: Include <string>.
+       * testsuite/testmain.cc: Include <cstdlib>.
+       * configure, config.in: Rebuild.
+
+2008-03-25  Ian Lance Taylor  <iant@google.com>
+
+       * options.cc: Include "../bfd/bfdver.h".
+       (options::help): Print bug reporting address.
+
+       * version.cc (print_version): Adjust output for current value of
+       BFD_VERSION_STRING.
+
+       * NEWS: New file.
+
+       * options.cc (options::help): Print list of supported targets.
+       * target-select.h: Include <vector>.
+       (class Target_selector): Make machine_, size_, and is_big_endian_
+       fields const.  Add bfd_name_ and instantiated_target_ fields.
+       (Target_selector::Target_selector): Add bfd_name parameter.
+       (Target_selector::recognize): Make non-virtual, call
+       do_recognize.
+       (Target_selector::recognize_by_name): Make non-virtual, call
+       do_recognize_by_name.
+       (Target_selector::supported_names): New function.
+       (Target_selector::bfd_name): New function.
+       (Target_selector::do_instantiate_target): New pure virtual
+       function.
+       (Target_selector::do_recognize): New virtual function.
+       (Target_selector::do_recognize_by_name): New virtual function.
+       (Target_selector::instantiate_target): New private function.
+       (supported_target_names): Declare.
+       * target-select.cc (Target_selector::Target_selector): Update for
+       new parameter and fields.
+       (select_target_by_name): Check that the name matches before
+       calling recognize_by_name.
+       (supported_target_names): New function.
+       * i386.cc (class Target_selector_i386): Update Target_selector
+       constructor call.  Remove recognize and recognize_by_name.  Add
+       do_instantiate_target.
+       * x86_64.cc (class Target_selector_x86_64): Likewise.
+       * testsuite/testfile.cc (class Target_selector_test): Update for
+       changes to Target_selector.
+
+       * README: Rewrite, with some notes on unsupported features.
+
+2008-03-24  Cary Coutant  <ccoutant@google.com>
+
+       * i386.cc (Target_i386::Got_type): New enum declaration.
+       (Target_i386::Scan::local): Updated callers of Output_data_got
+       member functions.
+       (Target_i386::Scan::global): Likewise.
+       (Target_i386::Relocate::relocate): Likewise.
+       (Target_i386::Relocate::relocate_tls): Likewise.
+       * object.h (Got_offset_list): New class.
+       (Sized_relobj::local_has_got_offset): Added got_type parameter.
+       (Sized_relobj::local_got_offset): Likewise.
+       (Sized_relobj::set_local_got_offset): Likewise.
+       (Sized_relobj::local_has_tls_got_offset): Removed.
+       (Sized_relobj::local_tls_got_offset): Removed.
+       (Sized_relobj::set_local_tls_got_offset): Removed.
+       (Sized_relobj::Local_got_offsets): Changed to store a list of offsets.
+       * output.cc (Output_data_got::add_global): Added got_type parameter.
+       (Output_data_got::add_global_with_rel): Likewise.
+       (Output_data_got::add_global_with_rela): Likewise.
+       (Output_data_got::add_global_pair_with_rel): New function.
+       (Output_data_got::add_global_pair_with_rela): New function.
+       (Output_data_got::add_local): Added got_type parameter.
+       (Output_data_got::add_local_with_rel): Likewise.
+       (Output_data_got::add_local_with_rela): Likewise.
+       (Output_data_got::add_local_pair_with_rel): New function.
+       (Output_data_got::add_local_pair_with_rela): New function.
+       (Output_data_got::add_global_tls): Removed.
+       (Output_data_got::add_global_tls_with_rel): Removed.
+       (Output_data_got::add_global_tls_with_rela): Removed.
+       (Output_data_got::add_local_tls): Removed.
+       (Output_data_got::add_local_tls_with_rel): Removed.
+       (Output_data_got::add_local_tls_with_rela): Removed.
+       * output.h (Output_data_got::add_global): Added got_type parameter.
+       (Output_data_got::add_global_with_rel): Likewise.
+       (Output_data_got::add_global_with_rela): Likewise.
+       (Output_data_got::add_global_pair_with_rel): New function.
+       (Output_data_got::add_global_pair_with_rela): New function.
+       (Output_data_got::add_local): Added got_type parameter.
+       (Output_data_got::add_local_with_rel): Likewise.
+       (Output_data_got::add_local_with_rela): Likewise.
+       (Output_data_got::add_local_pair_with_rel): New function.
+       (Output_data_got::add_local_pair_with_rela): New function.
+       (Output_data_got::add_global_tls): Removed.
+       (Output_data_got::add_global_tls_with_rel): Removed.
+       (Output_data_got::add_global_tls_with_rela): Removed.
+       (Output_data_got::add_local_tls): Removed.
+       (Output_data_got::add_local_tls_with_rel): Removed.
+       (Output_data_got::add_local_tls_with_rela): Removed.
+       * resolve.cc (Symbol::override_base_with_special): Removed
+       reference to has_got_offset_ field.
+       * symtab.cc (Symbol::init_fields): Replaced initialization
+       of got_offset_ with got_offsets_.  Removed initialization
+       of has_got_offset_
+       * symtab.h (Symbol::has_got_offset): Aded got_type parameter.
+       (Symbol::got_offset): Likewise.
+       (Symbol::set_got_offset): Likewise.
+       (Symbol::has_tls_got_offset): Removed.
+       (Symbol::tls_got_offset): Removed.
+       (Symbol::set_tls_got_offset): Removed.
+       (Symbol::got_offset_): Removed.
+       (Symbol::tls_mod_got_offset_): Removed.
+       (Symbol::tls_pair_got_offset_): Removed.
+       (Symbol::got_offsets_): New field.
+       (Symbol::has_got_offset): Removed.
+       (Symbol::has_tls_mod_got_offset): Removed.
+       (Symbol::has_tls_pair_got_offset): Removed.
+       * x86_64.cc (Target_x86_64::Got_type): New enum declaration.
+       (Target_x86_64::Scan::local): Updated callers of Output_data_got
+       member functions.
+       (Target_x86_64::Scan::global): Likewise.
+       (Target_x86_64::Relocate::relocate): Likewise.
+       (Target_x86_64::Relocate::relocate_tls): Likewise.
+
+2008-03-25  Ben Elliston  <bje@au.ibm.com>
+
+       * yyscript.y: Fix spelling error in comment.
+
+2008-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Define build_id option.
+       * layout.h (class Layout): Declare write_build_id, create_note,
+       create_build_id.  Add build_id_note_ member.
+       * layout.cc: Include <cerrno>, <fcntl.h>, <unistd.h>,
+       "libiberty.h", "md5.h", "sha1.h".
+       (Layout::Layout): Initialize eh_frame_data_,
+       eh_frame_hdr_section_, and build_id_note_.
+       (Layout::finalize): Call create_build_id.
+       (Layout::create_note): New function, broken out of
+       Layout::create_gold_note.
+       (Layout::create_gold_note): Call create_note.
+       (Layout::create_build_id): New function.
+       (Layout::write_build_id): New function.
+       (Close_task_runner::run): Call write_build_id.
+
+       * x86_64.cc: Correct license to GPLv3.
+
+2008-03-23  Ian Lance Taylor  <iant@google.com>
+
+       * options.cc: Include "demangle.h".
+       (parse_optional_string): New function.
+       (parse_long_option): Handle takes_optional_argument.
+       (parse_short_option): Update dash_z initializer.  Handle
+       takes_optional_argument.
+       (General_options::General_options): Initialize do_demangle_.
+       (General_options::finalize): Set do_demangle_.  Handle demangling
+       style.
+       * options.h (parse_optional_string): Declare.
+       (struct One_option): Add optional_arg field.  Update constructor.
+       Update call constructor calls.  Add takes_optional_argument
+       function.
+       (DEFINE_var): Add optional_arg__ parameter.  Change all callers.
+       (DEFINE_optional_string): Define.
+       (General_options::demangle): Change from DEFINE_bool to
+       DEFINE_optional_string.
+       (General_options::no_demangle): New function.
+       (General_options::do_demangle): New function.
+       (General_options::set_do_demangle): New function.
+       (General_options::execstack_status_): Move definition to end of
+       class definition.
+       (General_options::static_): Likewise.
+       (General_options::do_demangle_): New field.
+       * object.cc (big_endian>::get_symbol_location_info): Call
+       Options::do_demangle, not Options::demangle.
+       * symtab.cc (demangle): Likewise.
+
+2008-03-22  Ian Lance Taylor  <iant@google.com>
+
+       * gold.h: Include <cstddef> and <sys/types.h>
+       * options.h: Include <cstring>.
+
+2008-03-21  Ian Lance Taylor  <iant@google.com>
+
+       * Added source code to GNU binutils.
+\f
+Copyright (C) 2008-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
deleted file mode 100644 (file)
index 67f91ed..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * configure: Regenerate.
-
-2015-08-12  Nick Clifton  <nickc@redhat.com>
-
-       * po/sv.po: Updated Swedish translation.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * alpha.c (OP_Jxx): Add 'U' suffix to make it unsigned.
-       (OP_BSR): Likewise.
-       (Jxx_FUNC_JMP): Likewise.
-       (Jxx_FUNC_JSR): Likewise.
-       (Jxx_FUNC_RET): Likewise.
-       (Jxx_FUNC_JSR_COROUTINE): Likewise.
-       (alpha_find_call): Replace 0x3f with 0x3fU.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       * po/da.po: Update Danish translation.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/gprof/ChangeLog-2015 b/gprof/ChangeLog-2015
new file mode 100644 (file)
index 0000000..67f91ed
--- /dev/null
@@ -0,0 +1,44 @@
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2015-08-12  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * alpha.c (OP_Jxx): Add 'U' suffix to make it unsigned.
+       (OP_BSR): Likewise.
+       (Jxx_FUNC_JMP): Likewise.
+       (Jxx_FUNC_JSR): Likewise.
+       (Jxx_FUNC_RET): Likewise.
+       (Jxx_FUNC_JSR_COROUTINE): Likewise.
+       (alpha_find_call): Replace 0x3f with 0x3fU.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       * po/da.po: Update Danish translation.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/ChangeLog b/include/ChangeLog
deleted file mode 100644 (file)
index ee2fb83..0000000
+++ /dev/null
@@ -1,2183 +0,0 @@
-2015-12-01  Alan Modra  <amodra@gmail.com>
-
-       * bout.h: Invoke aout N_* macros with pointer to
-       struct internal_exec.
-       * os9k.h: Likewise.
-
-2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
-       __sparc__]: Define.
-
-2015-11-09  Alan Modra  <amodra@gmail.com>
-
-       PR gdb/17133
-       * obstack.h (__attribute_pure__): Expand _GL_ATTRIBUTE_PURE.
-
-2015-11-09  Alan Modra  <amodra@gmail.com>
-
-       PR gdb/17133
-       * obstack.h: Import current gnulib file.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Add call_nop_as_suffix and
-       call_nop_byte.
-
-2015-10-27  Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-           Mark Shinwell  <shinwell@codesourcery.com>
-           Andrew Stubbs  <ams@codesourcery.com>
-           Rich Felker <dalias@libc.org>
-
-       * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
-
-2015-10-18  Roland McGrath  <roland@gnu.org>
-
-       PR other/63758
-       * environ.h: New file.
-
-2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * dis-asm.h (arc_get_disassembler): Correct declaration.
-
-2015-09-30  Nick Clifton  <nickc@redhat.com>
-
-       Import the following patches from the GCC mainline:
-
-       2015-08-14  Pierre-Marie de Rodat  <derodat@adacore.com>
-
-       * dwarf2.def (DW_AT_GNU_bias): New attribute.
-
-       2015-08-14  Pierre-Marie de Rodat  <derodat@adacore.com>
-
-       * dwarf2.def (DW_AT_GNU_numerator, DW_AT_GNU_denominator): New
-       attributes.
-
-2015-09-20  Rich Felker  <dalias@libc.org>
-
-       * bfdlink.h (struct bfd_link_info): Add "nointerp" field.
-
-2015-08-23  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (enum output_type): Reorder enum.
-
-2015-08-19  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (enum output_type): Delete type_executable, add type_pde
-       and type_pie.  Reorder.
-       (struct bfd_link_info): Delete pic field.
-       (bfd_link_executable, bfd_link_pde, bfd_link_pie, bfd_link_pic): Adjust.
-
-2015-08-19  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (bfd_link_pde): Define.
-
-2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (output_type): New enum.
-       (bfd_link_executable): New macro.
-       (bfd_link_dll): Likewise.
-       (bfd_link_relocatable): Likewise.
-       (bfd_link_pic): Likewise.
-       (bfd_link_pie): Likewise.
-       (bfd_link_info): Remove shared, executable, pie and relocatable.
-       Add output_type and pic.
-
-2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Sync with GCC
-       2015-08-11  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
-
-       * ansidecl.h (GCC_FINAL): New macro.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Sync with GCC
-       2014-10-28  Richard Henderson  <rth@redhat.com>
-
-       * longlong.h [__alpha] (umul_ppmm): Disable for c++.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Sync with GCC
-       2014-12-09  Trevor Saunders  <tsaunders@mozilla.com>
-
-       * hashtab.h, splay-tree.h: Remove GTY markers.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Sync with GCC
-       2015-03-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
-
-       PR target/65261
-       * ansidecl.h (ATTRIBUTE_NO_SANITIZE_UNDEFINED): New macro.
-
-2015-06-22  Nick Clifton  <nickc@redhat.com>
-
-       * dis-asm.h (struct disassemble_info): Add stop_vma field.
-
-2015-05-28  Catherine Moore  <clm@codesourcery.com>
-
-       * bfdlink.h: Rename eh_frame_hdr to eh_frame_hdr_type.
-
-2015-05-22  Yunlian Jiang  <yunlian@google.com>
-
-       * libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is
-       not defined.
-
-2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Merge with gcc:
-       2014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
-                   Manuel López-Ibáñez  <manu@gcc.gnu.org>
-
-       PR driver/36312
-       * filenames.h: Add prototype for canonical_filename_eq.
-
-2015-04-30  DJ Delorie  <dj@redhat.com>
-
-       * dis-asm.h (print_insn_rl78_g10): New.
-       (print_insn_rl78_g13): New.
-       (print_insn_rl78_g14): New.
-       (rl78_get_disassembler): New.
-
-2015-04-17  Richard Earnshaw  <rearnsha@arm.com>
-
-       Merge from gcc:
-       2015-03-19  Richard Biener  <rguenther@suse.de>
-
-               * partition.h (struct partition_elem): Re-order elements to
-               avoid padding.
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Add compress_debug.
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr17709
-       * bfdlink.h (bfd_link_info): Add extern_protected_data.
-
-2015-02-19  Pedro Alves  <palves@redhat.com>
-
-       * floatformat.h [__cplusplus]: Wrap in extern "C".
-
-2015-02-14  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17973
-       * bfdlink.h (struct bfd_link_info): Delete loading_lto_outputs.
-
-2015-02-09  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf2.h: Add DW_LANG_Fortran03 and DW_LANG_Fortran08.
-
-2015-02-09  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf2.def: Add DW_TAG_atomic_type.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * dis-asm.h (print_insn_ft32): Declare.
-
-2015-01-15  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf2.def (DW_AT_noreturn): New DWARF5 attribute.
-
-2015-01-14  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
-
-       * libiberty.h: Merge from GCC.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-12-24  Uros Bizjak  <ubizjak@gmail.com>
-           Ben Elliston  <bje@au.ibm.com>
-           Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
-
-       * libiberty.h (xasprintf): Declare.
-
-2014-12-23  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_hash_entry): Comment non_ir_ref.  Add
-       linker_def.
-
-2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
-           Jan Kratochvil  <jan.kratochvil@redhat.com>
-           Tom Tromey  <tromey@redhat.com>
-
-       * gcc-c-fe.def: New file.
-       * gcc-c-interface.h: New file.
-       * gcc-interface.h: New file.
-
-2014-12-11  Uros Bizjak  <ubizjak@gmail.com>
-           Ben Elliston  <bje@au.ibm.com>
-           Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
-
-       * libiberty.h (xvasprintf): Declare.
-
-2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * dis-asm.h (print_insn_visium): Declare.
-
-2014-11-24  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
-       DW_LANG_C_plus_plus_14.
-
-2014-11-21  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
-
-       * dwarf2.def (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
-       (DW_AT_APPLE_isa, DW_AT_APPLE_block)
-       (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
-       (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
-       (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
-       (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
-       (DW_AT_APPLE_property): New macros.
-
-2014-11-21  Mark Wielaard  <mjw@redhat.com>
-
-       PR debug/63239
-       * dwarf2.def (DW_AT_GNU_deleted): New attribute.
-
-2014-11-18  Igor Zamyatin  <igor.zamyatin@intel.com>
-
-       * bfdlink.h (struct bfd_link_info): Add bndplt.
-
-2014-10-28  Yury Gribov  <y.gribov@samsung.com>
-
-       * libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes.
-
-2014-10-15  David Malcolm  <dmalcolm@redhat.com>
-
-       * libiberty.h (choose_tmpdir): New prototype.
-
-2014-09-26  Max Ostapenko  <m.ostapenko@partner.samsung.com>
-
-       * libiberty.h (PEX_STDOUT_APPEND): New flag.
-       (PEX_STDERR_APPEND): Likewise.
-
-2014-09-23  Iain Buclaw  <ibuclaw@gdcproject.org>
-
-       * demangle.h (DMGL_DLANG): New macro.
-       (DMGL_STYLE_MASK): Add DMGL_DLANG.
-       (demangling_styles): Add dlang_demangling.
-       (DLANG_DEMANGLING_STYLE_STRING): New macro.
-       (DLANG_DEMANGLING): New macro.
-       (dlang_demangle): New prototype.
-
-2014-09-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * longlong.h: Add __udiv_w_sdiv prototype.
-
-2014-08-12  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_callbacks <notice>): Remove "string"
-       param, add "inh".
-
-2014-08-12  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_info): Add lto_plugin_active.
-
-2014-06-13  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_hash_table): Add hash_table_free field.
-
-2014-06-13  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h: Update for bfd.link_next change.
-
-2014-06-10  Alan Modra  <amodra@gmail.com>
-
-       PR ld/16910
-       * bfdlink.h (unwrap_hash_lookup): Declare.
-
-2014-05-01  Steve Ellcey  <sellcey@mips.com>
-
-       * longlong.h: Import latest version from GCC tree.
-
-2014-04-22  Christian Svensson  <blue@cmd.nu>
-
-       * dis-asm.h: Remove openrisc and or32 support.  Add support for or1k.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2014-01-21  Tom Tromey  <tromey@redhat.com>
-
-       * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS)
-       (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST)
-       (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS)
-       (NOARGS): Don't define.
-       * libiberty.h (expandargv, writeargv): Don't use PARAMS.
-
-2014-01-09  Tom Tromey  <tromey@redhat.com>
-
-       * gdbm.h: Remove.
-
-2013-12-23  Bill Maddox  <maddox@google.com>
-
-       * demangle.h (enum gnu_v3_ctor_kinds):
-       Added literal gnu_v3_unified_ctor.
-       (enum gnu_v3_ctor_kinds):
-       Added literal gnu_v3_unified_dtor.
-
-2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-           Wei-Cheng Wang  <cole945@gmail.com>
-
-       * dis-asm.h (print_insn_nds32): Add nds32 target.
-
-2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * longlong.h: New file.
-
-2013-10-29  Marc Glisse  <marc.glisse@inria.fr>
-
-       PR tree-optimization/58689
-       * ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro.
-       * libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename,
-       concat_copy): Mark with attributes nonnull(1) and returns_nonnull.
-       (concat, reconcat, concat_copy2, choose_temp_base, xstrerror,
-       xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init):
-       Mark with attribute returns_nonnull.
-
-2013-10-10  Sean Keys <skeys@ipdatasys.com>
-
-       * xgate.h : Cleanup after opcode
-       table modification..
-
-2013-08-20  Alan Modra  <amodra@gmail.com>
-
-       * floatformat.h (floatformat_ibm_long_double): Delete.
-       (floatformat_ibm_long_double_big): Declare.
-       (floatformat_ibm_long_double_little): Declare.
-
-2013-08-19  Dehao Chen  <dehao@google.com>
-
-       * dwarf2.def (DW_AT_GNU_discriminator): New attribute.
-
-2013-08-02  Caroline Tice  <cmtice@google.com>
-
-       * vtv-change-permission.h: New file.
-
-2013-04-03  Jason Merrill  <jason@redhat.com>
-
-       Demangle C++11 ref-qualifier.
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_REFERENCE_THIS,
-       DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
-
-2013-03-01  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.h (enum dwarf_sect): New enum type.
-
-2013-02-19  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_info): Delete emit_note_gnu_build_id.
-
-2013-02-11  Sriraman Tallam  <tmsriram@google.com>
-
-       * plugin-api.h (enum ld_plugin_level): Assign integers
-       explicitly for all values.
-
-2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
-           Andrew Jenner <andrew@codesourcery.com>
-
-       Based on patches from Altera Corporation.
-
-       * dis-asm.h (print_insn_big_nios2): Declare.
-       (print_insn_little_nios2): Declare.
-
-2013-01-30  Kai Tietz  <ktietz@redhat.com>
-
-       PR other/54620
-       PR target/39064
-       * md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
-       stdint.h and sys/types.h headers are present.
-       * sha1.h (sha1_uintptr, sha1_uint32): Likewise.
-
-2013-01-10  Will Newton <will.newton@imgtec.com>
-
-       * dis-asm.h (print_insn_metag): New declaration.
-
-2012-12-18  Aldy Hernandez  <aldyh@redhat.com>
-
-       PR other/54324
-       * ansidecl.h (ATTRIBUTE_UNUSED): Do not set __attribute__ for GCC
-       < 3.4.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * MAINTAINERS: Add copyright notice.
-       * alloca-conf.h: Likewise.
-       * fopen-bin.h: Likewise.
-       * fopen-same.h: Likewise.
-       * fopen-vms.h: Likewise.
-
-2012-11-09  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_TAGGED_NAME.
-
-2012-10-29  Sterling Augustine  <saugustine@google.com>
-           Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.h (dwarf_location_list_entry_type): New enum with fields
-       DW_LLE_GNU_end_of_list_entry, DW_LLE_GNU_base_address_selection_entry,
-       DW_LLE_GNU_start_end_entry and DW_LLE_GNU_start_length_entry.
-
-
-2012-10-26  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
-
-       * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
-       (DW_AT_APPLE_isa, DW_AT_APPLE_block)
-       (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
-       (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
-       (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
-       (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
-       (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.
-
-2012-10-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Add
-       disable_target_specific_optimizations.
-
-2012-10-23  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * bfdlink.h (struct bfd_link_info): Add stacksize option.
-
-2012-10-22  Jan Beich  <jbeich@tormail.org>
-
-       PR ld/14426
-       * bfdlink.h (bfd_link_info): Add ignore_hash.
-
-2012-10-08  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER.
-
-2012-09-18  Florian Weimer  <fweimer@redhat.com>
-
-       PR other/54411
-       * objalloc.h (objalloc_alloc): Do not use fast path on wraparound.
-
-2012-09-06  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.def: Edit comment.
-
-2012-08-24  Sriraman Tallam  <tmsriram@google.com>
-
-       * plugin-api.h (ld_plugin_allow_unique_segment_for_sections):
-       New interface.
-       (ld_plugin_unique_segment_for_sections): New interface.
-       (LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
-       (LDPT_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
-       (tv_allow_unique_segment_for_sections): New member.
-       (tv_unique_segment_for_sections): New member.
-
-2012-08-13  Ian Bolton  <ian.bolton@arm.com>
-           Laurent Desnogues  <laurent.desnogues@arm.com>
-           Jim MacArthur  <jim.macarthur@arm.com>
-           Marcus Shawcroft  <marcus.shawcroft@arm.com>
-           Nigel Stephens  <nigel.stephens@arm.com>
-           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-           Richard Earnshaw  <rearnsha@arm.com>
-           Sofiane Naci  <sofiane.naci@arm.com>
-           Tejas Belagod  <tejas.belagod@arm.com>
-           Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * dis-asm.h (print_insn_aarch64): New declaration.
-       (print_aarch64_disassembler_options): New declaration.
-       (aarch64_symbol_is_valid): New declaration.
-
-2012-07-24  Stephan McCamant  <smcc@cs.berkeley.edu>
-           Dr David Alan Gilbert  <dave@treblig.org>
-
-       PR binutils/13135
-       * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
-
-2012-07-13  Doug Evans  <dje@google.com>
-
-       * filenames.h: #include "hashtab.h".
-       (filename_hash, filename_eq): Declare.
-
-2012-06-18  Doug Evans  <dje@google.com>
-
-       * dwarf2.def (DW_OP): Add DW_OP_GNU_const_index.
-
-2012-06-12  Rafael Ávila de Espíndola <respindola@mozilla.com>
-
-       * plugin-api.h (ld_plugin_output_file_type): Add LDPO_PIE.
-
-2012-06-08  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.def (DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt): New
-       forms.
-       * dwarf2.h (enum dwarf_macro_record_type): Add
-       DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt
-       and DW_MACRO_GNU_transparent_include_alt.
-
-2012-05-23  Doug Evans  <dje@google.com>
-
-       * leb128.h: #include stdint.h, inttypes.h.
-       (read_uleb128_to_uint64): Renamed from read_uleb128_to_ull.
-       Change to take a uint64_t * argument instead of unsigned long long.
-       (read_sleb128_to_uint64): Renamed from read_sleb128_to_ll.
-       Change to take an int64_t * argument instead of long long.
-
-2012-05-22  Doug Evans  <dje@google.com>
-
-       * leb128.h: New file.
-
-2012-05-19  Gary Funck  <gary@intrepid.com>
-
-       * dwarf2.def: Update comment re: UPC extensions to reference
-       DWARF4 specification.
-
-2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
-
-       * dis-asm.h (print_insn_m9s12x): Prototype.
-       (print_insn_m9s12xg): Prototype.
-
-2012-05-03  Sean Keys  <skeys@ipdatasys.com>
-
-       * dis-asm.h (print_insn_xgate): Define.
-       (print_insn_xgate): Ditto.
-       Added new files for XGATE port.
-
-2012-05-02  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.def: Remove DW_FORM_GNU_ref_index,
-       replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
-
-2012-04-28  Doug Evans  <dje@google.com>
-
-       * dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.
-
-2012-04-27  Tom Tromey  <tromey@redhat.com>
-
-       * dwarf2.h: Wrap function declarations in extern "C".
-
-2012-04-27  Tom Tromey  <tromey@redhat.com>
-
-       * dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
-       (enum dwarf_location_atom, enum dwarf_type, enum
-       dwarf_call_frame_info): Remove.
-       (DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP)
-       (DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros.
-       Include dwarf2.def.
-       (get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name)
-       (get_DW_OP_name, get_DW_ATE_name): Declare.
-       * dwarf2.def: New file, from dwarf2.h.
-
-2012-04-10  Tristan Gingold  <gingold@adacore.com>
-
-       * splay-tree.h: Conditionnaly includes stdint.h and inttypes.h
-       (libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t.
-
-2012-04-09  Roland McGrath  <mcgrathr@google.com>
-
-       * bfdlink.h (struct bfd_link_info): Add new member user_phdrs.
-
-2012-03-15  Alan Modra  <amodra@gmail.com>
-
-       * dis-asm.h (disassemble_init_powerpc): Declare.
-
-2009-11-06  Jonas Maebe  <jonas.maebe@elis.ugent.be>
-
-       Add DWARF attribute value for the "Borland fastcall" calling
-       convention.
-       * dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
-
-2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/13616
-       * bfdlink.h (bfd_link_order): Update comments on data size.
-
-2012-01-26  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.h (enum dwarf_form): Add Fission extensions.
-       (enum dwarf_attribute): Likewise.
-
-2012-01-06  Jason Merrill  <jason@redhat.com>
-
-       PR c++/6057
-       PR c++/48051
-       PR c++/50855
-       PR c++/51322
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY.
-
-2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>
-
-       * mach-o/loader.h (bfd_mach_o_section_type): define
-       BFD_MACH_O_S_ATTR_NONE to 0.
-
-2011-11-07  Richard Henderson  <rth@redhat.com>
-
-       Merged from transactional-memory.
-
-       * demangle.h (enum gnu_v3_ctor_kinds): Add gnu_v3_object_ctor_group.
-       (enum gnu_v3_dtor_kinds): Add gnu_v3_object_dtor_group.
-       (DEMANGLE_COMPONENT_TRANSACTION_CLONE): New.
-       (DEMANGLE_COMPONENT_NONTRANSACTION_CLONE): New.
-
-2011-11-01  DJ Delorie  <dj@redhat.com>
-
-       * dis-asm.h (print_insn_rl78): Declare.
-
-2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
-
-       * dis-asm.h (print_insn_epiphany): Declare.
-
-2011-10-21  Ulrich Drepper  <drepper@gmail.com>
-
-       * obstack.h [!GNUC] (obstack_free): Avoid cast to int.
-
-2011-10-21  Marc Glisse  <marc.glisse@inria.fr>
-
-       * ansidecl.h (ENUM_BITFIELD): Always use enum in C++
-
-2011-10-19  Alan Modra  <amodra@gmail.com>
-
-       PR ld/13254
-       * bfdlink.h (struct bfd_link_info): Add error_textrel.
-
-2011-09-28  Doug Evans  <dje@google.com>
-
-       * timeval-utils.h: New file.
-
-       * libiberty.h (countargv): Declare.
-
-2011-09-26  Cary Coutant  <ccoutant@google.com>
-
-       gcc PR lto/47247
-       * plugin-api.h (enum ld_plugin_symbol_resolution): Add
-       LDPR_PREVAILING_DEF_IRONLY_EXP.
-       (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
-
-2011-09-23  Cary Coutant  <ccoutant@google.com>
-
-       PR 40831
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_CLONE.
-
-2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/12975
-       * bfdlink.h (bfd_link_info): Add version_info.
-
-2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * xregex.h (regoff_t): Define.
-
-2011-07-22  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DW_AT_GNU_macros): New.
-       (enum dwarf_macro_record_type): New enum.  Add DW_MACRO_GNU_*.
-
-       PR c++/49756
-       * libiberty.h (stack_limit_increase): New prototype.
-
-2011-07-13  Sriraman Tallam  <tmsriram@google.com>
-
-       * plugin-api.h
-       (ld_plugin_section): New struct.
-       (ld_plugin_get_section_count): New typedef.
-       (ld_plugin_get_section_type): New typedef.
-       (ld_plugin_get_section_name): New typedef.
-       (ld_plugin_get_section_contents): New typedef.
-       (ld_plugin_update_section_order): New typedef.
-       (ld_plugin_allow_section_ordering): New typedef.
-       (LDPT_GET_SECTION_COUNT): New enum value.
-       (LDPT_GET_SECTION_TYPE): New enum value.
-       (LDPT_GET_SECTION_NAME): New enum value.
-       (LDPT_GET_SECTION_CONTENTS): New enum value.
-       (LDPT_UPDATE_SECTION_ORDER): New enum value.
-       (LDPT_ALLOW_SECTION_ORDERING): New enum value.
-       (tv_get_section_count): New struct members.
-       (tv_get_section_type): New struct members.
-       (tv_get_section_name): New struct members.
-       (tv_get_section_contents): New struct members.
-       (tv_update_section_order): New struct members.
-       (tv_allow_section_ordering): New struct members.
-
-2011-07-15  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_info): Use ENUM_BITFIELD for strip,
-       discard, common_skip_ar_symbols, unresolved_syms_in_objects, and
-       unresolved_syms_in_shared_libs fields.  Move emit_note_gnu_build_id
-       out of bitfields.  Reorder bitfields.
-
-2011-07-13  Sriraman Tallam  <tmsriram@google.com>
-
-       * plugin-api.h (ld_plugin_section): New struct.
-       (ld_plugin_get_section_count): New typedef.
-       (ld_plugin_get_section_type): New typedef.
-       (ld_plugin_get_section_name): New typedef.
-       (ld_plugin_get_section_contents): New typedef.
-       (ld_plugin_update_section_order): New typedef.
-       (ld_plugin_allow_section_ordering): New typedef.
-       (LDPT_GET_SECTION_COUNT): New enum value.
-       (LDPT_GET_SECTION_TYPE): New enum value.
-       (LDPT_GET_SECTION_NAME): New enum value.
-       (LDPT_GET_SECTION_CONTENTS): New enum value.
-       (LDPT_UPDATE_SECTION_ORDER): New enum value.
-       (LDPT_ALLOW_SECTION_ORDERING): New enum value.
-       (tv_get_section_count): New struct members.
-       (tv_get_section_type): New struct members.
-       (tv_get_section_name): New struct members.
-       (tv_get_section_contents): New struct members.
-       (tv_update_section_order): New struct members.
-       (tv_allow_section_ordering): New struct members.
-
-2011-07-11  Catherine Moore  <clm@codesourcery.com>
-
-       * bfdlink.h (flag_type): New enumeration.
-       (flag_info_list): New structure.
-       (flag_info): New structure.
-
-2011-07-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/12942
-       * bfdlink.h (bfd_link_info): Add loading_lto_outputs.
-
-2011-07-01  Joel Brobecker  <brobecker@adacore.com>
-
-       * filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
-       on Darwin, as well as on the systems that use a DOS-like
-       filesystem.
-
-2011-06-22  Jakub Jelinek  <jakub@redhat.com>
-
-       PR debug/47858
-       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
-
-2011-06-22  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
-
-2011-06-20  Jakub Jelinek  <jakub@redhat.com>
-
-       PR ld/12570
-       * bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info
-       option.
-
-2011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       * demangle.h (DMGL_RET_POSTFIX): Extend the comment.
-       (DMGL_RET_DROP): New.
-
-2011-06-13  Walter Lee  <walt@tilera.com>
-
-       * dis-asm.h (print_insn_tilegx): Declare.
-       (print_insn_tilepro): Likewise.
-
-2011-05-17  Alan Modra  <amodra@gmail.com>
-
-       PR ld/12760
-       * bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and
-       "string" param.
-
-2011-05-16  Alan Modra  <amodra@gmail.com>
-
-       * bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field.
-
-2011-04-30  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
-       DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
-
-2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       * bfdlink.h (ENUM_BITFIELD): Remove.
-
-2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
-
-2011-04-24  Alan Modra  <amodra@gmail.com>
-
-       PR ld/12365
-       PR ld/12696
-       * bfdlink.h (ENUM_BITFIELD): Define.
-       (struct bfd_link_hash_entry): Make "type" a bitfield.  Add "non_ir_ref".
-       (struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
-       rather than "name".
-
-2011-04-20  Alan Modra  <amodra@gmail.com>
-
-       PR ld/12365
-       * bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition
-       and multiple_common parameters to pass in a bfd_link_hash_entry
-       pointer rather than name,bfd etc. found in the hash entry.
-
-2011-03-31  Tristan Gingold  <gingold@adacore.com>
-
-       * dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
-
-2011-03-24  Mark Wielaard  <mjw@redhat.com>
-
-       * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
-
-2010-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>
-
-       * plugin-api.h (ld_plugin_get_view): New.
-       (ld_plugin_tag): Add LDPT_GET_VIEW.
-       (ld_plugin_tv): Add tv_get_view.
-
-2011-03-16  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
-       DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
-       DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
-       DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
-       DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
-       DW_OP_GNU_entry_value): New.
-
-2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
-
-       * filenames.h (filename_ncmp): New prototype.
-
-2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
-
-       * dwarf2.h (_ELF_DWARF2_H): Renamed to
-       _DWARF2_H.
-       (DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
-       DWARF2_External_PubNames, DWARF2_Internal_PubNames,
-       DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
-       DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.
-
-2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.
-
-2011-01-12  Iain Sandoe  <iains@gcc.gnu.org>
-
-       * dwarf2.h: Update value for DW_AT_hi_user.
-
-2010-11-16  Ian Lance Taylor  <iant@google.com>
-
-       * simple-object.h (simple_object_attributes_merge): Declare,
-       replacing simple_object_attributes_compare.
-
-2010-11-04  Ian Lance Taylor  <iant@google.com>
-
-       * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go.
-
-2010-11-02  Ian Lance Taylor  <iant@google.com>
-
-       * simple-object.h: New file.
-
-2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
-
-       Sync LD plugin patch series (part 1/6) with src/include/.
-       * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
-
-2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
-
-       Apply LD plugin patch series (part 6/6).
-       * bfdlink.h (struct_bfd_link_callbacks): Document new argument
-       to add_archive_element callback used to return a replacement bfd which
-       is to be added to the hash table in place of the original element.
-
-2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
-
-       Apply LD plugin patch series (part 1/6).
-       * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
-
-2010-10-06  Andi Kleen  <ak@linux.intel.com>
-
-       * libiberty.h (setproctitle): Add prototype.
-
-2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_EXT_V6Z): Remove.
-       (ARM_EXT_SEC): New define.
-       (ARM_AEXT_V6Z): Use Security Extensions.
-       (ARM_AEXT_V6ZK): Likeiwse.
-       (ARM_AEXT_V6ZT2): Likewise.
-       (ARM_AEXT_V6ZKT2): Likewise.
-       (ARM_AEXT_V7_ARM): Base v7 does not have Security Extensions.
-       (ARM_ARCH_V7A_SEC): New define.
-       (ARM_ARCH_V7A_MP): Rename...
-       (ARM_ARCH_V7A_MP_SEC): ...to this and add Security Extensions.
-
-2010-09-09  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DW_OP_GNU_implicit_pointer): New.
-
-2010-07-06  Ken Werner  <ken.werner@de.ibm.com>
-
-       * floatformat.h (floatformat_ieee_half_big): Add declaration.
-       (floatformat_ieee_half_little): Likewise.
-
-2010-06-29  Alan Modra  <amodra@gmail.com>
-
-       * dis-asm.h: Remove references to maxq.
-
-2010-06-21  Rafael Espindola  <espindola@google.com>
-
-       * plugin-api.h (ld_plugin_set_extra_library_path): New.
-       (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
-       (ld_plugin_tv): Add tv_set_extra_library_path.
-
-2010-06-21  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
-
-2010-06-18  Rafael Espindola  <espindola@google.com>
-
-       * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
-       Make argument const.
-
-2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
-
-       * splay-tree.h: Update copyright years.
-       (splay_tree_s): Document fields.
-       (splay_tree_new_typed_alloc): New.
-
-       * hashtab.h: Update copyright years.
-       (htab_create_typed_alloc): New.
-
-2010-06-10  Tristan Gingold  <gingold@adacore.com>
-
-       * dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
-       DW_TAG_HP_Bliss_field_set.
-       (enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
-       DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
-       DW_AT_HP_definition_points, DW_AT_HP_default_location and
-       DW_AT_HP_is_result_param.
-       (enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
-       DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
-       DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
-       DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
-       (enum dwarf_line_number_x_ops): Add
-       DW_LNE_HP_source_file_correlation.
-       (enum dwarf_source_language): Add DW_LANG_HP_Bliss,
-       DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
-       DW_LANG_HP_Assembler.
-
-2010-06-01  Rafael Espindola  <espindola@google.com>
-
-       * plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.
-
-2010-04-26  Pedro Alves  <pedro@codesourcery.com>
-
-       * filenames.h (PATH_SEPARATOR): Delete.
-
-2010-04-23  Pedro Alves  <pedro@codesourcery.com>
-
-       * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
-       always define it independently of host, add `dos_based' parameter,
-       and handle it.
-       (PATH_SEPARATOR): Define.
-       (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
-       independently of host, add `dos_based' parameter, and handle it.
-       (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
-       it independently of host, add `dos_based' parameter, and handle
-       it.
-       (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
-       (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
-       (HAS_DOS_DRIVE_SPEC): New.
-       (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
-       (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
-       (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
-       * libiberty.h (dos_lbasename, unix_lbasename): Declare.
-
-2009-05-31  Ian Lance Taylor  <iant@google.com>
-
-       * ansidecl.h: Add extern "C" when compiling with C++.  Treat C++
-       the way we treat an ISO C compiler.  Don't define inline as a
-       macro when compiling with C++.
-       * dyn-string.h: Add header guard DYN_STRING_H.  Add extern "C"
-       when compiling with C++.
-       * fibheap.h: Add extern "C" when compiling with C++.
-
-2010-04-23  Pedro Alves  <pedro@codesourcery.com>
-
-       * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
-       always define it independently of host, add `dos_based' parameter,
-       and handle it.
-       (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
-       independently of host, add `dos_based' parameter, and handle it.
-       (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
-       it independently of host, add `dos_based' parameter, and handle
-       it.
-       (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
-       (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
-       (HAS_DOS_DRIVE_SPEC): New.
-       (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
-       (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
-       (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
-       * libiberty.h (dos_lbasename, unix_lbasename): Declare.
-
-2010-04-20  Nick Clifton  <nickc@redhat.com>
-
-       * sha1.h: Update copyright notice to use GPLv3.
-
-2010-04-15  Nick Clifton  <nickc@redhat.com>
-
-       * bout.h: Update copyright notice to use GPLv3.
-       * hp-symtab.h: Likewise.
-       * oasys.h: Likewise.
-       * progress.h: Likewise.
-       * sha1.h: Likewise.
-       * xtensa-isa-internal.h: Likewise.
-       * xtensa-isa.h: Likewise.
-
-2010-04-14  Doug Evans  <dje@google.com>
-
-       * filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.
-
-2010-04-05  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
-       field.
-
-2010-03-25  Joseph Myers  <joseph@codesourcery.com>
-
-       * dis-asm.h (print_insn_tic6x): Declare.
-
-2010-03-23  Joseph Myers  <joseph@codesourcery.com>
-
-       * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
-
-2010-01-13  Joel Brobecker  <brobecker@adacore.com>
-
-       Add new DW_AT_use_GNAT_descriptive_type CU attribute.
-       * dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.
-
-2010-01-11  Tristan Gingold  <gingold@adacore.com>
-
-       * demangle.h (ada_demangle): Add prototype.
-
-2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       PR bootstrap/41771
-       * ansidecl.h: Fix inline test for C99 and Sun Studio cc.
-
-2009-12-29  Joel Brobecker  <brobecker@adacore.com>
-
-       * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
-
-2009-12-14  Doug Kwan  <dougkwan@google.com>
-
-       * bfdlink.h (struct bfd_link_callbacks): Rename function parameters
-       to avoid shadowed variable warnings.
-       * dis-asm.h (struct disassemble_info): Ditto.
-       (disassemble_init_for_target): Ditto.
-       (init_disassemble_info): Ditto.
-
-2009-11-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * alloca-conf.h: Clarify comment.
-
-2009-11-06  Jonas Maebe  <jonas.maebe@elis.ugent.be>
-
-       Add DWARF attribute value for the "Borland fastcall" calling
-       convention.
-       * dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
-
-2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
-
-       * splay-tree.h (libi_uhostptr_t): Add gcc specific
-       __extension__ for long long type case to silent cX9.
-       (libi_shostptr_t): Likewise.
-
-2009-10-19  Rafael Avila de Espindola  <espindola@google.com>
-
-       PR40790
-       * plugin-api.h: Don't include stdint.h unconditionally.
-
-2009-10-15  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DW_LANG_Python): Add comment that it is
-       a DWARF 4 addition.
-
-2009-10-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from
-       bfd_link_common_skip_ar_aymbols.
-       (struct bfd_link_info): Here too.
-
-2009-10-09  Rafael Espindola  <espindola@google.com>
-
-       * plugin-api.h (ld_plugin_add_input_library): Change argument name to
-       libname.
-
-2008-10-03  Rafael Espindola  <espindola@google.com>
-
-       * plugin-api.h: New.
-       * lto-symtab.h: New.
-
-2009-10-05   Rafael Espindola  <espindola@google.com>
-
-       * plugin-api.h (ld_plugin_status): Add LDPS_BAD_HANDLE.
-       (ld_plugin_get_input_file): New.
-       (ld_plugin_release_input_file): New.
-       (ld_plugin_add_input_library): New.
-       (ld_plugin_message): Mark format const.
-       (ld_plugin_level): Add LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE and
-       LDPT_ADD_INPUT_LIBRARY.
-       (ld_plugin_tv): Add tv_get_input_file, tv_release_input_file and
-       tv_add_input_library.
-
-2009-10-04  Jerry Quinn  <jlquinn@optonline.net>
-
-       * plugin-api.h: Fix compile.
-
-2009-09-29  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_LAMBDA, DEMANGLE_COMPONENT_DEFAULT_ARG,
-       DEMANGLE_COMPONENT_UNNAMED_TYPE.
-       (struct demangle_component): Add s_unary_num.
-
-2009-09-29  DJ Delorie  <dj@redhat.com>
-
-       * dis-asm.h: Add prototype for print_insn_rx.
-
-2009-09-25  Dodji Seketeli  <dodji@redhat.com>
-
-       * dwarf2.h (enum dwarf_tag): Rename DW_TAG_template_parameter_pack and
-       DW_TAG_formal_parameter_pack into DW_TAG_GNU_template_parameter_pack
-       and DW_TAG_formal_parameter_pack until DWARF 5 is out.
-
-2009-09-25  Cary Coutant  <ccoutant@google.com>
-
-       Add rest of new values from DWARF Version 4.
-       * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
-       New tags.
-       (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
-       (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
-       DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
-       DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
-       DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
-       DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
-       attributes.
-       (DW_LANG_Python): New language.
-
-2009-09-24  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
-       New tags.
-       (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
-       (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
-       DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
-       DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
-       DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
-       DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
-       attributes.
-       (DW_LANG_Python): New language.
-
-2009-09-22  Dodji Seketeli  <dodji@redhat.com>
-
-       * dwarf2.h (enum dwarf_tag): Add
-       DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack.
-
-2009-09-09  Martin Thuresson  <martin@mtme.org>
-
-       * bfdlink.h (struct bfd_link_hash_common_entry): Move to top
-       level.
-
-2009-08-06  Michael Eager <eager@eagercon.com>
-
-       * dis-asm.h: Decl print_insn_microblaze().
-
-2009-07-24  Ian Lance Taylor  <iant@google.com>
-
-       * libiberty.h (crc32): Declare.
-
-2009-07-20  Cary Coutant  <ccoutant@google.com>
-           Doug Evans  <dje@google.com>
-
-       Add some dwarf4 values.
-       * dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
-       (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
-       DW_FORM_flag_present, DW_FORM_sig8.
-       (enum dwarf_attribute): Add DW_AT_signature.
-
-2009-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       * demangle.h
-       (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
-       (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS>):
-       New.
-
-2009-07-10  Tom Tromey  <tromey@redhat.com>
-
-       * dwarf2.h: New file, moved from elf/.
-
-2009-07-09  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
-       and DW_OP_stack_value.
-
-2009-07-09  Tom Tromey  <tromey@redhat.com>
-
-       * elf/dwarf2.h: Remove, renaming to...
-       * dwarf2.h: ... this.
-
-2009-06-29  Tom Tromey  <tromey@redhat.com>
-
-       * elf/dwarf2.h: New file.  Merged with gdb.
-
-2009-06-18  Nick Clifton  <nickc@redhat.com>
-
-       * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags
-       field of struct disassemble_info.
-
-2009-06-09  Ian Lance Taylor  <ian@airs.com>
-
-       * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
-
-2009-06-15  Nick Clifton  <nickc@redhat.com>
-
-       * dis-asm.h (DISASSEMBLE_DATA): New value for the flags field of
-       struct disassemble_info.
-
-2009-06-02  Ian Lance Taylor  <iant@google.com>
-
-       * ansidecl.h (EXPORTED_CONST): Define.
-
-2009-05-31  Ian Lance Taylor  <iant@google.com>
-
-       * ansidecl.h: Add extern "C" when compiling with C++.  Treat C++
-       the way we treat an ISO C compiler.  Don't define inline as a
-       macdro when compiling with C++.
-       * dyn-string.h: Add header guard DYN_STRING_H.  Add extern "C"
-       when compiling with C++.
-       * fibheap.h: Add extern "C" when compiling with C++.
-
-2009-05-25  Tristan Gingold  <gingold@adacore.com>
-
-       * fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
-       FOPEN_AUB): Use "rfm=udf,rat=none" attribute.
-
-2009-04-22  Taras Glek <tglek@mozilla.com>
-
-       * hashtab.h: Update GTY annotations to new syntax.
-       * splay-tree.h: Likewise.
-
-2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Add warn_alternate_em.
-
-2009-03-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13
-       documentation.
-
-2009-03-17  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_FUNCTION_PARAM.
-
-2008-12-01  Cary Coutant  <ccoutant@google.com>
-
-       * plugin-api.h (LDPS_BAD_HANDLE): New constant.
-       (ld_plugin_get_input_file): New typedef.
-       (ld_plugin_release_input_file): New typedef.
-       (LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE): New constants.
-       (struct ld_plugin_tv): Add two new fields.
-
-2008-12-23  Jon Beniston <jon@beniston.com>
-
-       * dis-asm.h: Add LM32 disassembler function prototype.
-
-2008-12-10  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_FIXED_TYPE.
-
-2008-12-01  Cary Coutant  <ccoutant@google.com>
-
-       * plugin-api.h (ld_plugin_message): Change format parameter to const.
-
-2008-12-01  Cary Coutant  <ccoutant@google.com>
-
-       * plugin-api.h: Fix syntax error when compiling with C++.
-
-2008-11-26  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 7047
-       * bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
-       Add "literal".
-
-2008-11-21  Sterling Augustine  <sterling@tensilica.com>
-
-       * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
-       * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.
-
-2008-11-19  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
-       (XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
-       (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
-       (XCHAL_NUM_AREGS): Change to 32.
-       (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
-       (XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
-       (XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
-       (XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
-       (XCHAL_DEBUGLEVEL): Change to 6.
-
-2008-11-14  Tristan Gingold  <gingold@adacore.com>
-
-       * fopen-vms.h (FOPEN_RB): Use a single string to match the
-       standard prototype.
-       (FOPEN_WB): Ditto.
-       (FOPEN_AB): Ditto.
-       (FOPEN_RUB): Ditto.
-       (FOPEN_WUB): Ditto.
-       (FOPEN_AUB): Ditto.
-
-2008-10-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
-
-2008-10-06  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_PACK_EXPANSION.
-
-2008-09-22 Rafael Espindola  <espindola@google.com>
-
-       * plugin-api.h (ld_plugin_status): Remove comma from the last item.
-       Use C style comment.
-       (ld_plugin_api_version, ld_plugin_output_file_type,
-       ld_plugin_symbol_kind, ld_plugin_symbol_visibility,
-       ld_plugin_symbol_resolution, ld_plugin_level, ld_plugin_tag): Remove
-       comma from the last item.
-
-2008-09-18  Cary Coutant  <ccoutant@google.com>
-
-       Add plugin functionality for link-time optimization (LTO).
-       * plugin-api.h: New file.
-
-2008-09-09  Jason Merrill  <jason@redhat.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_DECLTYPE.
-
-2008-08-25  Alan Modra  <amodra@bigpond.net.au>
-
-       * binary-io.h: New file, imported from gnulib, but don't
-       #include <fcntl.h> or <stdio.h>.
-
-2008-08-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (bfd_generic_link_read_symbols): Declare.
-
-2008-07-12  Jie Zhang  <jie.zhang@analog.com>
-
-       Revert
-       2008-07-12  Jie Zhang  <jie.zhang@analog.com>
-       * bfdlink.h (struct bfd_link_info): Add sep_code member
-       variable.
-
-2008-07-12  Jie Zhang  <jie.zhang@analog.com>
-
-       * bfdlink.h (struct bfd_link_info): Add sep_code member
-       variable.
-
-2008-07-07  Stan Shebs  <stan@codesourcery.com>
-
-       * dis-asm.h (struct disassemble_info): Add endian_code field.
-
-2008-07-07  Joel Brobecker  <brobecker@adacore.com>
-
-       * safe-ctype.h: Add #include of ctype.h before redefining
-       the ctype.h macros.
-
-2008-07-04  Joel Brobecker  <brobecker@adacore.com>
-
-       * safe-ctype.h: Remove #error when detecting that ctype.h has been
-       included. Redefine the various macros provided by ctype.h as
-       undefined variables.
-
-2008-06-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
-       XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
-
-2008-06-06  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_info): Add "path_separator".
-
-2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-       * dis-asm.h (print_s390_disassembler_options):
-       Prototype added.
-
-2008-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * sha1.h: New file, from gnulib.
-
-       * md5.h: Add extern "C" when compiled with C++.
-
-2008-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * md5.h: Add extern "C" when compiled with C++.
-
-2008-03-21  Ian Lance Taylor  <iant@google.com>
-
-       * filenames.h: Add extern "C" when compiled with C++.
-
-2008-02-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_hash_table): Delete creator field.
-       (struct bfd_link_info): Add output_bfd.
-
-2008-02-11  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
-       (XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
-
-2008-01-26  David Daney  <ddaney@avtrex.com>
-
-       * demangle.h (demangle_component_type):  Add
-       DEMANGLE_COMPONENT_JAVA_RESOURCE,
-       DEMANGLE_COMPONENT_COMPOUND_NAME, and
-       DEMANGLE_COMPONENT_CHARACTER as new enum values.
-       (demangle_component): Add struct s_character to union u.
-
-2007-11-07  Joseph Myers  <joseph@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * floatformat.h (struct floatformat): Add split_half field.
-       (floatformat_ibm_long_double): New.
-
-2007-09-06  Tom Tromey  <tromey@redhat.com>
-
-       * libiberty.h (pex_free): Document process killing.
-
-2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
-
-       * demangle.h (enum demangle_component_type): Add
-       DEMANGLE_COMPONENT_RVALUE_REFERENCE.
-
-2007-07-25  Ben Elliston  <bje@au.ibm.com>
-
-       * ternary.h: Remove.
-
-2007-07-18  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
-       (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
-
-2007-07-17  Nick Clifton  <nickc@redhat.com>
-
-       * COPYING3: New file.  Contains version 3 of the GNU General
-       Public License.
-
-2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
-
-       * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
-       work-a-round whitespace problem in gcc gengtype.
-
-       * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
-       needed for WIN64 when a long is not wide enough for a pointer.
-       (splay_tree_key, splay_tree_value): Use the new types.
-
-2007-07-09  Roland McGrath  <roland@redhat.com>
-
-       * bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.
-
-2007-07-06  Nick Clifton  <nickc@redhat.com>
-
-       * bfdlink.h: Update copyright notice to refer to GPLv3.
-
-2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
-
-       * dis-asm.h (print_insn_cr16): New prototype.
-
-2007-06-01  Noah Misch  <noah@cs.caltech.edu>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
-
-2007-05-07  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * libiberty.h (writeargv): Declare.
-
-2007-04-30  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
-
-2007-04-25  Mark Mitchell  <mark@codesourcery.com>
-
-       * demangle.h: Change license to LGPL + exception.
-
-2007-04-10  Richard Henderson  <rth@redhat.com>
-
-       * bfdlink.h (struct bfd_link_info): Add relax_trip.
-
-2007-03-29  Joel Brobecker  <brobecker@adacore.com>
-
-       * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
-       regardless of the type of file system.
-
-2007-03-06  Jan Hubicka  <jh@suse.cz>
-
-       * ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New.
-
-2007-02-21  Nick Clifton  <nickc@redhat.com>
-
-       * bfdlink.h (struct bfd_link_callbacks): Add
-       override_segment_assignment field.
-
-2007-02-17  Mark Mitchell  <mark@codesourcery.com>
-           Nathan Sidwell  <nathan@codesourcery.com>
-           Vladimir Prus  <vladimir@codesourcery.com
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * bin-bugs.h: Remove.
-
-2007-02-09  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * libiberty.h (pex_write_input): Remove prototype.
-
-2007-02-05  Dave Brolley  <brolley@redhat.com>
-
-       * Contribute the following changes:
-       2001-03-26  Ben Elliston  <bje@redhat.com>
-
-       * dis-asm.h (print_insn_mep): Declare.
-
-2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dis-asm.h (print_i386_disassembler_options): New.
-
-2007-01-31  Vladimir Prus  <vladimir@codesourcery.com>
-
-       * libiberty.h (PEX_STDERR_TO_PIPE): New define.
-       (PEX_BINARY_ERROR): New define.
-       (pex_read_err): New function.
-
-2007-01-29  Simon Baldwin <simonb@google.com>
-
-       * demangle.h: New cplus_demangle_print_callback,
-       cplus_demangle_v3_callback, and java_demangle_v3_callback function
-       prototypes, and demangle_callbackref type definition.
-
-2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3831
-       * bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
-       Add dynamic and dynamic_data.
-
-2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
-           Nick Clifton  <nickc@redhat.com>
-
-       * ansidecl.h (ATTRIBUTE_PACKED): Define.
-
-2006-11-30  Andrew Stubbs  <andrew.stubbs@st.com>
-           J"orn Rennecke <joern.rennecke@st.com>
-
-       PR driver/29931
-       * libiberty.h (make_relative_prefix_ignore_links): Declare.
-
-2006-11-27  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XSHAL_ABI): New.
-       (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
-
-2006-11-27  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-isa.h (STATIC_LIBISA): Delete.
-
-2006-10-30  Paul Brook  <paul@codesourcery.com>
-
-       * dis-asm.h (disassemble_info): Add symtab, symtab_pos and
-       symtab_size.
-
-2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3111
-       * bfdlink.h (bfd_link_info): Add reduce_memory_overheads.
-
-2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
-           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
-           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
-           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       * dis-asm.h (print_insn_spu): Declare.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * dis-asm.h: Add prototypes for Score disassembler routines.
-
-2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_elf_dynamic_list): New.
-       (bfd_link_info): Add a dynamic field.
-
-2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
-
-       * bfdlink.h (struct bfd_link_info): New field: print_gc_sections.
-
-2006-07-10  Jakub Jelinek  <jakub@redhat.com>
-
-       * bfdlink.h (struct bfd_link_info): Add emit_hash and
-       emit_gnu_hash bitfields.
-
-2006-04-11  Jim Blandy  <jimb@codesourcery.com>
-
-       * libiberty.h (pex_input_file, pex_input_pipe): New declarations.
-
-2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Replace need_relax_finalize with
-       relax_pass.
-
-2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-           Anil Paranjape   <anilp1@kpitcummins.com>
-           Shilin Shakti    <shilins@kpitcummins.com>
-
-       * dis-asm.h (print_insn_xc16c): New prototype.
-
-2006-01-18  DJ Delorie  <dj@redhat.com>
-
-       * md5.h: Include ansidecl.h
-
-2006-01-17  Andreas Schwab  <schwab@suse.de>
-
-       PR binutils/1486
-       * dis-asm.h (struct disassemble_info): Add
-       disassembler_needs_relocs.
-
-2006-01-09  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
-
-2005-12-30  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
-
-2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
-
-       Second part of ms1 to mt renaming.
-       * dis-asm.h (print_insn_mt): Renamed.
-
-2005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
-
-       PR java/9861
-       * demangle.h : Add DMGL_RET_POSTFIX define to enable alternative
-       output format for return types
-
-2005-11-03  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_order): Tweak comment.
-
-2005-10-31  Mark Kettenis  <kettenis@gnu.org>
-
-       * floatformat.h (enum floatformat_byteorders): Add
-       floatformat_vax.
-       (floatformat_vax_aingle, floatformat_vax_double): Declare.
-
-2005-10-28  Dave Brolley  <brolley@redhat.com>
-
-       Contribute the following changes:
-       2003-09-29  Dave Brolley  <brolley@redhat.com>
-
-       * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
-       more exotic underlying types to be used.
-
-2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
-
-       disasm.h: Add declaration for print_insn_z80
-
-2005-09-30  Catherine Moore  <clm@cm00re.com>
-
-       * dis-asm.h (print_insn_bfin): Declare.
-
-2005-09-26  Mark Mitchell  <mark@codesourcery.com>
-
-       * libiberty.h (expandargv): New function.
-
-2005-08-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h: Remove mention of a29k.
-       * dis-asm.h: Remove a29k support.
-
-2005-08-17  Mark Kettenis  <kettenis@gnu.org>
-
-       * floatformat.h (struct floatformat): Change type of large
-       argument for is_valid member to `const void *'.
-       (floatformat_to_double): Change type of second argument to `const
-       void *'.
-       (floatformat_from_double): Change type of last argument to `void
-       *'.
-       (floatformat_is_valid): Change type of last argument to `const
-       void *'.
-
-2005-07-14  Jim Blandy  <jimb@redhat.com>
-
-       * dis-asm.h (print_insn_m32c): New declaration.
-
-2005-07-12  Ben Elliston  <bje@au.ibm.com>
-
-       * xregex2.h (regexec): Qualify this prototype with __extension__
-       when compiling with GNU C.
-
-2005-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * dis-asm.h (fprintf_ftype): Add format attribute.
-
-2005-07-03  Steve Ellcey  <sje@cup.hp.com>
-
-       PR other/13906
-       * ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
-       * md5.h (md5_uintptr): New.
-       (md5_ctx): Align buffer field.
-
-2005-06-30  Daniel Berlin  <dberlin@dberlin.org>
-
-       * hashtab.h (HTAB_DELETED_ENTRY): New macro.
-       (HTAB_EMPTY_ENTRY): New macro.
-
-2005-06-20  Geoffrey Keating  <geoffk@apple.com>
-
-       * libiberty.h (strverscmp): Prototype.
-
-2005-06-08  Zack Weinberg  <zack@codesourcery.com>
-
-       * dis-asm.h (get_arm_regnames): Update prototype.
-
-2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
-           Michael Snyder  <msnyder@redhat.com>
-           Stan Cox  <scox@redhat.com>
-
-       * dis-asm.h: Externalize print_insn_ms1.
-
-2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
-
-       * libiberty.h (XOBFINISH): New.
-
-2005-06-03  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_callbacks): Add einfo.
-
-2005-06-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (vsnprintf): Add format attribute.
-
-2005-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
-
-2005-05-28  Eli Zaretskii  <eliz@gnu.org>
-
-       * libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
-       needed.
-       (vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.
-
-2005-05-25  Richard Henderson  <rth@redhat.com>
-
-       * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
-
-2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
-
-       * libiberty.h (ACONCAT): Properly cast value of alloca().
-
-       * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
-       __cplusplus.
-
-2005-05-12  Steve Ellcey  <sje@cup.hp.com>
-
-       libiberty.h: Do not define empty basename prototype.
-
-2005-05-10  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       COPYING, ansidecl.h, bfdlink.h, bout.h, demangle.h, dis-asm.h,
-       dyn-string.h, fibheap.h, filenames.h, floatformat.h,
-       fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
-       libiberty.h, md5.h, oasys.h, objalloc.h, obstack.h, os9k.h,
-       partition.h, progress.h, safe-ctype.h, sort.h, splay-tree.h,
-       symcat.h, ternary.h, xregex2.h, xtensa-config.h,
-       xtensa-isa-internal.h, xtensa-isa.h
-
-2005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (unlock_std_streams): New.
-
-2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
-       Don't use the PTR macro.
-
-       * sort.h: Don't use the PARAMS macro.
-
-2005-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (unlock_stream): New.
-
-2005-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
-       Remove parameter names.
-
-2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
-       Provide prototypes for new functions.
-
-2005-03-29  Ian Lance Taylor  <ian@airs.com>
-
-       * libiberty.h: Fix indentation.
-
-2005-03-28  Ian Lance Taylor  <ian@airs.com>
-
-       * libiberty.h: Include <stdio.h>.
-       (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
-       (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
-       (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
-       (pex_init, pex_run, pex_read_output): Declare.
-       (pex_get_status, pex_get_times, pex_free, pex_one): Declare.
-       (struct pex_time): Define.
-
-2005-03-28  Mark Mitchell <mark@codesourcery.com>
-
-       * libiberty.h (ffs): Declare, if necessary.
-
-2005-03-27  Gabriel Dos Reis  <gdr@integreable-solutions.net>
-
-       * ternary.h: Don't use PARAMS anymore.
-
-2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
-
-       * md5.h: Remove definition and uses of __P.
-       * dyn-string.h: Remove uses of PARAMS.
-       * fibheap.h: Likewise.
-       * floatformat.h: Likewise.
-       * hashtab.h: Likewise.
-
-2005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
-
-       * demangle.h: Remove uses of PARAMS.
-
-       * libiberty.h (ANSI_PROTOTYPES): Remove guard since
-       ANSI_PROTOTYPES is always assumed.
-       Remove uses of PARAMS throughout.
-
-2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (xstrndup): Declare.
-
-2005-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
-
-2005-03-22  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-isa.h: Update a comment and whitespace.
-
-2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Add gc_sections.
-
-2005-03-09  Mark Mitchell  <mark@codesourcery.com>
-
-       * libiberty.h (gettimeofday): Declare.
-
-2005-03-01  Jan Beulich  <jbeulich@novell.com>
-
-       * libiberty.h: Declare unlink_if_ordinary.
-
-2005-02-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix.
-       * xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise.
-       (xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise.
-
-2005-02-14  Paolo Bonzini  <bonzini@gnu.org>
-
-       PR bootstrap/19818
-       * ansidecl.h (PARAMS): Guard from redefinition.
-
-2005-02-03  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
-
-2005-02-01  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (bfd_link_repair_undef_list): Declare.
-
-2005-01-10  Andreas Schwab  <schwab@suse.de>
-
-       * dis-asm.h (struct disassemble_info): Add skip_zeroes and
-       skip_zeroes_at_end.
-
-2004-12-11  Ben Elliston  <bje@au.ibm.com>
-
-       * fibheap.h (struct fibnode): Only use unsigned long bitfields
-       when __GNUC__ is defined and ints are less than 32-bits wide.
-
-2004-11-04  Paul Brook  <paul@codesourcery.com>
-
-       * bfdlink.h (bfd_link_info): Add default_imported_symver.
-
-2004-11-12  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id.
-       * xtensa-isa.h (xtensa_interface_class_id): New prototype.
-
-2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
-           Vineet Sharma      <vineets@noida.hcltech.com>
-
-       * dis-asm.h: Add prototype for print_insn_maxq_little.
-
-2004-10-26  Paul Brook  <paul@codesourcery.com>
-
-       * bfdlink.h (struct bfd_link_info): Add create_default_symver.
-
-2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR 463
-       * bfdlink.h (bfd_link_callbacks): Add a pointer to struct
-       bfd_link_hash_entry to reloc_overflow.
-
-2004-10-07  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
-       XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
-       (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
-
-       * xtensa-isa-internal.h (ISA_INTERFACE_VERSION): Delete.
-       (config_sturct struct): Delete.
-       (XTENSA_OPERAND_IS_REGISTER, XTENSA_OPERAND_IS_PCRELATIVE,
-       XTENSA_OPERAND_IS_INVISIBLE, XTENSA_OPERAND_IS_UNKNOWN,
-       XTENSA_OPCODE_IS_BRANCH, XTENSA_OPCODE_IS_JUMP,
-       XTENSA_OPCODE_IS_LOOP, XTENSA_OPCODE_IS_CALL,
-       XTENSA_STATE_IS_EXPORTED, XTENSA_INTERFACE_HAS_SIDE_EFFECT): Define.
-       (xtensa_format_encode_fn, xtensa_get_slot_fn, xtensa_set_slot_fn): New.
-       (xtensa_insn_decode_fn): Rename to ...
-       (xtensa_opcode_decode_fn): ... this.
-       (xtensa_immed_decode_fn, xtensa_immed_encode_fn, xtensa_do_reloc_fn,
-       xtensa_undo_reloc_fn): Update.
-       (xtensa_encoding_template_fn): Delete.
-       (xtensa_opcode_encode_fn, xtensa_format_decode_fn,
-       xtensa_length_decode_fn): New.
-       (xtensa_format_internal, xtensa_slot_internal): New types.
-       (xtensa_operand_internal): Delete operand_kind, inout, isPCRelative,
-       get_field, and set_field fields.  Add name, field_id, regfile,
-       num_regs, and flags fields.
-       (xtensa_arg_internal): New type.
-       (xtensa_iclass_internal): Change operands field to array of
-       xtensa_arg_internal.  Add num_stateOperands, stateOperands,
-       num_interfaceOperands, and interfaceOperands fields.
-       (xtensa_opcode_internal): Delete length, template, and iclass fields.
-       Add iclass_id, flags, encode_fns, num_funcUnit_uses, and funcUnit_uses.
-       (opname_lookup_entry): Delete.
-       (xtensa_regfile_internal, xtensa_interface_internal,
-       xtensa_funcUnit_internal, xtensa_state_internal,
-       xtensa_sysreg_internal, xtensa_lookup_entry): New.
-       (xtensa_isa_internal): Replace opcode_table field with opcodes field.
-       Change type of opname_lookup_table.  Delete num_modules,
-       module_opcode_base, module_decode_fn, config, and has_density fields.
-       Add num_formats, formats, format_decode_fn, length_decode_fn,
-       num_slots, slots, num_fields, num_operands, operands, num_iclasses,
-       iclasses, num_regfiles, regfiles, num_states, states,
-       state_lookup_table, num_sysregs, sysregs, sysreg_lookup_table,
-       max_sysreg_num, sysreg_table, num_interfaces, interfaces,
-       interface_lookup_table, num_funcUnits, funcUnits and
-       funcUnit_lookup_table fields.
-       (xtensa_isa_module, xtensa_isa_modules): Delete.
-       (xtensa_isa_name_compare): New prototype.
-       (xtisa_errno, xtisa_error_msg): New.
-       * xtensa-isa.h (XTENSA_ISA_VERSION): Define.
-       (xtensa_isa): Change type.
-       (xtensa_operand): Delete.
-       (xtensa_format, xtensa_regfile, xtensa_state, xtensa_sysreg,
-       xtensa_interface, xtensa_funcUnit, xtensa_isa_status,
-       xtensa_funcUnit_use): New types.
-       (libisa_module_specifier): Delete.
-       (xtensa_isa_errno, xtensa_isa_error_msg): New prototypes.
-       (xtensa_insnbuf_free, xtensa_insnbuf_to_chars,
-       xtensa_insnbuf_from_chars): Update prototypes.
-       (xtensa_load_isa, xtensa_extend_isa, xtensa_default_isa,
-       xtensa_insn_maxlength, xtensa_num_opcodes, xtensa_decode_insn,
-       xtensa_encode_insn, xtensa_insn_length,
-       xtensa_insn_length_from_first_byte, xtensa_num_operands,
-       xtensa_operand_kind, xtensa_encode_result,
-       xtensa_operand_isPCRelative): Delete.
-       (xtensa_isa_init, xtensa_operand_inout, xtensa_operand_get_field,
-       xtensa_operand_set_field, xtensa_operand_encode,
-       xtensa_operand_decode, xtensa_operand_do_reloc,
-       xtensa_operand_undo_reloc): Update prototypes.
-       (xtensa_isa_maxlength, xtensa_isa_length_from_chars,
-       xtensa_isa_num_pipe_stages, xtensa_isa_num_formats,
-       xtensa_isa_num_opcodes, xtensa_isa_num_regfiles, xtensa_isa_num_states,
-       xtensa_isa_num_sysregs, xtensa_isa_num_interfaces,
-       xtensa_isa_num_funcUnits, xtensa_format_name, xtensa_format_lookup,
-       xtensa_format_decode, xtensa_format_encode, xtensa_format_length,
-       xtensa_format_num_slots, xtensa_format_slot_nop_opcode,
-       xtensa_format_get_slot, xtensa_format_set_slot, xtensa_opcode_decode,
-       xtensa_opcode_encode, xtensa_opcode_is_branch, xtensa_opcode_is_jump,
-       xtensa_opcode_is_loop, xtensa_opcode_is_call,
-       xtensa_opcode_num_operands, xtensa_opcode_num_stateOperands,
-       xtensa_opcode_num_interfaceOperands, xtensa_opcode_num_funcUnit_uses,
-       xtensa_opcode_funcUnit_use, xtensa_operand_name,
-       xtensa_operand_is_visible, xtensa_operand_is_register,
-       xtensa_operand_regfile, xtensa_operand_num_regs,
-       xtensa_operand_is_known_reg, xtensa_operand_is_PCrelative,
-       xtensa_stateOperand_state, xtensa_stateOperand_inout,
-       xtensa_interfaceOperand_interface, xtensa_regfile_lookup,
-       xtensa_regfile_lookup_shortname, xtensa_regfile_name,
-       xtensa_regfile_shortname, xtensa_regfile_view_parent,
-       xtensa_regfile_num_bits, xtensa_regfile_num_entries,
-       xtensa_state_lookup, xtensa_state_name, xtensa_state_num_bits,
-       xtensa_state_is_exported, xtensa_sysreg_lookup,
-       xtensa_sysreg_lookup_name, xtensa_sysreg_name, xtensa_sysreg_number,
-       xtensa_sysreg_is_user, xtensa_interface_lookup, xtensa_interface_name,
-       xtensa_interface_num_bits, xtensa_interface_inout,
-       xtensa_interface_has_side_effect, xtensa_funcUnit_lookup,
-       xtensa_funcUnit_name, xtensa_funcUnit_num_copies): New prototypes.
-2004-10-07  Jeff Baker  <jbaker@qnx.com>
-
-       * bfdlink.h (bfd_link_info): Add bitfield: warn_shared_textrel.
-
-2004-09-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_hash_entry): Move und_next into elements
-       of union.
-
-2004-09-13  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
-
-       * libiberty.h (basename): Prototype for __MINGW32__.
-
-2004-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
-
-       * ansidecl.h (ATTRIBUTE_SENTINEL): Define.
-       * libiberty.h (concat, reconcat, concat_length, concat_copy,
-       concat_copy2): Use ATTRIBUTE_SENTINEL.
-
-2004-08-13  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_callbacks): Remove "error_handler".
-       (LD_DEFINITION_IN_DISCARDED_SECTION): Delete.
-
-2004-08-02  Gabriel Dos Reis  <gdr@integrable-solutions.net>
-
-       * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
-       const-qualification before disposal.
-
-2004-07-24  Bernardo Innocenti  <bernie@develer.com>
-
-       * ansidecl.h (ARG_UNUSED): New Macro.
-
-2004-07-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bin-bugs.h (REPORT_BUGS_TO): Set to
-       "<URL:http://www.sourceware.org/bugzilla/>".
-
-2004-07-21  Paolo Bonzini  <bonzini@gnu.org>
-
-       * ansidecl.h (ATTRIBUTE_PURE): New.
-
-2004-07-13  Bernardo Innocenti  <bernie@develer.com>
-
-       * libiberty.h (XNEW, XCNEW, XNEWVEC, XCNEWVEC, XOBNEW): Move here from
-       libcpp/internal.h.
-       (XDELETE, XRESIZEVEC, XDELETEVEC, XNEWVAR, XCNEWVAR, XRESIZEVAR): New
-       macros.
-
-2004-07-13  Bernardo Innocenti  <bernie@develer.com>
-
-       * libiberty.h (ASTRDUP): Add casts required for stricter
-       type conversion rules of C++.
-       * obstack.h (obstack_free): Likewise.
-
-2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
-
-       * dis-asm.h (print_insn_crx): Declare.
-
-2004-06-24  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfdlink.h (struct bfd_link_order): Update comment.
-
-2004-05-11  Jakub Jelinek  <jakub@redhat.com>
-
-       * bfdlink.h (struct bfd_link_info): Add relro, relro_start and
-       relro_end fields.
-
-2004-05-04  Andreas Jaeger  <aj@suse.de>
-
-       * demangle.h: Do not use C++ reserved keyword typename as
-       parameter for cplus_demangle_fill_builtin_type.
-
-2004-04-22  Richard Henderson  <rth@redhat.com>
-
-       * hashtab.h (struct htab): Add size_prime_index.
-
-2004-04-13  Jeff Law  <law@redhat.com>
-
-       * hashtab.h (htab_remove_elt_with_hash): Prototype new function.
-
-2004-03-30  Zack Weinberg  <zack@codesourcery.com>
-
-       * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
-
-2004-03-25  Stan Shebs  <shebs@apple.com>
-
-       * mpw/: Remove subdirectory and everything in it.
-
-2004-03-23  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 51.
-       * bfdlink.h (struct bfd_link_info): Add wrap_char.
-
-2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfdlink.h (bfd_link_info): Correct comments for the
-       unresolved_syms_in_objects field.
-
-2004-02-24  Ian Lance Taylor  <ian@wasabisystems.com>
-
-       * dyn-string.h: Update copyright date.
-
-2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
-
-       * dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
-       the associated #defines.
-
-2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
-
-       * demangle.h: Instead of checking ANSI_PROTOTYPES, just include
-       "libiberty.h".
-
-       * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
-
-       * demangle.h (enum demangle_component_type): Define.
-       (struct demangle_operator_info): Declare.
-       (struct demangle_builtin_type_info): Declare.
-       (struct demangle_component): Define.
-       (cplus_demangle_fill_component): Declare.
-       (cplus_demangle_fill_name): Declare.
-       (cplus_demangle_fill_builtin_type): Declare.
-       (cplus_demangle_fill_operator): Declare.
-       (cplus_demangle_fill_extended_operator): Declare.
-       (cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
-       (cplus_demangle_v3_components): Declare.
-       (cplus_demangle_print): Declare.
-
-For older changes see ChangeLog-9103
-\f
-Copyright (C) 2004-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/ChangeLog-0415 b/include/ChangeLog-0415
new file mode 100644 (file)
index 0000000..ee2fb83
--- /dev/null
@@ -0,0 +1,2183 @@
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * bout.h: Invoke aout N_* macros with pointer to
+       struct internal_exec.
+       * os9k.h: Likewise.
+
+2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
+       __sparc__]: Define.
+
+2015-11-09  Alan Modra  <amodra@gmail.com>
+
+       PR gdb/17133
+       * obstack.h (__attribute_pure__): Expand _GL_ATTRIBUTE_PURE.
+
+2015-11-09  Alan Modra  <amodra@gmail.com>
+
+       PR gdb/17133
+       * obstack.h: Import current gnulib file.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Add call_nop_as_suffix and
+       call_nop_byte.
+
+2015-10-27  Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+           Mark Shinwell  <shinwell@codesourcery.com>
+           Andrew Stubbs  <ams@codesourcery.com>
+           Rich Felker <dalias@libc.org>
+
+       * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
+
+2015-10-18  Roland McGrath  <roland@gnu.org>
+
+       PR other/63758
+       * environ.h: New file.
+
+2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * dis-asm.h (arc_get_disassembler): Correct declaration.
+
+2015-09-30  Nick Clifton  <nickc@redhat.com>
+
+       Import the following patches from the GCC mainline:
+
+       2015-08-14  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * dwarf2.def (DW_AT_GNU_bias): New attribute.
+
+       2015-08-14  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * dwarf2.def (DW_AT_GNU_numerator, DW_AT_GNU_denominator): New
+       attributes.
+
+2015-09-20  Rich Felker  <dalias@libc.org>
+
+       * bfdlink.h (struct bfd_link_info): Add "nointerp" field.
+
+2015-08-23  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (enum output_type): Reorder enum.
+
+2015-08-19  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (enum output_type): Delete type_executable, add type_pde
+       and type_pie.  Reorder.
+       (struct bfd_link_info): Delete pic field.
+       (bfd_link_executable, bfd_link_pde, bfd_link_pie, bfd_link_pic): Adjust.
+
+2015-08-19  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (bfd_link_pde): Define.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (output_type): New enum.
+       (bfd_link_executable): New macro.
+       (bfd_link_dll): Likewise.
+       (bfd_link_relocatable): Likewise.
+       (bfd_link_pic): Likewise.
+       (bfd_link_pie): Likewise.
+       (bfd_link_info): Remove shared, executable, pie and relocatable.
+       Add output_type and pic.
+
+2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Sync with GCC
+       2015-08-11  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * ansidecl.h (GCC_FINAL): New macro.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Sync with GCC
+       2014-10-28  Richard Henderson  <rth@redhat.com>
+
+       * longlong.h [__alpha] (umul_ppmm): Disable for c++.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Sync with GCC
+       2014-12-09  Trevor Saunders  <tsaunders@mozilla.com>
+
+       * hashtab.h, splay-tree.h: Remove GTY markers.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Sync with GCC
+       2015-03-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       PR target/65261
+       * ansidecl.h (ATTRIBUTE_NO_SANITIZE_UNDEFINED): New macro.
+
+2015-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * dis-asm.h (struct disassemble_info): Add stop_vma field.
+
+2015-05-28  Catherine Moore  <clm@codesourcery.com>
+
+       * bfdlink.h: Rename eh_frame_hdr to eh_frame_hdr_type.
+
+2015-05-22  Yunlian Jiang  <yunlian@google.com>
+
+       * libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is
+       not defined.
+
+2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Merge with gcc:
+       2014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
+                   Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       PR driver/36312
+       * filenames.h: Add prototype for canonical_filename_eq.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * dis-asm.h (print_insn_rl78_g10): New.
+       (print_insn_rl78_g13): New.
+       (print_insn_rl78_g14): New.
+       (rl78_get_disassembler): New.
+
+2015-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       Merge from gcc:
+       2015-03-19  Richard Biener  <rguenther@suse.de>
+
+               * partition.h (struct partition_elem): Re-order elements to
+               avoid padding.
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Add compress_debug.
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr17709
+       * bfdlink.h (bfd_link_info): Add extern_protected_data.
+
+2015-02-19  Pedro Alves  <palves@redhat.com>
+
+       * floatformat.h [__cplusplus]: Wrap in extern "C".
+
+2015-02-14  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17973
+       * bfdlink.h (struct bfd_link_info): Delete loading_lto_outputs.
+
+2015-02-09  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2.h: Add DW_LANG_Fortran03 and DW_LANG_Fortran08.
+
+2015-02-09  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2.def: Add DW_TAG_atomic_type.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * dis-asm.h (print_insn_ft32): Declare.
+
+2015-01-15  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2.def (DW_AT_noreturn): New DWARF5 attribute.
+
+2015-01-14  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+       * libiberty.h: Merge from GCC.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-12-24  Uros Bizjak  <ubizjak@gmail.com>
+           Ben Elliston  <bje@au.ibm.com>
+           Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * libiberty.h (xasprintf): Declare.
+
+2014-12-23  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_hash_entry): Comment non_ir_ref.  Add
+       linker_def.
+
+2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * gcc-c-fe.def: New file.
+       * gcc-c-interface.h: New file.
+       * gcc-interface.h: New file.
+
+2014-12-11  Uros Bizjak  <ubizjak@gmail.com>
+           Ben Elliston  <bje@au.ibm.com>
+           Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * libiberty.h (xvasprintf): Declare.
+
+2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * dis-asm.h (print_insn_visium): Declare.
+
+2014-11-24  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
+       DW_LANG_C_plus_plus_14.
+
+2014-11-21  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
+
+       * dwarf2.def (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
+       (DW_AT_APPLE_isa, DW_AT_APPLE_block)
+       (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
+       (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
+       (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
+       (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
+       (DW_AT_APPLE_property): New macros.
+
+2014-11-21  Mark Wielaard  <mjw@redhat.com>
+
+       PR debug/63239
+       * dwarf2.def (DW_AT_GNU_deleted): New attribute.
+
+2014-11-18  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * bfdlink.h (struct bfd_link_info): Add bndplt.
+
+2014-10-28  Yury Gribov  <y.gribov@samsung.com>
+
+       * libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes.
+
+2014-10-15  David Malcolm  <dmalcolm@redhat.com>
+
+       * libiberty.h (choose_tmpdir): New prototype.
+
+2014-09-26  Max Ostapenko  <m.ostapenko@partner.samsung.com>
+
+       * libiberty.h (PEX_STDOUT_APPEND): New flag.
+       (PEX_STDERR_APPEND): Likewise.
+
+2014-09-23  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * demangle.h (DMGL_DLANG): New macro.
+       (DMGL_STYLE_MASK): Add DMGL_DLANG.
+       (demangling_styles): Add dlang_demangling.
+       (DLANG_DEMANGLING_STYLE_STRING): New macro.
+       (DLANG_DEMANGLING): New macro.
+       (dlang_demangle): New prototype.
+
+2014-09-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * longlong.h: Add __udiv_w_sdiv prototype.
+
+2014-08-12  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_callbacks <notice>): Remove "string"
+       param, add "inh".
+
+2014-08-12  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_info): Add lto_plugin_active.
+
+2014-06-13  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_hash_table): Add hash_table_free field.
+
+2014-06-13  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h: Update for bfd.link_next change.
+
+2014-06-10  Alan Modra  <amodra@gmail.com>
+
+       PR ld/16910
+       * bfdlink.h (unwrap_hash_lookup): Declare.
+
+2014-05-01  Steve Ellcey  <sellcey@mips.com>
+
+       * longlong.h: Import latest version from GCC tree.
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * dis-asm.h: Remove openrisc and or32 support.  Add support for or1k.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2014-01-21  Tom Tromey  <tromey@redhat.com>
+
+       * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS)
+       (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST)
+       (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS)
+       (NOARGS): Don't define.
+       * libiberty.h (expandargv, writeargv): Don't use PARAMS.
+
+2014-01-09  Tom Tromey  <tromey@redhat.com>
+
+       * gdbm.h: Remove.
+
+2013-12-23  Bill Maddox  <maddox@google.com>
+
+       * demangle.h (enum gnu_v3_ctor_kinds):
+       Added literal gnu_v3_unified_ctor.
+       (enum gnu_v3_ctor_kinds):
+       Added literal gnu_v3_unified_dtor.
+
+2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+           Wei-Cheng Wang  <cole945@gmail.com>
+
+       * dis-asm.h (print_insn_nds32): Add nds32 target.
+
+2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * longlong.h: New file.
+
+2013-10-29  Marc Glisse  <marc.glisse@inria.fr>
+
+       PR tree-optimization/58689
+       * ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro.
+       * libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename,
+       concat_copy): Mark with attributes nonnull(1) and returns_nonnull.
+       (concat, reconcat, concat_copy2, choose_temp_base, xstrerror,
+       xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init):
+       Mark with attribute returns_nonnull.
+
+2013-10-10  Sean Keys <skeys@ipdatasys.com>
+
+       * xgate.h : Cleanup after opcode
+       table modification..
+
+2013-08-20  Alan Modra  <amodra@gmail.com>
+
+       * floatformat.h (floatformat_ibm_long_double): Delete.
+       (floatformat_ibm_long_double_big): Declare.
+       (floatformat_ibm_long_double_little): Declare.
+
+2013-08-19  Dehao Chen  <dehao@google.com>
+
+       * dwarf2.def (DW_AT_GNU_discriminator): New attribute.
+
+2013-08-02  Caroline Tice  <cmtice@google.com>
+
+       * vtv-change-permission.h: New file.
+
+2013-04-03  Jason Merrill  <jason@redhat.com>
+
+       Demangle C++11 ref-qualifier.
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_REFERENCE_THIS,
+       DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
+
+2013-03-01  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.h (enum dwarf_sect): New enum type.
+
+2013-02-19  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_info): Delete emit_note_gnu_build_id.
+
+2013-02-11  Sriraman Tallam  <tmsriram@google.com>
+
+       * plugin-api.h (enum ld_plugin_level): Assign integers
+       explicitly for all values.
+
+2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
+           Andrew Jenner <andrew@codesourcery.com>
+
+       Based on patches from Altera Corporation.
+
+       * dis-asm.h (print_insn_big_nios2): Declare.
+       (print_insn_little_nios2): Declare.
+
+2013-01-30  Kai Tietz  <ktietz@redhat.com>
+
+       PR other/54620
+       PR target/39064
+       * md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
+       stdint.h and sys/types.h headers are present.
+       * sha1.h (sha1_uintptr, sha1_uint32): Likewise.
+
+2013-01-10  Will Newton <will.newton@imgtec.com>
+
+       * dis-asm.h (print_insn_metag): New declaration.
+
+2012-12-18  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR other/54324
+       * ansidecl.h (ATTRIBUTE_UNUSED): Do not set __attribute__ for GCC
+       < 3.4.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add copyright notice.
+       * alloca-conf.h: Likewise.
+       * fopen-bin.h: Likewise.
+       * fopen-same.h: Likewise.
+       * fopen-vms.h: Likewise.
+
+2012-11-09  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_TAGGED_NAME.
+
+2012-10-29  Sterling Augustine  <saugustine@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.h (dwarf_location_list_entry_type): New enum with fields
+       DW_LLE_GNU_end_of_list_entry, DW_LLE_GNU_base_address_selection_entry,
+       DW_LLE_GNU_start_end_entry and DW_LLE_GNU_start_length_entry.
+
+
+2012-10-26  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
+
+       * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
+       (DW_AT_APPLE_isa, DW_AT_APPLE_block)
+       (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
+       (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
+       (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
+       (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
+       (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.
+
+2012-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Add
+       disable_target_specific_optimizations.
+
+2012-10-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * bfdlink.h (struct bfd_link_info): Add stacksize option.
+
+2012-10-22  Jan Beich  <jbeich@tormail.org>
+
+       PR ld/14426
+       * bfdlink.h (bfd_link_info): Add ignore_hash.
+
+2012-10-08  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER.
+
+2012-09-18  Florian Weimer  <fweimer@redhat.com>
+
+       PR other/54411
+       * objalloc.h (objalloc_alloc): Do not use fast path on wraparound.
+
+2012-09-06  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.def: Edit comment.
+
+2012-08-24  Sriraman Tallam  <tmsriram@google.com>
+
+       * plugin-api.h (ld_plugin_allow_unique_segment_for_sections):
+       New interface.
+       (ld_plugin_unique_segment_for_sections): New interface.
+       (LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
+       (LDPT_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
+       (tv_allow_unique_segment_for_sections): New member.
+       (tv_unique_segment_for_sections): New member.
+
+2012-08-13  Ian Bolton  <ian.bolton@arm.com>
+           Laurent Desnogues  <laurent.desnogues@arm.com>
+           Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+           Richard Earnshaw  <rearnsha@arm.com>
+           Sofiane Naci  <sofiane.naci@arm.com>
+           Tejas Belagod  <tejas.belagod@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * dis-asm.h (print_insn_aarch64): New declaration.
+       (print_aarch64_disassembler_options): New declaration.
+       (aarch64_symbol_is_valid): New declaration.
+
+2012-07-24  Stephan McCamant  <smcc@cs.berkeley.edu>
+           Dr David Alan Gilbert  <dave@treblig.org>
+
+       PR binutils/13135
+       * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
+
+2012-07-13  Doug Evans  <dje@google.com>
+
+       * filenames.h: #include "hashtab.h".
+       (filename_hash, filename_eq): Declare.
+
+2012-06-18  Doug Evans  <dje@google.com>
+
+       * dwarf2.def (DW_OP): Add DW_OP_GNU_const_index.
+
+2012-06-12  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * plugin-api.h (ld_plugin_output_file_type): Add LDPO_PIE.
+
+2012-06-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.def (DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt): New
+       forms.
+       * dwarf2.h (enum dwarf_macro_record_type): Add
+       DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt
+       and DW_MACRO_GNU_transparent_include_alt.
+
+2012-05-23  Doug Evans  <dje@google.com>
+
+       * leb128.h: #include stdint.h, inttypes.h.
+       (read_uleb128_to_uint64): Renamed from read_uleb128_to_ull.
+       Change to take a uint64_t * argument instead of unsigned long long.
+       (read_sleb128_to_uint64): Renamed from read_sleb128_to_ll.
+       Change to take an int64_t * argument instead of long long.
+
+2012-05-22  Doug Evans  <dje@google.com>
+
+       * leb128.h: New file.
+
+2012-05-19  Gary Funck  <gary@intrepid.com>
+
+       * dwarf2.def: Update comment re: UPC extensions to reference
+       DWARF4 specification.
+
+2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
+
+       * dis-asm.h (print_insn_m9s12x): Prototype.
+       (print_insn_m9s12xg): Prototype.
+
+2012-05-03  Sean Keys  <skeys@ipdatasys.com>
+
+       * dis-asm.h (print_insn_xgate): Define.
+       (print_insn_xgate): Ditto.
+       Added new files for XGATE port.
+
+2012-05-02  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.def: Remove DW_FORM_GNU_ref_index,
+       replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
+
+2012-04-28  Doug Evans  <dje@google.com>
+
+       * dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.
+
+2012-04-27  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2.h: Wrap function declarations in extern "C".
+
+2012-04-27  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
+       (enum dwarf_location_atom, enum dwarf_type, enum
+       dwarf_call_frame_info): Remove.
+       (DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP)
+       (DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros.
+       Include dwarf2.def.
+       (get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name)
+       (get_DW_OP_name, get_DW_ATE_name): Declare.
+       * dwarf2.def: New file, from dwarf2.h.
+
+2012-04-10  Tristan Gingold  <gingold@adacore.com>
+
+       * splay-tree.h: Conditionnaly includes stdint.h and inttypes.h
+       (libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t.
+
+2012-04-09  Roland McGrath  <mcgrathr@google.com>
+
+       * bfdlink.h (struct bfd_link_info): Add new member user_phdrs.
+
+2012-03-15  Alan Modra  <amodra@gmail.com>
+
+       * dis-asm.h (disassemble_init_powerpc): Declare.
+
+2009-11-06  Jonas Maebe  <jonas.maebe@elis.ugent.be>
+
+       Add DWARF attribute value for the "Borland fastcall" calling
+       convention.
+       * dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
+
+2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13616
+       * bfdlink.h (bfd_link_order): Update comments on data size.
+
+2012-01-26  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.h (enum dwarf_form): Add Fission extensions.
+       (enum dwarf_attribute): Likewise.
+
+2012-01-06  Jason Merrill  <jason@redhat.com>
+
+       PR c++/6057
+       PR c++/48051
+       PR c++/50855
+       PR c++/51322
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY.
+
+2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * mach-o/loader.h (bfd_mach_o_section_type): define
+       BFD_MACH_O_S_ATTR_NONE to 0.
+
+2011-11-07  Richard Henderson  <rth@redhat.com>
+
+       Merged from transactional-memory.
+
+       * demangle.h (enum gnu_v3_ctor_kinds): Add gnu_v3_object_ctor_group.
+       (enum gnu_v3_dtor_kinds): Add gnu_v3_object_dtor_group.
+       (DEMANGLE_COMPONENT_TRANSACTION_CLONE): New.
+       (DEMANGLE_COMPONENT_NONTRANSACTION_CLONE): New.
+
+2011-11-01  DJ Delorie  <dj@redhat.com>
+
+       * dis-asm.h (print_insn_rl78): Declare.
+
+2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * dis-asm.h (print_insn_epiphany): Declare.
+
+2011-10-21  Ulrich Drepper  <drepper@gmail.com>
+
+       * obstack.h [!GNUC] (obstack_free): Avoid cast to int.
+
+2011-10-21  Marc Glisse  <marc.glisse@inria.fr>
+
+       * ansidecl.h (ENUM_BITFIELD): Always use enum in C++
+
+2011-10-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/13254
+       * bfdlink.h (struct bfd_link_info): Add error_textrel.
+
+2011-09-28  Doug Evans  <dje@google.com>
+
+       * timeval-utils.h: New file.
+
+       * libiberty.h (countargv): Declare.
+
+2011-09-26  Cary Coutant  <ccoutant@google.com>
+
+       gcc PR lto/47247
+       * plugin-api.h (enum ld_plugin_symbol_resolution): Add
+       LDPR_PREVAILING_DEF_IRONLY_EXP.
+       (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
+
+2011-09-23  Cary Coutant  <ccoutant@google.com>
+
+       PR 40831
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_CLONE.
+
+2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12975
+       * bfdlink.h (bfd_link_info): Add version_info.
+
+2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * xregex.h (regoff_t): Define.
+
+2011-07-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DW_AT_GNU_macros): New.
+       (enum dwarf_macro_record_type): New enum.  Add DW_MACRO_GNU_*.
+
+       PR c++/49756
+       * libiberty.h (stack_limit_increase): New prototype.
+
+2011-07-13  Sriraman Tallam  <tmsriram@google.com>
+
+       * plugin-api.h
+       (ld_plugin_section): New struct.
+       (ld_plugin_get_section_count): New typedef.
+       (ld_plugin_get_section_type): New typedef.
+       (ld_plugin_get_section_name): New typedef.
+       (ld_plugin_get_section_contents): New typedef.
+       (ld_plugin_update_section_order): New typedef.
+       (ld_plugin_allow_section_ordering): New typedef.
+       (LDPT_GET_SECTION_COUNT): New enum value.
+       (LDPT_GET_SECTION_TYPE): New enum value.
+       (LDPT_GET_SECTION_NAME): New enum value.
+       (LDPT_GET_SECTION_CONTENTS): New enum value.
+       (LDPT_UPDATE_SECTION_ORDER): New enum value.
+       (LDPT_ALLOW_SECTION_ORDERING): New enum value.
+       (tv_get_section_count): New struct members.
+       (tv_get_section_type): New struct members.
+       (tv_get_section_name): New struct members.
+       (tv_get_section_contents): New struct members.
+       (tv_update_section_order): New struct members.
+       (tv_allow_section_ordering): New struct members.
+
+2011-07-15  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_info): Use ENUM_BITFIELD for strip,
+       discard, common_skip_ar_symbols, unresolved_syms_in_objects, and
+       unresolved_syms_in_shared_libs fields.  Move emit_note_gnu_build_id
+       out of bitfields.  Reorder bitfields.
+
+2011-07-13  Sriraman Tallam  <tmsriram@google.com>
+
+       * plugin-api.h (ld_plugin_section): New struct.
+       (ld_plugin_get_section_count): New typedef.
+       (ld_plugin_get_section_type): New typedef.
+       (ld_plugin_get_section_name): New typedef.
+       (ld_plugin_get_section_contents): New typedef.
+       (ld_plugin_update_section_order): New typedef.
+       (ld_plugin_allow_section_ordering): New typedef.
+       (LDPT_GET_SECTION_COUNT): New enum value.
+       (LDPT_GET_SECTION_TYPE): New enum value.
+       (LDPT_GET_SECTION_NAME): New enum value.
+       (LDPT_GET_SECTION_CONTENTS): New enum value.
+       (LDPT_UPDATE_SECTION_ORDER): New enum value.
+       (LDPT_ALLOW_SECTION_ORDERING): New enum value.
+       (tv_get_section_count): New struct members.
+       (tv_get_section_type): New struct members.
+       (tv_get_section_name): New struct members.
+       (tv_get_section_contents): New struct members.
+       (tv_update_section_order): New struct members.
+       (tv_allow_section_ordering): New struct members.
+
+2011-07-11  Catherine Moore  <clm@codesourcery.com>
+
+       * bfdlink.h (flag_type): New enumeration.
+       (flag_info_list): New structure.
+       (flag_info): New structure.
+
+2011-07-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12942
+       * bfdlink.h (bfd_link_info): Add loading_lto_outputs.
+
+2011-07-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
+       on Darwin, as well as on the systems that use a DOS-like
+       filesystem.
+
+2011-06-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/47858
+       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
+
+2011-06-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
+
+2011-06-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR ld/12570
+       * bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info
+       option.
+
+2011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * demangle.h (DMGL_RET_POSTFIX): Extend the comment.
+       (DMGL_RET_DROP): New.
+
+2011-06-13  Walter Lee  <walt@tilera.com>
+
+       * dis-asm.h (print_insn_tilegx): Declare.
+       (print_insn_tilepro): Likewise.
+
+2011-05-17  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12760
+       * bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and
+       "string" param.
+
+2011-05-16  Alan Modra  <amodra@gmail.com>
+
+       * bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field.
+
+2011-04-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
+       DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
+
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * bfdlink.h (ENUM_BITFIELD): Remove.
+
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
+
+2011-04-24  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12365
+       PR ld/12696
+       * bfdlink.h (ENUM_BITFIELD): Define.
+       (struct bfd_link_hash_entry): Make "type" a bitfield.  Add "non_ir_ref".
+       (struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
+       rather than "name".
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12365
+       * bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition
+       and multiple_common parameters to pass in a bfd_link_hash_entry
+       pointer rather than name,bfd etc. found in the hash entry.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
+
+2011-03-24  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
+
+2010-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * plugin-api.h (ld_plugin_get_view): New.
+       (ld_plugin_tag): Add LDPT_GET_VIEW.
+       (ld_plugin_tv): Add tv_get_view.
+
+2011-03-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
+       DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
+       DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
+       DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
+       DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
+       DW_OP_GNU_entry_value): New.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * filenames.h (filename_ncmp): New prototype.
+
+2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
+
+       * dwarf2.h (_ELF_DWARF2_H): Renamed to
+       _DWARF2_H.
+       (DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
+       DWARF2_External_PubNames, DWARF2_Internal_PubNames,
+       DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
+       DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.
+
+2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.
+
+2011-01-12  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * dwarf2.h: Update value for DW_AT_hi_user.
+
+2010-11-16  Ian Lance Taylor  <iant@google.com>
+
+       * simple-object.h (simple_object_attributes_merge): Declare,
+       replacing simple_object_attributes_compare.
+
+2010-11-04  Ian Lance Taylor  <iant@google.com>
+
+       * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go.
+
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       * simple-object.h: New file.
+
+2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       Sync LD plugin patch series (part 1/6) with src/include/.
+       * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
+
+2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       Apply LD plugin patch series (part 6/6).
+       * bfdlink.h (struct_bfd_link_callbacks): Document new argument
+       to add_archive_element callback used to return a replacement bfd which
+       is to be added to the hash table in place of the original element.
+
+2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       Apply LD plugin patch series (part 1/6).
+       * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
+
+2010-10-06  Andi Kleen  <ak@linux.intel.com>
+
+       * libiberty.h (setproctitle): Add prototype.
+
+2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_EXT_V6Z): Remove.
+       (ARM_EXT_SEC): New define.
+       (ARM_AEXT_V6Z): Use Security Extensions.
+       (ARM_AEXT_V6ZK): Likeiwse.
+       (ARM_AEXT_V6ZT2): Likewise.
+       (ARM_AEXT_V6ZKT2): Likewise.
+       (ARM_AEXT_V7_ARM): Base v7 does not have Security Extensions.
+       (ARM_ARCH_V7A_SEC): New define.
+       (ARM_ARCH_V7A_MP): Rename...
+       (ARM_ARCH_V7A_MP_SEC): ...to this and add Security Extensions.
+
+2010-09-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DW_OP_GNU_implicit_pointer): New.
+
+2010-07-06  Ken Werner  <ken.werner@de.ibm.com>
+
+       * floatformat.h (floatformat_ieee_half_big): Add declaration.
+       (floatformat_ieee_half_little): Likewise.
+
+2010-06-29  Alan Modra  <amodra@gmail.com>
+
+       * dis-asm.h: Remove references to maxq.
+
+2010-06-21  Rafael Espindola  <espindola@google.com>
+
+       * plugin-api.h (ld_plugin_set_extra_library_path): New.
+       (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
+       (ld_plugin_tv): Add tv_set_extra_library_path.
+
+2010-06-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
+
+2010-06-18  Rafael Espindola  <espindola@google.com>
+
+       * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
+       Make argument const.
+
+2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
+
+       * splay-tree.h: Update copyright years.
+       (splay_tree_s): Document fields.
+       (splay_tree_new_typed_alloc): New.
+
+       * hashtab.h: Update copyright years.
+       (htab_create_typed_alloc): New.
+
+2010-06-10  Tristan Gingold  <gingold@adacore.com>
+
+       * dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
+       DW_TAG_HP_Bliss_field_set.
+       (enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
+       DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
+       DW_AT_HP_definition_points, DW_AT_HP_default_location and
+       DW_AT_HP_is_result_param.
+       (enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
+       DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
+       DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
+       DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
+       (enum dwarf_line_number_x_ops): Add
+       DW_LNE_HP_source_file_correlation.
+       (enum dwarf_source_language): Add DW_LANG_HP_Bliss,
+       DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
+       DW_LANG_HP_Assembler.
+
+2010-06-01  Rafael Espindola  <espindola@google.com>
+
+       * plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.
+
+2010-04-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * filenames.h (PATH_SEPARATOR): Delete.
+
+2010-04-23  Pedro Alves  <pedro@codesourcery.com>
+
+       * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
+       always define it independently of host, add `dos_based' parameter,
+       and handle it.
+       (PATH_SEPARATOR): Define.
+       (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
+       independently of host, add `dos_based' parameter, and handle it.
+       (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
+       it independently of host, add `dos_based' parameter, and handle
+       it.
+       (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
+       (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
+       (HAS_DOS_DRIVE_SPEC): New.
+       (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
+       (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
+       (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
+       * libiberty.h (dos_lbasename, unix_lbasename): Declare.
+
+2009-05-31  Ian Lance Taylor  <iant@google.com>
+
+       * ansidecl.h: Add extern "C" when compiling with C++.  Treat C++
+       the way we treat an ISO C compiler.  Don't define inline as a
+       macro when compiling with C++.
+       * dyn-string.h: Add header guard DYN_STRING_H.  Add extern "C"
+       when compiling with C++.
+       * fibheap.h: Add extern "C" when compiling with C++.
+
+2010-04-23  Pedro Alves  <pedro@codesourcery.com>
+
+       * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
+       always define it independently of host, add `dos_based' parameter,
+       and handle it.
+       (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
+       independently of host, add `dos_based' parameter, and handle it.
+       (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
+       it independently of host, add `dos_based' parameter, and handle
+       it.
+       (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
+       (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
+       (HAS_DOS_DRIVE_SPEC): New.
+       (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
+       (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
+       (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
+       * libiberty.h (dos_lbasename, unix_lbasename): Declare.
+
+2010-04-20  Nick Clifton  <nickc@redhat.com>
+
+       * sha1.h: Update copyright notice to use GPLv3.
+
+2010-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * bout.h: Update copyright notice to use GPLv3.
+       * hp-symtab.h: Likewise.
+       * oasys.h: Likewise.
+       * progress.h: Likewise.
+       * sha1.h: Likewise.
+       * xtensa-isa-internal.h: Likewise.
+       * xtensa-isa.h: Likewise.
+
+2010-04-14  Doug Evans  <dje@google.com>
+
+       * filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.
+
+2010-04-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
+       field.
+
+2010-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * dis-asm.h (print_insn_tic6x): Declare.
+
+2010-03-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
+
+2010-01-13  Joel Brobecker  <brobecker@adacore.com>
+
+       Add new DW_AT_use_GNAT_descriptive_type CU attribute.
+       * dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.
+
+2010-01-11  Tristan Gingold  <gingold@adacore.com>
+
+       * demangle.h (ada_demangle): Add prototype.
+
+2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/41771
+       * ansidecl.h: Fix inline test for C99 and Sun Studio cc.
+
+2009-12-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
+
+2009-12-14  Doug Kwan  <dougkwan@google.com>
+
+       * bfdlink.h (struct bfd_link_callbacks): Rename function parameters
+       to avoid shadowed variable warnings.
+       * dis-asm.h (struct disassemble_info): Ditto.
+       (disassemble_init_for_target): Ditto.
+       (init_disassemble_info): Ditto.
+
+2009-11-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * alloca-conf.h: Clarify comment.
+
+2009-11-06  Jonas Maebe  <jonas.maebe@elis.ugent.be>
+
+       Add DWARF attribute value for the "Borland fastcall" calling
+       convention.
+       * dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
+
+2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
+
+       * splay-tree.h (libi_uhostptr_t): Add gcc specific
+       __extension__ for long long type case to silent cX9.
+       (libi_shostptr_t): Likewise.
+
+2009-10-19  Rafael Avila de Espindola  <espindola@google.com>
+
+       PR40790
+       * plugin-api.h: Don't include stdint.h unconditionally.
+
+2009-10-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DW_LANG_Python): Add comment that it is
+       a DWARF 4 addition.
+
+2009-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from
+       bfd_link_common_skip_ar_aymbols.
+       (struct bfd_link_info): Here too.
+
+2009-10-09  Rafael Espindola  <espindola@google.com>
+
+       * plugin-api.h (ld_plugin_add_input_library): Change argument name to
+       libname.
+
+2008-10-03  Rafael Espindola  <espindola@google.com>
+
+       * plugin-api.h: New.
+       * lto-symtab.h: New.
+
+2009-10-05   Rafael Espindola  <espindola@google.com>
+
+       * plugin-api.h (ld_plugin_status): Add LDPS_BAD_HANDLE.
+       (ld_plugin_get_input_file): New.
+       (ld_plugin_release_input_file): New.
+       (ld_plugin_add_input_library): New.
+       (ld_plugin_message): Mark format const.
+       (ld_plugin_level): Add LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE and
+       LDPT_ADD_INPUT_LIBRARY.
+       (ld_plugin_tv): Add tv_get_input_file, tv_release_input_file and
+       tv_add_input_library.
+
+2009-10-04  Jerry Quinn  <jlquinn@optonline.net>
+
+       * plugin-api.h: Fix compile.
+
+2009-09-29  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_LAMBDA, DEMANGLE_COMPONENT_DEFAULT_ARG,
+       DEMANGLE_COMPONENT_UNNAMED_TYPE.
+       (struct demangle_component): Add s_unary_num.
+
+2009-09-29  DJ Delorie  <dj@redhat.com>
+
+       * dis-asm.h: Add prototype for print_insn_rx.
+
+2009-09-25  Dodji Seketeli  <dodji@redhat.com>
+
+       * dwarf2.h (enum dwarf_tag): Rename DW_TAG_template_parameter_pack and
+       DW_TAG_formal_parameter_pack into DW_TAG_GNU_template_parameter_pack
+       and DW_TAG_formal_parameter_pack until DWARF 5 is out.
+
+2009-09-25  Cary Coutant  <ccoutant@google.com>
+
+       Add rest of new values from DWARF Version 4.
+       * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
+       New tags.
+       (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
+       (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
+       DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
+       DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
+       DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
+       DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
+       attributes.
+       (DW_LANG_Python): New language.
+
+2009-09-24  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
+       New tags.
+       (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
+       (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
+       DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
+       DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
+       DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
+       DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
+       attributes.
+       (DW_LANG_Python): New language.
+
+2009-09-22  Dodji Seketeli  <dodji@redhat.com>
+
+       * dwarf2.h (enum dwarf_tag): Add
+       DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack.
+
+2009-09-09  Martin Thuresson  <martin@mtme.org>
+
+       * bfdlink.h (struct bfd_link_hash_common_entry): Move to top
+       level.
+
+2009-08-06  Michael Eager <eager@eagercon.com>
+
+       * dis-asm.h: Decl print_insn_microblaze().
+
+2009-07-24  Ian Lance Taylor  <iant@google.com>
+
+       * libiberty.h (crc32): Declare.
+
+2009-07-20  Cary Coutant  <ccoutant@google.com>
+           Doug Evans  <dje@google.com>
+
+       Add some dwarf4 values.
+       * dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
+       (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
+       DW_FORM_flag_present, DW_FORM_sig8.
+       (enum dwarf_attribute): Add DW_AT_signature.
+
+2009-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * demangle.h
+       (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
+       (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS>):
+       New.
+
+2009-07-10  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2.h: New file, moved from elf/.
+
+2009-07-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
+       and DW_OP_stack_value.
+
+2009-07-09  Tom Tromey  <tromey@redhat.com>
+
+       * elf/dwarf2.h: Remove, renaming to...
+       * dwarf2.h: ... this.
+
+2009-06-29  Tom Tromey  <tromey@redhat.com>
+
+       * elf/dwarf2.h: New file.  Merged with gdb.
+
+2009-06-18  Nick Clifton  <nickc@redhat.com>
+
+       * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags
+       field of struct disassemble_info.
+
+2009-06-09  Ian Lance Taylor  <ian@airs.com>
+
+       * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
+
+2009-06-15  Nick Clifton  <nickc@redhat.com>
+
+       * dis-asm.h (DISASSEMBLE_DATA): New value for the flags field of
+       struct disassemble_info.
+
+2009-06-02  Ian Lance Taylor  <iant@google.com>
+
+       * ansidecl.h (EXPORTED_CONST): Define.
+
+2009-05-31  Ian Lance Taylor  <iant@google.com>
+
+       * ansidecl.h: Add extern "C" when compiling with C++.  Treat C++
+       the way we treat an ISO C compiler.  Don't define inline as a
+       macdro when compiling with C++.
+       * dyn-string.h: Add header guard DYN_STRING_H.  Add extern "C"
+       when compiling with C++.
+       * fibheap.h: Add extern "C" when compiling with C++.
+
+2009-05-25  Tristan Gingold  <gingold@adacore.com>
+
+       * fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
+       FOPEN_AUB): Use "rfm=udf,rat=none" attribute.
+
+2009-04-22  Taras Glek <tglek@mozilla.com>
+
+       * hashtab.h: Update GTY annotations to new syntax.
+       * splay-tree.h: Likewise.
+
+2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Add warn_alternate_em.
+
+2009-03-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13
+       documentation.
+
+2009-03-17  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_FUNCTION_PARAM.
+
+2008-12-01  Cary Coutant  <ccoutant@google.com>
+
+       * plugin-api.h (LDPS_BAD_HANDLE): New constant.
+       (ld_plugin_get_input_file): New typedef.
+       (ld_plugin_release_input_file): New typedef.
+       (LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE): New constants.
+       (struct ld_plugin_tv): Add two new fields.
+
+2008-12-23  Jon Beniston <jon@beniston.com>
+
+       * dis-asm.h: Add LM32 disassembler function prototype.
+
+2008-12-10  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_FIXED_TYPE.
+
+2008-12-01  Cary Coutant  <ccoutant@google.com>
+
+       * plugin-api.h (ld_plugin_message): Change format parameter to const.
+
+2008-12-01  Cary Coutant  <ccoutant@google.com>
+
+       * plugin-api.h: Fix syntax error when compiling with C++.
+
+2008-11-26  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 7047
+       * bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
+       Add "literal".
+
+2008-11-21  Sterling Augustine  <sterling@tensilica.com>
+
+       * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
+       * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.
+
+2008-11-19  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
+       (XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
+       (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
+       (XCHAL_NUM_AREGS): Change to 32.
+       (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
+       (XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
+       (XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
+       (XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
+       (XCHAL_DEBUGLEVEL): Change to 6.
+
+2008-11-14  Tristan Gingold  <gingold@adacore.com>
+
+       * fopen-vms.h (FOPEN_RB): Use a single string to match the
+       standard prototype.
+       (FOPEN_WB): Ditto.
+       (FOPEN_AB): Ditto.
+       (FOPEN_RUB): Ditto.
+       (FOPEN_WUB): Ditto.
+       (FOPEN_AUB): Ditto.
+
+2008-10-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
+
+2008-10-06  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_PACK_EXPANSION.
+
+2008-09-22 Rafael Espindola  <espindola@google.com>
+
+       * plugin-api.h (ld_plugin_status): Remove comma from the last item.
+       Use C style comment.
+       (ld_plugin_api_version, ld_plugin_output_file_type,
+       ld_plugin_symbol_kind, ld_plugin_symbol_visibility,
+       ld_plugin_symbol_resolution, ld_plugin_level, ld_plugin_tag): Remove
+       comma from the last item.
+
+2008-09-18  Cary Coutant  <ccoutant@google.com>
+
+       Add plugin functionality for link-time optimization (LTO).
+       * plugin-api.h: New file.
+
+2008-09-09  Jason Merrill  <jason@redhat.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_DECLTYPE.
+
+2008-08-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * binary-io.h: New file, imported from gnulib, but don't
+       #include <fcntl.h> or <stdio.h>.
+
+2008-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (bfd_generic_link_read_symbols): Declare.
+
+2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+
+       Revert
+       2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+       * bfdlink.h (struct bfd_link_info): Add sep_code member
+       variable.
+
+2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+
+       * bfdlink.h (struct bfd_link_info): Add sep_code member
+       variable.
+
+2008-07-07  Stan Shebs  <stan@codesourcery.com>
+
+       * dis-asm.h (struct disassemble_info): Add endian_code field.
+
+2008-07-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * safe-ctype.h: Add #include of ctype.h before redefining
+       the ctype.h macros.
+
+2008-07-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * safe-ctype.h: Remove #error when detecting that ctype.h has been
+       included. Redefine the various macros provided by ctype.h as
+       undefined variables.
+
+2008-06-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
+       XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
+
+2008-06-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_info): Add "path_separator".
+
+2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * dis-asm.h (print_s390_disassembler_options):
+       Prototype added.
+
+2008-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * sha1.h: New file, from gnulib.
+
+       * md5.h: Add extern "C" when compiled with C++.
+
+2008-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * md5.h: Add extern "C" when compiled with C++.
+
+2008-03-21  Ian Lance Taylor  <iant@google.com>
+
+       * filenames.h: Add extern "C" when compiled with C++.
+
+2008-02-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_hash_table): Delete creator field.
+       (struct bfd_link_info): Add output_bfd.
+
+2008-02-11  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
+       (XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
+
+2008-01-26  David Daney  <ddaney@avtrex.com>
+
+       * demangle.h (demangle_component_type):  Add
+       DEMANGLE_COMPONENT_JAVA_RESOURCE,
+       DEMANGLE_COMPONENT_COMPOUND_NAME, and
+       DEMANGLE_COMPONENT_CHARACTER as new enum values.
+       (demangle_component): Add struct s_character to union u.
+
+2007-11-07  Joseph Myers  <joseph@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * floatformat.h (struct floatformat): Add split_half field.
+       (floatformat_ibm_long_double): New.
+
+2007-09-06  Tom Tromey  <tromey@redhat.com>
+
+       * libiberty.h (pex_free): Document process killing.
+
+2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
+
+       * demangle.h (enum demangle_component_type): Add
+       DEMANGLE_COMPONENT_RVALUE_REFERENCE.
+
+2007-07-25  Ben Elliston  <bje@au.ibm.com>
+
+       * ternary.h: Remove.
+
+2007-07-18  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
+       (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
+
+2007-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * COPYING3: New file.  Contains version 3 of the GNU General
+       Public License.
+
+2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
+
+       * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
+       work-a-round whitespace problem in gcc gengtype.
+
+       * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
+       needed for WIN64 when a long is not wide enough for a pointer.
+       (splay_tree_key, splay_tree_value): Use the new types.
+
+2007-07-09  Roland McGrath  <roland@redhat.com>
+
+       * bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.
+
+2007-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * bfdlink.h: Update copyright notice to refer to GPLv3.
+
+2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
+
+       * dis-asm.h (print_insn_cr16): New prototype.
+
+2007-06-01  Noah Misch  <noah@cs.caltech.edu>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
+
+2007-05-07  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * libiberty.h (writeargv): Declare.
+
+2007-04-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
+
+2007-04-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * demangle.h: Change license to LGPL + exception.
+
+2007-04-10  Richard Henderson  <rth@redhat.com>
+
+       * bfdlink.h (struct bfd_link_info): Add relax_trip.
+
+2007-03-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
+       regardless of the type of file system.
+
+2007-03-06  Jan Hubicka  <jh@suse.cz>
+
+       * ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New.
+
+2007-02-21  Nick Clifton  <nickc@redhat.com>
+
+       * bfdlink.h (struct bfd_link_callbacks): Add
+       override_segment_assignment field.
+
+2007-02-17  Mark Mitchell  <mark@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Vladimir Prus  <vladimir@codesourcery.com
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * bin-bugs.h: Remove.
+
+2007-02-09  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * libiberty.h (pex_write_input): Remove prototype.
+
+2007-02-05  Dave Brolley  <brolley@redhat.com>
+
+       * Contribute the following changes:
+       2001-03-26  Ben Elliston  <bje@redhat.com>
+
+       * dis-asm.h (print_insn_mep): Declare.
+
+2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dis-asm.h (print_i386_disassembler_options): New.
+
+2007-01-31  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * libiberty.h (PEX_STDERR_TO_PIPE): New define.
+       (PEX_BINARY_ERROR): New define.
+       (pex_read_err): New function.
+
+2007-01-29  Simon Baldwin <simonb@google.com>
+
+       * demangle.h: New cplus_demangle_print_callback,
+       cplus_demangle_v3_callback, and java_demangle_v3_callback function
+       prototypes, and demangle_callbackref type definition.
+
+2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3831
+       * bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
+       Add dynamic and dynamic_data.
+
+2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
+           Nick Clifton  <nickc@redhat.com>
+
+       * ansidecl.h (ATTRIBUTE_PACKED): Define.
+
+2006-11-30  Andrew Stubbs  <andrew.stubbs@st.com>
+           J"orn Rennecke <joern.rennecke@st.com>
+
+       PR driver/29931
+       * libiberty.h (make_relative_prefix_ignore_links): Declare.
+
+2006-11-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XSHAL_ABI): New.
+       (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
+
+2006-11-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-isa.h (STATIC_LIBISA): Delete.
+
+2006-10-30  Paul Brook  <paul@codesourcery.com>
+
+       * dis-asm.h (disassemble_info): Add symtab, symtab_pos and
+       symtab_size.
+
+2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3111
+       * bfdlink.h (bfd_link_info): Add reduce_memory_overheads.
+
+2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
+           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
+           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * dis-asm.h (print_insn_spu): Declare.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * dis-asm.h: Add prototypes for Score disassembler routines.
+
+2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_elf_dynamic_list): New.
+       (bfd_link_info): Add a dynamic field.
+
+2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
+
+       * bfdlink.h (struct bfd_link_info): New field: print_gc_sections.
+
+2006-07-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * bfdlink.h (struct bfd_link_info): Add emit_hash and
+       emit_gnu_hash bitfields.
+
+2006-04-11  Jim Blandy  <jimb@codesourcery.com>
+
+       * libiberty.h (pex_input_file, pex_input_pipe): New declarations.
+
+2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Replace need_relax_finalize with
+       relax_pass.
+
+2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
+           Anil Paranjape   <anilp1@kpitcummins.com>
+           Shilin Shakti    <shilins@kpitcummins.com>
+
+       * dis-asm.h (print_insn_xc16c): New prototype.
+
+2006-01-18  DJ Delorie  <dj@redhat.com>
+
+       * md5.h: Include ansidecl.h
+
+2006-01-17  Andreas Schwab  <schwab@suse.de>
+
+       PR binutils/1486
+       * dis-asm.h (struct disassemble_info): Add
+       disassembler_needs_relocs.
+
+2006-01-09  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
+
+2005-12-30  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
+
+2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       Second part of ms1 to mt renaming.
+       * dis-asm.h (print_insn_mt): Renamed.
+
+2005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
+
+       PR java/9861
+       * demangle.h : Add DMGL_RET_POSTFIX define to enable alternative
+       output format for return types
+
+2005-11-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_order): Tweak comment.
+
+2005-10-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * floatformat.h (enum floatformat_byteorders): Add
+       floatformat_vax.
+       (floatformat_vax_aingle, floatformat_vax_double): Declare.
+
+2005-10-28  Dave Brolley  <brolley@redhat.com>
+
+       Contribute the following changes:
+       2003-09-29  Dave Brolley  <brolley@redhat.com>
+
+       * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
+       more exotic underlying types to be used.
+
+2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       disasm.h: Add declaration for print_insn_z80
+
+2005-09-30  Catherine Moore  <clm@cm00re.com>
+
+       * dis-asm.h (print_insn_bfin): Declare.
+
+2005-09-26  Mark Mitchell  <mark@codesourcery.com>
+
+       * libiberty.h (expandargv): New function.
+
+2005-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h: Remove mention of a29k.
+       * dis-asm.h: Remove a29k support.
+
+2005-08-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * floatformat.h (struct floatformat): Change type of large
+       argument for is_valid member to `const void *'.
+       (floatformat_to_double): Change type of second argument to `const
+       void *'.
+       (floatformat_from_double): Change type of last argument to `void
+       *'.
+       (floatformat_is_valid): Change type of last argument to `const
+       void *'.
+
+2005-07-14  Jim Blandy  <jimb@redhat.com>
+
+       * dis-asm.h (print_insn_m32c): New declaration.
+
+2005-07-12  Ben Elliston  <bje@au.ibm.com>
+
+       * xregex2.h (regexec): Qualify this prototype with __extension__
+       when compiling with GNU C.
+
+2005-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * dis-asm.h (fprintf_ftype): Add format attribute.
+
+2005-07-03  Steve Ellcey  <sje@cup.hp.com>
+
+       PR other/13906
+       * ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
+       * md5.h (md5_uintptr): New.
+       (md5_ctx): Align buffer field.
+
+2005-06-30  Daniel Berlin  <dberlin@dberlin.org>
+
+       * hashtab.h (HTAB_DELETED_ENTRY): New macro.
+       (HTAB_EMPTY_ENTRY): New macro.
+
+2005-06-20  Geoffrey Keating  <geoffk@apple.com>
+
+       * libiberty.h (strverscmp): Prototype.
+
+2005-06-08  Zack Weinberg  <zack@codesourcery.com>
+
+       * dis-asm.h (get_arm_regnames): Update prototype.
+
+2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
+           Michael Snyder  <msnyder@redhat.com>
+           Stan Cox  <scox@redhat.com>
+
+       * dis-asm.h: Externalize print_insn_ms1.
+
+2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * libiberty.h (XOBFINISH): New.
+
+2005-06-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_callbacks): Add einfo.
+
+2005-06-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (vsnprintf): Add format attribute.
+
+2005-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
+
+2005-05-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
+       needed.
+       (vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.
+
+2005-05-25  Richard Henderson  <rth@redhat.com>
+
+       * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
+
+2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * libiberty.h (ACONCAT): Properly cast value of alloca().
+
+       * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
+       __cplusplus.
+
+2005-05-12  Steve Ellcey  <sje@cup.hp.com>
+
+       libiberty.h: Do not define empty basename prototype.
+
+2005-05-10  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       COPYING, ansidecl.h, bfdlink.h, bout.h, demangle.h, dis-asm.h,
+       dyn-string.h, fibheap.h, filenames.h, floatformat.h,
+       fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
+       libiberty.h, md5.h, oasys.h, objalloc.h, obstack.h, os9k.h,
+       partition.h, progress.h, safe-ctype.h, sort.h, splay-tree.h,
+       symcat.h, ternary.h, xregex2.h, xtensa-config.h,
+       xtensa-isa-internal.h, xtensa-isa.h
+
+2005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (unlock_std_streams): New.
+
+2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
+       Don't use the PTR macro.
+
+       * sort.h: Don't use the PARAMS macro.
+
+2005-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (unlock_stream): New.
+
+2005-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
+       Remove parameter names.
+
+2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
+       Provide prototypes for new functions.
+
+2005-03-29  Ian Lance Taylor  <ian@airs.com>
+
+       * libiberty.h: Fix indentation.
+
+2005-03-28  Ian Lance Taylor  <ian@airs.com>
+
+       * libiberty.h: Include <stdio.h>.
+       (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
+       (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
+       (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
+       (pex_init, pex_run, pex_read_output): Declare.
+       (pex_get_status, pex_get_times, pex_free, pex_one): Declare.
+       (struct pex_time): Define.
+
+2005-03-28  Mark Mitchell <mark@codesourcery.com>
+
+       * libiberty.h (ffs): Declare, if necessary.
+
+2005-03-27  Gabriel Dos Reis  <gdr@integreable-solutions.net>
+
+       * ternary.h: Don't use PARAMS anymore.
+
+2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * md5.h: Remove definition and uses of __P.
+       * dyn-string.h: Remove uses of PARAMS.
+       * fibheap.h: Likewise.
+       * floatformat.h: Likewise.
+       * hashtab.h: Likewise.
+
+2005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * demangle.h: Remove uses of PARAMS.
+
+       * libiberty.h (ANSI_PROTOTYPES): Remove guard since
+       ANSI_PROTOTYPES is always assumed.
+       Remove uses of PARAMS throughout.
+
+2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (xstrndup): Declare.
+
+2005-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
+
+2005-03-22  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-isa.h: Update a comment and whitespace.
+
+2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Add gc_sections.
+
+2005-03-09  Mark Mitchell  <mark@codesourcery.com>
+
+       * libiberty.h (gettimeofday): Declare.
+
+2005-03-01  Jan Beulich  <jbeulich@novell.com>
+
+       * libiberty.h: Declare unlink_if_ordinary.
+
+2005-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix.
+       * xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise.
+       (xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise.
+
+2005-02-14  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR bootstrap/19818
+       * ansidecl.h (PARAMS): Guard from redefinition.
+
+2005-02-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
+
+2005-02-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (bfd_link_repair_undef_list): Declare.
+
+2005-01-10  Andreas Schwab  <schwab@suse.de>
+
+       * dis-asm.h (struct disassemble_info): Add skip_zeroes and
+       skip_zeroes_at_end.
+
+2004-12-11  Ben Elliston  <bje@au.ibm.com>
+
+       * fibheap.h (struct fibnode): Only use unsigned long bitfields
+       when __GNUC__ is defined and ints are less than 32-bits wide.
+
+2004-11-04  Paul Brook  <paul@codesourcery.com>
+
+       * bfdlink.h (bfd_link_info): Add default_imported_symver.
+
+2004-11-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id.
+       * xtensa-isa.h (xtensa_interface_class_id): New prototype.
+
+2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
+           Vineet Sharma      <vineets@noida.hcltech.com>
+
+       * dis-asm.h: Add prototype for print_insn_maxq_little.
+
+2004-10-26  Paul Brook  <paul@codesourcery.com>
+
+       * bfdlink.h (struct bfd_link_info): Add create_default_symver.
+
+2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 463
+       * bfdlink.h (bfd_link_callbacks): Add a pointer to struct
+       bfd_link_hash_entry to reloc_overflow.
+
+2004-10-07  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
+       XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
+       (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
+
+       * xtensa-isa-internal.h (ISA_INTERFACE_VERSION): Delete.
+       (config_sturct struct): Delete.
+       (XTENSA_OPERAND_IS_REGISTER, XTENSA_OPERAND_IS_PCRELATIVE,
+       XTENSA_OPERAND_IS_INVISIBLE, XTENSA_OPERAND_IS_UNKNOWN,
+       XTENSA_OPCODE_IS_BRANCH, XTENSA_OPCODE_IS_JUMP,
+       XTENSA_OPCODE_IS_LOOP, XTENSA_OPCODE_IS_CALL,
+       XTENSA_STATE_IS_EXPORTED, XTENSA_INTERFACE_HAS_SIDE_EFFECT): Define.
+       (xtensa_format_encode_fn, xtensa_get_slot_fn, xtensa_set_slot_fn): New.
+       (xtensa_insn_decode_fn): Rename to ...
+       (xtensa_opcode_decode_fn): ... this.
+       (xtensa_immed_decode_fn, xtensa_immed_encode_fn, xtensa_do_reloc_fn,
+       xtensa_undo_reloc_fn): Update.
+       (xtensa_encoding_template_fn): Delete.
+       (xtensa_opcode_encode_fn, xtensa_format_decode_fn,
+       xtensa_length_decode_fn): New.
+       (xtensa_format_internal, xtensa_slot_internal): New types.
+       (xtensa_operand_internal): Delete operand_kind, inout, isPCRelative,
+       get_field, and set_field fields.  Add name, field_id, regfile,
+       num_regs, and flags fields.
+       (xtensa_arg_internal): New type.
+       (xtensa_iclass_internal): Change operands field to array of
+       xtensa_arg_internal.  Add num_stateOperands, stateOperands,
+       num_interfaceOperands, and interfaceOperands fields.
+       (xtensa_opcode_internal): Delete length, template, and iclass fields.
+       Add iclass_id, flags, encode_fns, num_funcUnit_uses, and funcUnit_uses.
+       (opname_lookup_entry): Delete.
+       (xtensa_regfile_internal, xtensa_interface_internal,
+       xtensa_funcUnit_internal, xtensa_state_internal,
+       xtensa_sysreg_internal, xtensa_lookup_entry): New.
+       (xtensa_isa_internal): Replace opcode_table field with opcodes field.
+       Change type of opname_lookup_table.  Delete num_modules,
+       module_opcode_base, module_decode_fn, config, and has_density fields.
+       Add num_formats, formats, format_decode_fn, length_decode_fn,
+       num_slots, slots, num_fields, num_operands, operands, num_iclasses,
+       iclasses, num_regfiles, regfiles, num_states, states,
+       state_lookup_table, num_sysregs, sysregs, sysreg_lookup_table,
+       max_sysreg_num, sysreg_table, num_interfaces, interfaces,
+       interface_lookup_table, num_funcUnits, funcUnits and
+       funcUnit_lookup_table fields.
+       (xtensa_isa_module, xtensa_isa_modules): Delete.
+       (xtensa_isa_name_compare): New prototype.
+       (xtisa_errno, xtisa_error_msg): New.
+       * xtensa-isa.h (XTENSA_ISA_VERSION): Define.
+       (xtensa_isa): Change type.
+       (xtensa_operand): Delete.
+       (xtensa_format, xtensa_regfile, xtensa_state, xtensa_sysreg,
+       xtensa_interface, xtensa_funcUnit, xtensa_isa_status,
+       xtensa_funcUnit_use): New types.
+       (libisa_module_specifier): Delete.
+       (xtensa_isa_errno, xtensa_isa_error_msg): New prototypes.
+       (xtensa_insnbuf_free, xtensa_insnbuf_to_chars,
+       xtensa_insnbuf_from_chars): Update prototypes.
+       (xtensa_load_isa, xtensa_extend_isa, xtensa_default_isa,
+       xtensa_insn_maxlength, xtensa_num_opcodes, xtensa_decode_insn,
+       xtensa_encode_insn, xtensa_insn_length,
+       xtensa_insn_length_from_first_byte, xtensa_num_operands,
+       xtensa_operand_kind, xtensa_encode_result,
+       xtensa_operand_isPCRelative): Delete.
+       (xtensa_isa_init, xtensa_operand_inout, xtensa_operand_get_field,
+       xtensa_operand_set_field, xtensa_operand_encode,
+       xtensa_operand_decode, xtensa_operand_do_reloc,
+       xtensa_operand_undo_reloc): Update prototypes.
+       (xtensa_isa_maxlength, xtensa_isa_length_from_chars,
+       xtensa_isa_num_pipe_stages, xtensa_isa_num_formats,
+       xtensa_isa_num_opcodes, xtensa_isa_num_regfiles, xtensa_isa_num_states,
+       xtensa_isa_num_sysregs, xtensa_isa_num_interfaces,
+       xtensa_isa_num_funcUnits, xtensa_format_name, xtensa_format_lookup,
+       xtensa_format_decode, xtensa_format_encode, xtensa_format_length,
+       xtensa_format_num_slots, xtensa_format_slot_nop_opcode,
+       xtensa_format_get_slot, xtensa_format_set_slot, xtensa_opcode_decode,
+       xtensa_opcode_encode, xtensa_opcode_is_branch, xtensa_opcode_is_jump,
+       xtensa_opcode_is_loop, xtensa_opcode_is_call,
+       xtensa_opcode_num_operands, xtensa_opcode_num_stateOperands,
+       xtensa_opcode_num_interfaceOperands, xtensa_opcode_num_funcUnit_uses,
+       xtensa_opcode_funcUnit_use, xtensa_operand_name,
+       xtensa_operand_is_visible, xtensa_operand_is_register,
+       xtensa_operand_regfile, xtensa_operand_num_regs,
+       xtensa_operand_is_known_reg, xtensa_operand_is_PCrelative,
+       xtensa_stateOperand_state, xtensa_stateOperand_inout,
+       xtensa_interfaceOperand_interface, xtensa_regfile_lookup,
+       xtensa_regfile_lookup_shortname, xtensa_regfile_name,
+       xtensa_regfile_shortname, xtensa_regfile_view_parent,
+       xtensa_regfile_num_bits, xtensa_regfile_num_entries,
+       xtensa_state_lookup, xtensa_state_name, xtensa_state_num_bits,
+       xtensa_state_is_exported, xtensa_sysreg_lookup,
+       xtensa_sysreg_lookup_name, xtensa_sysreg_name, xtensa_sysreg_number,
+       xtensa_sysreg_is_user, xtensa_interface_lookup, xtensa_interface_name,
+       xtensa_interface_num_bits, xtensa_interface_inout,
+       xtensa_interface_has_side_effect, xtensa_funcUnit_lookup,
+       xtensa_funcUnit_name, xtensa_funcUnit_num_copies): New prototypes.
+2004-10-07  Jeff Baker  <jbaker@qnx.com>
+
+       * bfdlink.h (bfd_link_info): Add bitfield: warn_shared_textrel.
+
+2004-09-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_hash_entry): Move und_next into elements
+       of union.
+
+2004-09-13  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+       * libiberty.h (basename): Prototype for __MINGW32__.
+
+2004-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * ansidecl.h (ATTRIBUTE_SENTINEL): Define.
+       * libiberty.h (concat, reconcat, concat_length, concat_copy,
+       concat_copy2): Use ATTRIBUTE_SENTINEL.
+
+2004-08-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_callbacks): Remove "error_handler".
+       (LD_DEFINITION_IN_DISCARDED_SECTION): Delete.
+
+2004-08-02  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
+       const-qualification before disposal.
+
+2004-07-24  Bernardo Innocenti  <bernie@develer.com>
+
+       * ansidecl.h (ARG_UNUSED): New Macro.
+
+2004-07-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bin-bugs.h (REPORT_BUGS_TO): Set to
+       "<URL:http://www.sourceware.org/bugzilla/>".
+
+2004-07-21  Paolo Bonzini  <bonzini@gnu.org>
+
+       * ansidecl.h (ATTRIBUTE_PURE): New.
+
+2004-07-13  Bernardo Innocenti  <bernie@develer.com>
+
+       * libiberty.h (XNEW, XCNEW, XNEWVEC, XCNEWVEC, XOBNEW): Move here from
+       libcpp/internal.h.
+       (XDELETE, XRESIZEVEC, XDELETEVEC, XNEWVAR, XCNEWVAR, XRESIZEVAR): New
+       macros.
+
+2004-07-13  Bernardo Innocenti  <bernie@develer.com>
+
+       * libiberty.h (ASTRDUP): Add casts required for stricter
+       type conversion rules of C++.
+       * obstack.h (obstack_free): Likewise.
+
+2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * dis-asm.h (print_insn_crx): Declare.
+
+2004-06-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfdlink.h (struct bfd_link_order): Update comment.
+
+2004-05-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * bfdlink.h (struct bfd_link_info): Add relro, relro_start and
+       relro_end fields.
+
+2004-05-04  Andreas Jaeger  <aj@suse.de>
+
+       * demangle.h: Do not use C++ reserved keyword typename as
+       parameter for cplus_demangle_fill_builtin_type.
+
+2004-04-22  Richard Henderson  <rth@redhat.com>
+
+       * hashtab.h (struct htab): Add size_prime_index.
+
+2004-04-13  Jeff Law  <law@redhat.com>
+
+       * hashtab.h (htab_remove_elt_with_hash): Prototype new function.
+
+2004-03-30  Zack Weinberg  <zack@codesourcery.com>
+
+       * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
+
+2004-03-25  Stan Shebs  <shebs@apple.com>
+
+       * mpw/: Remove subdirectory and everything in it.
+
+2004-03-23  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 51.
+       * bfdlink.h (struct bfd_link_info): Add wrap_char.
+
+2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfdlink.h (bfd_link_info): Correct comments for the
+       unresolved_syms_in_objects field.
+
+2004-02-24  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * dyn-string.h: Update copyright date.
+
+2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
+       the associated #defines.
+
+2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * demangle.h: Instead of checking ANSI_PROTOTYPES, just include
+       "libiberty.h".
+
+       * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
+
+       * demangle.h (enum demangle_component_type): Define.
+       (struct demangle_operator_info): Declare.
+       (struct demangle_builtin_type_info): Declare.
+       (struct demangle_component): Define.
+       (cplus_demangle_fill_component): Declare.
+       (cplus_demangle_fill_name): Declare.
+       (cplus_demangle_fill_builtin_type): Declare.
+       (cplus_demangle_fill_operator): Declare.
+       (cplus_demangle_fill_extended_operator): Declare.
+       (cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
+       (cplus_demangle_v3_components): Declare.
+       (cplus_demangle_print): Declare.
+
+For older changes see ChangeLog-9103
+\f
+Copyright (C) 2004-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/aout/ChangeLog b/include/aout/ChangeLog
deleted file mode 100644 (file)
index f0148d4..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-2015-12-01  Alan Modra  <amodra@gmail.com>
-
-       * adobe.h: Invoke aout N_* macros with pointer to
-       struct internal_exec.
-       * aout64.h: Likewise.
-       * dynix3.h: Likewise.
-       * encap.h: Likewise.
-       * hp.h: Likewise.
-       * hp300hpux.h: Likewise.
-       * sun4.h: Likewise.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * hppa.h: Add copyright notice.
-
-2010-04-15  Nick Clifton  <nickc@redhat.com>
-
-       * adobe.h: Update copyright notice to use GPLv3.
-       * aout64.h: Likewise.
-       * ar.h: Likewise.
-       * dynix3.h: Likewise.
-       * encap.h: Likewise.
-       * host.h: Likewise.
-       * hp.h: Likewise.
-       * hp300hpux.h: Likewise.
-       * ranlib.h: Likewise.
-       * reloc.h: Likewise.
-       * stab.def: Likewise.
-       * stab_gnu.h: Likewise.
-       * sun4.h: Likewise.
-
-2009-10-02  Alan Modra  <amodra@bigpond.net.au>
-
-       * aout64.h (N_SHARED_LIB): Define as zero if not already defined.
-       * sun4.h (N_SHARED_LIB): Define.
-       * hp300hpux.h (N_SHARED_LIB): Don't define.
-
-2008-08-28  Tristan Gingold  <gingold@adacore.com>
-
-       * stab.def: Add BNSYM, ENSYM, OSO for darwin.
-
-2008-03-27  Cary Coutant <ccoutant@google.com>
-
-       * ar.h (ARMAGT): New magic string for thin archives.
-
-2005-08-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * encap.h: Remove a29k support.
-
-2005-05-10  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       adobe.h, aout64.h, ar.h, dynix3.h, encap.h, host.h, hp.h,
-       ranlib.h, reloc.h, stab.def, stab_gnu.h, sun4.h
-
-2004-01-06  Mark Kettenis  <kettenis@gnu.org>
-
-       * stab.def: Add N_PATCH to DO definition.
-
-2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
-
-       * aout64.h (BYTES_IN_WORD): Define if necessary.
-
-2001-09-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * aout64.h: Formatting fixes.
-       (N_TXTADDR): Evaluate to a bfd_vma.
-       (N_DATADDR): Avoid negative unsigned warning.
-       * hp300hpux.h: Formatting fixes.
-       (N_DATADDR): Avoid negative unsigned warning.
-
-2000-04-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
-       (RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
-       (RELOC_EXT_BITS_TYPE_BIG): Ditto.
-       (RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
-       (RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
-       (RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
-
-1999-07-12  Ian Lance Taylor  <ian@zembu.com>
-
-       * aout64.h (N_SHARED_LIB): Define as 0 if TEXT_START_ADDR is
-       defined as 0.
-
-1998-06-28  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
-
-       * stab.def:  Add N_ALIAS from SunPro F77.
-
-1996-03-11  Ian Lance Taylor  <ian@cygnus.com>
-
-       * stab.def: Use __define_stab_duplicate rather than __define_stab
-       for duplicate entries N_BROWS and N_MOD2.
-       * stab_gnu.h (__define_stab_duplicate): Define before including
-       stab.def.
-
-1995-10-27  Niklas Hallqvist  <niklas@appli.se>
-
-       * aout64.h, host.h, hp300hpux.h, sun4.h: Changed PAGE_SIZE to
-       TARGET_PAGE_SIZE.
-
-1995-09-12  Ian Lance Taylor  <ian@cygnus.com>
-
-       * sun4.h (struct internal_sun4_dynamic_link): Change all fields
-       from long to unsigned long.
-
-1995-07-12  Ken Raeburn  <raeburn@kr-pc.cygnus.com>
-
-       * sun4.h (PAGE_SIZE): Undefine before defining.
-
-1994-09-04  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
-
-       * aout64.h: Only define QMAGIC if it isn't already defined.
-
-1994-06-16  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * aout64.h (BMAGIC): Define.
-
-1994-06-11  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       Add weak symbols as an extension to a.out.
-       * aout64.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB): Define.
-       * stab.def: Update symbol value table.
-
-1994-06-02  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * sun4.h (EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE): Correct from 28 to
-       24.  Fix up ld_got comment.
-
-1994-03-30  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
-
-       * dynix3.h:  Cleanup, adapt to current bfd version.
-
-1994-02-26  Ian Lance Taylor  (ian@cygnus.com)
-
-       * aout64.h: Add casts to avoid warnings from SVR4 cc.
-
-1994-02-11  Stan Shebs  (shebs@andros.cygnus.com)
-
-       * ar.h (ARMAG, ARMAGB, ARFMAG): Change '\n' to '\012', for greater
-       portability.
-
-1994-01-21  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * sun4.h: Added information about SunOS shared libraries.
-
-1994-01-07  Jim Kingdon  (kingdon@deneb.cygnus.com)
-
-       * aout64.h (N_TXTADDR): Add comment regarding OMAGIC and NMAGIC.
-
-1993-12-25  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * aout64.h (N_DATOFF): Don't pad (revert change of 8 Jul 1993).
-
-1993-11-16  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * aout64.h: New macros ZMAGIC_DISK_BLOCK_SIZE and N_DISK_BLOCK_SIZE
-       for Linux ZMAGIC.
-       (N_TXTOFF, N_DATOFF): Use them.
-
-1993-11-04  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
-
-       * aout64.h (RELOC_STD_BITS_RELATIVE_LITTLE): Fixed value to match
-       sun3 system; used to overlap other fields.
-       (RELOC_STD_BITS_JMPTABLE_LITTLE): Likewise.
-
-1993-11-03  David J. Mackenzie  (djm@thepub.cygnus.com)
-
-       * aout64.h (RELOC_STD_BITS_BASEREL_LITTLE): Make it 0x10 (Ken's
-       suggestion) to avoid conflict with RELOC_STD_BITS_EXTERN_LITTLE.
-
-1993-10-29  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * hp300hpux.h (N_SHARED_LIB): Define to be 0.
-
-1993-09-13  John Gilmore  (gnu@cygnus.com)
-
-       * ar.h (ARMAP_TIME_OFFSET):  Add and describe.
-
-Mon Aug 23  Sean Fagan  (sef@cygnus.com)
-
-       * aout64.h [ARCH_SIZE != 64]: Allow N_BADMAG to be overridden.
-
-1993-08-16  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * stab_gnu.h: Include aout/stab.def not just stab.def.
-
-1993-07-18  Jim Kingdon  (kingdon@rtl.cygnus.com)
-
-       * dynix3.h: New, for symmetry running dynix.
-
-1993-07-08  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * aout64.h (N_BADMAG): Recognize QMAGIC.
-       N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
-       N_DATOFF: Pad text size if we need to.
-
-1993-06-18  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * stab.def (N_ECOML): Fix comment.
-
-1993-05-31  Jim Kingdon  (kingdon@cygnus.com)
-
-       * stab.def: Remove Solaris information on N_FUN stabstring grammar;
-       I've transferred it to gdb/doc/stabs.texinfo, where it belongs.
-
-1993-05-10  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
-
-       * hp300hpux.h: Patch from Glenn Engel for linker problem and
-       compatibility fix:
-       (OMAGIC, NMAGIC): New definitions.
-       (SHAREMAGIC): Deleted.
-       (HPUX_DOT_O_MAGIC): New macro.
-       (_N_BADMAG): Adjusted.
-       (N_HEADER_IN_TEXT, N_DATADDR): New macros.
-
-1993-04-29  Ken Raeburn  (raeburn@deneb.cygnus.com)
-
-       * hp300hpux.h: New file from Glenn Engel, glenne@lsid.hp.com.
-
-1993-04-27  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
-
-       * aout64.h (struct external_exec, *MAGIC, N_BADMAG): Don't define
-       if `external_exec' is already defined as a macro.
-       (N_DATOFF, N_TRELOFF, N_DRELOFF, N_SYMOFF, N_STROFF): Don't define
-       if already defined.
-       (struct external_nlist, EXTERNAL_NLIST_SIZE): Don't define if
-       `external_nlist' is already defined as a macro.
-
-1992-08-15  John Gilmore  (gnu@cygnus.com)
-
-       * adobe.h:  Add description of a.out.adobe format.
-
-1992-07-03  John Gilmore  (gnu at cygnus.com)
-
-       * stab.def:  Update more Solaris definitions.
-       * stab_gnu.h:  Add N_SO language types, and Solaris basic float types.
-
-1992-06-14  John Gilmore  (gnu at cygnus.com)
-
-       * stab.def:  Update descriptions of Solaris-2 stabs; add N_UNDF.
-
-1992-06-11  John Gilmore  (gnu at cygnus.com)
-
-       * stab.def:  Add N_OBJ and N_OPT from Solaris-2.
-
-1992-01-30  John Gilmore  (gnu at cygnus.com)
-
-       * aout64.h: N_TXTSIZE needs some more parentheses.
-       I don't trust C precedence.
-
-1991-12-18  Per Bothner  (bothner at cygnus.com)
-
-       * aout64.h:  Move common sunos-specific test
-       to recognize shared libraries into new macro N_SHARED_LIB.
-       Use it to simplify & reformat N_TXTADDR, N_TXTOFF, N_TXTSIZE.
-
-1991-11-30  Steve Chamberlain  (sac at rtl.cygnus.com)
-
-       * aout64.h, ar.h, encap.h, host.h, hp.h, ranlib.h, reloc.h,
-       stab.def, stab_gnu.h, sun4.h: All moved from the devo/include
-       directory.
-
-\f
-Copyright (C) 1991-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/aout/ChangeLog-9115 b/include/aout/ChangeLog-9115
new file mode 100644 (file)
index 0000000..f0148d4
--- /dev/null
@@ -0,0 +1,285 @@
+2015-12-01  Alan Modra  <amodra@gmail.com>
+
+       * adobe.h: Invoke aout N_* macros with pointer to
+       struct internal_exec.
+       * aout64.h: Likewise.
+       * dynix3.h: Likewise.
+       * encap.h: Likewise.
+       * hp.h: Likewise.
+       * hp300hpux.h: Likewise.
+       * sun4.h: Likewise.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * hppa.h: Add copyright notice.
+
+2010-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * adobe.h: Update copyright notice to use GPLv3.
+       * aout64.h: Likewise.
+       * ar.h: Likewise.
+       * dynix3.h: Likewise.
+       * encap.h: Likewise.
+       * host.h: Likewise.
+       * hp.h: Likewise.
+       * hp300hpux.h: Likewise.
+       * ranlib.h: Likewise.
+       * reloc.h: Likewise.
+       * stab.def: Likewise.
+       * stab_gnu.h: Likewise.
+       * sun4.h: Likewise.
+
+2009-10-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * aout64.h (N_SHARED_LIB): Define as zero if not already defined.
+       * sun4.h (N_SHARED_LIB): Define.
+       * hp300hpux.h (N_SHARED_LIB): Don't define.
+
+2008-08-28  Tristan Gingold  <gingold@adacore.com>
+
+       * stab.def: Add BNSYM, ENSYM, OSO for darwin.
+
+2008-03-27  Cary Coutant <ccoutant@google.com>
+
+       * ar.h (ARMAGT): New magic string for thin archives.
+
+2005-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * encap.h: Remove a29k support.
+
+2005-05-10  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       adobe.h, aout64.h, ar.h, dynix3.h, encap.h, host.h, hp.h,
+       ranlib.h, reloc.h, stab.def, stab_gnu.h, sun4.h
+
+2004-01-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * stab.def: Add N_PATCH to DO definition.
+
+2003-03-06  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * aout64.h (BYTES_IN_WORD): Define if necessary.
+
+2001-09-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * aout64.h: Formatting fixes.
+       (N_TXTADDR): Evaluate to a bfd_vma.
+       (N_DATADDR): Avoid negative unsigned warning.
+       * hp300hpux.h: Formatting fixes.
+       (N_DATADDR): Avoid negative unsigned warning.
+
+2000-04-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
+       (RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
+       (RELOC_EXT_BITS_TYPE_BIG): Ditto.
+       (RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
+       (RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
+       (RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
+
+1999-07-12  Ian Lance Taylor  <ian@zembu.com>
+
+       * aout64.h (N_SHARED_LIB): Define as 0 if TEXT_START_ADDR is
+       defined as 0.
+
+1998-06-28  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * stab.def:  Add N_ALIAS from SunPro F77.
+
+1996-03-11  Ian Lance Taylor  <ian@cygnus.com>
+
+       * stab.def: Use __define_stab_duplicate rather than __define_stab
+       for duplicate entries N_BROWS and N_MOD2.
+       * stab_gnu.h (__define_stab_duplicate): Define before including
+       stab.def.
+
+1995-10-27  Niklas Hallqvist  <niklas@appli.se>
+
+       * aout64.h, host.h, hp300hpux.h, sun4.h: Changed PAGE_SIZE to
+       TARGET_PAGE_SIZE.
+
+1995-09-12  Ian Lance Taylor  <ian@cygnus.com>
+
+       * sun4.h (struct internal_sun4_dynamic_link): Change all fields
+       from long to unsigned long.
+
+1995-07-12  Ken Raeburn  <raeburn@kr-pc.cygnus.com>
+
+       * sun4.h (PAGE_SIZE): Undefine before defining.
+
+1994-09-04  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
+
+       * aout64.h: Only define QMAGIC if it isn't already defined.
+
+1994-06-16  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * aout64.h (BMAGIC): Define.
+
+1994-06-11  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Add weak symbols as an extension to a.out.
+       * aout64.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB): Define.
+       * stab.def: Update symbol value table.
+
+1994-06-02  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * sun4.h (EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE): Correct from 28 to
+       24.  Fix up ld_got comment.
+
+1994-03-30  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * dynix3.h:  Cleanup, adapt to current bfd version.
+
+1994-02-26  Ian Lance Taylor  (ian@cygnus.com)
+
+       * aout64.h: Add casts to avoid warnings from SVR4 cc.
+
+1994-02-11  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * ar.h (ARMAG, ARMAGB, ARFMAG): Change '\n' to '\012', for greater
+       portability.
+
+1994-01-21  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * sun4.h: Added information about SunOS shared libraries.
+
+1994-01-07  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * aout64.h (N_TXTADDR): Add comment regarding OMAGIC and NMAGIC.
+
+1993-12-25  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * aout64.h (N_DATOFF): Don't pad (revert change of 8 Jul 1993).
+
+1993-11-16  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * aout64.h: New macros ZMAGIC_DISK_BLOCK_SIZE and N_DISK_BLOCK_SIZE
+       for Linux ZMAGIC.
+       (N_TXTOFF, N_DATOFF): Use them.
+
+1993-11-04  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * aout64.h (RELOC_STD_BITS_RELATIVE_LITTLE): Fixed value to match
+       sun3 system; used to overlap other fields.
+       (RELOC_STD_BITS_JMPTABLE_LITTLE): Likewise.
+
+1993-11-03  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * aout64.h (RELOC_STD_BITS_BASEREL_LITTLE): Make it 0x10 (Ken's
+       suggestion) to avoid conflict with RELOC_STD_BITS_EXTERN_LITTLE.
+
+1993-10-29  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * hp300hpux.h (N_SHARED_LIB): Define to be 0.
+
+1993-09-13  John Gilmore  (gnu@cygnus.com)
+
+       * ar.h (ARMAP_TIME_OFFSET):  Add and describe.
+
+Mon Aug 23  Sean Fagan  (sef@cygnus.com)
+
+       * aout64.h [ARCH_SIZE != 64]: Allow N_BADMAG to be overridden.
+
+1993-08-16  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stab_gnu.h: Include aout/stab.def not just stab.def.
+
+1993-07-18  Jim Kingdon  (kingdon@rtl.cygnus.com)
+
+       * dynix3.h: New, for symmetry running dynix.
+
+1993-07-08  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * aout64.h (N_BADMAG): Recognize QMAGIC.
+       N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
+       N_DATOFF: Pad text size if we need to.
+
+1993-06-18  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stab.def (N_ECOML): Fix comment.
+
+1993-05-31  Jim Kingdon  (kingdon@cygnus.com)
+
+       * stab.def: Remove Solaris information on N_FUN stabstring grammar;
+       I've transferred it to gdb/doc/stabs.texinfo, where it belongs.
+
+1993-05-10  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * hp300hpux.h: Patch from Glenn Engel for linker problem and
+       compatibility fix:
+       (OMAGIC, NMAGIC): New definitions.
+       (SHAREMAGIC): Deleted.
+       (HPUX_DOT_O_MAGIC): New macro.
+       (_N_BADMAG): Adjusted.
+       (N_HEADER_IN_TEXT, N_DATADDR): New macros.
+
+1993-04-29  Ken Raeburn  (raeburn@deneb.cygnus.com)
+
+       * hp300hpux.h: New file from Glenn Engel, glenne@lsid.hp.com.
+
+1993-04-27  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * aout64.h (struct external_exec, *MAGIC, N_BADMAG): Don't define
+       if `external_exec' is already defined as a macro.
+       (N_DATOFF, N_TRELOFF, N_DRELOFF, N_SYMOFF, N_STROFF): Don't define
+       if already defined.
+       (struct external_nlist, EXTERNAL_NLIST_SIZE): Don't define if
+       `external_nlist' is already defined as a macro.
+
+1992-08-15  John Gilmore  (gnu@cygnus.com)
+
+       * adobe.h:  Add description of a.out.adobe format.
+
+1992-07-03  John Gilmore  (gnu at cygnus.com)
+
+       * stab.def:  Update more Solaris definitions.
+       * stab_gnu.h:  Add N_SO language types, and Solaris basic float types.
+
+1992-06-14  John Gilmore  (gnu at cygnus.com)
+
+       * stab.def:  Update descriptions of Solaris-2 stabs; add N_UNDF.
+
+1992-06-11  John Gilmore  (gnu at cygnus.com)
+
+       * stab.def:  Add N_OBJ and N_OPT from Solaris-2.
+
+1992-01-30  John Gilmore  (gnu at cygnus.com)
+
+       * aout64.h: N_TXTSIZE needs some more parentheses.
+       I don't trust C precedence.
+
+1991-12-18  Per Bothner  (bothner at cygnus.com)
+
+       * aout64.h:  Move common sunos-specific test
+       to recognize shared libraries into new macro N_SHARED_LIB.
+       Use it to simplify & reformat N_TXTADDR, N_TXTOFF, N_TXTSIZE.
+
+1991-11-30  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * aout64.h, ar.h, encap.h, host.h, hp.h, ranlib.h, reloc.h,
+       stab.def, stab_gnu.h, sun4.h: All moved from the devo/include
+       directory.
+
+\f
+Copyright (C) 1991-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/cgen/ChangeLog b/include/cgen/ChangeLog
deleted file mode 100644 (file)
index d8dbb70..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2014-01-06  Tom Tromey  <tromey@redhat.com>
-
-       * bitset.h: Remove uses of PARAMS.
-
-2013-07-18  Andrew Neitsch  <andrew@neitsch.ca>
-
-       PR binutils/15728
-       * basic-ops.h: (SUBWORDSIQI) Make declaration static.
-       * (SUBWORDSIHI): Likewise.
-       * (SUBWORDDIQI): Likewise.
-       * (SUBWORDDIHI): Likewise.
-       * (SUBWORDDISI): Likewise.
-
-2010-01-05  Doug Evans  <dje@sebabeach.org>
-
-       * basic-modes.h (MAKEDI): New macro.
-
-2009-10-23  Doug Evans  <dje@sebabeach.org>
-
-       * basic-modes.h: New file.  Moved here from opcodes/cgen-types.h.
-       * basic-ops.h: New file.  Moved here from opcodes/cgen-ops.h.
-       * bitset.h: New file.  Moved here from ../opcode/cgen-bitset.h.
-       Update license to GPL v3.
-\f
-Copyright (C) 2009-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/cgen/ChangeLog-0915 b/include/cgen/ChangeLog-0915
new file mode 100644 (file)
index 0000000..d8dbb70
--- /dev/null
@@ -0,0 +1,44 @@
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2014-01-06  Tom Tromey  <tromey@redhat.com>
+
+       * bitset.h: Remove uses of PARAMS.
+
+2013-07-18  Andrew Neitsch  <andrew@neitsch.ca>
+
+       PR binutils/15728
+       * basic-ops.h: (SUBWORDSIQI) Make declaration static.
+       * (SUBWORDSIHI): Likewise.
+       * (SUBWORDDIQI): Likewise.
+       * (SUBWORDDIHI): Likewise.
+       * (SUBWORDDISI): Likewise.
+
+2010-01-05  Doug Evans  <dje@sebabeach.org>
+
+       * basic-modes.h (MAKEDI): New macro.
+
+2009-10-23  Doug Evans  <dje@sebabeach.org>
+
+       * basic-modes.h: New file.  Moved here from opcodes/cgen-types.h.
+       * basic-ops.h: New file.  Moved here from opcodes/cgen-ops.h.
+       * bitset.h: New file.  Moved here from ../opcode/cgen-bitset.h.
+       Update license to GPL v3.
+\f
+Copyright (C) 2009-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
deleted file mode 100644 (file)
index 232e4fc..0000000
+++ /dev/null
@@ -1,419 +0,0 @@
-2015-01-06  Alan Modra  <amodra@gmail.com>
-
-       PR binutils/17754
-       * internal.h (internal_auxent): Increase size of x_fname field to
-       20 to allow for PE format's longer file names.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-08-20  Daniel Micay  <danielmicay@gmail.com>
-
-       * pe.h: Add HIGH_ENTROPY_VA flag
-
-2014-04-22  Christian Svensson  <blue@cmd.nu>
-
-       * or32.h: Delete.
-
-2014-04-08  Jon TURNEY  <jon.turney@dronecode.org.uk>
-
-       * pe.h (external_IMAGE_DEBUG_DIRECTORY, _CV_INFO_PDB70)
-       (_CV_INFO_PDB20): Add structures and constants for debug directory
-       and codeview records.
-       * internal.h (internal_IMAGE_DEBUG_DIRECTORY, CODEVIEW_INFO):
-       Add structures and constants for internal representation of debug
-       directory and codeview records.
-
-2014-03-13  Tristan Gingold  <gingold@adacore.com>
-
-       * pe.h (struct external_ANON_OBJECT_HEADER_BIGOBJ): Declare.
-       (FILHSZ_BIGOBJ): Define.
-       (struct external_SYMBOL_EX): Declare.
-       (SYMENT_BIGOBJ, SYMESZ_BIGOBJ): Define.
-       (union external_AUX_SYMBOL_EX): Declare.
-       (AUXENT_BIGOBJ, AUXESZ_BIGOBJ): Define.
-       * internal.h (struct internal_filehdr): Change type
-       of f_nscns.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2013-12-06  Tristan Gingold  <gingold@adacore.com>
-
-       * pe.h (UWOP_EPILOG, UWOP_PARE): Define.
-
-2013-07-10  Tristan Gingold  <gingold@adacore.com>
-
-       * rs6000.h (external_core_dumpx): New structure.
-       (external_ld_info32): Ditto.
-
-2013-07-02  Tristan Gingold  <gingold@adacore.com>
-
-       * internal.h (C_STTLS, C_GTLS): Define.
-       * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.
-
-2013-02-04  Alan Modra  <amodra@gmail.com>
-
-       * ti.h (SWAP_OUT_RELOC_EXTRA): Define.
-
-2013-01-02  Martin Storsjo <martin@martin.st>
-
-       * arm.h (ARMV7PEMAGIC): Define.
-       (ARMBADMAG): Update.
-
-2011-06-02  Nick Clifton  <nickc@redhat.com>
-
-       * i860.h: Fix spelling mistake in comment.
-
-2011-05-04  Tristan Gingold  <gingold@adacore.com>
-
-       * rs6000.h (union external_auxent): Add x_ftype field.
-       * rs6k64.h: (struct external_auxent): Remap x_file field.
-
-2011-05-04  Tristan Gingold  <gingold@adacore.com>
-
-       * rs6000.h (struct external_exceptab): New struct.
-       (EXCEPTSZ): New macro.
-       * rs6k64.h: (struct external_exceptab): New struct.
-       (EXCEPTSZ): New macro.
-
-2011-05-03  Tristan Gingold  <gingold@adacore.com>
-
-       * rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
-       SYMNMLEN.
-
-2011-04-27  Tristan Gingold  <gingold@adacore.com>
-
-       * xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
-       (STYP_DWARF, SSUBTYP_DWINFO)
-       (SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
-       (SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
-       (SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
-       (R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
-       New macros.
-
-2011-03-31  Tristan Gingold  <gingold@adacore.com>
-
-       * internal.h (C_NULL_VALUE): Define.
-
-2010-06-29  Alan Modra  <amodra@gmail.com>
-
-       * maxq.h: Delete file.
-
-2010-04-15  Nick Clifton  <nickc@redhat.com>
-
-       * alpha.h: Update copyright notice to use GPLv3.
-       * apollo.h: Likewise.
-       * arm.h: Likewise.
-       * aux-coff.h: Likewise.
-       * ecoff.h: Likewise.
-       * external.h: Likewise.
-       * go32exe.h: Likewise.
-       * h8300.h: Likewise.
-       * h8500.h: Likewise.
-       * i386.h: Likewise.
-       * i860.h: Likewise.
-       * i960.h: Likewise.
-       * ia64.h: Likewise.
-       * internal.h: Likewise.
-       * m68k.h: Likewise.
-       * m88k.h: Likewise.
-       * maxq.h: Likewise.
-       * mcore.h: Likewise.
-       * mips.h: Likewise.
-       * mipspe.h: Likewise.
-       * or32.h: Likewise.
-       * pe.h: Likewise.
-       * powerpc.h: Likewise.
-       * rs6000.h: Likewise.
-       * rs6k64.h: Likewise.
-       * sh.h: Likewise.
-       * sparc.h: Likewise.
-       * ti.h: Likewise.
-       * tic30.h: Likewise.
-       * tic4x.h: Likewise.
-       * tic54x.h: Likewise.
-       * tic80.h: Likewise.
-       * w65.h: Likewise.
-       * we32k.h: Likewise.
-       * x86_64.h: Likewise.
-       * xcoff.h: Likewise.
-       * z80.h: Likewise.
-       * z8k.h: Likewise.
-
-2009-12-02  Jerker Bäck  <jerker.back@gmail.com>
-
-       PR binutils/11017
-       * i386lh (COFF_PAGE_SIZE): Define.
-       * x86_64.h (COFF_PAGE_SIZE): Define.
-
-2009-10-17  Arnold Metselaar  <arnold.metselaar@planet.nl>
-
-       * z80.h: Store alignment requirement in section header, to allow
-       ld to preserve alignment. Some code was copied from ti.h.
-
-2009-09-05  Martin Thuresson  <martin@mtme.org>
-
-       * ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name of class
-       variable to in_class to match changes in function that use this
-       macro.
-
-2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       Fix references past allocated memory for i386-*-go32.
-       * ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
-       Reference F_TARGET_ID only when !COFF0_P.
-
-2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       Stop using bfd_usrdata in libbfd.
-       * go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
-       STUBSIZE by GO32_STUBSIZE.
-       (STUBSIZE): Move the definition ...
-       * internal.h (GO32_STUBSIZE): ... here and rename it.
-       (struct internal_filehdr <go32stub>, F_GO32STUB): New.
-
-2009-06-03  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
-       btAdr64, btInt64, btUInt64): New defines.
-
-2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
-
-       * pe.h (pex64_runtime_function): New structure.
-       (external_pex64_runtime_function): Likewise.
-       (pex64_unwind_code): Likewise.
-       (external_pex64_unwind_code): Likewise.
-       (pex64_unwind_info): Likewise.
-       (external_pex64_unwind_info): Likewise.
-       (external_pex64_scope): Likewise.
-       (pex64_scope): Likewise.
-       (pex64_scope_entry):  Likewise.
-       (external_pex64_scope_entry): Likewise.
-       (PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
-       (PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
-       (PEX64_UNWCODE_CODE): Likewise.
-       (PEX64_UNWCODE_INFO): Likewise.
-       (UWOP_...): Add defines for unwind code.
-       (UNW_FLAG_...): Add defined for unwind info flags.
-       (PEX64_SCOPE_ENTRY_SIZE): New macro.
-       (PEX64_UWI_VERSION): Likewise.
-       (PEX64_UWI_FLAGS): Likewise.
-       (PEX64_UWI_FRAMEREG): Likewise.
-       (PEX64_UWI_FRAMEOFF): Likewise.
-       (PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
-       (PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
-       (PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
-       (PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
-       (PEX64_SCOPE_ENTRY): Likewise.
-
-2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
-       (IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.
-
-2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
-
-       * xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c.
-
-2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
-
-       * xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
-       (xcoff_loader_info): Add auto_export_flags.
-
-2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
-
-       * internal.h (C_AIX_WEAKEXT): New macro.
-       (C_WEAKEXT): Use the GNU definition in the generic part of the file,
-       and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
-       the file.
-       (CSECT_SYM_P): New macro.
-       * xcoff.h (L_WEAK): Define.
-       (EXTERN_SYM_P): New macro.
-
-2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
-
-       * xcoff.h (XCOFF_ALLOCATED): New flag.
-
-2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
-
-       * xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
-       (XCOFF_WAS_UNDEFINED): New flag.
-       (xcoff_link_hash_table): Add an "rtld" field.
-
-2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
-
-       * internal.h (struct internal_extra_pe_aouthdr):  Correct type
-       of DllCharacteristics flags field to unsigned.
-       * pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
-       IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
-       IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
-       IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
-       IMAGE_DLLCHARACTERISTICS_NO_SEH,
-       IMAGE_DLLCHARACTERISTICS_NO_BIND,
-       IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
-       IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE):  New macros to
-       define flag bit values for DllCharacteristics field of PEAOUTHDR,
-       PEPAOUTHDR.
-
-2008-12-23  Johan Olmutz Nielsen  <jnielsen@ddci.com>
-
-       * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
-
-2008-06-17  Nick Clifton  <nickc@redhat.com>
-
-       * ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
-       macro which does not trigger an array bounds warning in gcc.
-       (PUT_SCNHDR_NLNNO): Likewise.
-       (GET_SCNHDR_FLAGS): Likewise.
-       (PUT_SCNHDR_FLAGS): Likewise.
-       (GET_SCNHDR_PAGE): Likewise.
-       (PUT_SCNHDR_PAGE): Likewise.
-
-2007-11-05  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       * pe.h (COFF_ENCODE_ALIGNMENT) Define.
-
-2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
-       (IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
-       (IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
-       (IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
-       (IMAGE_SCN_ALIGN_128BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_256BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_512BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_1024BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_2048BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_4096BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_8192BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_1BYTES): Redefined with
-       IMAGE_SCN_ALIGN_POWER_CONST.
-       (IMAGE_SCN_ALIGN_2BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_4BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_8BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_16BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_32BYTES): Likewise.
-       (IMAGE_SCN_ALIGN_64BYTES): Likewise.
-
-2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
-
-       * internal.h (struct internal_syment): Use bfd_hostptr_t for
-       _n_zeroes and _n_offset fields.
-
-2007-04-27  Alan Modra  <amodra@bigpond.net.au>
-
-       * rs6000.h: Write Mimi's name in ASCII.
-
-2007-03-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * internal.h (internal_extra_pe_aouthdr): Add Magic,
-       MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
-       SizeOfInitializedData, SizeOfUninitializedData,
-       AddressOfEntryPoint, BaseOfCode and BaseOfData.
-
-2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
-           Nick Clifton  <nickc@redhat.com>
-
-       * external.h (struct external_aouthdr): Add ATTRIBUTE_PACKED.
-       (struct external_syment): Likewise.
-       (union external_auxent): Likewise.
-
-2006-11-14  Phil Lello  <phil.lello@homecall.co.uk>
-
-       * pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and
-       IMAGE_SUBSYSTEM_XBOX.
-       * internal.h: Added defines for PE directory entry types.
-       NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in
-       pe.h
-
-2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
-
-       * external.h: Add proper external_aouthdr64 structure (without
-       data_start member).
-       (AOUTHDRSZ64): Set according structure size.
-       (AOUTHDR64): As typedef of external_aouthdr64 structure.
-       * internal.h: Add relocation identifiers for coff.
-       * pe.h: Add define IMAGE_FILE_MACHINE_AMD64 the coff signature.
-       (PEPAOUTHDR): Adjust structure to have proper size (using AOUTHDR64).
-       (PEPAOUTSZ): Calculated size of 240.
-       * x86_64.h: Coff information for x86_64 (AMD64).
-
-2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
-
-       * internal.h: Add relocation number R_IMM24 for Z80.
-
-2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
-
-       * internal.h: Add relocation number for Z80
-       * z80.h: New file.
-
-2005-08-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * a29k.h: Delete.
-
-2005-07-14  Daniel Marques  <marques@cs.cornell.edu>
-
-       * alpha.h (ALPHA_ECOFF_COMPRESSEDMAG): Define.
-       * ecoff.h (ALPHA_MAGIC_COMPRESSED): Define.
-
-2005-05-10  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       a29k.h, alpha.h, apollo.h, arm.h, aux-coff.h, ecoff.h, external.h,
-       go32exe.h, h8300.h, h8500.h, i386.h, i860.h, i960.h, ia64.h,
-       internal.h, m68k.h, m88k.h, maxq.h, mcore.h, mips.h, mipspe.h,
-       or32.h, pe.h, powerpc.h, rs6k64.h, sh.h, sparc.h, ti.h, tic30.h,
-       tic4x.h, tic54x.h, tic80.h, w65.h, we32k.h, xcoff.h, z8k.h
-
-2005-02-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * xcoff.h (struct xcoff_loader_info): Warning fix.
-
-2005-01-10  Inderpreet Singh <inderpreetb@noida.hcltech.com>
-
-       * maxq.h (F_MAXQ10, F_MAXQ20): Define.
-
-2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
-           Vineet Sharma      <vineets@noida.hcltech.com>
-
-       * maxq.h: New file: Defintions for the maxq port.
-
-2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
-
-       * pe.h (IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY): Define.
-       (IMAGE_WEAK_EXTERN_SEARCH_LIBRARY): Same.
-       (IMAGE_WEAK_EXTERN_SEARCH_ALIAS): Same.
-
-2004-08-13  Mark Kettenis  <kettenis@gnu.org>
-
-       * symconst.h (langMax): Fix typo in comment.
-
-2004-04-23  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
-       (MIPS_R_PCREL16): Update comment.
-       * ecoff.h (struct ecoff_value_adjust): Remove structure.
-       (struct ecoff_debug_info): Remove 'adjust' member.
-
-2004-04-20  DJ Delorie  <dj@redhat.com>
-
-       * internal.h (R_SECREL32): Add.
-
-For older changes see ChangeLog-9103
-\f
-Copyright (C) 2004-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/coff/ChangeLog-0415 b/include/coff/ChangeLog-0415
new file mode 100644 (file)
index 0000000..232e4fc
--- /dev/null
@@ -0,0 +1,419 @@
+2015-01-06  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/17754
+       * internal.h (internal_auxent): Increase size of x_fname field to
+       20 to allow for PE format's longer file names.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-08-20  Daniel Micay  <danielmicay@gmail.com>
+
+       * pe.h: Add HIGH_ENTROPY_VA flag
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * or32.h: Delete.
+
+2014-04-08  Jon TURNEY  <jon.turney@dronecode.org.uk>
+
+       * pe.h (external_IMAGE_DEBUG_DIRECTORY, _CV_INFO_PDB70)
+       (_CV_INFO_PDB20): Add structures and constants for debug directory
+       and codeview records.
+       * internal.h (internal_IMAGE_DEBUG_DIRECTORY, CODEVIEW_INFO):
+       Add structures and constants for internal representation of debug
+       directory and codeview records.
+
+2014-03-13  Tristan Gingold  <gingold@adacore.com>
+
+       * pe.h (struct external_ANON_OBJECT_HEADER_BIGOBJ): Declare.
+       (FILHSZ_BIGOBJ): Define.
+       (struct external_SYMBOL_EX): Declare.
+       (SYMENT_BIGOBJ, SYMESZ_BIGOBJ): Define.
+       (union external_AUX_SYMBOL_EX): Declare.
+       (AUXENT_BIGOBJ, AUXESZ_BIGOBJ): Define.
+       * internal.h (struct internal_filehdr): Change type
+       of f_nscns.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2013-12-06  Tristan Gingold  <gingold@adacore.com>
+
+       * pe.h (UWOP_EPILOG, UWOP_PARE): Define.
+
+2013-07-10  Tristan Gingold  <gingold@adacore.com>
+
+       * rs6000.h (external_core_dumpx): New structure.
+       (external_ld_info32): Ditto.
+
+2013-07-02  Tristan Gingold  <gingold@adacore.com>
+
+       * internal.h (C_STTLS, C_GTLS): Define.
+       * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.
+
+2013-02-04  Alan Modra  <amodra@gmail.com>
+
+       * ti.h (SWAP_OUT_RELOC_EXTRA): Define.
+
+2013-01-02  Martin Storsjo <martin@martin.st>
+
+       * arm.h (ARMV7PEMAGIC): Define.
+       (ARMBADMAG): Update.
+
+2011-06-02  Nick Clifton  <nickc@redhat.com>
+
+       * i860.h: Fix spelling mistake in comment.
+
+2011-05-04  Tristan Gingold  <gingold@adacore.com>
+
+       * rs6000.h (union external_auxent): Add x_ftype field.
+       * rs6k64.h: (struct external_auxent): Remap x_file field.
+
+2011-05-04  Tristan Gingold  <gingold@adacore.com>
+
+       * rs6000.h (struct external_exceptab): New struct.
+       (EXCEPTSZ): New macro.
+       * rs6k64.h: (struct external_exceptab): New struct.
+       (EXCEPTSZ): New macro.
+
+2011-05-03  Tristan Gingold  <gingold@adacore.com>
+
+       * rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
+       SYMNMLEN.
+
+2011-04-27  Tristan Gingold  <gingold@adacore.com>
+
+       * xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
+       (STYP_DWARF, SSUBTYP_DWINFO)
+       (SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
+       (SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
+       (SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
+       (R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
+       New macros.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * internal.h (C_NULL_VALUE): Define.
+
+2010-06-29  Alan Modra  <amodra@gmail.com>
+
+       * maxq.h: Delete file.
+
+2010-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * alpha.h: Update copyright notice to use GPLv3.
+       * apollo.h: Likewise.
+       * arm.h: Likewise.
+       * aux-coff.h: Likewise.
+       * ecoff.h: Likewise.
+       * external.h: Likewise.
+       * go32exe.h: Likewise.
+       * h8300.h: Likewise.
+       * h8500.h: Likewise.
+       * i386.h: Likewise.
+       * i860.h: Likewise.
+       * i960.h: Likewise.
+       * ia64.h: Likewise.
+       * internal.h: Likewise.
+       * m68k.h: Likewise.
+       * m88k.h: Likewise.
+       * maxq.h: Likewise.
+       * mcore.h: Likewise.
+       * mips.h: Likewise.
+       * mipspe.h: Likewise.
+       * or32.h: Likewise.
+       * pe.h: Likewise.
+       * powerpc.h: Likewise.
+       * rs6000.h: Likewise.
+       * rs6k64.h: Likewise.
+       * sh.h: Likewise.
+       * sparc.h: Likewise.
+       * ti.h: Likewise.
+       * tic30.h: Likewise.
+       * tic4x.h: Likewise.
+       * tic54x.h: Likewise.
+       * tic80.h: Likewise.
+       * w65.h: Likewise.
+       * we32k.h: Likewise.
+       * x86_64.h: Likewise.
+       * xcoff.h: Likewise.
+       * z80.h: Likewise.
+       * z8k.h: Likewise.
+
+2009-12-02  Jerker Bäck  <jerker.back@gmail.com>
+
+       PR binutils/11017
+       * i386lh (COFF_PAGE_SIZE): Define.
+       * x86_64.h (COFF_PAGE_SIZE): Define.
+
+2009-10-17  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       * z80.h: Store alignment requirement in section header, to allow
+       ld to preserve alignment. Some code was copied from ti.h.
+
+2009-09-05  Martin Thuresson  <martin@mtme.org>
+
+       * ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name of class
+       variable to in_class to match changes in function that use this
+       macro.
+
+2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix references past allocated memory for i386-*-go32.
+       * ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
+       Reference F_TARGET_ID only when !COFF0_P.
+
+2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Stop using bfd_usrdata in libbfd.
+       * go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
+       STUBSIZE by GO32_STUBSIZE.
+       (STUBSIZE): Move the definition ...
+       * internal.h (GO32_STUBSIZE): ... here and rename it.
+       (struct internal_filehdr <go32stub>, F_GO32STUB): New.
+
+2009-06-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
+       btAdr64, btInt64, btUInt64): New defines.
+
+2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
+
+       * pe.h (pex64_runtime_function): New structure.
+       (external_pex64_runtime_function): Likewise.
+       (pex64_unwind_code): Likewise.
+       (external_pex64_unwind_code): Likewise.
+       (pex64_unwind_info): Likewise.
+       (external_pex64_unwind_info): Likewise.
+       (external_pex64_scope): Likewise.
+       (pex64_scope): Likewise.
+       (pex64_scope_entry):  Likewise.
+       (external_pex64_scope_entry): Likewise.
+       (PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
+       (PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
+       (PEX64_UNWCODE_CODE): Likewise.
+       (PEX64_UNWCODE_INFO): Likewise.
+       (UWOP_...): Add defines for unwind code.
+       (UNW_FLAG_...): Add defined for unwind info flags.
+       (PEX64_SCOPE_ENTRY_SIZE): New macro.
+       (PEX64_UWI_VERSION): Likewise.
+       (PEX64_UWI_FLAGS): Likewise.
+       (PEX64_UWI_FRAMEREG): Likewise.
+       (PEX64_UWI_FRAMEOFF): Likewise.
+       (PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
+       (PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
+       (PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
+       (PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
+       (PEX64_SCOPE_ENTRY): Likewise.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
+       (IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
+       (xcoff_loader_info): Add auto_export_flags.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * internal.h (C_AIX_WEAKEXT): New macro.
+       (C_WEAKEXT): Use the GNU definition in the generic part of the file,
+       and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
+       the file.
+       (CSECT_SYM_P): New macro.
+       * xcoff.h (L_WEAK): Define.
+       (EXTERN_SYM_P): New macro.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * xcoff.h (XCOFF_ALLOCATED): New flag.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
+       (XCOFF_WAS_UNDEFINED): New flag.
+       (xcoff_link_hash_table): Add an "rtld" field.
+
+2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * internal.h (struct internal_extra_pe_aouthdr):  Correct type
+       of DllCharacteristics flags field to unsigned.
+       * pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
+       IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
+       IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
+       IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
+       IMAGE_DLLCHARACTERISTICS_NO_SEH,
+       IMAGE_DLLCHARACTERISTICS_NO_BIND,
+       IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
+       IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE):  New macros to
+       define flag bit values for DllCharacteristics field of PEAOUTHDR,
+       PEPAOUTHDR.
+
+2008-12-23  Johan Olmutz Nielsen  <jnielsen@ddci.com>
+
+       * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
+
+2008-06-17  Nick Clifton  <nickc@redhat.com>
+
+       * ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
+       macro which does not trigger an array bounds warning in gcc.
+       (PUT_SCNHDR_NLNNO): Likewise.
+       (GET_SCNHDR_FLAGS): Likewise.
+       (PUT_SCNHDR_FLAGS): Likewise.
+       (GET_SCNHDR_PAGE): Likewise.
+       (PUT_SCNHDR_PAGE): Likewise.
+
+2007-11-05  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * pe.h (COFF_ENCODE_ALIGNMENT) Define.
+
+2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
+       (IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
+       (IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
+       (IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
+       (IMAGE_SCN_ALIGN_128BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_256BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_512BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_1024BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_2048BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_4096BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_8192BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_1BYTES): Redefined with
+       IMAGE_SCN_ALIGN_POWER_CONST.
+       (IMAGE_SCN_ALIGN_2BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_4BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_8BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_16BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_32BYTES): Likewise.
+       (IMAGE_SCN_ALIGN_64BYTES): Likewise.
+
+2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
+
+       * internal.h (struct internal_syment): Use bfd_hostptr_t for
+       _n_zeroes and _n_offset fields.
+
+2007-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * rs6000.h: Write Mimi's name in ASCII.
+
+2007-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * internal.h (internal_extra_pe_aouthdr): Add Magic,
+       MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
+       SizeOfInitializedData, SizeOfUninitializedData,
+       AddressOfEntryPoint, BaseOfCode and BaseOfData.
+
+2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
+           Nick Clifton  <nickc@redhat.com>
+
+       * external.h (struct external_aouthdr): Add ATTRIBUTE_PACKED.
+       (struct external_syment): Likewise.
+       (union external_auxent): Likewise.
+
+2006-11-14  Phil Lello  <phil.lello@homecall.co.uk>
+
+       * pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and
+       IMAGE_SUBSYSTEM_XBOX.
+       * internal.h: Added defines for PE directory entry types.
+       NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in
+       pe.h
+
+2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
+
+       * external.h: Add proper external_aouthdr64 structure (without
+       data_start member).
+       (AOUTHDRSZ64): Set according structure size.
+       (AOUTHDR64): As typedef of external_aouthdr64 structure.
+       * internal.h: Add relocation identifiers for coff.
+       * pe.h: Add define IMAGE_FILE_MACHINE_AMD64 the coff signature.
+       (PEPAOUTHDR): Adjust structure to have proper size (using AOUTHDR64).
+       (PEPAOUTSZ): Calculated size of 240.
+       * x86_64.h: Coff information for x86_64 (AMD64).
+
+2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       * internal.h: Add relocation number R_IMM24 for Z80.
+
+2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       * internal.h: Add relocation number for Z80
+       * z80.h: New file.
+
+2005-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * a29k.h: Delete.
+
+2005-07-14  Daniel Marques  <marques@cs.cornell.edu>
+
+       * alpha.h (ALPHA_ECOFF_COMPRESSEDMAG): Define.
+       * ecoff.h (ALPHA_MAGIC_COMPRESSED): Define.
+
+2005-05-10  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       a29k.h, alpha.h, apollo.h, arm.h, aux-coff.h, ecoff.h, external.h,
+       go32exe.h, h8300.h, h8500.h, i386.h, i860.h, i960.h, ia64.h,
+       internal.h, m68k.h, m88k.h, maxq.h, mcore.h, mips.h, mipspe.h,
+       or32.h, pe.h, powerpc.h, rs6k64.h, sh.h, sparc.h, ti.h, tic30.h,
+       tic4x.h, tic54x.h, tic80.h, w65.h, we32k.h, xcoff.h, z8k.h
+
+2005-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * xcoff.h (struct xcoff_loader_info): Warning fix.
+
+2005-01-10  Inderpreet Singh <inderpreetb@noida.hcltech.com>
+
+       * maxq.h (F_MAXQ10, F_MAXQ20): Define.
+
+2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
+           Vineet Sharma      <vineets@noida.hcltech.com>
+
+       * maxq.h: New file: Defintions for the maxq port.
+
+2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
+
+       * pe.h (IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY): Define.
+       (IMAGE_WEAK_EXTERN_SEARCH_LIBRARY): Same.
+       (IMAGE_WEAK_EXTERN_SEARCH_ALIAS): Same.
+
+2004-08-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * symconst.h (langMax): Fix typo in comment.
+
+2004-04-23  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
+       (MIPS_R_PCREL16): Update comment.
+       * ecoff.h (struct ecoff_value_adjust): Remove structure.
+       (struct ecoff_debug_info): Remove 'adjust' member.
+
+2004-04-20  DJ Delorie  <dj@redhat.com>
+
+       * internal.h (R_SECREL32): Add.
+
+For older changes see ChangeLog-9103
+\f
+Copyright (C) 2004-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
deleted file mode 100644 (file)
index e95e96d..0000000
+++ /dev/null
@@ -1,2348 +0,0 @@
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.h (TAG_CPU_ARCH_V8M_BASE): Declare.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.h (TAG_CPU_ARCH_V8M_MAIN): Declare.
-       (MAX_TAG_CPU_ARCH): Define to TAG_CPU_ARCH_V8M_MAIN.
-       (TAG_CPU_ARCH_V4T_PLUS_V6_M): Define to unused value 15.
-
-2015-12-22 Mickael Guene <mickael.guene@st.com>
-
-       * arm.h: Add arm SHF_ARM_NOREAD section flag.
-
-2015-12-16  Mickael Guene <mickael.guene@st.com>
-
-       * arm.h: Add new arm relocations.
-
-2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * rx.h (E_FLAG_RX_V2): New RXv2 type.
-
-2015-12-07  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (R_PPC64_ENTRY): Define.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * ppc.h (R_PPC_REL16DX_HA): New reloction.
-       * ppc64.h (R_PPC64_REL16DX_HA): Likewise.
-
-2015-10-28  Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * arc-reloc.def (ARC_32_PCREL): New definition.
-       (ARC_TLS_DTPOFF): Arrange it in order.
-
-2015-10-27  Stephen Fisher  <sfisher@panix.com>
-
-       * common.h (NT_NETBSD_MARCH): Define.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86-64.h (R_X86_64_GOTPCRELX): New.
-       (R_X86_64_REX_GOTPCRELX): Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (R_386_GOT32X): New relocation.
-
-2015-10-07  Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * arc-reloc.def: Macro file with definition of all relocation
-       types.
-       * arc.h: Changed macros for the newly supported ARC cpus.  Altered
-       enum defining the supported relocations.
-       * common.h: Changed EM_ARC_A5 definition to EM_ARC_COMPACT. Added
-       macro for EM_ARC_COMPACT2.
-
-2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * common.h (DF_1_STUB, DF_1_PIE): Define.
-
-2015-09-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * external.h (Elf64_External_Chdr): Change ch_type to 4 bytes
-       and add ch_reserved.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * aarch64.h (R_AARCH64_P32_TLSLD_ADD_DTPREL_LO12): Define.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * aarch64.h (R_AARCH64_P32_TLSLD_ADD_LO12_NC): Define.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * aarch64.h (R_AARCH64_P32_TLSLD_ADR_PAGE21): Define.
-
-2015-07-16  Jiong Wang  <jiong.wang@arm.com>
-
-       * aarch64.h (R_AARCH64_P32_TLSLD_ADR_PREL21): New enumeration.
-
-2015-07-09  Catherine Moore  <clm@codesourcery.com>
-
-       * mips.h (Val_GNU_MIPS_ABI_FP_NAN2008): New.
-
-2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
-
-       * avr.h: Add new 32 bit PC relative relocation.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * nios2.h (R_NIOS2_R2_S12): New.
-       (R_NIOS2_R2_I10_1_PCREL): New.
-       (R_NIOS2_R2_T1I7_1_PCREL): New.
-       (R_NIOS2_R2_T1I7_2): New.
-       (R_NIOS2_R2_T2I4): New.
-       (R_NIOS2_R2_T2I4_1): New.
-       (R_NIOS2_R2_T2I4_2): New.
-       (R_NIOS2_R2_X1I7_2): New.
-       (R_NIOS2_R2_X2L5): New.
-       (R_NIOS2_R2_F1I5_2): New.
-       (R_NIOS2_R2_L5I4X1): New.
-       (R_NIOS2_R2_T1X1I6): New.
-       (R_NIOS2_R2_T1X1I6_2): New.
-       (R_NIOS2_ILLEGAL): Renumber.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * nios2.h (EF_NIOS2_ARCH_R1, EF_NIOS2_ARCH_R2): Define.
-
-2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h (DT_MIPS_RLD_MAP_REL): New macro.
-
-2015-05-29  Roland McGrath  <mcgrathr@google.com>
-
-       * common.h (GNU_ABI_TAG_SYLLABLE): New macro.
-       (GNU_ABI_TAG_NACL): New macro.
-
-2015-05-12  Jiong Wang  <jiong.wang@arm.com>
-
-       * aarch64.h (R_AARCH64_P32_LD32_GOTPAGE_LO14): New enumeration.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (EM_486): Renamed to ...
-       (EM_IAMCU): This.
-
-2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * s390.h: Define Tag_GNU_S390_ABI_Vector.
-
-2015-04-24  Alan Modra  <amodra@gmail.com>
-
-       * internal.h (ELF_SECTION_IN_SEGMENT_1): Ensure PT_LOAD and
-       similar segments only contain alloc sections.
-
-2015-04-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18316
-       * mep.h (SEC_MEP_VLIW): Removed.
-
-2015-04-09  Nick Clifton  <nickc@redhat.com>
-
-       * rx.h (E_FLAG_RX_SINSNS_SET): New bit in e_flags field.
-       (E_FLAG_RX_SINSNS_YES): Likewise.
-       (E_FLAG_RX_SINSNS_MASK): New define.
-
-2015-04-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * external.h (Elf32_External_Chdr): New.
-       (Elf64_External_Chdr): Likewise.
-       * internal.h (Elf_Internal_Chdr): Likewise.
-
-2015-03-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (ELFOSABI_CLOUDABI): New.
-       (SHF_COMPRESSED): Likewise.
-       (ELFCOMPRESS_ZLIB): Likewise.
-       (ELFCOMPRESS_LOOS): Likewise.
-       (ELFCOMPRESS_HIOS): Likewise.
-       (ELFCOMPRESS_LOPROC): Likewise.
-       (ELFCOMPRESS_HIPROC): Likewise.
-
-2015-03-19  Nick Clifton  <nickc@redhat.com>
-
-       * rl78.h (E_FLAG_RL78_G10): Redefine.
-       (E_FLAG_RL78_CPU_MASK, E_FLAG_RL78_ANY_CPU, E_FLAG_RL78_G13
-       E_FLAG_RL78_G14): New flags.
-
-2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       PR ld/16572
-       * arm.h (EF_ARM_HASENTRY): Remove.
-
-2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * aarch64.h (R_AARCH64_P32_TLSGD_ADR_PREL21): Add.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * v850.h (EF_RH850_SIMD): Delete deprecated flag.
-       (EF_RH850_CACHE): Likewise.
-       (EF_RH850_MMU): Likewise.
-       (EF_RH850_DATA_ALIGN8): Likewise.
-       (SHT_RENESAS_IOP): Fix typo in name.
-       (SHT_RENESAS_INFO): Define.
-       (V850_NOTE_SECNAME): Define.
-       (SIZEOF_V850_NOTE): Define.
-       (V850_NOTE_NAME): Define.
-       (enum v850_notes): New enum.
-       (NUM_V850_NOTES): Define.
-
-2015-02-23  Nick Clifton  <nickc@redhat.com>
-
-       PR 17915
-       * score.h: Fix typo in license header.
-
-2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
-
-       * common.h (NT_S390_VXRS_LOW): New macro.
-       (NT_S390_VXRS_HIGH): Likewise.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * common.h (EM_FT32): Define.
-       * ft32.h: New file.
-
-2015-01-09  Anthony Green  <green@moxielogic.com>
-
-       * common.h (EM_MOXIE): Redefine to official number.
-       (EM_MOXIE_OLD): Define (from old number).
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-12-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.h: New AEABI_FP_number_model_* and AEABI_VFP_args_* enum values.
-
-2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * common.h (EM_VISIUM): Define.
-       * visium.h: New file.
-
-2014-11-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86-64.h (R_X86_64_GOTPLT64): Mark it obsolete.
-
-2014-10-30  Andrew Pinski  <apinski@cavium.com>
-
-       * mips.h (AFL_EXT_OCTEON3): Define.
-       (INSN_OCTEON3, CPU_OCTEON3): Define.
-
-2014-10-22  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h (AFL_ASE_MASK): Define.
-
-2014-10-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * sparc.h (ELF_SPARC_HWCAP2_VIS3B): Documentation improved.
-
-2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * sparc.h (Tag_GNU_Sparc_HWCAPS2): New object attribute.
-       (ELF_SPARC_HWCAP2_FJATHPLUS): New HWCAP2 bitmask value.
-       (ELF_SPARC_HWCAP2_VIS3B): Likewise.
-       (ELF_SPARC_HWCAP2_ADP): Likewise.
-       (ELF_SPARC_HWCAP2_SPARC5): Likewise.
-       (ELF_SPARC_HWCAP2_MWAIT): Likewise.
-       (ELF_SPARC_HWCAP2_XMPMUL): Likewise.
-       (ELF_SPARC_HWCAP2_XMONT): Likewise.
-       (ELF_SPARC_HWCAP2_NSEC): Likewise.
-       (ELF_SPARC_HWCAP2_FJATHHPC): Likewise.
-       (ELF_SPARC_HWCAP2_FJDES): Likewise.
-       (ELF_SPARC_HWCAP2_FJAES): Likewise.
-
-2014-10-08  Will Newton  <will.newton@linaro.org>
-
-       * aarch64.h: Sync up relocations with ABI release 1.0.
-
-2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-
-       * nds32.h: Declare new relocations.
-
-2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h: Add relocs: R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3,
-       R_MIPS_PC19_S2, R_MIPS_PCHI16 and R_MIPS_PCLO16.
-       (E_MIPS_ARCH_32R6): New define.
-       (E_MIPS_ARCH_64R6): New define.
-
-2014-08-26  DJ Delorie  <dj@redhat.com>
-
-       * rl78.h (RL78_RELAXA_MASK): New.  Relax types are enums, not bits
-
-2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h (PT_MIPS_ABIFLAGS, SHT_MIPS_ABIFLAGS): Define.
-       (Val_GNU_MIPS_ABI_FP_OLD_64): Rename from Val_GNU_MIPS_ABI_FP_64.
-       (Val_GNU_MIPS_ABI_FP_64): Redefine.
-       (Val_GNU_MIPS_ABI_FP_XX): Define.
-       (Elf_External_ABIFlags_v0, Elf_Internal_ABIFlags_v0): New structures.
-       (AFL_REG_NONE, AFL_REG_32, AFL_REG_64, AFL_REG_128): Define.
-       (AFL_ASE_DSP, AFL_ASE_DSPR2, AFL_ASE_EVA, AFL_ASE_MCU): Likewise.
-       (AFL_ASE_MDMX, AFL_ASE_MIPS3D, AFL_ASE_MT, AFL_ASE_SMARTMIPS): Likewise.
-       (AFL_ASE_VIRT, AFL_ASE_MSA, AFL_ASE_MIPS16): Likewise.
-       (AFL_ASE_MICROMIPS, AFL_ASE_XPA): Likewise.
-       (AFL_EXT_XLR, AFL_EXT_OCTEON2, AFL_EXT_OCTEONP): Likewise.
-       (AFL_EXT_LOONGSON_3A, AFL_EXT_OCTEON, AFL_EXT_5900): Likewise.
-       (AFL_EXT_4650, AFL_EXT_4010, AFL_EXT_4100, AFL_EXT_3900): Likewise.
-       (AFL_EXT_10000, AFL_EXT_SB1, AFL_EXT_4111, AFL_EXT_4120): Likewise.
-       (AFL_EXT_5400, AFL_EXT_5500, AFL_EXT_LOONGSON_2E): Likewise.
-       (AFL_EXT_LOONGSON_2F): Likewise.
-       (bfd_mips_elf_swap_abiflags_v0_in): Prototype.
-       (bfd_mips_elf_swap_abiflags_v0_out): Likewise.
-       (bfd_mips_isa_ext): Likewise.
-
-2014-07-07  Barney Stratford  <barney_stratford@fastmail.fm>
-
-       * avr.h: Add R_AVR_PORT5 and R_AVR_PORT6.
-
-2014-07-01  Barney Stratford   <barney_stratford@fastmail.fm>
-           Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-           Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
-           Soundararajan  <Sounderarajan.D@atmel.com>
-
-       * avr.h (E_AVR_MACH_AVRTINY): Define avrtiny machine number.
-       (R_AVR_LDS_STS_16): Define 16 bit lds/sts reloc number.
-       * include/opcode/avr.h (AVR_ISA_TINY): Define avrtiny specific ISA.
-       (AVR_ISA_2xxxa): Define ISA without LPM.
-       (AVR_ISA_AVRTINY): Define avrtiny arch ISA.
-       Add doc for contraint used in 16 bit lds/sts.
-       Adjust ISA group for icall, ijmp, pop and push.
-       Add 16 bit lds/sts encoding and update 32 bit lds/sts constraints.
-
-2014-04-22  Christian Svensson  <blue@cmd.nu>
-
-       * common.h: Remove openrisc and or32 support.  Add support for or1k.
-       * or1k.h: New file.
-       * openrisc.h: Delete.
-       * or32.h: Delete.
-
-2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * avr.h: Add new DIFF relocs.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (R_PPC64_REL24_NOTOC, R_PPC64_ADDR64_LOCAL): Define.
-
-2014-02-06  Andrew Pinski  <apinski@cavium.com>
-
-       * mips.h (E_MIPS_MACH_OCTEON3): New machine flag.
-
-2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * nios2.h (R_NIOS2_GOT_LO, R_NIOS2_GOT_HA): New.
-       (R_NIOS2_CALL_LO, R_NIOS2_CALL_HA): New.
-       (R_NIOS2_ILLEGAL): Adjust.
-
-2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * nios2.h (elf_nios2_reloc_type): Add R_NIOS2_CALL26_NOAT.
-
-2014-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * common.h (AT_HWCAP2): Define.
-
-2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-           Wei-Cheng Wang  <cole945@gmail.com>
-
-       * nds32.h: New file for Andes NDS32.
-
-2013-12-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * epiphany.h: Remove +x file mode.
-
-2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * x86-64.h: Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND.
-
-2013-11-13  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h: Define R_AARCH64_TLS_DTPMOD64,
-       R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64; guard
-       R_AARCH64_TLS_DTPMOD, R_AARCH64_TLS_DTPREL and
-       R_AARCH64_TLS_TPREL with RELOC_MACROS_GEN_FUNC.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * ppc.h (DT_PPC_TLSOPT): Delete.
-       (DT_PPC_OPT, PPC_OPT_TLS): Define.
-       * ppc64.h (DT_PPC64_TLSOPT): Delete.
-       (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC): Define.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Define.
-       (ppc64_decode_local_entry, ppc64_encode_local_entry): New functions.
-       (PPC64_LOCAL_ENTRY_OFFSET, PPC64_SET_LOCAL_ENTRY_OFFSET): Define.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (EF_PPC64_ABI): Define.
-
-2013-10-30  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
-       R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
-       R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): New.
-       (IS_PPC64_TLS_RELOC): Match new tls relocs.
-
-2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
-
-       * mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA.
-       (enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.
-
-2013-09-17  Doug Gilmore  <Doug.Gilmore@imgtec.com>
-
-       * mips.h (EF_MIPS_FP64): New e_flags bit.
-
-2013-08-09  Nick Clifton  <nickc@redhat.com>
-
-       * rl78.c (E_FLAG_RL78_G10): Define.
-
-2013-07-15  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment.
-       (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE,
-       Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT,
-       Val_GNU_MIPS_ABI_FP_64): New enum.
-
-2013-07-12  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (EF_MIPS_NAN2008): New macro.
-
-2013-07-08  Tristan Gingold  <gingold@adacore.com>
-
-       * ia64.h (STB_VMS_WEAK, STB_VMS_SYSTEM): Add.
-
-2013-07-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h: Add new relocs R_390_PC12DBL, R_390_PLT12DBL,
-       R_390_PC24DBL, and R_390_PLT24DBL.
-
-2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h: Add ELF32 reloc codes and remove fake ELF64 ones.
-
-2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (ELF_ST_IS_MIPS_PLT): Respect STO_MIPS16 setting.
-       (ELF_ST_SET_MIPS_PLT): Likewise.
-
-2013-06-19  Will Newton  <will.newton@linaro.org>
-
-       * aarch64.h: Remove R_AARCH64_IRELATIVE.
-
-2013-06-07  Will Newton  <will.newton@linaro.org>
-
-       * aarch64.h: Add R_AARCH64_IRELATIVE reloc.
-
-2013-06-06  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (ELF_ST_SET_MIPS_PIC): Clear any STO_MIPS16 setting.
-
-2013-05-30  Paul Brook  <paul@codesourcery.com>
-
-       * mips.h (R_MIPS_EH): New.
-
-2013-05-28  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (R_AARCH64_TLSDESC_LD64_PREL19): Rename to ...
-       (R_AARCH64_TLSDESC_LD_PREL19): ... this.
-       (R_AARCH64_TLSDESC_ADR_PAGE): Rename to ...
-       (R_AARCH64_TLSDESC_ADR_PAGE21): ... this.
-
-2013-05-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (EM_INTEL205): New.
-       (EM_INTEL206): Likewise.
-       (EM_INTEL207): Likewise.
-       (EM_INTEL208): Likewise.
-       (EM_INTEL209): Likewise.
-
-2013-05-06  Paul Brook  <paul@codesourcery.com>
-
-       * mips.h (R_MIPS_PC32): Update comment.
-
-2013-05-02  Nick Clifton  <nickc@redhat.com>
-
-       * msp430.h: Add MSP430X relocs.
-       Add some more MSP430 machine numbers.
-       Add values used by .MSP430.attributes section.
-
-2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
-
-       * h8.h: Add new reloc R_H8_DISP32A16 for relaxation of
-       mov @(disp:32,ERx) to mov @(disp:16,ERx).
-
-2013-03-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
-
-       * common.h (NT_S390_TDB): Define.
-
-2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
-           Andrew Jenner <andrew@codesourcery.com>
-
-       Based on patches from Altera Corporation.
-
-       * nios2.h: New file.
-
-2013-01-24  Nick Clifton  <nickc@redhat.com>
-
-       * v850.h: Add support for e3v5 architecture.
-       Reorganize processor selection macros.
-
-2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (R_386_SIZE32): Fill it.
-       * x86-64.h (R_X86_64_SIZE32): Likewise.
-       (R_X86_64_SIZE64): Likewise.
-
-2013-01-10  Will Newton <will.newton@imgtec.com>
-
-       * common.h: Fix case of "Meta".
-       * metag.h: New file.
-
-2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro
-       definitions.
-
-2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
-
-       * mips.h: Add MIPS machine variant number for r5900 which is
-       compatible with old Playstation 2 software.
-
-2012-12-11  Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
-       * microblaze.h: Add TLS relocs to START_RELOC_NUMBERS
-
-2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (DF_1_CONLFAT): Renamed to ...
-       (DF_1_CONFALT): This.
-       (DF_1_ENDFILTEE): New.
-       (DF_1_DISPRELDNE): Likewise.
-       (DF_1_DISPRELPND): Likewise.
-       (DF_1_NODIRECT): Likewise.
-       (DF_1_IGNMULDEF): Likewise.
-       (DF_1_NOKSYMS): Likewise.
-       (DF_1_NOHDR): Likewise.
-       (DF_1_EDITED): Likewise.
-       (DF_1_NORELOC): Likewise.
-       (DF_1_SYMINTPOSE): Likewise.
-       (DF_1_GLOBAUDIT): Likewise.
-       (DF_1_SINGLETON): Likewise.
-
-2012-11-09  Nick Clifton  <nickc@redhat.com>
-
-       * rx.h (EF_RX_CPU_RX): Add comment.
-       (E_FLAG_RX_ABI): Define.
-
-       * v850.h: Add RH850 ABI values.
-
-2012-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.
-
-2012-11-01  Tom Tromey  <tromey@redhat.com>
-
-       * common.h (NT_386_TLS, NT_386_IOPERM): New defines.
-
-2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
-
-       * arm.h (EF_ARM_ABI_FLOAT_SOFT): New define.
-       (EF_ARM_ABI_FLOAT_HARD): Likewise.
-
-2012-10-23  Tom Tromey  <tromey@redhat.com>
-
-       * common.h (NT_SIGINFO, NT_FILE): New defines.
-
-2012-09-12  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>
-
-       * aarch64.h (R_AARCH64_GOT_LD_PREL19): New reloc.
-
-2012-08-27  Walter Lee  <walt@tilera.com>
-
-       * tilegx.h (R_TILEGX_IMM16_X0_HW0_PLT_PCREL): New relocation.
-       (R_TILEGX_IMM16_X1_HW0_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X0_HW1_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X1_HW1_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X0_HW3_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X1_HW3_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL   ): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): Ditto.
-
-2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (TAG_CPU_ARCH_V8): New define.
-       (MAX_TAG_CPU_ARCH): Update.
-
-2012-08-13  Ian Bolton  <ian.bolton@arm.com>
-           Laurent Desnogues  <laurent.desnogues@arm.com>
-           Jim MacArthur  <jim.macarthur@arm.com>
-           Marcus Shawcroft  <marcus.shawcroft@arm.com>
-           Nigel Stephens  <nigel.stephens@arm.com>
-           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-           Richard Earnshaw  <rearnsha@arm.com>
-           Sofiane Naci  <sofiane.naci@arm.com>
-           Tejas Belagod  <tejas.belagod@arm.com>
-           Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h: New file.
-       * common.h (EM_res183): Rename to EM_AARCH64.
-       (EM_res184): Rename to EM_ARM184.
-
-2012-08-02  Sean Keys  <skeys@ipdatasys.com>
-
-       * m68hc11.h: #define E_M68HC11_NO_BANK_WARNING 0x000000200
-
-2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h (START_RELOC_NUMBERS): Define R_390_IRELATIVE reloc.
-
-2012-06-28  Iain Sandoe  <iain@codesourcery.com>
-
-       * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
-       AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.
-
-2012-05-16  Georg-Johann Lay  <avr@gjlay.de>
-
-       PR target/13503
-       * avr.h (RELOC_NUMBERS): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8.
-
-2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
-
-       * m68hc11.h (R_M68HC12_16B, R_M68HC12_PCREL_9, R_M68HC12_PCREL_10)
-       R_M68HC12_HI8XG, R_M68HC12_LO8XG): New relocations.
-       (E_M68HC11_XGATE_RAMOFFSET): Define.
-
-2012-05-14  James Lemke  <jwlemke@codesourcery.com>
-       * ppc.h (SEC_PPC_VLE): Remove.
-
-2012-05-14  Catherine Moore  <clm@codesourcery.com>
-           James Lemke  <jwlemke@codesourcery.com>
-
-       * ppc.h (R_PPC_VLE_REL8): New reloction.
-       (R_PPC_VLE_REL15): Likewise.
-       (R_PPC_VLE_REL24): Likewise.
-       (R_PPC_VLE_LO16A): Likewise.
-       (R_PPC_VLE_LO16D): Likewise.
-       (R_PPC_VLE_HI16A): Likewise.
-       (R_PPC_VLE_HI16D): Likewise.
-       (R_PPC_VLE_HA16A): Likewise.
-       (R_PPC_VLE_HA16D): Likewise.
-       (R_PPC_VLE_SDA21): Likewise.
-       (R_PPC_VLE_SDA21_LO): Likewise.
-       (R_PPC_VLE_SDAREL_LO16A): Likewise.
-       (R_PPC_VLE_SDAREL_LO16D): Likewise.
-       (R_PPC_VLE_SDAREL_HI16A): Likewise.
-       (R_PPC_VLE_SDAREL_HI16D): Likewise.
-       (R_PPC_VLE_SDAREL_HA16A): Likewise.
-       (R_PPC_VLE_SDAREL_HA16D): Likewise.
-       (SEC_PPC_VLE): Remove.
-       (PF_PPC_VLE): New program header flag.
-       (SHF_PPC_VLE): New section header flag.
-       (vle_opcodes, vle_num_opcodes): New.
-       (VLE_OP): New macro.
-       (VLE_OP_TO_SEG): New macro.
-
-2012-05-11  Georg-Johann Lay  <avr@gjlay.de
-
-       PR target/13503
-       * avr.h (RELOC_NUMBERS): Add values for R_AVR_8_LO8,
-       R_AVR_8_HI8, R_AVR_8_HHI8.
-
-2012-05-03  Sean Keys  <skeys@ipdatasys.com>
-
-       * xgate.h: Mininal file to support XGATE relocations.
-
-2012-04-27  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
-       pause, and compare-and-branch instructions.
-
-2012-04-12  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (R_SPARC_WDISP10): New reloc.
-
-2012-03-07  Nick Clifton  <nickc@redhat.com>
-
-       * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD,
-       R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE,
-       R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD,
-       R_MN10300_TLS_DTPOFF and R_MN10300_TLS_TPOFF.
-
-2012-02-25  Walter Lee  <walt@tilera.com>
-
-       * tilegx.h (R_TILEGX_IMM16_X0_HW1_GOT): Delete.
-       (R_TILEGX_IMM16_X1_HW1_GOT): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_GOT): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_GOT): Ditto.
-       (R_TILEGX_IMM16_X0_HW3_GOT): Ditto.
-       (R_TILEGX_IMM16_X1_HW3_GOT): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_LAST_GOT): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_LAST_GOT): Ditto.
-       (R_TILEGX_IMM16_X0_HW1_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X1_HW1_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X0_HW3_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X1_HW3_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_LAST_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_LAST_TLS_GD): Ditto.
-       (R_TILEGX_IMM16_X0_HW1_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X1_HW1_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X0_HW3_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X1_HW3_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X0_HW2_LAST_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X1_HW2_LAST_TLS_IE): Ditto.
-       (R_TILEGX_IMM16_X0_HW0_TLS_LE): New relocation.
-       (R_TILEGX_IMM16_X1_HW0_TLS_LE): Ditto.
-       (R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE): Ditto.
-       (R_TILEGX_IMM16_X1_HW0_LAST_TLS_LE): Ditto.
-       (R_TILEGX_IMM16_X0_HW1_LAST_TLS_LE): Ditto.
-       (R_TILEGX_IMM16_X1_HW1_LAST_TLS_LE): Ditto.
-       (R_TILEGX_TLS_GD_CALL): Ditto.
-       (R_TILEGX_IMM8_X0_TLS_GD_ADD): Ditto.
-       (R_TILEGX_IMM8_X1_TLS_GD_ADD): Ditto.
-       (R_TILEGX_IMM8_Y0_TLS_GD_ADD): Ditto.
-       (R_TILEGX_IMM8_Y1_TLS_GD_ADD): Ditto.
-       (R_TILEGX_TLS_IE_LOAD): Ditto.
-       (R_TILEGX_IMM8_X0_TLS_ADD): Ditto.
-       (R_TILEGX_IMM8_X1_TLS_ADD): Ditto.
-       (R_TILEGX_IMM8_Y0_TLS_ADD): Ditto.
-       (R_TILEGX_IMM8_Y1_TLS_ADD): Ditto.
-       * tilepro.h (R_TILEPRO_TLS_GD_CALL): New relocation.
-       (R_TILEPRO_IMM8_X0_TLS_GD_ADD): Ditto.
-       (R_TILEPRO_IMM8_X1_TLS_GD_ADD): Ditto.
-       (R_TILEPRO_IMM8_Y0_TLS_GD_ADD): Ditto.
-       (R_TILEPRO_IMM8_Y1_TLS_GD_ADD): Ditto.
-       (R_TILEPRO_TLS_IE_LOAD): Ditto.
-       (R_TILEPRO_IMM16_X0_TLS_LE): Ditto.
-       (R_TILEPRO_IMM16_X1_TLS_LE): Ditto.
-       (R_TILEPRO_IMM16_X0_TLS_LE_LO): Ditto.
-       (R_TILEPRO_IMM16_X1_TLS_LE_LO): Ditto.
-       (R_TILEPRO_IMM16_X0_TLS_LE_HI): Ditto.
-       (R_TILEPRO_IMM16_X1_TLS_LE_HI): Ditto.
-       (R_TILEPRO_IMM16_X0_TLS_LE_HA): Ditto.
-       (R_TILEPRO_IMM16_X1_TLS_LE_HA): Ditto.
-
-2011-12-22  DJ Delorie  <dj@redhat.com>
-
-       * rl78.h (R_RL78_RH_RELAX, R_RL78_RH_SFR, R_RL78_RH_SADDR): New.
-       (RL78_RELAXA_BRA, RL78_RELAXA_ADDR16: New.
-
-2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>
-
-       * mips.h (elf_mips_reloc_type): Add R_MIPS16_TLS_* entries.
-
-2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * common.h (NT_S390_LAST_BREAK): Define.
-       (NT_S390_SYSTEM_CALL): Likewise.
-
-2011-11-01  DJ Delorie  <dj@redhat.com>
-
-       * common.h (EM_RL78, EM_78K0R): New.
-       * rl78.h: New.
-
-2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
-
-       * epiphany.h: New file.
-       * common.h (EM_ADAPTEVA_EPIPHANY): Define.
-
-2011-10-10  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (R_PPC64_TOCSAVE): Add.
-
-2011-10-05  DJ Delorie  <dj@redhat.com>
-
-       * rx.h (E_FLAG_RX_PID): New.
-
-2011-09-21  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (Tag_GNU_Sparc_HWCAPS): New object attribute.
-       (ELF_SPARC_HWCAP_*): New HWCAPS bitmask values.
-
-2011-08-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/13082
-       * x86-64.h (R_X86_64_RELATIVE64): New.
-
-2011-07-24  Chao-ying Fu  <fu@mips.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (R_MICROMIPS_min): New relocations.
-       (R_MICROMIPS_26_S1): Likewise.
-       (R_MICROMIPS_HI16, R_MICROMIPS_LO16): Likewise.
-       (R_MICROMIPS_GPREL16, R_MICROMIPS_LITERAL): Likewise.
-       (R_MICROMIPS_GOT16, R_MICROMIPS_PC7_S1): Likewise.
-       (R_MICROMIPS_PC10_S1, R_MICROMIPS_PC16_S1): Likewise.
-       (R_MICROMIPS_CALL16, R_MICROMIPS_GOT_DISP): Likewise.
-       (R_MICROMIPS_GOT_PAGE, R_MICROMIPS_GOT_OFST): Likewise.
-       (R_MICROMIPS_GOT_HI16, R_MICROMIPS_GOT_LO16): Likewise.
-       (R_MICROMIPS_SUB, R_MICROMIPS_HIGHER): Likewise.
-       (R_MICROMIPS_HIGHEST, R_MICROMIPS_CALL_HI16): Likewise.
-       (R_MICROMIPS_CALL_LO16, R_MICROMIPS_SCN_DISP): Likewise.
-       (R_MICROMIPS_JALR, R_MICROMIPS_HI0_LO16): Likewise.
-       (R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM): Likewise.
-       (R_MICROMIPS_TLS_DTPREL_HI, R_MICROMIPS_TLS_DTPREL_LO): Likewise.
-       (R_MICROMIPS_TLS_GOTTPREL): Likewise.
-       (R_MICROMIPS_TLS_TPREL_HI16): Likewise.
-       (R_MICROMIPS_TLS_TPREL_LO16): Likewise.
-       (R_MICROMIPS_GPREL7_S2, R_MICROMIPS_PC23_S2): Likewise.
-       (R_MICROMIPS_max): Likewise.
-       (EF_MIPS_ARCH_ASE_MICROMIPS): New macro.
-       (STO_MIPS_ISA, STO_MIPS_FLAGS): Likewise.
-       (ELF_ST_IS_MIPS_PLT, ELF_ST_SET_MIPS_PLT): Likewise.
-       (STO_MICROMIPS): Likewise.
-       (ELF_ST_IS_MICROMIPS, ELF_ST_SET_MICROMIPS): Likewise.
-       (ELF_ST_IS_COMPRESSED): Likewise.
-       (STO_MIPS_PLT, STO_MIPS_PIC): Rework.
-       (ELF_ST_IS_MIPS_PIC, ELF_ST_SET_MIPS_PIC): Likewise.
-       (STO_MIPS16, ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): Likewise.
-
-2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (EM_K1OM): New.
-
-2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
-           Thomas Schwinge  <thomas@schwinge.name>
-
-       PR binutils/12913
-       * common.h (ELFOSABI_GNU): Define, replaces...
-       (ELFOSABI_LINUX): ... this, kept as an alias.
-       (ELFOSABI_HURD): Remove.
-
-2011-06-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
-
-       * common.h (NT_ARM_VFP): Define.
-
-2011-06-13  Walter Lee  <walt@tilera.com>
-
-       * common.h: Add EM_TILEGX.
-       * tilegx.h: New file.
-       * tilepro.h: New file.
-
-2011-06-09  Tristan Gingold  <gingold@adacore.com>
-
-       * ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct.
-
-2011-06-02  Nick Clifton  <nickc@redhat.com>
-
-       * common.h: Fix spelling mistake in comment.
-       * reloc-macros.h: Likewise.
-
-2011-05-31  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (arm_st_branch_type): Add ST_BRANCH_UNKNOWN.
-
-2011-05-09  Paul Brook  <paul@codesourcery.com>
-
-       * tic6x.h (ELF_STRING_C6000_unwind,
-       ELF_STRING_C6000_unwind_info, ELF_STRING_C6000_unwind_once,
-       ELF_STRING_C6000_unwind_info_once): Define.
-
-2011-04-15  Sergio Durigan Junior  <sergiodj@redhat.com>
-
-       * common.h (NT_STAPSDT): New define.
-
-2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
-
-       * tic6x.h (R_C6000_JUMP_SPLOT, R_C6000_EHTYPE,
-       R_C6000_PCR_H16, R_C6000_PCR_L16): New relocs.
-       (SHN_TIC6X_SCOMMON): Define.
-
-2011-03-31  Tristan Gingold  <gingold@adacore.com>
-
-       * ia64.h (Elf64_External_VMS_Note): New struct.
-       (NT_VMS_MHD, NT_VMS_LNM, NT_VMS_SRC, NT_VMS_TITLE, NT_VMS_EIDC)
-       (NT_VMS_FPMODE, NT_VMS_LINKTIME, NT_VMS_IMGNAM, NT_VMS_IMGID)
-       (NT_VMS_LINKID, NT_VMS_IMGBID, NT_VMS_GSTNAM, NT_VMS_ORIG_DYN)
-       (NT_VMS_PATCHTIME) New macros.
-
-2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
-
-       * arm.h (R_ARM_IRELATIVE): New relocation.
-
-2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
-
-       * internal.h (elf_internal_sym): Add st_target_internal.
-       * arm.h (arm_st_branch_type): New enum.
-       (ARM_SYM_BRANCH_TYPE): New macro.
-
-2011-03-10  Nick Clifton  <nickc@redhat.com>
-
-       * common.h (EM_V850): V850s now supplied by Renesas.
-
-2011-02-25  Alan Modra  <amodra@gmail.com>
-
-       PR 12516
-       * internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
-       sections at start or end of PT_DYNAMIC.
-
-2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
-           Glauber de Oliveira Costa  <glommer@gmail.com>
-
-       * arm.h (R_ARM_TLS_DESC, R_ARM_TLS_GOTDESC, R_ARM_TLS_CALL,
-       R_ARM_TLS_DESCSEQ, T_ARM_THM_TLS_CALL, R_ARM_THM_TLS_DESCSEQ): New
-       relocations.
-
-2010-11-16  Jie Zhang  <jie.zhang@analog.com>
-
-       * bfin.h (EF_BFIN_CODE_IN_L1): Define.
-       (EF_BFIN_DATA_IN_L1): Define.
-
-2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
-
-       * mips.h (E_MIPS_MACH_LS3A): Defined.
-
-2010-11-02  Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-attrs.h (Tag_ABI_wchar_t, Tag_ABI_stack_align_needed,
-       Tag_ABI_stack_align_preserved, Tag_ABI_PID, Tag_ABI_PIC,
-       Tag_ABI_array_object_alignment,
-       Tag_ABI_array_object_align_expected, Tag_ABI_conformance): Define.
-
-2010-10-29  Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-attrs.h (Tag_ABI_compatibility): Define.
-
-2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-attrs.h (Tag_ABI_DSBT): New.
-
-2010-10-21  Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-attrs.h (Tag_C6XABI_Tag_CPU_arch): Change to Tag_ISA,
-       value 4.
-       * tic6x.h (Values for Tag_C6XABI_Tag_CPU_arch): Rename for
-       attribute renaming.
-
-2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
-           Ina Pandit  <ina.pandit@kpitcummins.com>
-
-       * v850.h: Add support for V850E2 and V850E2V3.
-       (v850_reloc_type): Update the newly added relocations
-
-2010-07-20  Alan Modra  <amodra@gmail.com>
-
-       * internal.h (ELF_TBSS_SPECIAL): New macro, extracted from..
-       (ELF_SECTION_SIZE): ..here.
-       (ELF_SECTION_IN_SEGMENT_1): Add "strict" arg.
-       (ELF_SECTION_IN_SEGMENT_STRICT): New macro.
-
-2010-06-25  Alan Modra  <amodra@gmail.com>
-
-       * ppc64.h (R_PPC64_LO_DS_OPT): Define.
-
-2010-06-15  Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-attrs.h: New.
-       * tic6x.h: Include elf/tic6x-attrs.h for attribute table.
-       (C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
-       C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
-       C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
-       C6XABI_Tag_CPU_arch_C674X): Define.
-
-2010-06-11  Tristan Gingold  <gingold@adacore.com>
-
-       * ia64.h (EF_IA_64_VMS_COMCOD, EF_IA_64_VMS_COMCOD_SUCCESS)
-       (EF_IA_64_VMS_COMCOD_WARNING, EF_IA_64_VMS_COMCOD_ERROR)
-       (EF_IA_64_VMS_COMCOD_ABORT, EF_IA_64_VMS_LINKAGES): Define.
-       (VMS_LF_CALL_DEBUG, VMS_LF_NOP0BUFS, VMS_LF_P0IMAGE)
-       (VMS_LF_MKTHREADS, VMS_LF_UPCALLS, VMS_LF_IMGSTA)
-       (VMS_LF_INITIALIZE, VMS_LF_MAIN, VMS_LF_EXE_INIT)
-       (VMS_LF_TBK_IN_IMG, VMS_LF_DBG_IN_IMG, VMS_LF_TBK_IN_DSF)
-       (VMS_LF_DBG_IN_DSF, VMS_LF_SIGNATURES, VMS_LF_REL_SEG_OFF): Define.
-       (VMS_STO_VISIBILITY, VMS_ST_VISIBILITY, VMS_STO_FUNC_TYPE)
-       (VMS_ST_FUNC_TYPE, VMS_SFT_CODE_ADDR, VMS_SFT_SYMV_IDX)
-       (VMS_SFT_FD, VMS_SFT_RESERVE, VMS_STO_LINKAGE, VMS_ST_LINKAGE)
-       (VMS_STL_IGNORE, VMS_STL_RESERVE, VMS_STL_STD, VMS_STL_LNK): Define.
-       (Elf64_External_VMS_IMAGE_FIXUP): New declaration.
-       (Elf64_External_VMS_IMAGE_RELA): Ditto.
-       (R_IA64_VMS_DIR8, R_IA64_VMS_DIR16LSB, R_IA64_VMS_CALL_SIGNATURE)
-       (R_IA64_VMS_EXECLET_FUNC, R_IA64_VMS_EXECLET_DATA, R_IA64_VMS_FIX8)
-       (R_IA64_VMS_FIX16, R_IA64_VMS_FIX32, R_IA64_VMS_FIX64)
-       (R_IA64_VMS_FIXFD, R_IA64_VMS_ACC_LOAD, R_IA64_VMS_ACC_ADD)
-       (R_IA64_VMS_ACC_SUB, R_IA64_VMS_ACC_MUL, R_IA64_VMS_ACC_DIV)
-       (R_IA64_VMS_ACC_AND, R_IA64_VMS_ACC_IOR, R_IA64_VMS_ACC_EOR)
-       (R_IA64_VMS_ACC_ASH, R_IA64_VMS_ACC_STO8, R_IA64_VMS_ACC_STO16LSH)
-       (R_IA64_VMS_ACC_STO32LSH, R_IA64_VMS_ACC_STO64LSH): New.
-
-2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-           Andrew Stubbs  <ams@codesourcery.com>
-
-       * sh.h (EF_SH_PIC, EF_SH_FDPIC): Define.
-       (R_SH_FIRST_INVALID_RELOC_6, R_SH_LAST_INVALID_RELOC_6): New.  Adjust
-       other invalid ranges.
-       (R_SH_GOT20, R_SH_GOTOFF20, R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20)
-       (R_SH_GOTOFFFUNCDESC, R_SH_GOTOFFFUNCDESC20, R_SH_FUNCDESC)
-       (R_SH_FUNCDESC_VALUE): New.
-
-2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/11600
-       * common.h (SHF_EXCLUDE): New.
-
-       * i370.h (SHF_EXCLUDE): Removed.
-       * or32.h (SHF_EXCLUDE): Likewise.
-       * ppc.h (SHF_EXCLUDE): Likewise.
-       * sparc.h (SHF_EXCLUDE): Likewise.
-
-2010-04-23  Alan Modra  <amodra@gmail.com>
-
-       * internal.h (ELF_SECTION_SIZE): Protect macro args with parentheses.
-       Invert logic to clarify test for .tbss.
-       (ELF_IS_SECTION_IN_SEGMENT): Rename to..
-       (ELF_SECTION_IN_SEGMENT_1): ..this.  Add check_vma param.  Protect
-       macro args with parentheses.
-       (ELF_SECTION_IN_SEGMENT): Define.
-       (ELF_IS_SECTION_IN_SEGMENT_FILE): Delete.
-       (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Delete.
-
-2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
-       Tag_FP_HP_extension): Add new ABI attribute tags.
-
-2010-04-15  Nick Clifton  <nickc@redhat.com>
-
-       * alpha.h: Update copyright notice to use GPLv3.
-       * arc.h: Likewise.
-       * arm.h: Likewise.
-       * avr.h: Likewise.
-       * bfin.h: Likewise.
-       * common.h: Likewise.
-       * cr16.h: Likewise.
-       * cr16c.h: Likewise.
-       * cris.h: Likewise.
-       * crx.h: Likewise.
-       * d10v.h: Likewise.
-       * d30v.h: Likewise.
-       * dlx.h: Likewise.
-       * dwarf.h: Likewise.
-       * external.h: Likewise.
-       * fr30.h: Likewise.
-       * frv.h: Likewise.
-       * h8.h: Likewise.
-       * hppa.h: Likewise.
-       * i370.h: Likewise.
-       * i386.h: Likewise.
-       * i860.h: Likewise.
-       * i960.h: Likewise.
-       * ia64.h: Likewise.
-       * internal.h: Likewise.
-       * ip2k.h: Likewise.
-       * iq2000.h: Likewise.
-       * lm32.h: Likewise.
-       * m32c.h: Likewise.
-       * m32r.h: Likewise.
-       * m68hc11.h: Likewise.
-       * m68k.h: Likewise.
-       * mcore.h: Likewise.
-       * mep.h: Likewise.
-       * microblaze.h: Likewise.
-       * mips.h: Likewise.
-       * mmix.h: Likewise.
-       * mn10200.h: Likewise.
-       * moxie.h: Likewise.
-       * msp430.h: Likewise.
-       * mt.h: Likewise.
-       * openrisc.h: Likewise.
-       * or32.h: Likewise.
-       * pj.h: Likewise.
-       * ppc.h: Likewise.
-       * ppc64.h: Likewise.
-       * reloc-macros.h: Likewise.
-       * rx.h: Likewise.
-       * s390.h: Likewise.
-       * sh.h: Likewise.
-       * sparc.h: Likewise.
-       * spu.h: Likewise.
-       * v850.h: Likewise.
-       * vax.h: Likewise.
-       * vxworks.h: Likewise.
-       * x86-64.h: Likewise.
-       * xc16x.h: Likewise.
-       * xstormy16.h: Likewise.
-       * xtensa.h: Likewise.
-
-2010-04-08  David Stubbs  <stubbs@icerasemi.com>
-
-       * internal.h (ELF_IS_SECTION_IN_SEGMENT): PT_PHDR program headers
-       cannot contain any sections.
-
-2010-03-25  Joseph Myers  <joseph@codesourcery.com>
-
-       * common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
-       * tic6x.h: New.
-
-2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * common.h (VER_FLG_*): Document.
-       (VER_FLG_INFO): Define.
-
-2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
-
-       PR binutils/11297
-       * avr.h: (R_AVR_8): New relocation number.
-
-2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (Tag_MPextension_use): Renumber.
-       (Tag_DIV_use): Add.
-       (Tag_MPextension_use_legacy): Likewise.
-
-2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
-
-       * common.h (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG,
-       NT_S390_CTRS and NT_S390_PREFIX): Define.
-
-2010-02-08  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.
-
-2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (NT_386_XSTATE): New.
-
-2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h (EF_S390_HIGH_GPRS): Added macro definition.
-
-2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
-
-       * common.h (PN_XNUM): Define.
-
-2009-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * common.h (NT_S390_HIGH_GPRS): Define.
-
-2009-12-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
-       R_PPC_RELAX32PC_PLT): Delete.
-       (R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define.
-
-2009-12-03  David Daney  <ddaney@caviumnetworks.com>
-           Adam Nemet  <adambnemet@gmail.com>
-
-       * mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
-
-2009-11-28  Joseph Myers  <joseph@codesourcery.com>
-
-       * common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,
-       EM_TI_C5500, EM_CUDA): Define.
-       (EM_res140, EM_res141, EM_res142): Remove.
-
-2009-11-17  Paul Brook  <paul@codesourcery.com>
-       Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * arm.h (TAG_CPU_ARCH_V7E_M): Define.
-
-2009-09-29  DJ Delorie  <dj@redhat.com>
-
-       * rx.h: New file.
-
-2009-09-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (DT_PPC_TLSOPT): Define.
-       * ppc64.h (DT_PPC64_TLSOPT): Define.
-
-2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
-
-       * arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
-       (SHT_ARM_OVERLAYSECTION): New define.
-
-2006-08-09  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       From Mike Frysinger <michael.frysinger@analog.com>
-       * bfin.h (R_BFIN_UNUSED, R_BFIN_PCREL5M2, R_BFIN_UNUSED1,
-       R_BFIN_PCREL10, R_BFIN_PCREL12_JUMP, R_BFIN_RIMM16,
-       R_BFIN_LUIMM16, R_BFIN_HUIMM16, R_BFIN_PCREL12_JUMP_S,
-       R_BFIN_PCREL24_JUMP_X, R_BFIN_PCREL24, R_BFIN_UNUSEDB,
-       R_BFIN_UNUSEDC, R_BFIN_PCREL24_JUMP_L, R_BFIN_PCREL24_CALL_X,
-       R_BFIN_VAR_EQ_SYMB, R_BFIN_BYTE_DATA, R_BFIN_BYTE2_DATA,
-       R_BFIN_BYTE4_DATA, R_BFIN_PCREL11, R_BFIN_PUSH, R_BFIN_CONST,
-       R_BFIN_ADD, R_BFIN_SUB, R_BFIN_MULT, R_BFIN_DIV, R_BFIN_MOD,
-       R_BFIN_LSHIFT, R_BFIN_RSHIFT, R_BFIN_AND, R_BFIN_OR, R_BFIN_XOR,
-       R_BFIN_LAND, R_BFIN_LOR, R_BFIN_LEN, R_BFIN_NEG, R_BFIN_COMP,
-       R_BFIN_PAGE, R_BFIN_HWPAGE, R_BFIN_ADDR, R_BFIN_PLTPLC,
-       R_BFIN_GOT, R_BFIN_MAX): Renamed from R_unused0, R_pcrel5ms,
-       R_unused1, R_pcrel10, R_pcrel12_jump, R_rimm16, R_luimm16,
-       R_huimm16, R_pcrel12_jump_s, R_pcrel24_jump_x, R_pcrel24,
-       R_unusedb, R_unusedc, R_pcrel24_jump_l, R_pcrel24_call_x,
-       R_var_eq_symb, R_byte_data, R_byte2_data, R_byte4_data, R_pcrel11,
-       R_push, R_const, R_add, R_sub, R_mult, R_div, R_mod, R_lshift,
-       R_rshift, R_and, R_or, R_xor, R_land, R_lor, R_len, R_neg, R_comp,
-       R_page, R_hwpage, R_addr, R_pltpc, R_got.
-
-2009-08-09  Michael Eager <eager@eagercon.com>
-
-       * common.h: Define EM_resnnn reserved values. Add EM_AVR32,
-       EM_STM8, EM_TILE64, EM_TILEPRO.  Change EM_MICROBLAZE.
-
-2009-08-06  Michael Eager <eager@eagercon.com>
-
-       * common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
-       * microblaze.h: New reloc definitions.
-
-2009-07-30  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc64.h: Add R_PPC64_JMP_IREL, R_PPC64_REL16, R_PPC64_REL16_LO,
-       R_PPC64_REL16_HI, R_PPC64_REL16_HA.
-
-2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (EM_L1OM): New.
-
-2009-07-24  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       * spu.h (R_SPU_ADD_PIC): New.
-
-2009-07-23  Ulrich Drepper  <drepper@redhat.com>
-
-       * common.h (STB_GNU_UNIQUE): Define.
-
-2009-07-10  Tom Tromey  <tromey@redhat.com>
-
-       * dwarf2.h: Move to `..'.
-
-2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwarf2.h: Just include ../dwarf2.h.
-
-2009-07-10  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (R_PPC_IRELATIVE): Add.
-       (R_PPC_RELAX32, R_PPC_RELAX32PC,
-       R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Renumber.
-       * ppc64.h (R_PPC64_IRELATIVE): Add.
-
-2009-07-03  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
-       and DW_OP_stack_value.
-
-2009-06-22  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (R_PPC_RELAX*): Define as enum.
-
-2009-06-11  Anthony Green  <green@moxielogic.org>
-
-       * moxie.h (R_MOXIE_PCREL10): New.
-
-2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/10205
-       * i386.h (R_386_IRELATIVE): New.
-       * x86-64.h (R_X86_64_IRELATIVE): Likewise.
-
-2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h: Update comments for dynamic tag ranges.
-
-2009-04-30  DJ Delorie  <dj@redhat.com>
-
-       * mep.h (EF_MEP_COP_*): New.
-       (EF_MEP_ALL_FLAGS): Add them.
-
-2009-04-30  Nick Clifton  <nickc@redhat.com>
-
-       * common.h (STT_GNU_IFUNC): Define.
-
-2009-04-24  Cary Coutant  <ccoutant@google.com>
-
-       * dwarf2.h (DW_LNE_set_discriminator): New enum value.
-
-2009-04-15  Anthony Green  <green@moxielogic.com>
-
-       * common.h (EM_MOXIE): Define.
-       * moxie.h: New file.
-
-2009-04-07  DJ Delorie  <dj@redhat.com>
-
-       * mep.h (EF_MEP_CPU_C5): New.
-
-2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (EM_INTEL178): Removed.
-       (EM_INTEL179): Likewise.
-       (EM_ETPU): New.
-       (EM_SLE9X): Likewise.
-       (EM_INTEL181): Likewise.
-       (EM_INTEL182): Likewise.
-
-2009-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (EM_INTEL178): New.
-       (EM_INTEL179): Likewise.
-       (EM_INTEL180): Likewise.
-
-2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
-
-       * common.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
-
-2009-03-14  Mark Kettenis  <kettenis@gnu.org>
-
-       * common.h (NT_OPENBSD_PROCINFO, NT_OPENBSD_AUXV)
-       (NT_OPENBSD_REGS, NT_OPENBSD_FPREGS, NT_OPENBSD_XFPREGS)
-       (NT_OPENBSD_WCOOKIE): New defines.
-
-2009-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       * common.h (AT_RANDOM): Define.
-
-2009-03-04  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (R_PPC_TLSGD, R_PPC_TLSLD): Add new relocs.
-       * ppc64.h (R_PPC64_TLSGD, R_PPC64_TLSLD): Add new relocs.
-
-2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
-
-       * score.h (RELOC_NUMBER): Add R_SCORE_IMM32.
-       * common.h (EM_SCORE_OLD): Define.
-
-2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (STB_LOPROC): Replace Application-specific with
-       Processor-specific in comments.
-       (STB_HIPROC): Likewise.
-       (STT_LOPROC): Likewise.
-       (STT_HIPROC): Likewise.
-
-2009-02-03  Sandip Matte  <sandip@rmicorp.com>
-
-       * mips.h (E_MIPS_MACH_XLR): Define.
-
-2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
-
-       * m68k.h: Map TLS relocations to numbers.
-
-2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
-           Julian Brown   <julian@codesourcery.com>
-
-       * arm.h (TAG_CPU_ARCH_V6_M, TAG_CPU_ARCH_V6S_M): New defines.
-       (MAX_TAG_CPU_ARCH, TAG_CPU_ARCH_V4T_PLUS_V6_M): New defines.
-       (Tag_NEON_arch): Rename to Tag_Advanced_SIMD_arch to match ARM ABI
-       version 2.07.
-       (Tag_undefined39, Tag_nodefaults): New enum values.
-       (Tag_also_compatible_with, Tag_T2EE_use): Likewise.
-       (Tag_conformance, Tag_Virtualization_use): Likewise.
-       (Tag_undefined69, Tag_MPextension_use): Likewise.
-
-2009-01-15  Douglas B Rupp  <rupp@gnat.com>
-
-       * ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, EF_IA_64_ARCHVER_1):
-       New macros. Minor reformatting.
-
-2008-12-23  Jon Beniston <jon@beniston.com>
-
-       * lm32.h: New file.
-
-2008-12-23  Nick Clifton  <nickc@redhat.com>
-
-       * commmon.h (STT_IFUNC): Delete.
-
-2008-12-20  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris.h (R_CRIS_32_IE): New relocation.
-
-2008-12-03  Nick Clifton  <nickc@redhat.com>
-
-       * common.h (STT_IFUNC): Define.
-
-2008-11-27  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
-       R_CR16_GLOB_DAT): New relocations.
-
-2008-11-25  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris.h (R_CRIS_32_TPREL): Correct comment.
-       (R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.
-
-2008-11-18  Catherine Moore  <clm@codesourcery.com>
-
-       * arm.h (Tag_ABI_FP_16bit_format): Define.
-
-2008-11-14  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * internal.h (struct elf_segment_map): Add header_size field.
-
-2008-10-13  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
-
-2008-10-10  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * ppc.h: Add Tag_GNU_Power_ABI_Struct_Return.
-
-2008-10-04  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris.h (R_CRIS_32_GOT_GD, R_CRIS_16_GOT_GD, R_CRIS_32_GD)
-       (R_CRIS_DTP, R_CRIS_32_DTPREL, R_CRIS_16_DTPREL, R_CRIS_DTPMOD)
-       (R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL)
-       (R_CRIS_16_TPREL): New relocations.
-
-2008-09-24  Richard Henderson  <rth@redhat.com>
-
-       * dwarf2.h (DW_OP_GNU_encoded_addr): New.
-
-2008-08-20  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG)
-       (R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC)
-       (R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New.
-
-2008-08-08  Anatoly Sokolov  <aesok@post.ru>
-
-       * avr.h (E_AVR_MACH_AVR25, E_AVR_MACH_AVR31,
-       E_AVR_MACH_AVR35, E_AVR_MACH_AVR51): Define.
-       (EF_AVR_MACH): Redefine to 0x7F.
-
-2008-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Catherine Moore  <clm@codesourcery.com>
-           Mark Shinwell  <shinwell@codesourcery.com>
-
-       * mips.h (STO_MIPS_PLT, ELF_ST_IS_MIPS_PLT, ELF_ST_SET_MIPS_PLT)
-       (STO_MIPS_PIC, DT_MIPS_PLTGOT, DT_MIPS_RWPLT): New macros.
-
-2008-08-04  Markus Weiss  <weissms@aros.org>
-
-       * common.h (ELFOSABI_AROS): Update comment.
-
-2008-07-26  Michael Eager <eager@eagercon.com>
-
-       * ppc.h: Add description of single-precision.
-
-2008-07-21  Luis Machado  <luisgpm@br.ibm.com>
-
-       * common.h: Define NT_PPC_VSX.
-
-2008-07-12  Jie Zhang  <jie.zhang@analog.com>
-
-       Revert
-       2008-07-12  Jie Zhang  <jie.zhang@analog.com>
-       * bfin.h (EF_BFIN_CODE_IN_L1): Define.
-       (EF_BFIN_DATA_IN_L1): Define.
-
-2008-07-12  Jie Zhang  <jie.zhang@analog.com>
-
-       * bfin.h (EF_BFIN_CODE_IN_L1): Define.
-       (EF_BFIN_DATA_IN_L1): Define.
-
-2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.
-
-2008-06-18  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * common.h (EM_CR16): Correct value.
-       (EM_CR16): Rename to EM_CR16_OLD.
-
-2008-06-12  DJ Delorie  <dj@redhat.com>
-
-       * common.h (EM_M32C_NEW): Rename to EM_M32C.
-       (EM_M32C): Rename to EM_M32C_OLD.
-
-2008-06-12  Joseph Myers  <joseph@codesourcery.com>
-
-       * common.h: Update e_machine table.
-
-2008-06-09  Takashi Yoshii  <yoshii.takashi@renesas.com>
-
-       * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.
-
-2008-06-09  Joseph Myers  <joseph@codesourcery.com>
-
-       * common.h: Change registry@caldera.com to registry@sco.com.
-
-2008-05-21  Nick Clifton  <nickc@redhat.com>
-
-       * reloc-macros.h: Add a comment about the use of the
-       END_RELOC_NUMBERS symbol as a sentinel value.
-
-2008-05-15  Christophe Lyon  <christophe.lyon@st.com>
-
-       * arm.h (END_RELOC_NUMBERS): Provide a maximum value.
-
-2008-04-16  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (R_SPARC_GOTDATA_HIX22,
-       R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22,
-       R_SPARC_GOTDATA_OP_LOX10, R_SPARC_GOTDATA_OP,
-       R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_SIZE64): New relocs.
-
-2008-03-24  Ian Lance Taylor  <iant@google.com>
-
-       * common.h (NT_GNU_GOLD_VERSION): Define.
-
-2008-03-13  Alan Modra  <amodra@bigpond.net.au>
-
-       * internal.h (Elf_Internal_Shdr): Change sh_link and sh_info from
-       unsigned long to unsigned int.  Change sh_addralign to bfd_vma.
-       Order struct as for external version.
-
-2008-03-12  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 5900
-       * common.h (SHN_BAD): Delete.
-       (SHN_LORESERVE .. SHN_HIRESERVE): Move to..
-       * external.h: ..here.
-       * internal.h (SHN_LORESERVE, SHN_HIRESERVE): Define.
-       (SHN_LOPROC, SHN_HIPROC, SHN_LOOS, SHN_HIOS): Define.
-       (SHN_ABS, SHN_COMMON, SHN_XINDEX, SHN_BAD): Define.
-
-2008-03-12  Alan Modra  <amodra@bigpond.net.au>
-
-       * cr16c.h (SHN_CR16C_FCOMMON): Define using SHN_LORESERVE.
-       (SHN_CR16C_NCOMMON): Likewise.
-       * hppa.h (SHN_PARISC_ANSI_COMMON): Likewise.
-       (SHN_PARISC_HUGE_COMMON): Likewise.
-       * ia64.h (SHN_IA_64_ANSI_COMMON): Likewise.
-       (SHN_IA_64_VMS_SYMVEC): Define using SHN_LOOS.
-       * m32r.h (SHN_M32R_SCOMMON): Define using SHN_LORESERVE.
-       * mips.h (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT): Likewise.
-       (SHN_MIPS_DATA, SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
-       * score.h (SHN_SCORE_TEXT, SHN_SCORE_DATA): Likewise.
-       (SHN_SCORE_SCOMMON): Likewise.
-       * sparc.h (SHN_BEFORE, SHN_AFTER): Likewise.
-       * v850.h (SHN_V850_SCOMMON, SHN_V850_TCOMMON): Likewise.
-       (SHN_V850_ZCOMMON): Likewise.
-       * x86-64.h (SHN_X86_64_LCOMMON): Likewise.
-
-2008-03-03  Pallavi Tambay  <pallavi.tambay@amd.com>
-
-       * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP:
-       DW_OP_PGI_omp_thread_num.
-
-2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
-
-       * mips.h: Update copyright.
-       (E_MIPS_MACH_OCTEON): New macro.
-
-2008-01-30  Tristan Gingold  <gingold@adacore.com>
-
-       Add OpenVMS extensions.
-       * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
-       (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
-       (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
-       (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
-       (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
-       (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
-       (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
-       (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
-       (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
-       (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
-       (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
-       (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
-       (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
-       (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
-       (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
-       (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
-       (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
-       (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
-       (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
-       (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
-       (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
-       (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define
-
-2008-01-16  Mark Kettenis  <kettenis@gnu.org>
-
-       * common.h (AT_SUN_AUXFLAGS): Define.
-
-2007-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * dwarf2.h (DW_AT_hi_user): Correct value.
-
-2007-12-07  Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa.h (R_XTENSA_32_PCREL): New.
-
-2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * mips.h (E_MIPS_MACH_LS2E): New.
-       (E_MIPS_MACH_LS2F): New.
-
-2007-11-28  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
-       segments at the end of memory.
-
-2007-11-17  Thiemo Seufer  <ths@mips.com>
-
-       * mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant
-       in comment.
-
-2007-11-16  Nick Clifton  <nickc@redhat.com>
-
-       * dwarf2.h: Mention the location of the DWARF3 spec on the web.
-       (DW_AT_stride_size): Rename to DW_AT_bit_stride.
-       (DW_AT_stride): Rename to DW_AT_byte_stride.
-
-2007-11-08  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * vxworks.h: New.
-
-2007-10-30  Nick Clifton  <nickc@redhat.com>
-
-       * mn10300.h (R_MN10300_ALIGN): Define.
-
-2007-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * ppc.h (Tag_GNU_Power_ABI_Vector): New.
-
-2007-10-19  Nick Clifton  <nickc@redhat.com>
-
-       * mn10300.h: Add R_MN10300_SYM_DIFF reloc.
-
-2007-10-18  Roland McGrath  <roland@redhat.com>
-
-       * common.h (NT_PPC_VMX): New macro.
-
-2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * cr16.h: Updated with new relocaction macros.
-
-2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3281
-       PR binutils/5037
-       * internal.h (elf_segment_map): Add p_size and p_size_valid.
-       (ELF_IS_SECTION_IN_SEGMENT): Allow SHF_TLS sections in
-       PT_GNU_RELRO segments.
-
-2007-09-11  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h (EF_M68K_CF_ISA_C_NODIV): New.
-
-2007-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * common.h (NT_SPU): Define.
-
-2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h: Revert last change.
-
-2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common.h (PT_GNU_STACK): Renamed to ...
-       (PT_GNU_ATTR): This.
-       (PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.
-
-2007-07-09  Roland McGrath  <roland@redhat.com>
-
-       * common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
-
-2007-06-29  Joseph Myers  <joseph@codesourcery.com>
-
-       * ppc.h (Tag_GNU_Power_ABI_FP): Define.
-
-2007-06-29  Joseph Myers  <joseph@codesourcery.com>
-
-       * mips.h (Tag_GNU_MIPS_ABI_FP): Define.
-
-2007-06-29  Joseph Myers  <joseph@codesourcery.com>
-
-       * arm.h (elf32_arm_add_eabi_attr_int,
-       elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat,
-       elf32_arm_get_eabi_attr_int, elf32_arm_set_eabi_attr_contents,
-       elf32_arm_eabi_attr_size, Tag_NULL, Tag_File, Tag_Section,
-       Tag_Symbol, Tag_compatibility): Remove.
-       * common.h (SHT_GNU_ATTRIBUTES): Define.
-
-2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
-
-       * common.h (EM_CR16): New entry for CR16 cpu.
-       * cr16.h: New file.
-
-2007-06-11  Sterling Augustine  <sterling@tensilica.com>
-           Bob Wilson  <bob.wilson@acm.org>
-
-       * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
-       (XTENSA_PROP_NO_TRANSFORM): ...this.
-
-2007-05-18  Caroline Tice  <ctice@apple.com>
-
-       * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP,
-       DW_OP_GNU_uninit.
-
-2007-05-12  Alan Modra  <amodra@bigpond.net.au>
-
-       * spu.h (R_SPU_ADDR16X): Define.
-       (R_SPU_PPU32, R_SPU_PPU64): Renumber.
-
-2007-05-11  Alan Modra  <amodra@bigpond.net.au>
-
-       * spu.h (R_SPU_PPU32, R_SPU_PPU64): Define.
-
-2007-05-02  Alan Modra  <amodra@bigpond.net.au>
-
-       * internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
-       and vma for appropriate sections.
-
-2007-04-26  Jan Beulich  <jbeulich@novell.com>
-
-       * common.h (DT_ENCODING): Correct value (back to spec mandated
-       value).
-
-2007-03-08  Alan Modra  <amodra@bigpond.net.au>
-
-       * v850.h (V850_OTHER_TDA_BYTE): Delete.
-       (V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
-       that don't clash with visibility bits.
-
-2007-03-07  Alan Modra  <amodra@bigpond.net.au>
-
-       * common.h (ELF_ST_VISIBILITY): Comment typo fix.
-
-2007-02-05  Dave Brolley  <brolley@redhat.com>
-           Richard Sandiford  <rsandifo@redhat.com>
-           Richard Henderson  <rth@redhat.com>
-           DJ Delorie  <dj@redhat.com>
-           Ben Elliston  <bje@redhat.com>
-
-       * mep.h: New file.
-       * common.h (EM_CYGNUS_MEP): Define.
-
-2007-02-15  Dave Brolley  <brolley@redhat.com>
-
-       From Graydon Hoare  <graydon@redhat.com>:
-       * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.
-
-2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (EF_M68K_FIDO): New.
-       (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO.
-       (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove.
-
-2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.
-
-2006-12-19  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (EF_M68K_ARCH_MASK): New.
-
-2006-12-19  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * internal.h (struct elf_segment_map): Add p_vaddr_offset field.
-
-2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
-       EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
-       EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
-       EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
-       EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
-       EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
-       EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
-       EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
-       EF_M68K_CF_FLOAT, respectively.
-
-2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
-           Nick Clifton  <nickc@redhat.com>
-
-       * external.h (struct Elf_External_Versym): Use ATTRIBUTE_PACKED.
-
-2006-10-28  Richard Sandiford  <richard@codesourcery.com>
-
-       * mips.h (R_MIPS_GLOB_DAT): Define
-       (R_MIPS_max): Bump by 1.
-
-2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
-           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
-           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
-           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       * common.h (EM_SPU): Define.
-       * spu.h: New file.
-
-2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score.h (EF_SCORE_PIC): Redefine EF_SCORE_PIC as 0x80000000.
-       (EF_SCORE_FIXDEP): Redefine EF_SCORE_FIXDEP as 0x40000000.
-       (EF_SCORE_HASENTRY): Delete.
-
-2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * arm.h: Define TAG_CPU_ARCH_* constants.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score.h: New file.
-       * common.h: Add Score machine number.
-
-2006-07-10  Jakub Jelinek  <jakub@redhat.com>
-
-       * common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
-
-2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * internal.h (ELF_SECTION_SIZE): New.
-       (ELF_IS_SECTION_IN_SEGMENT): Likewise.
-       (ELF_IS_SECTION_IN_SEGMENT_FILE): Updated.
-       (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
-
-2006-05-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * internal.h (struct elf_segment_map): Add p_align and p_align_valid.
-
-2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
-           Randolph Chung  <randolph@tausq.org>
-
-       * hppa.h (R_PARISC_TLS_GD21L, R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL,
-       R_PARISC_TLS_LDM21L, R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL,
-       R_PARISC_TLS_LDO21L, R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32,
-       R_PARISC_TLS_DTPMOD64, R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64):
-       New TLS relocs.
-       (R_PARISC_TLS_LE21L, R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L,
-       R_PARISC_TLS_IE14R, R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64):
-       Define TLS relocs using existing equivalents.
-
-2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * avr.h: Add E_AVR_MACH_AVR6, R_AVR_LO8_LDI_GS and R_AVR_HI8_LDI_GS.
-
-2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       * bfin.h (R_BFIN_GOT17M4, R_BFIN_GOTHI, R_BFIN_GOTLO,
-       R_BFIN_FUNCDESC, R_BFIN_FUNCDESC_GOT17M4,  R_BFIN_FUNCDESC_GOTHI,
-       R_BFIN_FUNCDESC_GOTLO, R_BFIN_FUNCDESC_VALUE,
-       R_BFIN_FUNCDESC_GOTOFF17M4, R_BFIN_FUNCDESC_GOTOFFHI,
-       R_BFIN_FUNCDESC_GOTOFFLO, R_BFIN_GOTOFF17M4, R_BFIN_GOTOFFHI,
-       R_BFIN_GOTOFFLO): New relocs.
-       (EF_BFIN_PIC, EF_BFIN_FDPIC, EF_BFIN_PIC_FLAGS): New macros.
-
-2006-03-23  Michael Matz  <matz@suse.de>
-
-       * x86-64.h: Add the new relocations with their official
-       numbers.
-
-2006-03-22  Richard Sandiford  <richard@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Phil Edwards  <phil@codesourcery.com>
-           Zack Weinberg  <zack@codesourcery.com>
-           Mark Mitchell  <mark@codesourcery.com>
-           Nathan Sidwell  <nathan@codesourcery.com>
-
-       * mips.h (R_MIPS_COPY, R_MIPS_JUMP_SLOT): New relocs.
-
-2006-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
-       SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON,
-       SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT,
-       SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT,
-       SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define.
-
-2006-03-10  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (EF_ARM_EABI_VER5): Define.
-
-2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A,
-       EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust.
-       (EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New.
-       (EF_M68K_HW_DIV, EF_M68K_USP): Remove.
-       (EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust.
-       (EF_M68K_EMAC_B): New.
-
-2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * avr.h (R_AVR_MS8_LDI,R_AVR_MS8_LDI_NEG): Add.
-       (EF_AVR_LINKRELAX_PREPARED): Add.
-
-2006-03-02  Ben Elliston  <bje@au.ibm.com>
-
-       Import from the GCC tree:
-       2006-03-01  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants
-       from DWARF 3.
-       (DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale,
-       DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count,
-       DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled,
-       DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity,
-       DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New.
-       (DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New.
-       (DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited,
-       DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New.
-       (DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch,
-       DW_DS_leading_separate, DW_DS_trailing_separate): New.
-       (DW_END_default, DW_END_big, DW_END_little): New.
-       (DW_END_lo_user, DW_END_hi_user): Define.
-       (DW_LNE_lo_user, DW_LNE_hi_user): Define.
-       (DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New.
-       (DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC,
-       DW_LANG_D): New.
-
-2006-02-06  Steve Ellcey  <sje@cup.hp.com>
-
-       * ia64.h (SHF_IA_64_HP_TLS): New.
-
-2006-02-24  DJ Delorie  <dj@redhat.com>
-
-       * m32c.h: Add relax relocs.
-
-2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-           Anil Paranjape   <anilp1@kpitcummins.com>
-           Shilin Shakti    <shilins@kpitcummins.com>
-
-       * common.h (EM_XC16X): New entry for xc16x cpu.
-       Sort other EM_* numbers into numerical order.
-       * xc16x.h: New file.
-
-2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2258
-       * internal.h (ELF_IS_SECTION_IN_SEGMENT_FILE): New.
-       (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
-
-2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h (EF_CPU32, EF_M68000, EF_CFV4E): Rename to ...
-       (EF_M68K_CPU32, EF_M68K_M68000, EF_M68K_CFV4E): ... here.
-       (EF_M68K_ISA_MASK, EF_M68K_ISA_A, EF_M68K_M68K_ISA_A_PLUS,
-       EF_M68K_ISA_B, EF_M68K_HW_DIV, EF_M68K_MAC_MASK, EF_M68K_MAC,
-       EF_M68K_EMAC, EF_M68K_USP, EF_M68K_FLOAT): New.
-
-2006-02-06  Steve Ellcey  <sje@cup.hp.com>
-
-       * ia64.h (SHF_IA_64_HP_TLS): New.
-
-2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
-
-       Introduce TLS descriptors for i386 and x86_64.
-       * common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
-       * i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
-       New.
-       * x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
-       R_X86_64_TLSDESC): New.
-
-2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
-
-       * common.h (EM_ALTERA_NIOS2, EM_NIOS32) Define.
-
-2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
-
-       Second part of ms1 to mt renaming.
-       * common.h (EM_MT): Renamed.
-       * mt.h: Rename relocs, cpu & other defines.
-
-2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * mt.h: Renamed from ms1.h
-
-2005-12-12  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
-
-2005-11-11  Nick Clifton  <nickc@redhat.com>
-
-       PR 1150
-       * mips.h (STO_OPTIONAL): Define.
-       (ELF_MIPS_IS_OPTIONAL): Define.
-
-2005-11-07  Nathan Sidwell  <nathan@codesourcery.com>
-
-       Add ms2.
-       * ms1.h (EF_MS1_CPU_MS2): New.
-
-2005-11-06  John David Anglin  <dave.anglin@nrc-crnc.gc.ca>
-
-       * hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
-
-2005-09-30  Catherine Moore  <clm@cm00re.com>
-
-       * bfin.h: New file.
-       * common.h (EM_BLACKFIN): Define.
-
-2005-10-08  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h: Add prototypes for BFD object attribute routines.
-
-2005-09-09  Richard Earnshaw  <richard.earnshaw@arm.com>
-
-       * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
-
-2005-08-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
-       New defines.
-
-2005-08-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.
-       (PF_HP_CODE_DEPR, PF_HP_MODIFY_DEPR, PF_HP_LAZYSWAP_DEPR): New
-       deprecated defines.
-       (DT_HP_EPLTREL, DT_HP_EPLTRELSZ, DT_HP_FILTERED, DT_HP_FILTER_TLS,
-       DT_HP_COMPAT_FILTERED, DT_HP_LAZYLOAD, DT_HP_BIND_NOW_COUNT, DT_PLT,
-       DT_PLT_SIZE, DT_DLT, DT_DLT_SIZE, DT_HP_BIND_DEPTH_FIRST, DT_HP_GST,
-       DT_HP_SHLIB_FIXED, DT_HP_MERGE_SHLIB_SEG, DT_HP_NODELETE, DT_HP_GROUP,
-       DT_HP_PROTECT_LINKAGE_TABLE, PT_HP_OPT_ANNOT, PT_HP_HSL_ANNOT,
-       PT_HP_STACK, PT_HP_CORE_UTSNAME, NT_HP_COMPILER, NT_HP_COPYRIGHT,
-       NT_HP_VERSION, NT_HP_SRCFILE_INFO, NT_HP_LINKER, NT_HP_INSTRUMENTED,
-       NT_HP_UX_OPTIONS): Define.
-
-2005-07-25  DJ Delorie  <dj@redhat.com>
-
-       * m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.
-
-2005-07-25  Jan Hubicka  <jh@suse.cz>
-
-       * x86-64.h (SHN_X86_64_LCOMMON): New.
-       (SHF_X86_64_LARGE): New.
-
-2005-07-20  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
-
-       * m32r.h (R_M32R_REL32): Added.
-
-2005-07-18  Ben Elliston  <bje@au.ibm.com>
-
-       * dwarf2.h (enum dwarf_type): Remove DW_AT_GNU_decimal_float.
-       Replace with DW_ATE_decimal_float (now in DWARF 3).
-
-2005-07-14  Jim Blandy  <jimb@redhat.com>
-
-       Add support for Renesas M32C and M16C.
-       * common.h (EM_M32C): New machine number.
-       * m32c.h: New file.
-
-2005-06-17  Jakub Jelinek  <jakub@redhat.com>
-
-       * external.h (GRP_ENTRY_SIZE): Define.
-
-2005-06-17  Jan Beulich  <jbeulich@novell.com>
-
-       * x86-64.h (elf_x86_64_reloc_type): Adjust comment for
-       R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
-       R_X86_64_GOTPC32.
-
-2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
-           Michael Snyder  <msnyder@redhat.com>
-           Stan Cox  <scox@redhat.com>
-
-       * common.h (EM_MS1): Define.
-
-       * ms1.h: New file.
-
-2005-05-31  Richard Henderson  <rth@redhat.com>
-
-       * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
-
-2005-05-29  Richard Henderson  <rth@redhat.com>
-
-       * alpha.h (DT_ALPHA_PLTRO): New.
-
-2005-05-19  Ben Elliston  <bje@au.ibm.com>
-
-       * dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
-       the user-defined encoding space pending inclusion in the standard.
-
-2005-05-18  Zack Weinberg  <zack@codesourcery.com>
-
-       * arm.h: Make all #ifndef OLD_ARM_ABI blocks
-       unconditional, delete all #ifdef OLD_ARM_ABI blocks.
-
-2005-05-17  Zack Weinberg  <zack@codesourcery.com>
-
-       * arm.h: Import complete list of official relocation names
-       and numbers from AAELF.  Define FAKE_RELOCs for old names.
-       Remove a few old names no longer used anywhere.
-
-2005-05-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
-
-2005-05-11  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
-       R_PPC_RELAX32PC_PLT) Adjust.
-       (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
-       (DT_PPC_GLINK): Define.
-
-2005-05-10  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       alpha.h, arc.h, arm.h, avr.h, common.h, cr16c.h, cris.h, crx.h,
-       d10v.h, d30v.h, dlx.h, dwarf.h, dwarf2.h, external.h, fr30.h,
-       frv.h, h8.h, hppa.h, i370.h, i386.h, i860.h, i960.h, ia64.h,
-       internal.h, ip2k.h, iq2000.h, m32r.h, m68hc11.h, m68k.h, mcore.h,
-       mips.h, mmix.h, mn10200.h, mn10300.h, msp430.h, openrisc.h,
-       or32.h, pj.h, ppc.h, ppc64.h, reloc-macros.h, s390.h, sh.h,
-       sparc.h, v850.h,  vax.h, x86-64.h, xstormy16.h, xtensa.h
-
-2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Moved from ../ChangeLog
-
-       2004-10-27  Richard Earnshaw  <rearnsha@arm.com>
-       * arm.h: Add R_ARM_CALL and R_ARM_JUMP32.
-
-       2004-10-12  Paul Brook  <paul@codesourcery.com>
-       * arm.h (EF_ARM_EABI_VER4): Define.
-
-       2004-10-08  Daniel Jacobowitz  <dan@debian.org>
-
-       * common.h (PT_SUNW_EH_FRAME): Define.
-       * x86-64.h (SHT_X86_64_UNWIND): Define.
-
-       2004-10-07  Bob Wilson  <bob.wilson@acm.org>
-       * xtensa.h (R_XTENSA_DIFF8, R_XTENSA_DIFF16, R_XTENSA_DIFF32,
-       R_XTENSA_SLOT*_OP, R_XTENSA_SLOT*_ALT): New relocations.
-       (XTENSA_PROP_SEC_NAME): Define.
-       (property_table_entry): Add flags field.
-       (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
-
-       2004-09-17  Paul Brook  <paul@codesourcery.com>
-       * arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK.
-       Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL,
-       R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX.
-
-       2004-09-13  Paul Brook  <paul@codesourcery.com>
-       * arm.h: Rename RELABS to TARGET1.
-
-       2004-05-11  Jakub Jelinek  <jakub@redhat.com>
-       * common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
-       (PT_GNU_RELRO): Define.
-
-2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
-           Phil Blundell  <philb@gnu.org>
-
-       * arm.h: Add TLS relocations.
-
-2005-03-23  Ben Elliston  <bje@au.ibm.com>
-
-       * dwarf.h: Merge with GCC's dwarf.h.
-
-2005-03-18  C Jaipraash  <cjaiprakash@noida.hcltech.com>
-
-       * m68k.h (EF_CFV4E): Define.
-
-2005-03-17  Paul Brook <paul@codesourcery.com>
-           Dan Jacobowitz <dan@codesourcery.com>
-           Mark Mitchell  <mark@codesourcery.com>
-
-       * arm.h (PT_ARM_EXIDX): Define.
-
-2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * mips.h: Define MIPS TLS relocations.
-
-2005-02-15  Nigel Stephens  <nigel@mips.com>
-           Maciej W. Rozycki  <macro@mips.com>
-
-       * mips.h (R_MIPS16_GOT16): New reloc code.
-       (R_MIPS16_CALL16): Likewise.
-       (R_MIPS16_HI16): Likewise.
-       (R_MIPS16_LO16): Likewise.
-       (R_MIPS16_min): New fake reloc code.
-       (R_MIPS16_max): Likewise.
-
-2005-02-11  Maciej W. Rozycki  <macro@mips.com>
-
-       * mips.h (R_MIPS_max): Use FAKE_RELOC to define.
-
-2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
-
-       2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
-       * frv.h: Add R_FRV_TLSMOFF.
-       2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
-       * frv.h: Add TLS relocations.
-
-2005-01-17  Nick Clifton  <nickc@redhat.com>
-
-       * sh.h (EF_SH2A_SH4_NOFPU, EF_SH2A_SH3_NOFPU, EF_SH2A_SH4,
-       EF_SH2A_SH3E): New flags.
-       (EF_SH_BFD_TABLE): Add these new flags to the table.
-
-2005-01-12  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
-       (R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
-
-2004-12-22  Klaus Rudolph  <lts-rudolph@gmx.de>
-
-       * avr.h (R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW): New relocs.
-
-2004-12-16  Richard Sandiford  <rsandifo@redhat.com>
-
-       * v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.
-
-2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
-
-       * mips.h (E_MIPS_MACH_9000): Define.
-
-2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10)
-       (EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New
-       macros.
-
-2004-10-06  Eric Christopher  <echristo@redhat.com>
-
-       * dwarf2.h: Sync with gcc dwarf2.h. Fix typo.
-
-2004-10-01  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (SHT_ARM_EXIDX): Define.
-       (ELF_STRING_ARM_unwind, ELF_STRING_ARM_unwind,
-       ELF_STRING_ARM_unwind_once, ELF_STRING_ARM_unwind_info_once):
-       Define.
-
-2004-08-25  Dmitry Diky  <diwil@spec.ru>
-
-       * msp430.h: Add new relocs.
-
-2004-08-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (R_386_USED_BY_INTEL_200): New.
-
-2004-07-29  Alexandre Oliva  <aoliva@redhat.com>
-
-       Introduce SH2a support.
-       2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
-       * sh.h (EF_SH2A_NOFPU): New.
-       2003-12-01  Michael Snyder  <msnyder@redhat.com>
-       * sh.h (EF_SH2A): New.
-
-2004-07-27  Tomer Levi  <Tomer.Levi@nsc.com>
-
-       * crx.h: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16,
-       BFD_RELOC_CRX_SWITCH32.
-
-2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
-
-       * common.h (EM_CRX): Define.
-       * crx.h: New file.
-
-2004-06-25  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
-
-       * m32r.h: Add defintions of R_M32R_GOTOFF_HI_ULO,
-       R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO.
-
-2004-06-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * common.h (ELF64_R_INFO): Warning fix.
-
-2004-06-14  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
-       with an updated comment.
-
-2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
-
-       * sh.h (EF_SH_HAS_DSP): Remove.
-       (EF_SH_HAS_FP): Remove.
-       (EF_SH_MERGE_MACH): Remove.
-       (EF_SH4_NOFPU): Convert to decimal.
-       (EF_SH4A_NOFPU): Likewise.
-       (EF_SH4_NOMMU_NOFPU): Likewise.
-       (EF_SH3_NOMMU): Add new macro.
-       (EF_SH_BFD_TABLE): Likewise.
-       (sh_find_elf_flags): Add prototype.
-       (sh_elf_get_flags_from_mach): Likewise.
-
-2004-04-24  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16)
-       (R_MIPS_GNU_REL_HI16): Remove.
-       (R_MIPS_GNU_REL16_S2): Update comment.
-
-2004-30-30  Galit Heller  <Galit.Heller@nsc.com>
-           Tomer Levi  <Tomer.Levi@nsc.com>
-
-       * common.h (EM_CR): Define.
-       * cr16c.h: New file.
-
-2004-03-23  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add.
-
-2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>
-
-       * sh.h: Add EF_SH4_NOMMU_NOFPU.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * frv.h (EF_FRV_CPU_FR405, EF_FRV_CPU_FR450): Define.
-
-2004-01-28  Roland McGrath  <roland@redhat.com>
-
-       * common.h (AT_SECURE): New macro.
-
-2004-01-21  Roland McGrath  <roland@redhat.com>
-
-       * common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
-       (AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
-       AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
-       AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
-       AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.
-
-2004-01-17  Mark Kettenis  <kettenis@gnu.org>
-
-       * common.h (NT_OPENBSD_IDENT): Define.
-
-2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
-
-       2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
-       * frv.h (EF_FRV_FDPIC): New macro.
-       (EF_FRV_PIC_FLAGS): Adjust.
-       2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
-       * frv.h (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
-       R_FRV_FUNCDESC_GOTOFFLO, R_FRV_FUNCDESC_GOTOFFHI, R_FRV_GOTOFF12,
-       R_FRV_GOTOFFLO, R_FRV_GOTOFFHI): New.
-       2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
-       * frv.h (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, R_FRV_FUNCDESC,
-       R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, R_FRV_FUNCDESC_GOTLO):
-       New.
-
-
-For older changes see ChangeLog-9103
-\f
-Copyright (C) 2004-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/elf/ChangeLog-0415 b/include/elf/ChangeLog-0415
new file mode 100644 (file)
index 0000000..e95e96d
--- /dev/null
@@ -0,0 +1,2348 @@
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.h (TAG_CPU_ARCH_V8M_BASE): Declare.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.h (TAG_CPU_ARCH_V8M_MAIN): Declare.
+       (MAX_TAG_CPU_ARCH): Define to TAG_CPU_ARCH_V8M_MAIN.
+       (TAG_CPU_ARCH_V4T_PLUS_V6_M): Define to unused value 15.
+
+2015-12-22 Mickael Guene <mickael.guene@st.com>
+
+       * arm.h: Add arm SHF_ARM_NOREAD section flag.
+
+2015-12-16  Mickael Guene <mickael.guene@st.com>
+
+       * arm.h: Add new arm relocations.
+
+2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * rx.h (E_FLAG_RX_V2): New RXv2 type.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (R_PPC64_ENTRY): Define.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * ppc.h (R_PPC_REL16DX_HA): New reloction.
+       * ppc64.h (R_PPC64_REL16DX_HA): Likewise.
+
+2015-10-28  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * arc-reloc.def (ARC_32_PCREL): New definition.
+       (ARC_TLS_DTPOFF): Arrange it in order.
+
+2015-10-27  Stephen Fisher  <sfisher@panix.com>
+
+       * common.h (NT_NETBSD_MARCH): Define.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86-64.h (R_X86_64_GOTPCRELX): New.
+       (R_X86_64_REX_GOTPCRELX): Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (R_386_GOT32X): New relocation.
+
+2015-10-07  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * arc-reloc.def: Macro file with definition of all relocation
+       types.
+       * arc.h: Changed macros for the newly supported ARC cpus.  Altered
+       enum defining the supported relocations.
+       * common.h: Changed EM_ARC_A5 definition to EM_ARC_COMPACT. Added
+       macro for EM_ARC_COMPACT2.
+
+2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * common.h (DF_1_STUB, DF_1_PIE): Define.
+
+2015-09-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * external.h (Elf64_External_Chdr): Change ch_type to 4 bytes
+       and add ch_reserved.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * aarch64.h (R_AARCH64_P32_TLSLD_ADD_DTPREL_LO12): Define.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * aarch64.h (R_AARCH64_P32_TLSLD_ADD_LO12_NC): Define.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * aarch64.h (R_AARCH64_P32_TLSLD_ADR_PAGE21): Define.
+
+2015-07-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * aarch64.h (R_AARCH64_P32_TLSLD_ADR_PREL21): New enumeration.
+
+2015-07-09  Catherine Moore  <clm@codesourcery.com>
+
+       * mips.h (Val_GNU_MIPS_ABI_FP_NAN2008): New.
+
+2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
+
+       * avr.h: Add new 32 bit PC relative relocation.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * nios2.h (R_NIOS2_R2_S12): New.
+       (R_NIOS2_R2_I10_1_PCREL): New.
+       (R_NIOS2_R2_T1I7_1_PCREL): New.
+       (R_NIOS2_R2_T1I7_2): New.
+       (R_NIOS2_R2_T2I4): New.
+       (R_NIOS2_R2_T2I4_1): New.
+       (R_NIOS2_R2_T2I4_2): New.
+       (R_NIOS2_R2_X1I7_2): New.
+       (R_NIOS2_R2_X2L5): New.
+       (R_NIOS2_R2_F1I5_2): New.
+       (R_NIOS2_R2_L5I4X1): New.
+       (R_NIOS2_R2_T1X1I6): New.
+       (R_NIOS2_R2_T1X1I6_2): New.
+       (R_NIOS2_ILLEGAL): Renumber.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * nios2.h (EF_NIOS2_ARCH_R1, EF_NIOS2_ARCH_R2): Define.
+
+2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h (DT_MIPS_RLD_MAP_REL): New macro.
+
+2015-05-29  Roland McGrath  <mcgrathr@google.com>
+
+       * common.h (GNU_ABI_TAG_SYLLABLE): New macro.
+       (GNU_ABI_TAG_NACL): New macro.
+
+2015-05-12  Jiong Wang  <jiong.wang@arm.com>
+
+       * aarch64.h (R_AARCH64_P32_LD32_GOTPAGE_LO14): New enumeration.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (EM_486): Renamed to ...
+       (EM_IAMCU): This.
+
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390.h: Define Tag_GNU_S390_ABI_Vector.
+
+2015-04-24  Alan Modra  <amodra@gmail.com>
+
+       * internal.h (ELF_SECTION_IN_SEGMENT_1): Ensure PT_LOAD and
+       similar segments only contain alloc sections.
+
+2015-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18316
+       * mep.h (SEC_MEP_VLIW): Removed.
+
+2015-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * rx.h (E_FLAG_RX_SINSNS_SET): New bit in e_flags field.
+       (E_FLAG_RX_SINSNS_YES): Likewise.
+       (E_FLAG_RX_SINSNS_MASK): New define.
+
+2015-04-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * external.h (Elf32_External_Chdr): New.
+       (Elf64_External_Chdr): Likewise.
+       * internal.h (Elf_Internal_Chdr): Likewise.
+
+2015-03-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (ELFOSABI_CLOUDABI): New.
+       (SHF_COMPRESSED): Likewise.
+       (ELFCOMPRESS_ZLIB): Likewise.
+       (ELFCOMPRESS_LOOS): Likewise.
+       (ELFCOMPRESS_HIOS): Likewise.
+       (ELFCOMPRESS_LOPROC): Likewise.
+       (ELFCOMPRESS_HIPROC): Likewise.
+
+2015-03-19  Nick Clifton  <nickc@redhat.com>
+
+       * rl78.h (E_FLAG_RL78_G10): Redefine.
+       (E_FLAG_RL78_CPU_MASK, E_FLAG_RL78_ANY_CPU, E_FLAG_RL78_G13
+       E_FLAG_RL78_G14): New flags.
+
+2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       PR ld/16572
+       * arm.h (EF_ARM_HASENTRY): Remove.
+
+2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * aarch64.h (R_AARCH64_P32_TLSGD_ADR_PREL21): Add.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * v850.h (EF_RH850_SIMD): Delete deprecated flag.
+       (EF_RH850_CACHE): Likewise.
+       (EF_RH850_MMU): Likewise.
+       (EF_RH850_DATA_ALIGN8): Likewise.
+       (SHT_RENESAS_IOP): Fix typo in name.
+       (SHT_RENESAS_INFO): Define.
+       (V850_NOTE_SECNAME): Define.
+       (SIZEOF_V850_NOTE): Define.
+       (V850_NOTE_NAME): Define.
+       (enum v850_notes): New enum.
+       (NUM_V850_NOTES): Define.
+
+2015-02-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 17915
+       * score.h: Fix typo in license header.
+
+2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * common.h (NT_S390_VXRS_LOW): New macro.
+       (NT_S390_VXRS_HIGH): Likewise.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * common.h (EM_FT32): Define.
+       * ft32.h: New file.
+
+2015-01-09  Anthony Green  <green@moxielogic.com>
+
+       * common.h (EM_MOXIE): Redefine to official number.
+       (EM_MOXIE_OLD): Define (from old number).
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-12-25  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.h: New AEABI_FP_number_model_* and AEABI_VFP_args_* enum values.
+
+2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * common.h (EM_VISIUM): Define.
+       * visium.h: New file.
+
+2014-11-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86-64.h (R_X86_64_GOTPLT64): Mark it obsolete.
+
+2014-10-30  Andrew Pinski  <apinski@cavium.com>
+
+       * mips.h (AFL_EXT_OCTEON3): Define.
+       (INSN_OCTEON3, CPU_OCTEON3): Define.
+
+2014-10-22  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h (AFL_ASE_MASK): Define.
+
+2014-10-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc.h (ELF_SPARC_HWCAP2_VIS3B): Documentation improved.
+
+2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc.h (Tag_GNU_Sparc_HWCAPS2): New object attribute.
+       (ELF_SPARC_HWCAP2_FJATHPLUS): New HWCAP2 bitmask value.
+       (ELF_SPARC_HWCAP2_VIS3B): Likewise.
+       (ELF_SPARC_HWCAP2_ADP): Likewise.
+       (ELF_SPARC_HWCAP2_SPARC5): Likewise.
+       (ELF_SPARC_HWCAP2_MWAIT): Likewise.
+       (ELF_SPARC_HWCAP2_XMPMUL): Likewise.
+       (ELF_SPARC_HWCAP2_XMONT): Likewise.
+       (ELF_SPARC_HWCAP2_NSEC): Likewise.
+       (ELF_SPARC_HWCAP2_FJATHHPC): Likewise.
+       (ELF_SPARC_HWCAP2_FJDES): Likewise.
+       (ELF_SPARC_HWCAP2_FJAES): Likewise.
+
+2014-10-08  Will Newton  <will.newton@linaro.org>
+
+       * aarch64.h: Sync up relocations with ABI release 1.0.
+
+2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * nds32.h: Declare new relocations.
+
+2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h: Add relocs: R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3,
+       R_MIPS_PC19_S2, R_MIPS_PCHI16 and R_MIPS_PCLO16.
+       (E_MIPS_ARCH_32R6): New define.
+       (E_MIPS_ARCH_64R6): New define.
+
+2014-08-26  DJ Delorie  <dj@redhat.com>
+
+       * rl78.h (RL78_RELAXA_MASK): New.  Relax types are enums, not bits
+
+2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h (PT_MIPS_ABIFLAGS, SHT_MIPS_ABIFLAGS): Define.
+       (Val_GNU_MIPS_ABI_FP_OLD_64): Rename from Val_GNU_MIPS_ABI_FP_64.
+       (Val_GNU_MIPS_ABI_FP_64): Redefine.
+       (Val_GNU_MIPS_ABI_FP_XX): Define.
+       (Elf_External_ABIFlags_v0, Elf_Internal_ABIFlags_v0): New structures.
+       (AFL_REG_NONE, AFL_REG_32, AFL_REG_64, AFL_REG_128): Define.
+       (AFL_ASE_DSP, AFL_ASE_DSPR2, AFL_ASE_EVA, AFL_ASE_MCU): Likewise.
+       (AFL_ASE_MDMX, AFL_ASE_MIPS3D, AFL_ASE_MT, AFL_ASE_SMARTMIPS): Likewise.
+       (AFL_ASE_VIRT, AFL_ASE_MSA, AFL_ASE_MIPS16): Likewise.
+       (AFL_ASE_MICROMIPS, AFL_ASE_XPA): Likewise.
+       (AFL_EXT_XLR, AFL_EXT_OCTEON2, AFL_EXT_OCTEONP): Likewise.
+       (AFL_EXT_LOONGSON_3A, AFL_EXT_OCTEON, AFL_EXT_5900): Likewise.
+       (AFL_EXT_4650, AFL_EXT_4010, AFL_EXT_4100, AFL_EXT_3900): Likewise.
+       (AFL_EXT_10000, AFL_EXT_SB1, AFL_EXT_4111, AFL_EXT_4120): Likewise.
+       (AFL_EXT_5400, AFL_EXT_5500, AFL_EXT_LOONGSON_2E): Likewise.
+       (AFL_EXT_LOONGSON_2F): Likewise.
+       (bfd_mips_elf_swap_abiflags_v0_in): Prototype.
+       (bfd_mips_elf_swap_abiflags_v0_out): Likewise.
+       (bfd_mips_isa_ext): Likewise.
+
+2014-07-07  Barney Stratford  <barney_stratford@fastmail.fm>
+
+       * avr.h: Add R_AVR_PORT5 and R_AVR_PORT6.
+
+2014-07-01  Barney Stratford   <barney_stratford@fastmail.fm>
+           Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+           Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
+           Soundararajan  <Sounderarajan.D@atmel.com>
+
+       * avr.h (E_AVR_MACH_AVRTINY): Define avrtiny machine number.
+       (R_AVR_LDS_STS_16): Define 16 bit lds/sts reloc number.
+       * include/opcode/avr.h (AVR_ISA_TINY): Define avrtiny specific ISA.
+       (AVR_ISA_2xxxa): Define ISA without LPM.
+       (AVR_ISA_AVRTINY): Define avrtiny arch ISA.
+       Add doc for contraint used in 16 bit lds/sts.
+       Adjust ISA group for icall, ijmp, pop and push.
+       Add 16 bit lds/sts encoding and update 32 bit lds/sts constraints.
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * common.h: Remove openrisc and or32 support.  Add support for or1k.
+       * or1k.h: New file.
+       * openrisc.h: Delete.
+       * or32.h: Delete.
+
+2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * avr.h: Add new DIFF relocs.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (R_PPC64_REL24_NOTOC, R_PPC64_ADDR64_LOCAL): Define.
+
+2014-02-06  Andrew Pinski  <apinski@cavium.com>
+
+       * mips.h (E_MIPS_MACH_OCTEON3): New machine flag.
+
+2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2.h (R_NIOS2_GOT_LO, R_NIOS2_GOT_HA): New.
+       (R_NIOS2_CALL_LO, R_NIOS2_CALL_HA): New.
+       (R_NIOS2_ILLEGAL): Adjust.
+
+2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2.h (elf_nios2_reloc_type): Add R_NIOS2_CALL26_NOAT.
+
+2014-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * common.h (AT_HWCAP2): Define.
+
+2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+           Wei-Cheng Wang  <cole945@gmail.com>
+
+       * nds32.h: New file for Andes NDS32.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * epiphany.h: Remove +x file mode.
+
+2013-11-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * x86-64.h: Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND.
+
+2013-11-13  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h: Define R_AARCH64_TLS_DTPMOD64,
+       R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64; guard
+       R_AARCH64_TLS_DTPMOD, R_AARCH64_TLS_DTPREL and
+       R_AARCH64_TLS_TPREL with RELOC_MACROS_GEN_FUNC.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * ppc.h (DT_PPC_TLSOPT): Delete.
+       (DT_PPC_OPT, PPC_OPT_TLS): Define.
+       * ppc64.h (DT_PPC64_TLSOPT): Delete.
+       (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC): Define.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Define.
+       (ppc64_decode_local_entry, ppc64_encode_local_entry): New functions.
+       (PPC64_LOCAL_ENTRY_OFFSET, PPC64_SET_LOCAL_ENTRY_OFFSET): Define.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (EF_PPC64_ABI): Define.
+
+2013-10-30  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
+       R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
+       R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): New.
+       (IS_PPC64_TLS_RELOC): Match new tls relocs.
+
+2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
+
+       * mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA.
+       (enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.
+
+2013-09-17  Doug Gilmore  <Doug.Gilmore@imgtec.com>
+
+       * mips.h (EF_MIPS_FP64): New e_flags bit.
+
+2013-08-09  Nick Clifton  <nickc@redhat.com>
+
+       * rl78.c (E_FLAG_RL78_G10): Define.
+
+2013-07-15  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment.
+       (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE,
+       Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT,
+       Val_GNU_MIPS_ABI_FP_64): New enum.
+
+2013-07-12  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (EF_MIPS_NAN2008): New macro.
+
+2013-07-08  Tristan Gingold  <gingold@adacore.com>
+
+       * ia64.h (STB_VMS_WEAK, STB_VMS_SYSTEM): Add.
+
+2013-07-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h: Add new relocs R_390_PC12DBL, R_390_PLT12DBL,
+       R_390_PC24DBL, and R_390_PLT24DBL.
+
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h: Add ELF32 reloc codes and remove fake ELF64 ones.
+
+2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (ELF_ST_IS_MIPS_PLT): Respect STO_MIPS16 setting.
+       (ELF_ST_SET_MIPS_PLT): Likewise.
+
+2013-06-19  Will Newton  <will.newton@linaro.org>
+
+       * aarch64.h: Remove R_AARCH64_IRELATIVE.
+
+2013-06-07  Will Newton  <will.newton@linaro.org>
+
+       * aarch64.h: Add R_AARCH64_IRELATIVE reloc.
+
+2013-06-06  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (ELF_ST_SET_MIPS_PIC): Clear any STO_MIPS16 setting.
+
+2013-05-30  Paul Brook  <paul@codesourcery.com>
+
+       * mips.h (R_MIPS_EH): New.
+
+2013-05-28  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (R_AARCH64_TLSDESC_LD64_PREL19): Rename to ...
+       (R_AARCH64_TLSDESC_LD_PREL19): ... this.
+       (R_AARCH64_TLSDESC_ADR_PAGE): Rename to ...
+       (R_AARCH64_TLSDESC_ADR_PAGE21): ... this.
+
+2013-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (EM_INTEL205): New.
+       (EM_INTEL206): Likewise.
+       (EM_INTEL207): Likewise.
+       (EM_INTEL208): Likewise.
+       (EM_INTEL209): Likewise.
+
+2013-05-06  Paul Brook  <paul@codesourcery.com>
+
+       * mips.h (R_MIPS_PC32): Update comment.
+
+2013-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * msp430.h: Add MSP430X relocs.
+       Add some more MSP430 machine numbers.
+       Add values used by .MSP430.attributes section.
+
+2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
+
+       * h8.h: Add new reloc R_H8_DISP32A16 for relaxation of
+       mov @(disp:32,ERx) to mov @(disp:16,ERx).
+
+2013-03-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * common.h (NT_S390_TDB): Define.
+
+2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
+           Andrew Jenner <andrew@codesourcery.com>
+
+       Based on patches from Altera Corporation.
+
+       * nios2.h: New file.
+
+2013-01-24  Nick Clifton  <nickc@redhat.com>
+
+       * v850.h: Add support for e3v5 architecture.
+       Reorganize processor selection macros.
+
+2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (R_386_SIZE32): Fill it.
+       * x86-64.h (R_X86_64_SIZE32): Likewise.
+       (R_X86_64_SIZE64): Likewise.
+
+2013-01-10  Will Newton <will.newton@imgtec.com>
+
+       * common.h: Fix case of "Meta".
+       * metag.h: New file.
+
+2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro
+       definitions.
+
+2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
+
+       * mips.h: Add MIPS machine variant number for r5900 which is
+       compatible with old Playstation 2 software.
+
+2012-12-11  Edgar E. Iglesias <edgar.iglesias@gmail.com>
+
+       * microblaze.h: Add TLS relocs to START_RELOC_NUMBERS
+
+2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (DF_1_CONLFAT): Renamed to ...
+       (DF_1_CONFALT): This.
+       (DF_1_ENDFILTEE): New.
+       (DF_1_DISPRELDNE): Likewise.
+       (DF_1_DISPRELPND): Likewise.
+       (DF_1_NODIRECT): Likewise.
+       (DF_1_IGNMULDEF): Likewise.
+       (DF_1_NOKSYMS): Likewise.
+       (DF_1_NOHDR): Likewise.
+       (DF_1_EDITED): Likewise.
+       (DF_1_NORELOC): Likewise.
+       (DF_1_SYMINTPOSE): Likewise.
+       (DF_1_GLOBAUDIT): Likewise.
+       (DF_1_SINGLETON): Likewise.
+
+2012-11-09  Nick Clifton  <nickc@redhat.com>
+
+       * rx.h (EF_RX_CPU_RX): Add comment.
+       (E_FLAG_RX_ABI): Define.
+
+       * v850.h: Add RH850 ABI values.
+
+2012-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.
+
+2012-11-01  Tom Tromey  <tromey@redhat.com>
+
+       * common.h (NT_386_TLS, NT_386_IOPERM): New defines.
+
+2012-10-30  Steve McIntyre  <steve.mcintyre@linaro.org>
+
+       * arm.h (EF_ARM_ABI_FLOAT_SOFT): New define.
+       (EF_ARM_ABI_FLOAT_HARD): Likewise.
+
+2012-10-23  Tom Tromey  <tromey@redhat.com>
+
+       * common.h (NT_SIGINFO, NT_FILE): New defines.
+
+2012-09-12  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>
+
+       * aarch64.h (R_AARCH64_GOT_LD_PREL19): New reloc.
+
+2012-08-27  Walter Lee  <walt@tilera.com>
+
+       * tilegx.h (R_TILEGX_IMM16_X0_HW0_PLT_PCREL): New relocation.
+       (R_TILEGX_IMM16_X1_HW0_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X0_HW1_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X1_HW1_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X0_HW3_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X1_HW3_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL   ): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): Ditto.
+
+2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (TAG_CPU_ARCH_V8): New define.
+       (MAX_TAG_CPU_ARCH): Update.
+
+2012-08-13  Ian Bolton  <ian.bolton@arm.com>
+           Laurent Desnogues  <laurent.desnogues@arm.com>
+           Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+           Richard Earnshaw  <rearnsha@arm.com>
+           Sofiane Naci  <sofiane.naci@arm.com>
+           Tejas Belagod  <tejas.belagod@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h: New file.
+       * common.h (EM_res183): Rename to EM_AARCH64.
+       (EM_res184): Rename to EM_ARM184.
+
+2012-08-02  Sean Keys  <skeys@ipdatasys.com>
+
+       * m68hc11.h: #define E_M68HC11_NO_BANK_WARNING 0x000000200
+
+2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h (START_RELOC_NUMBERS): Define R_390_IRELATIVE reloc.
+
+2012-06-28  Iain Sandoe  <iain@codesourcery.com>
+
+       * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
+       AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.
+
+2012-05-16  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/13503
+       * avr.h (RELOC_NUMBERS): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8.
+
+2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
+
+       * m68hc11.h (R_M68HC12_16B, R_M68HC12_PCREL_9, R_M68HC12_PCREL_10)
+       R_M68HC12_HI8XG, R_M68HC12_LO8XG): New relocations.
+       (E_M68HC11_XGATE_RAMOFFSET): Define.
+
+2012-05-14  James Lemke  <jwlemke@codesourcery.com>
+       * ppc.h (SEC_PPC_VLE): Remove.
+
+2012-05-14  Catherine Moore  <clm@codesourcery.com>
+           James Lemke  <jwlemke@codesourcery.com>
+
+       * ppc.h (R_PPC_VLE_REL8): New reloction.
+       (R_PPC_VLE_REL15): Likewise.
+       (R_PPC_VLE_REL24): Likewise.
+       (R_PPC_VLE_LO16A): Likewise.
+       (R_PPC_VLE_LO16D): Likewise.
+       (R_PPC_VLE_HI16A): Likewise.
+       (R_PPC_VLE_HI16D): Likewise.
+       (R_PPC_VLE_HA16A): Likewise.
+       (R_PPC_VLE_HA16D): Likewise.
+       (R_PPC_VLE_SDA21): Likewise.
+       (R_PPC_VLE_SDA21_LO): Likewise.
+       (R_PPC_VLE_SDAREL_LO16A): Likewise.
+       (R_PPC_VLE_SDAREL_LO16D): Likewise.
+       (R_PPC_VLE_SDAREL_HI16A): Likewise.
+       (R_PPC_VLE_SDAREL_HI16D): Likewise.
+       (R_PPC_VLE_SDAREL_HA16A): Likewise.
+       (R_PPC_VLE_SDAREL_HA16D): Likewise.
+       (SEC_PPC_VLE): Remove.
+       (PF_PPC_VLE): New program header flag.
+       (SHF_PPC_VLE): New section header flag.
+       (vle_opcodes, vle_num_opcodes): New.
+       (VLE_OP): New macro.
+       (VLE_OP_TO_SEG): New macro.
+
+2012-05-11  Georg-Johann Lay  <avr@gjlay.de
+
+       PR target/13503
+       * avr.h (RELOC_NUMBERS): Add values for R_AVR_8_LO8,
+       R_AVR_8_HI8, R_AVR_8_HHI8.
+
+2012-05-03  Sean Keys  <skeys@ipdatasys.com>
+
+       * xgate.h: Mininal file to support XGATE relocations.
+
+2012-04-27  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
+       pause, and compare-and-branch instructions.
+
+2012-04-12  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (R_SPARC_WDISP10): New reloc.
+
+2012-03-07  Nick Clifton  <nickc@redhat.com>
+
+       * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD,
+       R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE,
+       R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD,
+       R_MN10300_TLS_DTPOFF and R_MN10300_TLS_TPOFF.
+
+2012-02-25  Walter Lee  <walt@tilera.com>
+
+       * tilegx.h (R_TILEGX_IMM16_X0_HW1_GOT): Delete.
+       (R_TILEGX_IMM16_X1_HW1_GOT): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_GOT): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_GOT): Ditto.
+       (R_TILEGX_IMM16_X0_HW3_GOT): Ditto.
+       (R_TILEGX_IMM16_X1_HW3_GOT): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_LAST_GOT): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_LAST_GOT): Ditto.
+       (R_TILEGX_IMM16_X0_HW1_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X1_HW1_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X0_HW3_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X1_HW3_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_LAST_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_LAST_TLS_GD): Ditto.
+       (R_TILEGX_IMM16_X0_HW1_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X1_HW1_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X0_HW3_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X1_HW3_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X0_HW2_LAST_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X1_HW2_LAST_TLS_IE): Ditto.
+       (R_TILEGX_IMM16_X0_HW0_TLS_LE): New relocation.
+       (R_TILEGX_IMM16_X1_HW0_TLS_LE): Ditto.
+       (R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE): Ditto.
+       (R_TILEGX_IMM16_X1_HW0_LAST_TLS_LE): Ditto.
+       (R_TILEGX_IMM16_X0_HW1_LAST_TLS_LE): Ditto.
+       (R_TILEGX_IMM16_X1_HW1_LAST_TLS_LE): Ditto.
+       (R_TILEGX_TLS_GD_CALL): Ditto.
+       (R_TILEGX_IMM8_X0_TLS_GD_ADD): Ditto.
+       (R_TILEGX_IMM8_X1_TLS_GD_ADD): Ditto.
+       (R_TILEGX_IMM8_Y0_TLS_GD_ADD): Ditto.
+       (R_TILEGX_IMM8_Y1_TLS_GD_ADD): Ditto.
+       (R_TILEGX_TLS_IE_LOAD): Ditto.
+       (R_TILEGX_IMM8_X0_TLS_ADD): Ditto.
+       (R_TILEGX_IMM8_X1_TLS_ADD): Ditto.
+       (R_TILEGX_IMM8_Y0_TLS_ADD): Ditto.
+       (R_TILEGX_IMM8_Y1_TLS_ADD): Ditto.
+       * tilepro.h (R_TILEPRO_TLS_GD_CALL): New relocation.
+       (R_TILEPRO_IMM8_X0_TLS_GD_ADD): Ditto.
+       (R_TILEPRO_IMM8_X1_TLS_GD_ADD): Ditto.
+       (R_TILEPRO_IMM8_Y0_TLS_GD_ADD): Ditto.
+       (R_TILEPRO_IMM8_Y1_TLS_GD_ADD): Ditto.
+       (R_TILEPRO_TLS_IE_LOAD): Ditto.
+       (R_TILEPRO_IMM16_X0_TLS_LE): Ditto.
+       (R_TILEPRO_IMM16_X1_TLS_LE): Ditto.
+       (R_TILEPRO_IMM16_X0_TLS_LE_LO): Ditto.
+       (R_TILEPRO_IMM16_X1_TLS_LE_LO): Ditto.
+       (R_TILEPRO_IMM16_X0_TLS_LE_HI): Ditto.
+       (R_TILEPRO_IMM16_X1_TLS_LE_HI): Ditto.
+       (R_TILEPRO_IMM16_X0_TLS_LE_HA): Ditto.
+       (R_TILEPRO_IMM16_X1_TLS_LE_HA): Ditto.
+
+2011-12-22  DJ Delorie  <dj@redhat.com>
+
+       * rl78.h (R_RL78_RH_RELAX, R_RL78_RH_SFR, R_RL78_RH_SADDR): New.
+       (RL78_RELAXA_BRA, RL78_RELAXA_ADDR16: New.
+
+2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * mips.h (elf_mips_reloc_type): Add R_MIPS16_TLS_* entries.
+
+2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * common.h (NT_S390_LAST_BREAK): Define.
+       (NT_S390_SYSTEM_CALL): Likewise.
+
+2011-11-01  DJ Delorie  <dj@redhat.com>
+
+       * common.h (EM_RL78, EM_78K0R): New.
+       * rl78.h: New.
+
+2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * epiphany.h: New file.
+       * common.h (EM_ADAPTEVA_EPIPHANY): Define.
+
+2011-10-10  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (R_PPC64_TOCSAVE): Add.
+
+2011-10-05  DJ Delorie  <dj@redhat.com>
+
+       * rx.h (E_FLAG_RX_PID): New.
+
+2011-09-21  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (Tag_GNU_Sparc_HWCAPS): New object attribute.
+       (ELF_SPARC_HWCAP_*): New HWCAPS bitmask values.
+
+2011-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13082
+       * x86-64.h (R_X86_64_RELATIVE64): New.
+
+2011-07-24  Chao-ying Fu  <fu@mips.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (R_MICROMIPS_min): New relocations.
+       (R_MICROMIPS_26_S1): Likewise.
+       (R_MICROMIPS_HI16, R_MICROMIPS_LO16): Likewise.
+       (R_MICROMIPS_GPREL16, R_MICROMIPS_LITERAL): Likewise.
+       (R_MICROMIPS_GOT16, R_MICROMIPS_PC7_S1): Likewise.
+       (R_MICROMIPS_PC10_S1, R_MICROMIPS_PC16_S1): Likewise.
+       (R_MICROMIPS_CALL16, R_MICROMIPS_GOT_DISP): Likewise.
+       (R_MICROMIPS_GOT_PAGE, R_MICROMIPS_GOT_OFST): Likewise.
+       (R_MICROMIPS_GOT_HI16, R_MICROMIPS_GOT_LO16): Likewise.
+       (R_MICROMIPS_SUB, R_MICROMIPS_HIGHER): Likewise.
+       (R_MICROMIPS_HIGHEST, R_MICROMIPS_CALL_HI16): Likewise.
+       (R_MICROMIPS_CALL_LO16, R_MICROMIPS_SCN_DISP): Likewise.
+       (R_MICROMIPS_JALR, R_MICROMIPS_HI0_LO16): Likewise.
+       (R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM): Likewise.
+       (R_MICROMIPS_TLS_DTPREL_HI, R_MICROMIPS_TLS_DTPREL_LO): Likewise.
+       (R_MICROMIPS_TLS_GOTTPREL): Likewise.
+       (R_MICROMIPS_TLS_TPREL_HI16): Likewise.
+       (R_MICROMIPS_TLS_TPREL_LO16): Likewise.
+       (R_MICROMIPS_GPREL7_S2, R_MICROMIPS_PC23_S2): Likewise.
+       (R_MICROMIPS_max): Likewise.
+       (EF_MIPS_ARCH_ASE_MICROMIPS): New macro.
+       (STO_MIPS_ISA, STO_MIPS_FLAGS): Likewise.
+       (ELF_ST_IS_MIPS_PLT, ELF_ST_SET_MIPS_PLT): Likewise.
+       (STO_MICROMIPS): Likewise.
+       (ELF_ST_IS_MICROMIPS, ELF_ST_SET_MICROMIPS): Likewise.
+       (ELF_ST_IS_COMPRESSED): Likewise.
+       (STO_MIPS_PLT, STO_MIPS_PIC): Rework.
+       (ELF_ST_IS_MIPS_PIC, ELF_ST_SET_MIPS_PIC): Likewise.
+       (STO_MIPS16, ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): Likewise.
+
+2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (EM_K1OM): New.
+
+2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
+           Thomas Schwinge  <thomas@schwinge.name>
+
+       PR binutils/12913
+       * common.h (ELFOSABI_GNU): Define, replaces...
+       (ELFOSABI_LINUX): ... this, kept as an alias.
+       (ELFOSABI_HURD): Remove.
+
+2011-06-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * common.h (NT_ARM_VFP): Define.
+
+2011-06-13  Walter Lee  <walt@tilera.com>
+
+       * common.h: Add EM_TILEGX.
+       * tilegx.h: New file.
+       * tilepro.h: New file.
+
+2011-06-09  Tristan Gingold  <gingold@adacore.com>
+
+       * ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct.
+
+2011-06-02  Nick Clifton  <nickc@redhat.com>
+
+       * common.h: Fix spelling mistake in comment.
+       * reloc-macros.h: Likewise.
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (arm_st_branch_type): Add ST_BRANCH_UNKNOWN.
+
+2011-05-09  Paul Brook  <paul@codesourcery.com>
+
+       * tic6x.h (ELF_STRING_C6000_unwind,
+       ELF_STRING_C6000_unwind_info, ELF_STRING_C6000_unwind_once,
+       ELF_STRING_C6000_unwind_info_once): Define.
+
+2011-04-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * common.h (NT_STAPSDT): New define.
+
+2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * tic6x.h (R_C6000_JUMP_SPLOT, R_C6000_EHTYPE,
+       R_C6000_PCR_H16, R_C6000_PCR_L16): New relocs.
+       (SHN_TIC6X_SCOMMON): Define.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * ia64.h (Elf64_External_VMS_Note): New struct.
+       (NT_VMS_MHD, NT_VMS_LNM, NT_VMS_SRC, NT_VMS_TITLE, NT_VMS_EIDC)
+       (NT_VMS_FPMODE, NT_VMS_LINKTIME, NT_VMS_IMGNAM, NT_VMS_IMGID)
+       (NT_VMS_LINKID, NT_VMS_IMGBID, NT_VMS_GSTNAM, NT_VMS_ORIG_DYN)
+       (NT_VMS_PATCHTIME) New macros.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * arm.h (R_ARM_IRELATIVE): New relocation.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * internal.h (elf_internal_sym): Add st_target_internal.
+       * arm.h (arm_st_branch_type): New enum.
+       (ARM_SYM_BRANCH_TYPE): New macro.
+
+2011-03-10  Nick Clifton  <nickc@redhat.com>
+
+       * common.h (EM_V850): V850s now supplied by Renesas.
+
+2011-02-25  Alan Modra  <amodra@gmail.com>
+
+       PR 12516
+       * internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
+       sections at start or end of PT_DYNAMIC.
+
+2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
+           Glauber de Oliveira Costa  <glommer@gmail.com>
+
+       * arm.h (R_ARM_TLS_DESC, R_ARM_TLS_GOTDESC, R_ARM_TLS_CALL,
+       R_ARM_TLS_DESCSEQ, T_ARM_THM_TLS_CALL, R_ARM_THM_TLS_DESCSEQ): New
+       relocations.
+
+2010-11-16  Jie Zhang  <jie.zhang@analog.com>
+
+       * bfin.h (EF_BFIN_CODE_IN_L1): Define.
+       (EF_BFIN_DATA_IN_L1): Define.
+
+2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
+
+       * mips.h (E_MIPS_MACH_LS3A): Defined.
+
+2010-11-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-attrs.h (Tag_ABI_wchar_t, Tag_ABI_stack_align_needed,
+       Tag_ABI_stack_align_preserved, Tag_ABI_PID, Tag_ABI_PIC,
+       Tag_ABI_array_object_alignment,
+       Tag_ABI_array_object_align_expected, Tag_ABI_conformance): Define.
+
+2010-10-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-attrs.h (Tag_ABI_compatibility): Define.
+
+2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-attrs.h (Tag_ABI_DSBT): New.
+
+2010-10-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-attrs.h (Tag_C6XABI_Tag_CPU_arch): Change to Tag_ISA,
+       value 4.
+       * tic6x.h (Values for Tag_C6XABI_Tag_CPU_arch): Rename for
+       attribute renaming.
+
+2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
+           Ina Pandit  <ina.pandit@kpitcummins.com>
+
+       * v850.h: Add support for V850E2 and V850E2V3.
+       (v850_reloc_type): Update the newly added relocations
+
+2010-07-20  Alan Modra  <amodra@gmail.com>
+
+       * internal.h (ELF_TBSS_SPECIAL): New macro, extracted from..
+       (ELF_SECTION_SIZE): ..here.
+       (ELF_SECTION_IN_SEGMENT_1): Add "strict" arg.
+       (ELF_SECTION_IN_SEGMENT_STRICT): New macro.
+
+2010-06-25  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (R_PPC64_LO_DS_OPT): Define.
+
+2010-06-15  Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-attrs.h: New.
+       * tic6x.h: Include elf/tic6x-attrs.h for attribute table.
+       (C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
+       C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
+       C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
+       C6XABI_Tag_CPU_arch_C674X): Define.
+
+2010-06-11  Tristan Gingold  <gingold@adacore.com>
+
+       * ia64.h (EF_IA_64_VMS_COMCOD, EF_IA_64_VMS_COMCOD_SUCCESS)
+       (EF_IA_64_VMS_COMCOD_WARNING, EF_IA_64_VMS_COMCOD_ERROR)
+       (EF_IA_64_VMS_COMCOD_ABORT, EF_IA_64_VMS_LINKAGES): Define.
+       (VMS_LF_CALL_DEBUG, VMS_LF_NOP0BUFS, VMS_LF_P0IMAGE)
+       (VMS_LF_MKTHREADS, VMS_LF_UPCALLS, VMS_LF_IMGSTA)
+       (VMS_LF_INITIALIZE, VMS_LF_MAIN, VMS_LF_EXE_INIT)
+       (VMS_LF_TBK_IN_IMG, VMS_LF_DBG_IN_IMG, VMS_LF_TBK_IN_DSF)
+       (VMS_LF_DBG_IN_DSF, VMS_LF_SIGNATURES, VMS_LF_REL_SEG_OFF): Define.
+       (VMS_STO_VISIBILITY, VMS_ST_VISIBILITY, VMS_STO_FUNC_TYPE)
+       (VMS_ST_FUNC_TYPE, VMS_SFT_CODE_ADDR, VMS_SFT_SYMV_IDX)
+       (VMS_SFT_FD, VMS_SFT_RESERVE, VMS_STO_LINKAGE, VMS_ST_LINKAGE)
+       (VMS_STL_IGNORE, VMS_STL_RESERVE, VMS_STL_STD, VMS_STL_LNK): Define.
+       (Elf64_External_VMS_IMAGE_FIXUP): New declaration.
+       (Elf64_External_VMS_IMAGE_RELA): Ditto.
+       (R_IA64_VMS_DIR8, R_IA64_VMS_DIR16LSB, R_IA64_VMS_CALL_SIGNATURE)
+       (R_IA64_VMS_EXECLET_FUNC, R_IA64_VMS_EXECLET_DATA, R_IA64_VMS_FIX8)
+       (R_IA64_VMS_FIX16, R_IA64_VMS_FIX32, R_IA64_VMS_FIX64)
+       (R_IA64_VMS_FIXFD, R_IA64_VMS_ACC_LOAD, R_IA64_VMS_ACC_ADD)
+       (R_IA64_VMS_ACC_SUB, R_IA64_VMS_ACC_MUL, R_IA64_VMS_ACC_DIV)
+       (R_IA64_VMS_ACC_AND, R_IA64_VMS_ACC_IOR, R_IA64_VMS_ACC_EOR)
+       (R_IA64_VMS_ACC_ASH, R_IA64_VMS_ACC_STO8, R_IA64_VMS_ACC_STO16LSH)
+       (R_IA64_VMS_ACC_STO32LSH, R_IA64_VMS_ACC_STO64LSH): New.
+
+2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+           Andrew Stubbs  <ams@codesourcery.com>
+
+       * sh.h (EF_SH_PIC, EF_SH_FDPIC): Define.
+       (R_SH_FIRST_INVALID_RELOC_6, R_SH_LAST_INVALID_RELOC_6): New.  Adjust
+       other invalid ranges.
+       (R_SH_GOT20, R_SH_GOTOFF20, R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20)
+       (R_SH_GOTOFFFUNCDESC, R_SH_GOTOFFFUNCDESC20, R_SH_FUNCDESC)
+       (R_SH_FUNCDESC_VALUE): New.
+
+2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/11600
+       * common.h (SHF_EXCLUDE): New.
+
+       * i370.h (SHF_EXCLUDE): Removed.
+       * or32.h (SHF_EXCLUDE): Likewise.
+       * ppc.h (SHF_EXCLUDE): Likewise.
+       * sparc.h (SHF_EXCLUDE): Likewise.
+
+2010-04-23  Alan Modra  <amodra@gmail.com>
+
+       * internal.h (ELF_SECTION_SIZE): Protect macro args with parentheses.
+       Invert logic to clarify test for .tbss.
+       (ELF_IS_SECTION_IN_SEGMENT): Rename to..
+       (ELF_SECTION_IN_SEGMENT_1): ..this.  Add check_vma param.  Protect
+       macro args with parentheses.
+       (ELF_SECTION_IN_SEGMENT): Define.
+       (ELF_IS_SECTION_IN_SEGMENT_FILE): Delete.
+       (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Delete.
+
+2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
+       Tag_FP_HP_extension): Add new ABI attribute tags.
+
+2010-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * alpha.h: Update copyright notice to use GPLv3.
+       * arc.h: Likewise.
+       * arm.h: Likewise.
+       * avr.h: Likewise.
+       * bfin.h: Likewise.
+       * common.h: Likewise.
+       * cr16.h: Likewise.
+       * cr16c.h: Likewise.
+       * cris.h: Likewise.
+       * crx.h: Likewise.
+       * d10v.h: Likewise.
+       * d30v.h: Likewise.
+       * dlx.h: Likewise.
+       * dwarf.h: Likewise.
+       * external.h: Likewise.
+       * fr30.h: Likewise.
+       * frv.h: Likewise.
+       * h8.h: Likewise.
+       * hppa.h: Likewise.
+       * i370.h: Likewise.
+       * i386.h: Likewise.
+       * i860.h: Likewise.
+       * i960.h: Likewise.
+       * ia64.h: Likewise.
+       * internal.h: Likewise.
+       * ip2k.h: Likewise.
+       * iq2000.h: Likewise.
+       * lm32.h: Likewise.
+       * m32c.h: Likewise.
+       * m32r.h: Likewise.
+       * m68hc11.h: Likewise.
+       * m68k.h: Likewise.
+       * mcore.h: Likewise.
+       * mep.h: Likewise.
+       * microblaze.h: Likewise.
+       * mips.h: Likewise.
+       * mmix.h: Likewise.
+       * mn10200.h: Likewise.
+       * moxie.h: Likewise.
+       * msp430.h: Likewise.
+       * mt.h: Likewise.
+       * openrisc.h: Likewise.
+       * or32.h: Likewise.
+       * pj.h: Likewise.
+       * ppc.h: Likewise.
+       * ppc64.h: Likewise.
+       * reloc-macros.h: Likewise.
+       * rx.h: Likewise.
+       * s390.h: Likewise.
+       * sh.h: Likewise.
+       * sparc.h: Likewise.
+       * spu.h: Likewise.
+       * v850.h: Likewise.
+       * vax.h: Likewise.
+       * vxworks.h: Likewise.
+       * x86-64.h: Likewise.
+       * xc16x.h: Likewise.
+       * xstormy16.h: Likewise.
+       * xtensa.h: Likewise.
+
+2010-04-08  David Stubbs  <stubbs@icerasemi.com>
+
+       * internal.h (ELF_IS_SECTION_IN_SEGMENT): PT_PHDR program headers
+       cannot contain any sections.
+
+2010-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
+       * tic6x.h: New.
+
+2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * common.h (VER_FLG_*): Document.
+       (VER_FLG_INFO): Define.
+
+2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
+
+       PR binutils/11297
+       * avr.h: (R_AVR_8): New relocation number.
+
+2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (Tag_MPextension_use): Renumber.
+       (Tag_DIV_use): Add.
+       (Tag_MPextension_use_legacy): Likewise.
+
+2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
+
+       * common.h (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG,
+       NT_S390_CTRS and NT_S390_PREFIX): Define.
+
+2010-02-08  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.
+
+2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (NT_386_XSTATE): New.
+
+2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h (EF_S390_HIGH_GPRS): Added macro definition.
+
+2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
+
+       * common.h (PN_XNUM): Define.
+
+2009-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * common.h (NT_S390_HIGH_GPRS): Define.
+
+2009-12-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
+       R_PPC_RELAX32PC_PLT): Delete.
+       (R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define.
+
+2009-12-03  David Daney  <ddaney@caviumnetworks.com>
+           Adam Nemet  <adambnemet@gmail.com>
+
+       * mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
+
+2009-11-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,
+       EM_TI_C5500, EM_CUDA): Define.
+       (EM_res140, EM_res141, EM_res142): Remove.
+
+2009-11-17  Paul Brook  <paul@codesourcery.com>
+       Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm.h (TAG_CPU_ARCH_V7E_M): Define.
+
+2009-09-29  DJ Delorie  <dj@redhat.com>
+
+       * rx.h: New file.
+
+2009-09-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (DT_PPC_TLSOPT): Define.
+       * ppc64.h (DT_PPC64_TLSOPT): Define.
+
+2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
+       (SHT_ARM_OVERLAYSECTION): New define.
+
+2006-08-09  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       From Mike Frysinger <michael.frysinger@analog.com>
+       * bfin.h (R_BFIN_UNUSED, R_BFIN_PCREL5M2, R_BFIN_UNUSED1,
+       R_BFIN_PCREL10, R_BFIN_PCREL12_JUMP, R_BFIN_RIMM16,
+       R_BFIN_LUIMM16, R_BFIN_HUIMM16, R_BFIN_PCREL12_JUMP_S,
+       R_BFIN_PCREL24_JUMP_X, R_BFIN_PCREL24, R_BFIN_UNUSEDB,
+       R_BFIN_UNUSEDC, R_BFIN_PCREL24_JUMP_L, R_BFIN_PCREL24_CALL_X,
+       R_BFIN_VAR_EQ_SYMB, R_BFIN_BYTE_DATA, R_BFIN_BYTE2_DATA,
+       R_BFIN_BYTE4_DATA, R_BFIN_PCREL11, R_BFIN_PUSH, R_BFIN_CONST,
+       R_BFIN_ADD, R_BFIN_SUB, R_BFIN_MULT, R_BFIN_DIV, R_BFIN_MOD,
+       R_BFIN_LSHIFT, R_BFIN_RSHIFT, R_BFIN_AND, R_BFIN_OR, R_BFIN_XOR,
+       R_BFIN_LAND, R_BFIN_LOR, R_BFIN_LEN, R_BFIN_NEG, R_BFIN_COMP,
+       R_BFIN_PAGE, R_BFIN_HWPAGE, R_BFIN_ADDR, R_BFIN_PLTPLC,
+       R_BFIN_GOT, R_BFIN_MAX): Renamed from R_unused0, R_pcrel5ms,
+       R_unused1, R_pcrel10, R_pcrel12_jump, R_rimm16, R_luimm16,
+       R_huimm16, R_pcrel12_jump_s, R_pcrel24_jump_x, R_pcrel24,
+       R_unusedb, R_unusedc, R_pcrel24_jump_l, R_pcrel24_call_x,
+       R_var_eq_symb, R_byte_data, R_byte2_data, R_byte4_data, R_pcrel11,
+       R_push, R_const, R_add, R_sub, R_mult, R_div, R_mod, R_lshift,
+       R_rshift, R_and, R_or, R_xor, R_land, R_lor, R_len, R_neg, R_comp,
+       R_page, R_hwpage, R_addr, R_pltpc, R_got.
+
+2009-08-09  Michael Eager <eager@eagercon.com>
+
+       * common.h: Define EM_resnnn reserved values. Add EM_AVR32,
+       EM_STM8, EM_TILE64, EM_TILEPRO.  Change EM_MICROBLAZE.
+
+2009-08-06  Michael Eager <eager@eagercon.com>
+
+       * common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
+       * microblaze.h: New reloc definitions.
+
+2009-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc64.h: Add R_PPC64_JMP_IREL, R_PPC64_REL16, R_PPC64_REL16_LO,
+       R_PPC64_REL16_HI, R_PPC64_REL16_HA.
+
+2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (EM_L1OM): New.
+
+2009-07-24  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * spu.h (R_SPU_ADD_PIC): New.
+
+2009-07-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * common.h (STB_GNU_UNIQUE): Define.
+
+2009-07-10  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2.h: Move to `..'.
+
+2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf2.h: Just include ../dwarf2.h.
+
+2009-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (R_PPC_IRELATIVE): Add.
+       (R_PPC_RELAX32, R_PPC_RELAX32PC,
+       R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Renumber.
+       * ppc64.h (R_PPC64_IRELATIVE): Add.
+
+2009-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
+       and DW_OP_stack_value.
+
+2009-06-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (R_PPC_RELAX*): Define as enum.
+
+2009-06-11  Anthony Green  <green@moxielogic.org>
+
+       * moxie.h (R_MOXIE_PCREL10): New.
+
+2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/10205
+       * i386.h (R_386_IRELATIVE): New.
+       * x86-64.h (R_X86_64_IRELATIVE): Likewise.
+
+2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h: Update comments for dynamic tag ranges.
+
+2009-04-30  DJ Delorie  <dj@redhat.com>
+
+       * mep.h (EF_MEP_COP_*): New.
+       (EF_MEP_ALL_FLAGS): Add them.
+
+2009-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * common.h (STT_GNU_IFUNC): Define.
+
+2009-04-24  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.h (DW_LNE_set_discriminator): New enum value.
+
+2009-04-15  Anthony Green  <green@moxielogic.com>
+
+       * common.h (EM_MOXIE): Define.
+       * moxie.h: New file.
+
+2009-04-07  DJ Delorie  <dj@redhat.com>
+
+       * mep.h (EF_MEP_CPU_C5): New.
+
+2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (EM_INTEL178): Removed.
+       (EM_INTEL179): Likewise.
+       (EM_ETPU): New.
+       (EM_SLE9X): Likewise.
+       (EM_INTEL181): Likewise.
+       (EM_INTEL182): Likewise.
+
+2009-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (EM_INTEL178): New.
+       (EM_INTEL179): Likewise.
+       (EM_INTEL180): Likewise.
+
+2009-03-20  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * common.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
+
+2009-03-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * common.h (NT_OPENBSD_PROCINFO, NT_OPENBSD_AUXV)
+       (NT_OPENBSD_REGS, NT_OPENBSD_FPREGS, NT_OPENBSD_XFPREGS)
+       (NT_OPENBSD_WCOOKIE): New defines.
+
+2009-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * common.h (AT_RANDOM): Define.
+
+2009-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (R_PPC_TLSGD, R_PPC_TLSLD): Add new relocs.
+       * ppc64.h (R_PPC64_TLSGD, R_PPC64_TLSLD): Add new relocs.
+
+2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
+
+       * score.h (RELOC_NUMBER): Add R_SCORE_IMM32.
+       * common.h (EM_SCORE_OLD): Define.
+
+2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (STB_LOPROC): Replace Application-specific with
+       Processor-specific in comments.
+       (STB_HIPROC): Likewise.
+       (STT_LOPROC): Likewise.
+       (STT_HIPROC): Likewise.
+
+2009-02-03  Sandip Matte  <sandip@rmicorp.com>
+
+       * mips.h (E_MIPS_MACH_XLR): Define.
+
+2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * m68k.h: Map TLS relocations to numbers.
+
+2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
+           Julian Brown   <julian@codesourcery.com>
+
+       * arm.h (TAG_CPU_ARCH_V6_M, TAG_CPU_ARCH_V6S_M): New defines.
+       (MAX_TAG_CPU_ARCH, TAG_CPU_ARCH_V4T_PLUS_V6_M): New defines.
+       (Tag_NEON_arch): Rename to Tag_Advanced_SIMD_arch to match ARM ABI
+       version 2.07.
+       (Tag_undefined39, Tag_nodefaults): New enum values.
+       (Tag_also_compatible_with, Tag_T2EE_use): Likewise.
+       (Tag_conformance, Tag_Virtualization_use): Likewise.
+       (Tag_undefined69, Tag_MPextension_use): Likewise.
+
+2009-01-15  Douglas B Rupp  <rupp@gnat.com>
+
+       * ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO, EF_IA_64_ARCHVER_1):
+       New macros. Minor reformatting.
+
+2008-12-23  Jon Beniston <jon@beniston.com>
+
+       * lm32.h: New file.
+
+2008-12-23  Nick Clifton  <nickc@redhat.com>
+
+       * commmon.h (STT_IFUNC): Delete.
+
+2008-12-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.h (R_CRIS_32_IE): New relocation.
+
+2008-12-03  Nick Clifton  <nickc@redhat.com>
+
+       * common.h (STT_IFUNC): Define.
+
+2008-11-27  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
+       R_CR16_GLOB_DAT): New relocations.
+
+2008-11-25  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.h (R_CRIS_32_TPREL): Correct comment.
+       (R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.
+
+2008-11-18  Catherine Moore  <clm@codesourcery.com>
+
+       * arm.h (Tag_ABI_FP_16bit_format): Define.
+
+2008-11-14  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * internal.h (struct elf_segment_map): Add header_size field.
+
+2008-10-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
+
+2008-10-10  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * ppc.h: Add Tag_GNU_Power_ABI_Struct_Return.
+
+2008-10-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.h (R_CRIS_32_GOT_GD, R_CRIS_16_GOT_GD, R_CRIS_32_GD)
+       (R_CRIS_DTP, R_CRIS_32_DTPREL, R_CRIS_16_DTPREL, R_CRIS_DTPMOD)
+       (R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL)
+       (R_CRIS_16_TPREL): New relocations.
+
+2008-09-24  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2.h (DW_OP_GNU_encoded_addr): New.
+
+2008-08-20  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG)
+       (R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC)
+       (R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New.
+
+2008-08-08  Anatoly Sokolov  <aesok@post.ru>
+
+       * avr.h (E_AVR_MACH_AVR25, E_AVR_MACH_AVR31,
+       E_AVR_MACH_AVR35, E_AVR_MACH_AVR51): Define.
+       (EF_AVR_MACH): Redefine to 0x7F.
+
+2008-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Catherine Moore  <clm@codesourcery.com>
+           Mark Shinwell  <shinwell@codesourcery.com>
+
+       * mips.h (STO_MIPS_PLT, ELF_ST_IS_MIPS_PLT, ELF_ST_SET_MIPS_PLT)
+       (STO_MIPS_PIC, DT_MIPS_PLTGOT, DT_MIPS_RWPLT): New macros.
+
+2008-08-04  Markus Weiss  <weissms@aros.org>
+
+       * common.h (ELFOSABI_AROS): Update comment.
+
+2008-07-26  Michael Eager <eager@eagercon.com>
+
+       * ppc.h: Add description of single-precision.
+
+2008-07-21  Luis Machado  <luisgpm@br.ibm.com>
+
+       * common.h: Define NT_PPC_VSX.
+
+2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+
+       Revert
+       2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+       * bfin.h (EF_BFIN_CODE_IN_L1): Define.
+       (EF_BFIN_DATA_IN_L1): Define.
+
+2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+
+       * bfin.h (EF_BFIN_CODE_IN_L1): Define.
+       (EF_BFIN_DATA_IN_L1): Define.
+
+2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.
+
+2008-06-18  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * common.h (EM_CR16): Correct value.
+       (EM_CR16): Rename to EM_CR16_OLD.
+
+2008-06-12  DJ Delorie  <dj@redhat.com>
+
+       * common.h (EM_M32C_NEW): Rename to EM_M32C.
+       (EM_M32C): Rename to EM_M32C_OLD.
+
+2008-06-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * common.h: Update e_machine table.
+
+2008-06-09  Takashi Yoshii  <yoshii.takashi@renesas.com>
+
+       * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.
+
+2008-06-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * common.h: Change registry@caldera.com to registry@sco.com.
+
+2008-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * reloc-macros.h: Add a comment about the use of the
+       END_RELOC_NUMBERS symbol as a sentinel value.
+
+2008-05-15  Christophe Lyon  <christophe.lyon@st.com>
+
+       * arm.h (END_RELOC_NUMBERS): Provide a maximum value.
+
+2008-04-16  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (R_SPARC_GOTDATA_HIX22,
+       R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22,
+       R_SPARC_GOTDATA_OP_LOX10, R_SPARC_GOTDATA_OP,
+       R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_SIZE64): New relocs.
+
+2008-03-24  Ian Lance Taylor  <iant@google.com>
+
+       * common.h (NT_GNU_GOLD_VERSION): Define.
+
+2008-03-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * internal.h (Elf_Internal_Shdr): Change sh_link and sh_info from
+       unsigned long to unsigned int.  Change sh_addralign to bfd_vma.
+       Order struct as for external version.
+
+2008-03-12  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 5900
+       * common.h (SHN_BAD): Delete.
+       (SHN_LORESERVE .. SHN_HIRESERVE): Move to..
+       * external.h: ..here.
+       * internal.h (SHN_LORESERVE, SHN_HIRESERVE): Define.
+       (SHN_LOPROC, SHN_HIPROC, SHN_LOOS, SHN_HIOS): Define.
+       (SHN_ABS, SHN_COMMON, SHN_XINDEX, SHN_BAD): Define.
+
+2008-03-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * cr16c.h (SHN_CR16C_FCOMMON): Define using SHN_LORESERVE.
+       (SHN_CR16C_NCOMMON): Likewise.
+       * hppa.h (SHN_PARISC_ANSI_COMMON): Likewise.
+       (SHN_PARISC_HUGE_COMMON): Likewise.
+       * ia64.h (SHN_IA_64_ANSI_COMMON): Likewise.
+       (SHN_IA_64_VMS_SYMVEC): Define using SHN_LOOS.
+       * m32r.h (SHN_M32R_SCOMMON): Define using SHN_LORESERVE.
+       * mips.h (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT): Likewise.
+       (SHN_MIPS_DATA, SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
+       * score.h (SHN_SCORE_TEXT, SHN_SCORE_DATA): Likewise.
+       (SHN_SCORE_SCOMMON): Likewise.
+       * sparc.h (SHN_BEFORE, SHN_AFTER): Likewise.
+       * v850.h (SHN_V850_SCOMMON, SHN_V850_TCOMMON): Likewise.
+       (SHN_V850_ZCOMMON): Likewise.
+       * x86-64.h (SHN_X86_64_LCOMMON): Likewise.
+
+2008-03-03  Pallavi Tambay  <pallavi.tambay@amd.com>
+
+       * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP:
+       DW_OP_PGI_omp_thread_num.
+
+2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * mips.h: Update copyright.
+       (E_MIPS_MACH_OCTEON): New macro.
+
+2008-01-30  Tristan Gingold  <gingold@adacore.com>
+
+       Add OpenVMS extensions.
+       * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
+       (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
+       (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
+       (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
+       (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
+       (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
+       (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
+       (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
+       (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
+       (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
+       (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
+       (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
+       (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
+       (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
+       (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
+       (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
+       (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
+       (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
+       (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
+       (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
+       (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
+       (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define
+
+2008-01-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * common.h (AT_SUN_AUXFLAGS): Define.
+
+2007-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2.h (DW_AT_hi_user): Correct value.
+
+2007-12-07  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa.h (R_XTENSA_32_PCREL): New.
+
+2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * mips.h (E_MIPS_MACH_LS2E): New.
+       (E_MIPS_MACH_LS2F): New.
+
+2007-11-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
+       segments at the end of memory.
+
+2007-11-17  Thiemo Seufer  <ths@mips.com>
+
+       * mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant
+       in comment.
+
+2007-11-16  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2.h: Mention the location of the DWARF3 spec on the web.
+       (DW_AT_stride_size): Rename to DW_AT_bit_stride.
+       (DW_AT_stride): Rename to DW_AT_byte_stride.
+
+2007-11-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * vxworks.h: New.
+
+2007-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * mn10300.h (R_MN10300_ALIGN): Define.
+
+2007-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * ppc.h (Tag_GNU_Power_ABI_Vector): New.
+
+2007-10-19  Nick Clifton  <nickc@redhat.com>
+
+       * mn10300.h: Add R_MN10300_SYM_DIFF reloc.
+
+2007-10-18  Roland McGrath  <roland@redhat.com>
+
+       * common.h (NT_PPC_VMX): New macro.
+
+2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * cr16.h: Updated with new relocaction macros.
+
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3281
+       PR binutils/5037
+       * internal.h (elf_segment_map): Add p_size and p_size_valid.
+       (ELF_IS_SECTION_IN_SEGMENT): Allow SHF_TLS sections in
+       PT_GNU_RELRO segments.
+
+2007-09-11  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h (EF_M68K_CF_ISA_C_NODIV): New.
+
+2007-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * common.h (NT_SPU): Define.
+
+2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h: Revert last change.
+
+2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common.h (PT_GNU_STACK): Renamed to ...
+       (PT_GNU_ATTR): This.
+       (PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.
+
+2007-07-09  Roland McGrath  <roland@redhat.com>
+
+       * common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * ppc.h (Tag_GNU_Power_ABI_FP): Define.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * mips.h (Tag_GNU_MIPS_ABI_FP): Define.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * arm.h (elf32_arm_add_eabi_attr_int,
+       elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat,
+       elf32_arm_get_eabi_attr_int, elf32_arm_set_eabi_attr_contents,
+       elf32_arm_eabi_attr_size, Tag_NULL, Tag_File, Tag_Section,
+       Tag_Symbol, Tag_compatibility): Remove.
+       * common.h (SHT_GNU_ATTRIBUTES): Define.
+
+2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
+
+       * common.h (EM_CR16): New entry for CR16 cpu.
+       * cr16.h: New file.
+
+2007-06-11  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
+       (XTENSA_PROP_NO_TRANSFORM): ...this.
+
+2007-05-18  Caroline Tice  <ctice@apple.com>
+
+       * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP,
+       DW_OP_GNU_uninit.
+
+2007-05-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * spu.h (R_SPU_ADDR16X): Define.
+       (R_SPU_PPU32, R_SPU_PPU64): Renumber.
+
+2007-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * spu.h (R_SPU_PPU32, R_SPU_PPU64): Define.
+
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
+       and vma for appropriate sections.
+
+2007-04-26  Jan Beulich  <jbeulich@novell.com>
+
+       * common.h (DT_ENCODING): Correct value (back to spec mandated
+       value).
+
+2007-03-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * v850.h (V850_OTHER_TDA_BYTE): Delete.
+       (V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
+       that don't clash with visibility bits.
+
+2007-03-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * common.h (ELF_ST_VISIBILITY): Comment typo fix.
+
+2007-02-05  Dave Brolley  <brolley@redhat.com>
+           Richard Sandiford  <rsandifo@redhat.com>
+           Richard Henderson  <rth@redhat.com>
+           DJ Delorie  <dj@redhat.com>
+           Ben Elliston  <bje@redhat.com>
+
+       * mep.h: New file.
+       * common.h (EM_CYGNUS_MEP): Define.
+
+2007-02-15  Dave Brolley  <brolley@redhat.com>
+
+       From Graydon Hoare  <graydon@redhat.com>:
+       * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.
+
+2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (EF_M68K_FIDO): New.
+       (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO.
+       (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove.
+
+2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.
+
+2006-12-19  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (EF_M68K_ARCH_MASK): New.
+
+2006-12-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * internal.h (struct elf_segment_map): Add p_vaddr_offset field.
+
+2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
+       EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
+       EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
+       EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
+       EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
+       EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
+       EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
+       EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
+       EF_M68K_CF_FLOAT, respectively.
+
+2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de>
+           Nick Clifton  <nickc@redhat.com>
+
+       * external.h (struct Elf_External_Versym): Use ATTRIBUTE_PACKED.
+
+2006-10-28  Richard Sandiford  <richard@codesourcery.com>
+
+       * mips.h (R_MIPS_GLOB_DAT): Define
+       (R_MIPS_max): Bump by 1.
+
+2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
+           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
+           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * common.h (EM_SPU): Define.
+       * spu.h: New file.
+
+2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score.h (EF_SCORE_PIC): Redefine EF_SCORE_PIC as 0x80000000.
+       (EF_SCORE_FIXDEP): Redefine EF_SCORE_FIXDEP as 0x40000000.
+       (EF_SCORE_HASENTRY): Delete.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * arm.h: Define TAG_CPU_ARCH_* constants.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score.h: New file.
+       * common.h: Add Score machine number.
+
+2006-07-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
+
+2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * internal.h (ELF_SECTION_SIZE): New.
+       (ELF_IS_SECTION_IN_SEGMENT): Likewise.
+       (ELF_IS_SECTION_IN_SEGMENT_FILE): Updated.
+       (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
+
+2006-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * internal.h (struct elf_segment_map): Add p_align and p_align_valid.
+
+2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
+           Randolph Chung  <randolph@tausq.org>
+
+       * hppa.h (R_PARISC_TLS_GD21L, R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL,
+       R_PARISC_TLS_LDM21L, R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL,
+       R_PARISC_TLS_LDO21L, R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32,
+       R_PARISC_TLS_DTPMOD64, R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64):
+       New TLS relocs.
+       (R_PARISC_TLS_LE21L, R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L,
+       R_PARISC_TLS_IE14R, R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64):
+       Define TLS relocs using existing equivalents.
+
+2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * avr.h: Add E_AVR_MACH_AVR6, R_AVR_LO8_LDI_GS and R_AVR_HI8_LDI_GS.
+
+2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * bfin.h (R_BFIN_GOT17M4, R_BFIN_GOTHI, R_BFIN_GOTLO,
+       R_BFIN_FUNCDESC, R_BFIN_FUNCDESC_GOT17M4,  R_BFIN_FUNCDESC_GOTHI,
+       R_BFIN_FUNCDESC_GOTLO, R_BFIN_FUNCDESC_VALUE,
+       R_BFIN_FUNCDESC_GOTOFF17M4, R_BFIN_FUNCDESC_GOTOFFHI,
+       R_BFIN_FUNCDESC_GOTOFFLO, R_BFIN_GOTOFF17M4, R_BFIN_GOTOFFHI,
+       R_BFIN_GOTOFFLO): New relocs.
+       (EF_BFIN_PIC, EF_BFIN_FDPIC, EF_BFIN_PIC_FLAGS): New macros.
+
+2006-03-23  Michael Matz  <matz@suse.de>
+
+       * x86-64.h: Add the new relocations with their official
+       numbers.
+
+2006-03-22  Richard Sandiford  <richard@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+           Zack Weinberg  <zack@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+
+       * mips.h (R_MIPS_COPY, R_MIPS_JUMP_SLOT): New relocs.
+
+2006-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
+       SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON,
+       SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT,
+       SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT,
+       SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define.
+
+2006-03-10  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (EF_ARM_EABI_VER5): Define.
+
+2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A,
+       EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust.
+       (EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New.
+       (EF_M68K_HW_DIV, EF_M68K_USP): Remove.
+       (EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust.
+       (EF_M68K_EMAC_B): New.
+
+2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * avr.h (R_AVR_MS8_LDI,R_AVR_MS8_LDI_NEG): Add.
+       (EF_AVR_LINKRELAX_PREPARED): Add.
+
+2006-03-02  Ben Elliston  <bje@au.ibm.com>
+
+       Import from the GCC tree:
+       2006-03-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants
+       from DWARF 3.
+       (DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale,
+       DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count,
+       DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled,
+       DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity,
+       DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New.
+       (DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New.
+       (DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited,
+       DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New.
+       (DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch,
+       DW_DS_leading_separate, DW_DS_trailing_separate): New.
+       (DW_END_default, DW_END_big, DW_END_little): New.
+       (DW_END_lo_user, DW_END_hi_user): Define.
+       (DW_LNE_lo_user, DW_LNE_hi_user): Define.
+       (DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New.
+       (DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC,
+       DW_LANG_D): New.
+
+2006-02-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * ia64.h (SHF_IA_64_HP_TLS): New.
+
+2006-02-24  DJ Delorie  <dj@redhat.com>
+
+       * m32c.h: Add relax relocs.
+
+2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
+           Anil Paranjape   <anilp1@kpitcummins.com>
+           Shilin Shakti    <shilins@kpitcummins.com>
+
+       * common.h (EM_XC16X): New entry for xc16x cpu.
+       Sort other EM_* numbers into numerical order.
+       * xc16x.h: New file.
+
+2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2258
+       * internal.h (ELF_IS_SECTION_IN_SEGMENT_FILE): New.
+       (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
+
+2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h (EF_CPU32, EF_M68000, EF_CFV4E): Rename to ...
+       (EF_M68K_CPU32, EF_M68K_M68000, EF_M68K_CFV4E): ... here.
+       (EF_M68K_ISA_MASK, EF_M68K_ISA_A, EF_M68K_M68K_ISA_A_PLUS,
+       EF_M68K_ISA_B, EF_M68K_HW_DIV, EF_M68K_MAC_MASK, EF_M68K_MAC,
+       EF_M68K_EMAC, EF_M68K_USP, EF_M68K_FLOAT): New.
+
+2006-02-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * ia64.h (SHF_IA_64_HP_TLS): New.
+
+2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       Introduce TLS descriptors for i386 and x86_64.
+       * common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
+       * i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
+       New.
+       * x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
+       R_X86_64_TLSDESC): New.
+
+2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
+
+       * common.h (EM_ALTERA_NIOS2, EM_NIOS32) Define.
+
+2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       Second part of ms1 to mt renaming.
+       * common.h (EM_MT): Renamed.
+       * mt.h: Rename relocs, cpu & other defines.
+
+2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * mt.h: Renamed from ms1.h
+
+2005-12-12  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
+
+2005-11-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 1150
+       * mips.h (STO_OPTIONAL): Define.
+       (ELF_MIPS_IS_OPTIONAL): Define.
+
+2005-11-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       Add ms2.
+       * ms1.h (EF_MS1_CPU_MS2): New.
+
+2005-11-06  John David Anglin  <dave.anglin@nrc-crnc.gc.ca>
+
+       * hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
+
+2005-09-30  Catherine Moore  <clm@cm00re.com>
+
+       * bfin.h: New file.
+       * common.h (EM_BLACKFIN): Define.
+
+2005-10-08  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h: Add prototypes for BFD object attribute routines.
+
+2005-09-09  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
+
+2005-08-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
+       New defines.
+
+2005-08-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.
+       (PF_HP_CODE_DEPR, PF_HP_MODIFY_DEPR, PF_HP_LAZYSWAP_DEPR): New
+       deprecated defines.
+       (DT_HP_EPLTREL, DT_HP_EPLTRELSZ, DT_HP_FILTERED, DT_HP_FILTER_TLS,
+       DT_HP_COMPAT_FILTERED, DT_HP_LAZYLOAD, DT_HP_BIND_NOW_COUNT, DT_PLT,
+       DT_PLT_SIZE, DT_DLT, DT_DLT_SIZE, DT_HP_BIND_DEPTH_FIRST, DT_HP_GST,
+       DT_HP_SHLIB_FIXED, DT_HP_MERGE_SHLIB_SEG, DT_HP_NODELETE, DT_HP_GROUP,
+       DT_HP_PROTECT_LINKAGE_TABLE, PT_HP_OPT_ANNOT, PT_HP_HSL_ANNOT,
+       PT_HP_STACK, PT_HP_CORE_UTSNAME, NT_HP_COMPILER, NT_HP_COPYRIGHT,
+       NT_HP_VERSION, NT_HP_SRCFILE_INFO, NT_HP_LINKER, NT_HP_INSTRUMENTED,
+       NT_HP_UX_OPTIONS): Define.
+
+2005-07-25  DJ Delorie  <dj@redhat.com>
+
+       * m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.
+
+2005-07-25  Jan Hubicka  <jh@suse.cz>
+
+       * x86-64.h (SHN_X86_64_LCOMMON): New.
+       (SHF_X86_64_LARGE): New.
+
+2005-07-20  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * m32r.h (R_M32R_REL32): Added.
+
+2005-07-18  Ben Elliston  <bje@au.ibm.com>
+
+       * dwarf2.h (enum dwarf_type): Remove DW_AT_GNU_decimal_float.
+       Replace with DW_ATE_decimal_float (now in DWARF 3).
+
+2005-07-14  Jim Blandy  <jimb@redhat.com>
+
+       Add support for Renesas M32C and M16C.
+       * common.h (EM_M32C): New machine number.
+       * m32c.h: New file.
+
+2005-06-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * external.h (GRP_ENTRY_SIZE): Define.
+
+2005-06-17  Jan Beulich  <jbeulich@novell.com>
+
+       * x86-64.h (elf_x86_64_reloc_type): Adjust comment for
+       R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
+       R_X86_64_GOTPC32.
+
+2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
+           Michael Snyder  <msnyder@redhat.com>
+           Stan Cox  <scox@redhat.com>
+
+       * common.h (EM_MS1): Define.
+
+       * ms1.h: New file.
+
+2005-05-31  Richard Henderson  <rth@redhat.com>
+
+       * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
+
+2005-05-29  Richard Henderson  <rth@redhat.com>
+
+       * alpha.h (DT_ALPHA_PLTRO): New.
+
+2005-05-19  Ben Elliston  <bje@au.ibm.com>
+
+       * dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
+       the user-defined encoding space pending inclusion in the standard.
+
+2005-05-18  Zack Weinberg  <zack@codesourcery.com>
+
+       * arm.h: Make all #ifndef OLD_ARM_ABI blocks
+       unconditional, delete all #ifdef OLD_ARM_ABI blocks.
+
+2005-05-17  Zack Weinberg  <zack@codesourcery.com>
+
+       * arm.h: Import complete list of official relocation names
+       and numbers from AAELF.  Define FAKE_RELOCs for old names.
+       Remove a few old names no longer used anywhere.
+
+2005-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
+
+2005-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
+       R_PPC_RELAX32PC_PLT) Adjust.
+       (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
+       (DT_PPC_GLINK): Define.
+
+2005-05-10  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       alpha.h, arc.h, arm.h, avr.h, common.h, cr16c.h, cris.h, crx.h,
+       d10v.h, d30v.h, dlx.h, dwarf.h, dwarf2.h, external.h, fr30.h,
+       frv.h, h8.h, hppa.h, i370.h, i386.h, i860.h, i960.h, ia64.h,
+       internal.h, ip2k.h, iq2000.h, m32r.h, m68hc11.h, m68k.h, mcore.h,
+       mips.h, mmix.h, mn10200.h, mn10300.h, msp430.h, openrisc.h,
+       or32.h, pj.h, ppc.h, ppc64.h, reloc-macros.h, s390.h, sh.h,
+       sparc.h, v850.h,  vax.h, x86-64.h, xstormy16.h, xtensa.h
+
+2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Moved from ../ChangeLog
+
+       2004-10-27  Richard Earnshaw  <rearnsha@arm.com>
+       * arm.h: Add R_ARM_CALL and R_ARM_JUMP32.
+
+       2004-10-12  Paul Brook  <paul@codesourcery.com>
+       * arm.h (EF_ARM_EABI_VER4): Define.
+
+       2004-10-08  Daniel Jacobowitz  <dan@debian.org>
+
+       * common.h (PT_SUNW_EH_FRAME): Define.
+       * x86-64.h (SHT_X86_64_UNWIND): Define.
+
+       2004-10-07  Bob Wilson  <bob.wilson@acm.org>
+       * xtensa.h (R_XTENSA_DIFF8, R_XTENSA_DIFF16, R_XTENSA_DIFF32,
+       R_XTENSA_SLOT*_OP, R_XTENSA_SLOT*_ALT): New relocations.
+       (XTENSA_PROP_SEC_NAME): Define.
+       (property_table_entry): Add flags field.
+       (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
+
+       2004-09-17  Paul Brook  <paul@codesourcery.com>
+       * arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK.
+       Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL,
+       R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX.
+
+       2004-09-13  Paul Brook  <paul@codesourcery.com>
+       * arm.h: Rename RELABS to TARGET1.
+
+       2004-05-11  Jakub Jelinek  <jakub@redhat.com>
+       * common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
+       (PT_GNU_RELRO): Define.
+
+2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+           Phil Blundell  <philb@gnu.org>
+
+       * arm.h: Add TLS relocations.
+
+2005-03-23  Ben Elliston  <bje@au.ibm.com>
+
+       * dwarf.h: Merge with GCC's dwarf.h.
+
+2005-03-18  C Jaipraash  <cjaiprakash@noida.hcltech.com>
+
+       * m68k.h (EF_CFV4E): Define.
+
+2005-03-17  Paul Brook <paul@codesourcery.com>
+           Dan Jacobowitz <dan@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+
+       * arm.h (PT_ARM_EXIDX): Define.
+
+2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * mips.h: Define MIPS TLS relocations.
+
+2005-02-15  Nigel Stephens  <nigel@mips.com>
+           Maciej W. Rozycki  <macro@mips.com>
+
+       * mips.h (R_MIPS16_GOT16): New reloc code.
+       (R_MIPS16_CALL16): Likewise.
+       (R_MIPS16_HI16): Likewise.
+       (R_MIPS16_LO16): Likewise.
+       (R_MIPS16_min): New fake reloc code.
+       (R_MIPS16_max): Likewise.
+
+2005-02-11  Maciej W. Rozycki  <macro@mips.com>
+
+       * mips.h (R_MIPS_max): Use FAKE_RELOC to define.
+
+2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
+
+       2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
+       * frv.h: Add R_FRV_TLSMOFF.
+       2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
+       * frv.h: Add TLS relocations.
+
+2005-01-17  Nick Clifton  <nickc@redhat.com>
+
+       * sh.h (EF_SH2A_SH4_NOFPU, EF_SH2A_SH3_NOFPU, EF_SH2A_SH4,
+       EF_SH2A_SH3E): New flags.
+       (EF_SH_BFD_TABLE): Add these new flags to the table.
+
+2005-01-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
+       (R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
+
+2004-12-22  Klaus Rudolph  <lts-rudolph@gmx.de>
+
+       * avr.h (R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW): New relocs.
+
+2004-12-16  Richard Sandiford  <rsandifo@redhat.com>
+
+       * v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.
+
+2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * mips.h (E_MIPS_MACH_9000): Define.
+
+2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10)
+       (EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New
+       macros.
+
+2004-10-06  Eric Christopher  <echristo@redhat.com>
+
+       * dwarf2.h: Sync with gcc dwarf2.h. Fix typo.
+
+2004-10-01  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (SHT_ARM_EXIDX): Define.
+       (ELF_STRING_ARM_unwind, ELF_STRING_ARM_unwind,
+       ELF_STRING_ARM_unwind_once, ELF_STRING_ARM_unwind_info_once):
+       Define.
+
+2004-08-25  Dmitry Diky  <diwil@spec.ru>
+
+       * msp430.h: Add new relocs.
+
+2004-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (R_386_USED_BY_INTEL_200): New.
+
+2004-07-29  Alexandre Oliva  <aoliva@redhat.com>
+
+       Introduce SH2a support.
+       2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
+       * sh.h (EF_SH2A_NOFPU): New.
+       2003-12-01  Michael Snyder  <msnyder@redhat.com>
+       * sh.h (EF_SH2A): New.
+
+2004-07-27  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * crx.h: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16,
+       BFD_RELOC_CRX_SWITCH32.
+
+2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * common.h (EM_CRX): Define.
+       * crx.h: New file.
+
+2004-06-25  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * m32r.h: Add defintions of R_M32R_GOTOFF_HI_ULO,
+       R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO.
+
+2004-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * common.h (ELF64_R_INFO): Warning fix.
+
+2004-06-14  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
+       with an updated comment.
+
+2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
+
+       * sh.h (EF_SH_HAS_DSP): Remove.
+       (EF_SH_HAS_FP): Remove.
+       (EF_SH_MERGE_MACH): Remove.
+       (EF_SH4_NOFPU): Convert to decimal.
+       (EF_SH4A_NOFPU): Likewise.
+       (EF_SH4_NOMMU_NOFPU): Likewise.
+       (EF_SH3_NOMMU): Add new macro.
+       (EF_SH_BFD_TABLE): Likewise.
+       (sh_find_elf_flags): Add prototype.
+       (sh_elf_get_flags_from_mach): Likewise.
+
+2004-04-24  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16)
+       (R_MIPS_GNU_REL_HI16): Remove.
+       (R_MIPS_GNU_REL16_S2): Update comment.
+
+2004-30-30  Galit Heller  <Galit.Heller@nsc.com>
+           Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * common.h (EM_CR): Define.
+       * cr16c.h: New file.
+
+2004-03-23  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add.
+
+2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>
+
+       * sh.h: Add EF_SH4_NOMMU_NOFPU.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * frv.h (EF_FRV_CPU_FR405, EF_FRV_CPU_FR450): Define.
+
+2004-01-28  Roland McGrath  <roland@redhat.com>
+
+       * common.h (AT_SECURE): New macro.
+
+2004-01-21  Roland McGrath  <roland@redhat.com>
+
+       * common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
+       (AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
+       AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
+       AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
+       AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.
+
+2004-01-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * common.h (NT_OPENBSD_IDENT): Define.
+
+2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
+
+       2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
+       * frv.h (EF_FRV_FDPIC): New macro.
+       (EF_FRV_PIC_FLAGS): Adjust.
+       2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
+       * frv.h (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
+       R_FRV_FUNCDESC_GOTOFFLO, R_FRV_FUNCDESC_GOTOFFHI, R_FRV_GOTOFF12,
+       R_FRV_GOTOFFLO, R_FRV_GOTOFFHI): New.
+       2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
+       * frv.h (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, R_FRV_FUNCDESC,
+       R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, R_FRV_FUNCDESC_GOTLO):
+       New.
+
+
+For older changes see ChangeLog-9103
+\f
+Copyright (C) 2004-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/mach-o/ChangeLog b/include/mach-o/ChangeLog
deleted file mode 100644 (file)
index e33fd55..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-2015-12-03  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h (bfd_mach_o_header_flags): Add
-       BFD_MACH_O_MH_APP_EXTENSION_SAFE.
-
-2015-11-17  Tristan Gingold  <gingold@adacore.com>
-
-       * arm64.h: New file.
-       * arm.h: New file.
-       * unwind.h: Add arm64 encodings.
-       * loader.h (bfd_mach_o_cpu_subtype): Add arm64 literals.
-       (BFD_MACH_O_LC_ENCRYPTION_INFO_64, BFD_MACH_O_LC_LINKER_OPTIONS)
-       (BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT)
-       (BFD_MACH_O_LC_VERSION_MIN_WATCHOS): Define.
-       * external.h (mach_o_encryption_info_64_command_external):
-       (mach_o_linker_option_command_external)
-       (mach_o_dyld_cache_header_external)
-       (mach_o_dyld_cache_mapping_info_external)
-       (mach_o_dyld_cache_image_info_external): New types.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-04-16  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h: Add macros for rebase, bind and export constants.
-
-2014-04-16  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h (BFD_MACH_O_CPU_ARCH_MASK, BFD_MACH_O_CPU_ARCH_ABI64)
-       (BFD_MACH_O_CPU_SUBTYPE_MASK, BFD_MACH_O_CPU_SUBTYPE_LIB64): Define.
-
-2014-04-03  Tristan Gingold  <gingold@adacore.com>
-
-       * unwind.h (mach_o_compact_unwind_64): Fix typo in personality.
-
-2014-04-02  Tristan Gingold  <gingold@adacore.com>
-
-       * external.h (mach_o_prebound_dylib_command_external)
-       (mach_o_prebind_cksum_command_external)
-       (mach_o_twolevel_hints_command_external): New types.
-
-2014-03-26  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h (bfd_mach_o_cpu_type): Add BFD_MACH_O_CPU_TYPE_ARM64.
-
-2014-03-17  Tristan Gingold  <gingold@adacore.com>
-
-       * unwind.h: New file.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2012-11-14  Tristan Gingold  <gingold@adacore.com>
-
-       * external.h (mach_o_entry_point_command_external)
-       (mach_o_source_version_command_external)
-       (mach_o_data_in_code_entry_external): New structures.
-
-       * loader.h (bfd_mach_o_load_command_type): Add
-       BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_DATA_IN_CODE,
-       BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
-       (BFD_MACH_O_REFERENCE_MASK): Adjust value.
-       (BFD_MACH_O_N_REF_TO_WEAK): New definition.
-       (BFD_MACH_O_N_ARM_THUMB_DEF, BFD_MACH_O_N_SYMBOL_RESOLVER): Likewise.
-       (bfd_mach_o_data_in_code_entry_kind): New enum.
-
-2012-11-14  Tristan Gingold  <gingold@adacore.com>
-
-       * arm.h: New file.
-
-2012-02-23  Iain Sandoe  <idsandoe@googlemail.com>
-
-       * external.h: Add comments about relocations fields.  Add macros
-       for non-scattered relocations.  Move scattered relocation macros to
-       here.
-       * reloc.h: Remove macros related to external representation of reloc
-       fields.
-
-2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
-
-       * loader.h (BFD_MACH_O_INDIRECT_SYM_LOCAL): New.
-       (BFD_MACH_O_INDIRECT_SYM_ABS): New
-
-2012-01-04  Tristan Gingold  <gingold@adacore.com>
-
-       * external.h (mach_o_fvmlib_command_external): New structure.
-
-2012-01-04  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h: Update copyright year.
-       (bfd_mach_o_cpu_subtype): Add ARM subtypes.
-
-2012-01-04  Tristan Gingold  <gingold@adacore.com>
-
-       * external.h: Update copyright year.
-       (mach_o_symtab_command_external): Add comments.
-       (mach_o_encryption_info_command_external): New structure.
-
-2011-12-16  Tristan Gingold  <gingold@adacore.com>
-
-       * codesign.h: New file.
-
-2011-08-08  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h (bfd_mach_o_load_command_type): Add
-       BFD_MACH_O_LC_LOAD_UPWARD_DYLIB, BFD_MACH_O_LC_VERSION_MIN_MACOSX,
-       BFD_MACH_O_LC_VERSION_MIN_IPHONEOS, BFD_MACH_O_LC_FUNCTION_STARTS,
-       and BFD_MACH_O_LC_DYLD_ENVIRONMENT.
-       * external.h (mach_o_version_min_command_external): New structure.
-
-2011-08-08  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h: Reorder declarations.
-       * x86-64.h: New file.
-       * external.h: New file.
-       * reloc.h: New file.
-
-2011-07-06  Tristan Gingold  <gingold@adacore.com>
-
-       * loader.h: New file.
-\f
-Copyright (C) 2011-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/mach-o/ChangeLog-1115 b/include/mach-o/ChangeLog-1115
new file mode 100644 (file)
index 0000000..e33fd55
--- /dev/null
@@ -0,0 +1,136 @@
+2015-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h (bfd_mach_o_header_flags): Add
+       BFD_MACH_O_MH_APP_EXTENSION_SAFE.
+
+2015-11-17  Tristan Gingold  <gingold@adacore.com>
+
+       * arm64.h: New file.
+       * arm.h: New file.
+       * unwind.h: Add arm64 encodings.
+       * loader.h (bfd_mach_o_cpu_subtype): Add arm64 literals.
+       (BFD_MACH_O_LC_ENCRYPTION_INFO_64, BFD_MACH_O_LC_LINKER_OPTIONS)
+       (BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT)
+       (BFD_MACH_O_LC_VERSION_MIN_WATCHOS): Define.
+       * external.h (mach_o_encryption_info_64_command_external):
+       (mach_o_linker_option_command_external)
+       (mach_o_dyld_cache_header_external)
+       (mach_o_dyld_cache_mapping_info_external)
+       (mach_o_dyld_cache_image_info_external): New types.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-04-16  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h: Add macros for rebase, bind and export constants.
+
+2014-04-16  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h (BFD_MACH_O_CPU_ARCH_MASK, BFD_MACH_O_CPU_ARCH_ABI64)
+       (BFD_MACH_O_CPU_SUBTYPE_MASK, BFD_MACH_O_CPU_SUBTYPE_LIB64): Define.
+
+2014-04-03  Tristan Gingold  <gingold@adacore.com>
+
+       * unwind.h (mach_o_compact_unwind_64): Fix typo in personality.
+
+2014-04-02  Tristan Gingold  <gingold@adacore.com>
+
+       * external.h (mach_o_prebound_dylib_command_external)
+       (mach_o_prebind_cksum_command_external)
+       (mach_o_twolevel_hints_command_external): New types.
+
+2014-03-26  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h (bfd_mach_o_cpu_type): Add BFD_MACH_O_CPU_TYPE_ARM64.
+
+2014-03-17  Tristan Gingold  <gingold@adacore.com>
+
+       * unwind.h: New file.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2012-11-14  Tristan Gingold  <gingold@adacore.com>
+
+       * external.h (mach_o_entry_point_command_external)
+       (mach_o_source_version_command_external)
+       (mach_o_data_in_code_entry_external): New structures.
+
+       * loader.h (bfd_mach_o_load_command_type): Add
+       BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_DATA_IN_CODE,
+       BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
+       (BFD_MACH_O_REFERENCE_MASK): Adjust value.
+       (BFD_MACH_O_N_REF_TO_WEAK): New definition.
+       (BFD_MACH_O_N_ARM_THUMB_DEF, BFD_MACH_O_N_SYMBOL_RESOLVER): Likewise.
+       (bfd_mach_o_data_in_code_entry_kind): New enum.
+
+2012-11-14  Tristan Gingold  <gingold@adacore.com>
+
+       * arm.h: New file.
+
+2012-02-23  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * external.h: Add comments about relocations fields.  Add macros
+       for non-scattered relocations.  Move scattered relocation macros to
+       here.
+       * reloc.h: Remove macros related to external representation of reloc
+       fields.
+
+2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * loader.h (BFD_MACH_O_INDIRECT_SYM_LOCAL): New.
+       (BFD_MACH_O_INDIRECT_SYM_ABS): New
+
+2012-01-04  Tristan Gingold  <gingold@adacore.com>
+
+       * external.h (mach_o_fvmlib_command_external): New structure.
+
+2012-01-04  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h: Update copyright year.
+       (bfd_mach_o_cpu_subtype): Add ARM subtypes.
+
+2012-01-04  Tristan Gingold  <gingold@adacore.com>
+
+       * external.h: Update copyright year.
+       (mach_o_symtab_command_external): Add comments.
+       (mach_o_encryption_info_command_external): New structure.
+
+2011-12-16  Tristan Gingold  <gingold@adacore.com>
+
+       * codesign.h: New file.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h (bfd_mach_o_load_command_type): Add
+       BFD_MACH_O_LC_LOAD_UPWARD_DYLIB, BFD_MACH_O_LC_VERSION_MIN_MACOSX,
+       BFD_MACH_O_LC_VERSION_MIN_IPHONEOS, BFD_MACH_O_LC_FUNCTION_STARTS,
+       and BFD_MACH_O_LC_DYLD_ENVIRONMENT.
+       * external.h (mach_o_version_min_command_external): New structure.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h: Reorder declarations.
+       * x86-64.h: New file.
+       * external.h: New file.
+       * reloc.h: New file.
+
+2011-07-06  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h: New file.
+\f
+Copyright (C) 2011-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/nlm/ChangeLog b/include/nlm/ChangeLog
deleted file mode 100644 (file)
index 7f0ce04..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2010-04-15  Nick Clifton  <nickc@redhat.com>
-
-       * alpha-ext.h: Update copyright notice to use GPLv3.
-       * common.h: Likewise.
-       * external.h: Likewise.
-       * i386-ext.h: Likewise.
-       * internal.h: Likewise.
-       * ppc-ext.h: Likewise.
-       * sparc32-ext.h: Likewise.
-
-2005-05-10  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       alpha-ext.h, common.h, external.h, i386-ext.h, internal.h,
-       ppc-ext.h, sparc32-ext.h
-
-2003-08-07  Alan Modra  <amodra@bigpond.net.au>
-
-       * internal.h (Nlm_Internal_Custom_Header): Replace PTR with void *.
-
-2001-10-02  Alan Modra  <amodra@bigpond.net.au>
-
-       * common.h (NLM_CAT, NLM_CAT3): Don't define.
-       (NLM_CAT4): Update conditions under which this is defined.  Document
-       why CONCAT4 can't be used.
-
-1994-05-06  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * external.h (nlmNAME(External_Custom_Header)): Add length,
-       dataOffset, and dataStamp field.
-       (nlmNAME(External_Cygnus_Ext_Header)): Remove.
-       * internal.h (Nlm_Internal_Custom_Header): Add hdrLength,
-       dataOffset, dataStamp and hdr fields.
-
-1994-04-22  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * external.h (struct nlmNAME(external_cygnus_ext_header)): Rename
-       from nlmNAME(external_cygnus_section_header).  Change stamp field
-       to 8 bytes.  Add bytes field.
-       * internal.h (nlm_internal_cygnus_ext_header): Rename from
-       nlm_internal_cygnus_section_header.  Change stamp field to 8
-       bytes.
-
-1994-04-21  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * internal.h (struct nlm_internal_cygnus_section_header): Define.
-       * external.h (struct nlmNAME(external_cygnus_section_header):
-       Define.
-
-1994-04-20  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * internal.h (struct nlm_internal_custom_header): Remove
-       debugRecOffset and debugRecLength fields.  Add data field.
-       * external.h (struct nlmNAME(external_custom_header)): Remove
-       debugRecOffset and debugRecLength fields.
-
-1994-02-07  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * internal.h: Change HOST_64_BIT to BFD_HOST_64_BIT.
-
-1993-12-02  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * alpha-ext.h: New file describing formats of information in Alpha
-       NetWare files.
-       * common.h: Define some non-external Alpha information.
-
-1993-11-17  Sean Eric Fagan  (sef@cygnus.com)
-
-       * external.h: Don't define external_fixed_header here.
-       * i386-ext.h, sparc32-ext.h: New header files to define
-       external_fixed_header for particular CPU's.
-
-1993-10-27  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * internal.h (Nlm_Internal_Extended_Header): Added fields
-       sharedDebugRecordOffset and sharedDebugRecordCount.
-       * external.h (NlmNAME(External_Extended_Header)): Likewise.
-
-       * common.h (NLM_SIGNATURE): Do not define (it's different for each
-       backend).
-
-1993-08-31  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * internal.h: Change length fields of type char to type unsigned
-       char.
-
-1993-07-31  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
-
-       * common.h (NLM_HIBIT, NLM_HEADER_VERSION): Define.
-
-1993-07-22  Fred Fish  (fnf@deneb.cygnus.com)
-
-       * common.h (NLM_CAT*, NLM_ARCH_SIZE, NLM_TARGET_LONG_SIZE,
-       NLM_TARGET_ADDRESS_SIZE, NLM_NAME, NlmNAME, nlmNAME):  New
-       macros.
-       * external.h (TARGET_LONG_SIZE, TARGET_ADDRESS_SIZE): Remove
-       macros, convert usages to NLM_ equivalents.
-       * external.h:  Use nlmNAME and NlmNAME macros to derive both
-       32 and 64 bit versions.
-
-1993-07-20  Fred Fish  (fnf@deneb.cygnus.com)
-
-       * (common.h, external.h, internal.h):  New files for NLM/NetWare
-       support.
-
-\f
-Copyright (C) 1993-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/nlm/ChangeLog-9315 b/include/nlm/ChangeLog-9315
new file mode 100644 (file)
index 0000000..7f0ce04
--- /dev/null
@@ -0,0 +1,127 @@
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2010-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * alpha-ext.h: Update copyright notice to use GPLv3.
+       * common.h: Likewise.
+       * external.h: Likewise.
+       * i386-ext.h: Likewise.
+       * internal.h: Likewise.
+       * ppc-ext.h: Likewise.
+       * sparc32-ext.h: Likewise.
+
+2005-05-10  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       alpha-ext.h, common.h, external.h, i386-ext.h, internal.h,
+       ppc-ext.h, sparc32-ext.h
+
+2003-08-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * internal.h (Nlm_Internal_Custom_Header): Replace PTR with void *.
+
+2001-10-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * common.h (NLM_CAT, NLM_CAT3): Don't define.
+       (NLM_CAT4): Update conditions under which this is defined.  Document
+       why CONCAT4 can't be used.
+
+1994-05-06  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * external.h (nlmNAME(External_Custom_Header)): Add length,
+       dataOffset, and dataStamp field.
+       (nlmNAME(External_Cygnus_Ext_Header)): Remove.
+       * internal.h (Nlm_Internal_Custom_Header): Add hdrLength,
+       dataOffset, dataStamp and hdr fields.
+
+1994-04-22  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * external.h (struct nlmNAME(external_cygnus_ext_header)): Rename
+       from nlmNAME(external_cygnus_section_header).  Change stamp field
+       to 8 bytes.  Add bytes field.
+       * internal.h (nlm_internal_cygnus_ext_header): Rename from
+       nlm_internal_cygnus_section_header.  Change stamp field to 8
+       bytes.
+
+1994-04-21  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * internal.h (struct nlm_internal_cygnus_section_header): Define.
+       * external.h (struct nlmNAME(external_cygnus_section_header):
+       Define.
+
+1994-04-20  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * internal.h (struct nlm_internal_custom_header): Remove
+       debugRecOffset and debugRecLength fields.  Add data field.
+       * external.h (struct nlmNAME(external_custom_header)): Remove
+       debugRecOffset and debugRecLength fields.
+
+1994-02-07  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * internal.h: Change HOST_64_BIT to BFD_HOST_64_BIT.
+
+1993-12-02  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * alpha-ext.h: New file describing formats of information in Alpha
+       NetWare files.
+       * common.h: Define some non-external Alpha information.
+
+1993-11-17  Sean Eric Fagan  (sef@cygnus.com)
+
+       * external.h: Don't define external_fixed_header here.
+       * i386-ext.h, sparc32-ext.h: New header files to define
+       external_fixed_header for particular CPU's.
+
+1993-10-27  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * internal.h (Nlm_Internal_Extended_Header): Added fields
+       sharedDebugRecordOffset and sharedDebugRecordCount.
+       * external.h (NlmNAME(External_Extended_Header)): Likewise.
+
+       * common.h (NLM_SIGNATURE): Do not define (it's different for each
+       backend).
+
+1993-08-31  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * internal.h: Change length fields of type char to type unsigned
+       char.
+
+1993-07-31  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * common.h (NLM_HIBIT, NLM_HEADER_VERSION): Define.
+
+1993-07-22  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * common.h (NLM_CAT*, NLM_ARCH_SIZE, NLM_TARGET_LONG_SIZE,
+       NLM_TARGET_ADDRESS_SIZE, NLM_NAME, NlmNAME, nlmNAME):  New
+       macros.
+       * external.h (TARGET_LONG_SIZE, TARGET_ADDRESS_SIZE): Remove
+       macros, convert usages to NLM_ equivalents.
+       * external.h:  Use nlmNAME and NlmNAME macros to derive both
+       32 and 64 bit versions.
+
+1993-07-20  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * (common.h, external.h, internal.h):  New files for NLM/NetWare
+       support.
+
+\f
+Copyright (C) 1993-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
deleted file mode 100644 (file)
index e6ba7ee..0000000
+++ /dev/null
@@ -1,2596 +0,0 @@
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.h (ARM_EXT2_V6T2_V8M): New extension bit.
-       (ARM_AEXT2_V8A): New architecture extension bitfield.
-       (ARM_AEXT2_V8_1A): Use ARM_AEXT2_V8A instead of ARM_EXT2_ATOMICS.
-       (ARM_AEXT_V8M_BASE): New architecture extension bitfield.
-       (ARM_AEXT2_V8M): Add extension bit ARM_EXT2_V6T2_V8M.
-       (ARM_ARCH_V6T2): Use ARM_EXT2_V6T2_V8M for the second extension
-       bitfield.
-       (ARM_ARCH_V6KT2): Likewise.
-       (ARM_ARCH_V6ZT2): Likewise.
-       (ARM_ARCH_V6KZT2): Likewise.
-       (ARM_ARCH_V7): Likewise.
-       (ARM_ARCH_V7A): Likewise.
-       (ARM_ARCH_V7VE): Likewise.
-       (ARM_ARCH_V7R): Likewise.
-       (ARM_ARCH_V7M): Likewise.
-       (ARM_ARCH_V7EM): Likewise.
-       (ARM_ARCH_V8A): Likewise.
-       (ARM_ARCH_V8M_BASE): New architecture bitfield.
-       (ARM_ARCH_THUMB2): Include instructions shared by ARMv6t2 and ARMv8-M.
-       (ARM_ARCH_V7A_SEC): Use ARM_EXT2_V6T2_V8M for the second extension
-       bitfield and reindent.
-       (ARM_ARCH_V7A_MP_SEC): Likewise.
-       (ARM_ARCH_V7R_IDIV): Likewise.
-       (ARM_ARCH_V8A_FP): Use ARM_AEXT2_V8A instead of ARM_EXT2_ATOMICS.
-       (ARM_ARCH_V8A_SIMD): Likewise.
-       (ARM_ARCH_V8A_CRYPTOV1): Likewise.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.h (ARM_EXT2_ATOMICS): New extension bit.
-       (ARM_EXT2_V8M): Likewise.
-       (ARM_EXT_V8): Adjust comment with regards to atomics and remove
-       mention of legacy use for that bit.
-       (ARM_AEXT2_V8_1A): New architecture extension bitfield.
-       (ARM_AEXT2_V8_2A): Likewise.
-       (ARM_AEXT_V8M_MAIN): Likewise.
-       (ARM_AEXT2_V8M): Likewise.
-       (ARM_ARCH_V8A): Use ARM_EXT2_ATOMICS for features in second bitfield.
-       (ARM_ARCH_V8_1A): Likewise with ARM_AEXT2_V8_1A.
-       (ARM_ARCH_V8_2A): Likewise with ARM_AEXT2_V8_2A.
-       (ARM_ARCH_V8M_MAIN): New architecture feature bitfield.
-       (ARM_ARCH_V8A_FP): Use ARM_EXT2_ATOMICS for features in second bitfield
-       and reindent.
-       (ARM_ARCH_V8A_SIMD): Likewise.
-       (ARM_ARCH_V8A_CRYPTOV1): Likewise.
-       (ARM_ARCH_V8_1A_FP): Use ARM_AEXT2_V8_1A to set second bitfield of
-       feature bits.
-       (ARM_ARCH_V8_1A_SIMD): Likewise.
-       (ARM_ARCH_V8_1A_CRYPTOV1): Likewise.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm.h (ARM_ARCH_THUMB2): Add comment explaining its meaning and
-       remove extension bit not including any Thumb-2 instruction.
-
-2015-12-15  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm.h (ARM_ARCH_V8_1A): Add the CRC_EXT_ARMV8 co-processor
-       feature macro.
-       (ARM_ARCH_V8_2A): Likewise.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (enum aarch64_opnd_qualifier): Add
-       AARCH64_OPND_QLF_V_2H.
-
-2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * rx.h: Add new instructions.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (aarch64_opnd): Add AARCH64_OPND_BARRIER_PSB.
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-opc.c (aarch64_hint_options): Add "csync".
-       (aarch64_print_operands): Handle AARCH64_OPND_BARRIER_PSB.
-       * aarch64-tbl.h (aarch64_feature_stat_profile): New.
-       (STAT_PROFILE): New.
-       (aarch64_opcode_table): Add "psb".
-       (AARCH64_OPERANDS): Add "BARRIER_PSB".
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (aarch64_hint_options): Declare.
-       (aarch64_opnd_info): Add field hint_option.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_PROFILE): New.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (aarch64_sys_ins_reg_supported_p): Declare.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (aarch64_sys_ins_reg): Replace has_xt with flags.
-       (aarch64_sys_ins_reg_has_xt): Declare.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_RAS): New.
-       (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_RAS.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_F16): Fix clash with
-       AARCH64_FEATURE_V8_1.
-       (AARCH64_ARCH_V8_1): Add AARCH64_FEATURE_CRC.
-       (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_CRC and
-       AARCH64_FEATURE_V8_1.
-
-2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * arc.h (arc_reloc_equiv_tab): Replace flagcode with flags[32].
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (aarch64_op): Add OP_BFC.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_F16): New.
-       (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_F16 to ARMv8.2
-       features.
-
-2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_V8_1): New.
-       (AARCH64_ARCH_v8_1): Add AARCH64_FEATURE_V8_1.
-
-2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm.h (ARM_EXT2_V8_2A): New.
-       (ARM_ARCH_V8_2A): New.
-
-2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_V8_2): New.
-       (AARCH64_ARCH_V8_2): New.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPCODE_POWER9): New define.
-       (PPC_OPCODE_VSX3): Likewise.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * rx.h (enum RX_Opcode_ID): Add more NOP opcodes.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * rx.h (enum RX_Operand_Type): Add RX_Operand_Zero_Indirect.
-
-2015-10-28  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64.h (aarch64_decode_insn): Update declaration.
-
-2015-10-07  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64.h (aarch64_sys_ins_reg) <template>: Removed.
-       <name>: New field.
-
-2015-10-07  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64.h [__cplusplus]: Wrap in extern "C".
-
-2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
-           Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * arc-func.h: New file.
-       * arc.h: Likewise.
-
-2015-10-02  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64.h (aarch64_zero_register_p): Move the declaration
-       to column one.
-
-2015-10-02  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64.h (aarch64_decode_insn): Declare it.
-
-2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * s390.h (S390_INSTR_FLAG_HTM): New flag.
-       (S390_INSTR_FLAG_VX): New flag.
-       (S390_INSTR_FLAG_FACILITY_MASK): New flag mask.
-
-2015-09-26  James Bowman  <james.bowman@ftdichip.com>
-
-       * ft32.h: Add instruction macros FT32_*()
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       * ppc.h (PPC_OPSHIFT_INV): Use an unsigned constant when left
-       shifting.
-
-2015-09-22  Nick Clifton  <nickc@redhat.com>
-
-       * rx.h (enum RX_Size): Add RX_Bad_Size entry.
-
-2015-09-09  Daniel Santos  <daniel.santos@pobox.com>
-
-       * visium.h (gen_reg_table): Make static.
-       (fp_reg_table): Likewise.
-       (cc_table): Likewise.
-
-2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm.h (ARM_AEXT_V6ZK): Rename to ARM_AEXT_V6KZ.
-       (ARM_AEXT_V6ZKT2): Rename to ARM_AEXT_V6KZT2.
-       (ARM_ARCH_V6ZK): Rename to ARM_ARCH_V6KZ.
-       (ARM_ARCH_V6ZKT2): Rename to ARM_ARCH_V6KZT2.
-
-2015-07-03  Alan Modra  <amodra@gmail.com>
-
-       * ppc.h (PPC_OPCODE_750, PPC_OPCODE_7450, PPC_OPCODE_860): Define.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * nios2.h (enum iw_format_type): Add R2 formats.
-       (enum overflow_type): Add signed_immed12_overflow and
-       enumeration_overflow for R2.
-       (struct nios2_opcode): Document new argument letters for R2.
-       (REG_3BIT, REG_LDWM, REG_POP): Define.
-       (includes): Include nios2r2.h.
-       (nios2_r2_opcodes, nios2_num_r2_opcodes): Declare.
-       (nios2_r2_asi_n_mappings, nios2_num_r2_asi_n_mappings): Declare.
-       (nios2_r2_shi_n_mappings, nios2_num_r2_shi_n_mappings): Declare.
-       (nios2_r2_andi_n_mappings, nios2_num_r2_andi_n_mappings): Declare.
-       (nios2_r2_reg3_mappings, nios2_num_r2_reg3_mappings): Declare.
-       (nios2_r2_reg_range_mappings, nios2_num_r2_reg_range_mappings):
-       Declare.
-       * nios2r2.h: New file.
-
-2015-06-19  Peter Bergner <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPERAND_OPTIONAL_VALUE): New.
-       (ppc_optional_operand_value): New inline function.
-
-2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_V8_1): New.
-
-2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm.h (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_1): New.
-       (ARM_ARCH_V8_1A): New.
-       (ARM_ARCH_V8_1A_FP): New.
-       (ARM_ARCH_V8_1A_SIMD): New.
-       (ARM_ARCH_V8_1A_CRYPTOV1): New.
-       (ARM_FEATURE_CORE): New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm.h (ARM_EXT2_PAN): New.
-       (ARM_FEATURE_CORE_HIGH): New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm.h (ARM_FEATURE_ALL): New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_RDMA): New.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_LOR): New.
-
-2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_PAN): New.
-       (aarch64_sys_reg_supported_p): Declare.
-       (aarch64_pstatefield_supported_p): Declare.
-
-2015-04-30  DJ Delorie  <dj@redhat.com>
-
-       * rl78.h (RL78_Dis_Isa): New.
-       (rl78_decode_opcode): Add ISA parameter.
-
-2015-03-24  Terry Guo  <terry.guo@arm.com>
-
-       * arm.h (arm_feature_set): Extended to provide more available bits.
-       (ARM_ANY): Updated to follow above new definition.
-       (ARM_CPU_HAS_FEATURE): Likewise.
-       (ARM_CPU_IS_ANY): Likewise.
-       (ARM_MERGE_FEATURE_SETS): Likewise.
-       (ARM_CLEAR_FEATURE): Likewise.
-       (ARM_FEATURE): Likewise.
-       (ARM_FEATURE_COPY): New macro.
-       (ARM_FEATURE_EQUAL): Likewise.
-       (ARM_FEATURE_ZERO): Likewise.
-       (ARM_FEATURE_CORE_EQUAL): Likewise.
-       (ARM_FEATURE_LOW): Likewise.
-       (ARM_FEATURE_CORE_LOW): Likewise.
-       (ARM_FEATURE_CORE_COPROC): Likewise.
-
-2015-02-19  Pedro Alves  <palves@redhat.com>
-
-       * cgen.h [__cplusplus]: Wrap in extern "C".
-       * msp430-decode.h [__cplusplus]: Likewise.
-       * nios2.h [__cplusplus]: Likewise.
-       * rl78.h [__cplusplus]: Likewise.
-       * rx.h [__cplusplus]: Likewise.
-       * tilegx.h [__cplusplus]: Likewise.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * ft32.h: New file.
-
-2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * s390.h (s390_opcode_cpu_val): Add S390_OPCODE_Z13.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-12-27  Anthony Green  <green@moxielogic.com>
-
-       * moxie.h (MOXIE_F1_AiB2, MOXIE_F1_ABi2): Renamed from
-       MOXIE_F1_AiB4 and MOXIE_F1_ABi2.
-
-2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * visium.h: New file.
-
-2014-11-28  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * nios2.h (NIOS2_INSN_ADDI, NIOS2_INSN_ANDI): Delete.
-       (NIOS2_INSN_ORI, NIOS2_INSN_XORI): Delete.
-       (NIOS2_INSN_OPTARG): Renumber.
-
-2014-11-21  Terry Guo  <terry.guo@arm.com>
-
-       * arm.h (FPU_VFP_EXT_ARMV8xD): New macro.
-       (FPU_VFP_V5D16): Likewise.
-       (FPU_VFP_V5_SP_D16): Likewise.
-       (FPU_ARCH_VFP_V5D16): Likewise.
-       (FPU_ARCH_VFP_V5_SP_D16): Likewise.
-
-2014-11-06  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * nios2.h (nios2_find_opcode_hash): Add mach parameter to
-       declaration.  Fix obsolete comment.
-
-2014-10-23  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * nios2.h (enum iw_format_type): New.
-       (struct nios2_opcode): Update comments.  Add size and format fields.
-       (NIOS2_INSN_OPTARG): New.
-       (REG_NORMAL, REG_CONTROL, REG_COPROCESSOR): New.
-       (struct nios2_reg): Add regtype field.
-       (GET_INSN_FIELD, SET_INSN_FIELD): Delete.
-       (IW_A_LSB, IW_A_MSB, IW_A_SZ, IW_A_MASK): Delete.
-       (IW_B_LSB, IW_B_MSB, IW_B_SZ, IW_B_MASK): Delete.
-       (IW_C_LSB, IW_C_MSB, IW_C_SZ, IW_C_MASK): Delete.
-       (IW_IMM16_LSB, IW_IMM16_MSB, IW_IMM16_SZ, IW_IMM16_MASK): Delete.
-       (IW_IMM26_LSB, IW_IMM26_MSB, IW_IMM26_SZ, IW_IMM26_MASK): Delete.
-       (IW_OP_LSB, IW_OP_MSB, IW_OP_SZ, IW_OP_MASK): Delete.
-       (IW_OPX_LSB, IW_OPX_MSB, IW_OPX_SZ, IW_OPX_MASK): Delete.
-       (IW_SHIFT_IMM5_LSB, IW_SHIFT_IMM5_MSB): Delete.
-       (IW_SHIFT_IMM5_SZ, IW_SHIFT_IMM5_MASK): Delete.
-       (IW_CONTROL_REGNUM_LSB, IW_CONTROL_REGNUM_MSB): Delete.
-       (IW_CONTROL_REGNUM_SZ, IW_CONTROL_REGNUM_MASK): Delete.
-       (OP_MASK_OP, OP_SH_OP): Delete.
-       (OP_MASK_IOP, OP_SH_IOP): Delete.
-       (OP_MASK_IRD, OP_SH_IRD): Delete.
-       (OP_MASK_IRT, OP_SH_IRT): Delete.
-       (OP_MASK_IRS, OP_SH_IRS): Delete.
-       (OP_MASK_ROP, OP_SH_ROP): Delete.
-       (OP_MASK_RRD, OP_SH_RRD): Delete.
-       (OP_MASK_RRT, OP_SH_RRT): Delete.
-       (OP_MASK_RRS, OP_SH_RRS): Delete.
-       (OP_MASK_JOP, OP_SH_JOP): Delete.
-       (OP_MASK_IMM26, OP_SH_IMM26): Delete.
-       (OP_MASK_RCTL, OP_SH_RCTL): Delete.
-       (OP_MASK_IMM5, OP_SH_IMM5): Delete.
-       (OP_MASK_CACHE_OPX, OP_SH_CACHE_OPX): Delete.
-       (OP_MASK_CACHE_RRS, OP_SH_CACHE_RRS): Delete.
-       (OP_MASK_CUSTOM_A, OP_SH_CUSTOM_A): Delete.
-       (OP_MASK_CUSTOM_B, OP_SH_CUSTOM_B): Delete.
-       (OP_MASK_CUSTOM_C, OP_SH_CUSTOM_C): Delete.
-       (OP_MASK_CUSTOM_N, OP_SH_CUSTOM_N): Delete.
-       (OP_<insn>, OPX_<insn>, OP_MATCH_<insn>, OPX_MATCH_<insn>): Delete.
-       (OP_MASK_<insn>, OP_MASK): Delete.
-       (GET_IW_A, GET_IW_B, GET_IW_C, GET_IW_CONTROL_REGNUM): Delete.
-       (GET_IW_IMM16, GET_IW_IMM26, GET_IW_OP, GET_IW_OPX): Delete.
-       Include nios2r1.h to define new instruction opcode constants
-       and accessors.
-       (nios2_builtin_opcodes): Rename to nios2_r1_opcodes.
-       (bfd_nios2_num_builtin_opcodes): Rename to nios2_num_r1_opcodes.
-       (bfd_nios2_num_opcodes): Rename to nios2_num_opcodes.
-       (NUMOPCODES, NUMREGISTERS): Delete.
-       * nios2r1.h: New file.
-
-2014-10-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * sparc.h (HWCAP2_VIS3B): Documentation improved.
-
-2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * sparc.h (sparc_opcode): new field `hwcaps2'.
-       (HWCAP2_FJATHPLUS): New define.
-       (HWCAP2_VIS3B): Likewise.
-       (HWCAP2_ADP): Likewise.
-       (HWCAP2_SPARC5): Likewise.
-       (HWCAP2_MWAIT): Likewise.
-       (HWCAP2_XMPMUL): Likewise.
-       (HWCAP2_XMONT): Likewise.
-       (HWCAP2_NSEC): Likewise.
-       (HWCAP2_FJATHHPC): Likewise.
-       (HWCAP2_FJDES): Likewise.
-       (HWCAP2_FJAES): Likewise.
-       Document the new operand kind `{', corresponding to the mcdper
-       ancillary state register.
-       Document the new operand kind }, which represents frsd floating
-       point registers (double precision) which must be the same than
-       frs1 in its containing instruction.
-
-2014-09-16  Kuan-Lin Chen <kuanlinchentw@gmail.com>
-
-       * nds32.h: Add new opcode declaration.
-
-2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h (mips_operand_type): Add new entries: OP_SAME_RS_RT,
-       OP_CHECK_PREV and OP_NON_ZERO_REG.  Add descriptions for the MIPS R6
-       instruction arguments: -a, -b, -d, -s, -t, -u, -v, -w, -x, -y, -A, -B,
-       +I, +O, +R, +:, +\, +", +;
-       (mips_check_prev_operand): New struct.
-       (INSN2_FORBIDDEN_SLOT): New define.
-       (INSN_ISA32R6): New define.
-       (INSN_ISA64R6): New define.
-       (INSN_UPTO32R6): New define.
-       (INSN_UPTO64R6): New define.
-       (mips_isa_table): Add INSN_UPTO32R6 and INSN_UPTO64R6.
-       (ISA_MIPS32R6): New define.
-       (ISA_MIPS64R6): New define.
-       (CPU_MIPS32R6): New define.
-       (CPU_MIPS64R6): New define.
-       (cpu_is_member): Add cases for CPU_MIPS32R6, and CPU_MIPS64R6.
-
-2014-09-03  Jiong Wang  <jiong.wang@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_LSE): New feature added.
-       (aarch64_opnd): Add AARCH64_OPND_PAIRREG.
-       (aarch64_insn_class): Add lse_atomic.
-       (F_LSE_SZ): New field added.
-       (opcode_has_special_coder): Recognize F_LSE_SZ.
-
-2014-08-26  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Document the move of `MICROMIPSOP_*_CODE10' from `B'
-       over to `+J'.
-
-2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * mips.h (INSN_LOAD_COPROC_DELAY): Rename to...
-       (INSN_LOAD_COPROC): New define.
-       (INSN_COPROC_MOVE_DELAY): Rename to...
-       (INSN_COPROC_MOVE): New define.
-
-2014-07-01  Barney Stratford   <barney_stratford@fastmail.fm>
-           Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-           Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
-           Soundararajan  <Sounderarajan.D@atmel.com>
-
-       * avr.h (AVR_ISA_TINY): Define avrtiny specific ISA.
-       (AVR_ISA_2xxxa): Define ISA without LPM.
-       (AVR_ISA_AVRTINY): Define avrtiny arch ISA.
-       Add doc for contraint used in 16 bit lds/sts.
-       Adjust ISA group for icall, ijmp, pop and push.
-       Add 16 bit lds/sts encoding and update 32 bit lds/sts constraints.
-
-2014-05-19  Nick Clifton  <nickc@redhat.com>
-
-       * msp430.h (struct msp430_operand_s): Add vshift field.
-
-2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * mips.h (INSN_ISA_MASK): Updated.
-       (INSN_ISA32R3): New define.
-       (INSN_ISA32R5): New define.
-       (INSN_ISA64R3): New define.
-       (INSN_ISA64R5): New define.
-       (INSN_ISA64, INSN_ISA64R2, INSN_ISA3_32, INSN_ISA3_32R2, INSN_ISA4_32
-       INSN_ISA4_32R2, INSN_ISA5_32R2): Renumbered.
-       (mips_isa_table): Add entries for mips32r3, mips32r5, mips64r3 and
-       mips64r5.
-       (INSN_UPTO32R3): New define.
-       (INSN_UPTO32R5): New define.
-       (INSN_UPTO64R3): New define.
-       (INSN_UPTO64R5): New define.
-       (ISA_MIPS32R3): New define.
-       (ISA_MIPS32R5): New define.
-       (ISA_MIPS64R3): New define.
-       (ISA_MIPS64R5): New define.
-       (CPU_MIPS32R3): New define.
-       (CPU_MIPS32R5): New define.
-       (CPU_MIPS64R3): New define.
-       (CPU_MIPS64R5): New define.
-
-2014-05-01  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (mips_isa_table): Avoid hard-coding INSN_ISA* values.
-
-2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * mips.h (ASE_XPA): New define.
-
-2014-04-22  Christian Svensson  <blue@cmd.nu>
-
-       * or32.h: Delete.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2013-12-16  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * mips.h: Updated description of +o, +u, +v and +w for MIPS and
-       microMIPS.
-
-2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
-           Wei-Cheng Wang  <cole945@gmail.com>
-
-       * nds32.h: New file for Andes NDS32.
-
-2013-12-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin.h: Remove +x file mode.
-
-2013-11-20  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (aarch64_pstatefields): Change element type to
-       aarch64_sys_reg.
-
-2013-11-18  Renlin Li  <Renlin.Li@arm.com>
-
-       * arm.h (ARM_AEXT_V7VE): New define.
-       (ARM_ARCH_V7VE): New define.
-       (ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): Removed.
-
-2013-11-18  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       Revert
-
-       2013-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (aarch64_sys_reg_readonly_p): New declaration.
-       (aarch64_sys_reg_writeonly_p): Ditto.
-
-2013-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (aarch64_sys_reg_readonly_p): New declaration.
-       (aarch64_sys_reg_writeonly_p): Ditto.
-
-2013-11-11  Catherine Moore  <clm@codesourcery.com>
-
-       * mips.h (INSN_LOAD_MEMORY_DELAY): Rename to...
-       (INSN_LOAD_MEMORY): ...this.
-
-2013-11-05  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (aarch64_sys_reg): New typedef.
-       (aarch64_sys_regs): Change to define with the new type.
-       (aarch64_sys_reg_deprecated_p): Declare.
-
-2013-11-05  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (enum aarch64_operand_class): Add AARCH64_OPND_CLASS_COND.
-       (enum aarch64_opnd): Add AARCH64_OPND_COND1.
-
-2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
-
-       * mips.h (mips_operand_type): Add OP_IMM_INDEX and OP_REG_INDEX.
-       (mips_reg_operand_type): Add OP_REG_MSA and OP_REG_MSA_CTRL.
-       For MIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w,
-       +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|.
-       For MIPS, update extension character sequences after +.
-       (ASE_MSA): New define.
-       (ASE_MSA64): New define.
-       For microMIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w,
-       +x, +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|.
-       For microMIPS, update extension character sequences after +.
-
-2013-08-23  Yuri Chornoivan  <yurchor@ukr.net>
-
-       PR binutils/15834
-       * i960.h: Fix typos.
-
-2013-08-19  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Remove references to "+I" and imm2_expr.
-
-2013-08-19  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (M_DEXT, M_DINS): Delete.
-
-2013-08-19  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (OP_OPTIONAL_REG): New mips_operand_type.
-       (mips_optional_operand_p): New function.
-
-2013-08-05  Eric Botcazou  <ebotcazou@adacore.com>
-           Konrad Eisele  <konrad@gaisler.com>
-
-       * sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON.
-
-2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
-           Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Document new VU0 operand characters.
-       (OP_VU0_SUFFIX, OP_VU0_MATCH_SUFFIX): New mips_operand_types.
-       (OP_REG_VF, OP_REG_VI, OP_REG_R5900_I, OP_REG_R5900_Q, OP_REG_R5900_R)
-       (OP_REG_R5900_ACC): New mips_reg_operand_types.
-       (INSN2_VU0_CHANNEL_SUFFIX): New macro.
-       (mips_vu0_channel_mask): Declare.
-
-2013-08-03  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (mips_pcrel_operand): Inherit from mips_int_operand.
-       (mips_int_operand_min, mips_int_operand_max): New functions.
-       (mips_decode_pcrel_operand): Use mips_decode_int_operand.
-
-2013-08-01  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (mips_decode_reg_operand): New function.
-       (INSN_WRITE_SHIFT, INSN_WRITE_1, INSN_WRITE_2, INSN_WRITE_ALL)
-       (INSN_READ_SHIFT, INSN_READ_1, INSN_READ_2, INSN_READ_3, INSN_READ_4)
-       (INSN_READ_ALL, INSN_READ_GPR_24, INSN_WRITE_GPR_24, INSN_UDI):
-       New macros.
-       (INSN_WRITE_GPR_D, INSN_WRITE_GPR_T, INSN_WRITE_FPR_D)
-       (INSN_WRITE_FPR_S, INSN_WRITE_FPR_T, INSN_READ_GPR_S, INSN_READ_GPR_T)
-       (INSN_READ_FPR_S, INSN_READ_FPR_T, INSN_READ_FPR_R, INSN_WRITE_GPR_S)
-       (INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z, INSN2_READ_GPR_Z)
-       (INSN2_READ_FPR_Z, INSN2_READ_GPR_D, INSN2_READ_FPR_D)
-       (INSN2_WRITE_GPR_MB, INSN2_READ_GPR_MC, INSN2_MOD_GPR_MD)
-       (INSN2_READ_GPR_ME, INSN2_MOD_GPR_MF, INSN2_READ_GPR_MG)
-       (INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ, INSN2_READ_GPR_MP)
-       (INSN2_WRITE_GPR_MP, INSN2_READ_GPR_MQ, INSN2_READ_GP)
-       (INSN2_WRITE_GPR_MH, INSN2_READ_GPR_MMN): Delete.  Renumber other
-       macros to cover the gaps.
-       (INSN2_MOD_SP): Replace with...
-       (INSN2_WRITE_SP, INSN2_READ_SP): ...these new macros.
-       (MIPS16_INSN_WRITE_X, MIPS16_INSN_WRITE_Y, MIPS16_INSN_WRITE_Z)
-       (MIPS16_INSN_WRITE_T, MIPS16_INSN_WRITE_31, MIPS16_INSN_WRITE_GPR_Y)
-       (MIPS16_INSN_READ_X, MIPS16_INSN_READ_Y, MIPS16_INSN_READ_Z)
-       (MIPS16_INSN_READ_T, MIPS16_INSN_READ_SP, MIPS16_INSN_READ_GPR_X):
-       Delete.
-
-2013-08-01  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (MIPS16_INSN_WRITE_SP, MIPS16_INSN_READ_31)
-       (MIPS16_INSN_READ_PC, MIPS16_INSN_UNCOND_BRANCH)
-       (MIPS16_INSN_COND_BRANCH): Delete.
-
-2013-07-24  Anna Tikhonova  <anna.tikhonova@intel.com>
-           Kirill Yukhin  <kirill.yukhin@intel.com>
-           Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
-
-       * i386.h (BND_PREFIX_OPCODE): New.
-
-2013-07-14  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (mips_operand_type): Add OP_ENTRY_EXIT_LIST and
-       OP_SAVE_RESTORE_LIST.
-       (decode_mips16_operand): Declare.
-
-2013-07-14  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (mips_operand_type, mips_reg_operand_type): New enums.
-       (mips_operand, mips_int_operand, mips_mapped_int_operand)
-       (mips_msb_operand, mips_reg_operand, mips_reg_pair_operand)
-       (mips_pcrel_operand): New structures.
-       (mips_insert_operand, mips_extract_operand, mips_signed_operand)
-       (mips_decode_int_operand, mips_decode_pcrel_operand): New functions.
-       (decode_mips_operand, decode_micromips_operand): Declare.
-
-2013-07-14  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Document MIPS16 "I" opcode.
-
-2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h (M_ACLR_OB, M_ASET_OB, M_CACHE_OB, M_CACHEE_OB, M_L_DOB)
-       (M_LB_A, M_LBE_OB, M_LBU_A, M_LBUE_OB, M_LD_A, M_LD_OB, M_LDC2_OB)
-       (M_LDL_OB, M_LDM_OB, M_LDP_OB, M_LDR_OB, M_LH_A, M_LHE_OB, M_LHU_A)
-       (M_LHUE_OB, M_LL_OB, M_LLD_OB, M_LLE_OB, M_LS_A, M_LW_A, M_LWE_OB)
-       (M_LWC0_A, M_LWC1_A, M_LWC2_A, M_LWC2_OB, M_LWC3_A, M_LWL_A, M_LWL_OB)
-       (M_LWLE_OB, M_LWM_OB, M_LWP_OB, M_LWR_A, M_LWR_OB, M_LWRE_OB, M_LWU_OB)
-       (M_PREF_OB, M_PREFE_OB, M_S_DOB, M_SAA_OB, M_SAAD_OB, M_SC_OB)
-       (M_SCD_OB, M_SCE_OB, M_SD_A, M_SD_OB, M_SDC2_OB, M_SDL_OB, M_SDM_OB)
-       (M_SDP_OB, M_SDR_OB, M_SB_A, M_SBE_OB, M_SH_A, M_SHE_OB, M_SW_A)
-       (M_SWE_OB, M_SWC0_A, M_SWC1_A, M_SWC2_A, M_SWC2_OB, M_SWC3_A, M_SWL_A)
-       (M_SWL_OB, M_SWLE_OB, M_SWM_OB, M_SWP_OB, M_SWR_A, M_SWR_OB, M_SWRE_OB)
-       (M_ULD, M_ULH, M_ULHU, M_ULW, M_USH, M_USW, M_USD): Delete.
-       (M_ULD_A, M_ULH_A, M_ULHU_A, M_ULW_A, M_USH_A, M_USW_A, M_USD_A):
-       Rename to...
-       (M_ULD_AB, M_ULH_AB, M_ULHU_AB, M_ULW_AB, M_USH_AB, M_USW_AB)
-       (M_USD_AB): ...these.
-
-2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Remove documentation of "[" and "]".  Update documentation
-       of "k" and the MDMX formats.
-
-2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Update documentation of "+s" and "+S".
-
-2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Document "+i".
-
-2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Remove "mi" documentation.  Update "mh" documentation.
-       (OP_MASK_MI, OP_SH_MI, MICROMIPSOP_MASK_MI, MICROMIPSOP_MASK_MI):
-       Delete.
-       (INSN2_WRITE_GPR_MHI): Rename to...
-       (INSN2_WRITE_GPR_MH): ...this.
-
-2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Remove documentation of "+D" and "+T".
-
-2013-06-26  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Fix comment for "1": it is now STYPE rather than SHAMT.
-       Use "source" rather than "destination" for microMIPS "G".
-
-2013-06-25  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Add M_JRADDIUSP, M_JRC and M_MOVEP anonymous enum
-       values.
-
-2013-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Fix comment typo: "G" is _RS rather than _RD for microMIPS.
-
-2013-06-17  Catherine Moore  <clm@codesourcery.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-           Chao-Ying Fu  <fu@mips.com>
-
-       * mips.h (OP_SH_EVAOFFSET): Define.
-       (OP_MASK_EVAOFFSET): Define.
-       (INSN_ASE_MASK): Delete.
-       (ASE_EVA): Define.
-       (M_CACHEE_AB, M_CACHEE_OB): New.
-       (M_LBE_OB, M_LBE_AB): New.
-       (M_LBUE_OB, M_LBUE_AB): New.
-       (M_LHE_OB, M_LHE_AB): New.
-       (M_LHUE_OB, M_LHUE_AB): New.
-       (M_LLE_AB, M_LLE_OB): New.
-       (M_LWE_OB, M_LWE_AB): New.
-       (M_LWLE_AB, M_LWLE_OB): New.
-       (M_LWRE_AB, M_LWRE_OB): New.
-       (M_PREFE_AB, M_PREFE_OB): New.
-       (M_SCE_AB, M_SCE_OB): New.
-       (M_SBE_OB, M_SBE_AB): New.
-       (M_SHE_OB, M_SHE_AB): New.
-       (M_SWE_OB, M_SWE_AB): New.
-       (M_SWLE_AB, M_SWLE_OB): New.
-       (M_SWRE_AB, M_SWRE_OB): New.
-       (MICROMIPSOP_SH_EVAOFFSET): Define.
-       (MICROMIPSOP_MASK_EVAOFFSET): Define.
-
-2013-06-12  Sandra Loosemore  <sandra@codesourcery.com>
-
-       * nios2.h (OP_MATCH_ERET): Correct eret encoding.
-
-2013-06-08  Catherine Moore  <clm@codesourcery.com>
-
-       * mips.h (mips_opcode): Add ase field.
-       (INSN_ASE_MASK): Delete.
-       (INSN_DSP): Rename to ASE_DSP.  Provide new value.
-       (INSN_DSPR2): Rename to ASE_DSPR2.  Provide new value.
-       (INSN_MCU): Rename to ASE_MCU.  Provide new value.
-       (INSN_MDMX): Rename to ASE_MDMX.  Provide new value.
-       (INSN_MIPS3d): Rename to ASE_MIPS3D.  Provide new value.
-       (INSN_MT): Rename to ASE_MT.  Provide new value.
-       (INSN_SMARTMIPS): Rename to ASE_SMARTMIPS.  Provide new value.
-       (INSN_VIRT): Rename to ASE_VIRT.  Provide new value.
-       (INSN_VIRT64): Rename to ASE_VIRT64.  Provide new value.
-       (opcode_is_member): Add ase argument.  Check ase.
-
-2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
-
-       * mips.h (M_LQC2_AB, M_SQC2_AB): New macros.
-
-2013-05-09  Andrew Pinski  <apinski@cavium.com>
-
-       * mips.h (OP_MASK_CODE10): Correct definition.
-       (OP_SH_CODE10): Likewise.
-       Add a comment that "+J" is used now for OP_*CODE10.
-       (INSN_ASE_MASK): Update.
-       (INSN_VIRT): New macro.
-       (INSN_VIRT64): New macro
-
-2013-05-02  Nick Clifton  <nickc@redhat.com>
-
-       * msp430.h: Add patterns for MSP430X instructions.
-
-2013-04-06  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (F_PREFERRED): Define.
-       (F_PREF_ALIAS): Define.
-
-2013-04-03  Nick Clifton  <nickc@redhat.com>
-
-       * v850.h (V850_INVERSE_PCREL): Define.
-
-2013-03-27  Alexis Deruelle  <alexis.deruelle@gmail.com>
-
-       PR binutils/15068
-       * tic6x-opcode-table.h: Fix patterns for add, ldnw and xor.
-
-2013-03-27  Alexis Deruelle  <alexis.deruelle@gmail.com>
-
-       PR binutils/15068
-       * tic6xc-insn-formats.h (FLD): Add use of bitfield array.
-       Add 16-bit opcodes.
-       * tic6xc-opcode-table.h: Add 16-bit insns.
-       * tic6x.h: Add support for 16-bit insns.
-
-2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
-
-       * h8300.h: Add MEMRELAX flag for mov.b/w/l @(d:32,ERs),Rd
-       and mov.b/w/l Rs,@(d:32,ERd).
-
-2013-03-20  Alexis Deruelle  <alexis.deruelle@gmail.com>
-
-       PR gas/15082
-       * tic6x-opcode-table.h: Rename mpydp's specific operand type macro
-       from ORREGD1324 to ORXREGD1324 and make it cross-path-able through
-       tic6x_operand_xregpair operand coding type.
-       Make mpydp instruction cross-path-able, ie: remove the FIXed 'x'
-       opcode field, usu ORXREGD1324 for the src2 operand and remove the
-       TIC6X_FLAG_NO_CROSS.
-
-2013-03-20  Alexis Deruelle  <alexis.deruelle@gmail.com>
-
-       PR gas/15095
-       * tic6x.h (enum tic6x_coding_method): Add
-       tic6x_coding_dreg_(msb|lsb) field coding type in order to encode
-       separately the msb and lsb of a register pair.  This is needed to
-       encode the opcodes in the same way as TI assembler does.
-       * tic6x-opcode-table.h: Modify absdp, dpint, dpsp, dptrunc, rcpdp
-       and rsqrdp opcodes to use the new field coding types.
-
-2013-03-12  Sebastian Huber <sebastian.huber@embedded-brains.de>
-
-       * nios2.h: Edit comment.
-
-2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
-
-       * nios2.h (OPX_WRPRS): New define.
-       (OP_MATCH_WRPRS): Likewise.
-
-2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
-
-       * nios2.h (OP_RDPRS): New define.
-       (OP_MATCH_RDPRS): Likewise.
-
-2013-03-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
-
-       * arm.h (CRC_EXT_ARMV8): New constant.
-       (ARCH_CRC_ARMV8): New macro.
-
-2013-02-28  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (AARCH64_FEATURE_CRC): New macro.
-
-2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
-           Andrew Jenner <andrew@codesourcery.com>
-
-       Based on patches from Altera Corporation.
-
-       * nios2.h: New file.
-
-2013-01-30  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (aarch64_op): Add OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2.
-
-2013-01-28  Alexis Deruelle  <alexis.deruelle@gmail.com>
-
-       PR gas/15069
-       * tic6x-opcode-table.h: Fix encoding of BNOP instruction.
-
-2013-01-24  Nick Clifton  <nickc@redhat.com>
-
-       * v850.h: Add e3v5 support.
-
-2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h (aarch64_op): Remove OP_V_MOVI_B.
-
-2013-01-10  Peter Bergner <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPCODE_POWER8): New define.
-       (PPC_OPCODE_HTM): Likewise.
-
-2013-01-10  Will Newton <will.newton@imgtec.com>
-
-       * metag.h: New file.
-
-2013-01-07  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
-
-       * cr16.h (make_instruction): Rename to cr16_make_instruction.
-       (match_opcode): Rename to cr16_match_opcode.
-
-2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
-
-       * mips.h: Add support for r5900 instructions including lq and sq.
-
-2013-01-02  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
-
-       * cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c
-       (make_instruction,match_opcode): Added function prototypes.
-       (cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.
-
-2012-12-17  Nick Clifton  <nickc@redhat.com>
-
-       * tahoe.h: Add copyright notice.
-
-2012-11-23  Alan Modra  <amodra@gmail.com>
-
-       * ppc.h (ppc_parse_cpu): Update prototype.
-
-2012-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
-       opcodes.  Likewise, use "cM" instead of "cm" in fstqs opcodes.
-
-2012-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h (s390_opcode_cpu_val): Add S390_OPCODE_ZEC12.
-
-2012-09-27  Anthony Green  <green@moxielogic.com>
-
-       * moxie.h (MOXIE_BAD): New define.
-
-2012-09-04  Sergey A. Guriev <sergey.a.guriev@intel.com>
-
-       * ia64.h (ia64_opnd): Add new operand types.
-
-2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_CPU_IS_ANY): New define.
-
-2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_EXT_V8): New define.
-       (FPU_VFP_EXT_ARMV8): Likewise.
-       (FPU_NEON_EXT_ARMV8): Likewise.
-       (FPU_CRYPTO_EXT_ARMV8): Likewise.
-       (ARM_AEXT_V8A): Likewise.
-       (FPU_VFP_ARMV8): Likwise.
-       (FPU_NEON_ARMV8): Likewise.
-       (FPU_CRYPTO_ARMV8): Likewise.
-       (FPU_ARCH_VFP_ARMV8): Likewise.
-       (FPU_ARCH_NEON_VFP_ARMV8): Likewise.
-       (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8): Likewise.
-       (ARM_ARCH_V8A): Likwise.
-       (ARM_ARCH_V8A_FP): Likewise.
-       (ARM_ARCH_V8A_SIMD): Likewise.
-       (ARM_ARCH_V8A_CRYPTO): Likewise.
-
-2012-08-21  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (F3F4): New macro.
-
-2012-08-13  Ian Bolton  <ian.bolton@arm.com>
-           Laurent Desnogues  <laurent.desnogues@arm.com>
-           Jim MacArthur  <jim.macarthur@arm.com>
-           Marcus Shawcroft  <marcus.shawcroft@arm.com>
-           Nigel Stephens  <nigel.stephens@arm.com>
-           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
-           Richard Earnshaw  <rearnsha@arm.com>
-           Sofiane Naci  <sofiane.naci@arm.com>
-           Tejas Belagod  <tejas.belagod@arm.com>
-           Yufeng Zhang  <yufeng.zhang@arm.com>
-
-       * aarch64.h: New file.
-
-2012-08-13  Richard Sandiford  <rdsandiford@googlemail.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (mips_opcode): Add the exclusions field.
-       (OPCODE_IS_MEMBER): Remove macro.
-       (cpu_is_member): New inline function.
-       (opcode_is_member): Likewise.
-
-2012-07-31  Chao-Ying Fu  <fu@mips.com>
-           Catherine Moore  <clm@codesourcery.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Document microMIPS DSP ASE usage.
-       (MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Update for
-       microMIPS DSP ASE support.
-       (MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
-       (MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
-       (MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
-       (MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
-       (MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
-       (MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
-       (MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.
-
-2012-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Fix a typo in description.
-
-2012-07-05  Sean Keys  <skeys@ipdatasys.com>
-
-       * xgate.h: Changed the format string for mode XGATE_OP_DYA_MON.
-
-2012-06-07  Georg-Johann Lay  <avr@gjlay.de>
-
-       * avr.h: (AVR_ISA_XCH): New define.
-       (AVR_ISA_XMEGA): Use it.
-       (XCH, LAS, LAT, LAC): New XMEGA opcodes.
-
-2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
-
-       * m68hc11.h: Add XGate definitions.
-       (struct m68hc11_opcode): Add xg_mask field.
-
-2012-05-14  Catherine Moore  <clm@codesourcery.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-           Rhonda Wittels  <rhonda@codesourcery.com>
-
-       * ppc.h (PPC_OPCODE_VLE): New definition.
-       (PPC_OP_SA): New macro.
-       (PPC_OP_SE_VLE): New macro.
-       (PPC_OP): Use a variable shift amount.
-       (powerpc_operand): Update comments.
-       (PPC_OPSHIFT_INV): New macro.
-       (PPC_OPERAND_CR): Replace with...
-       (PPC_OPERAND_CR_BIT): ...this and
-       (PPC_OPERAND_CR_REG): ...this.
-
-
-2012-05-03  Sean Keys  <skeys@ipdatasys.com>
-
-       * xgate.h: Header file for XGATE assembler.
-
-2012-04-27  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h: Document new arg code' )' for crypto RS3
-       immediates.
-
-       * sparc.h (struct sparc_opcode): New field 'hwcaps'.
-       F_MUL32, F_DIV32, F_FDMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
-       F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
-       F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING, F_HWCAP_MASK): Delete.
-       (HWCAP_MUL32, HWCAP_DIV32, HWCAP_FSMULD, HWCAP_V8PLUS, HWCAP_POPC,
-       HWCAP_VIS, HWCAP_VIS2, HWCAP_ASI_BLK_INIT, HWCAP_FMAF,
-       HWCAP_VIS3, HWCAP_HPC, HWCAP_RANDOM, HWCAP_TRANS, HWCAP_FJFMAU,
-       HWCAP_IMA, HWCAP_ASI_CACHE_SPARING, HWCAP_AES, HWCAP_DES,
-       HWCAP_KASUMI, HWCAP_CAMELLIA, HWCAP_MD5, HWCAP_SHA1,
-       HWCAP_SHA256, HWCAP_SHA512, HWCAP_MPMUL, HWCAP_MONT, HWCAP_PAUSE,
-       HWCAP_CBCOND, HWCAP_CRC32): New defines.
-
-2012-04-12  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h: Define '=' as generating R_SPARC_WDISP10.
-
-2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
-
-       * ppc.h: Add PPC_OPCODE_ALTIVEC2, PPC_OPCODE_E6500, PPC_OPCODE_TMR.
-
-2012-02-27  Alan Modra  <amodra@gmail.com>
-
-       * crx.h (cst4_map): Update declaration.
-
-2012-02-25  Walter Lee  <walt@tilera.com>
-
-       * tilegx.h (tilegx_mnemonic): Add TILEGX_OPC_LD4S_TLS,
-       TILEGX_OPC_LD_TLS.
-       * tilepro.h (tilepro_mnemonic): Add TILEPRO_OPC_LW_TLS,
-       TILEPRO_OPC_LW_TLS_SN.
-
-2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (XACQUIRE_PREFIX_OPCODE): New.
-       (XRELEASE_PREFIX_OPCODE): Likewise.
-
-2011-12-08  Andrew Pinski  <apinski@cavium.com>
-           Adam Nemet  <anemet@caviumnetworks.com>
-
-       * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEON2.
-       (INSN_OCTEON2): New macro.
-       (CPU_OCTEON2): New macro.
-       (OPCODE_IS_MEMBER): Add Octeon2.
-
-2011-11-29  Andrew Pinski  <apinski@cavium.com>
-
-       * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEONP.
-       (INSN_OCTEONP): New macro.
-       (CPU_OCTEONP): New macro.
-       (OPCODE_IS_MEMBER): Add Octeon+.
-       (M_SAA_AB, M_SAAD_AB, M_SAA_OB, M_SAAD_OB): New enum values.
-
-2011-11-01  DJ Delorie  <dj@redhat.com>
-
-       * rl78.h: New file.
-
-2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Fix a typo in description.
-
-2011-09-21  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h (struct sparc_opcode): Expand 'flags' to unsigned int.
-       (F_MUL32, F_DIV32, F_FSMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
-       F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
-       F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING): New flag bits.
-
-2011-08-09  Chao-ying Fu  <fu@mips.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (OP_MASK_3BITPOS, OP_SH_3BITPOS): New macros.
-       (OP_MASK_OFFSET12, OP_SH_OFFSET12): Redefine.
-       (INSN_ASE_MASK): Add the MCU bit.
-       (INSN_MCU): New macro.
-       (M_ACLR_AB, M_ACLR_OB, M_ASET_AB, M_ASET_OB): New enum values.
-       (MICROMIPSOP_MASK_3BITPOS, MICROMIPSOP_SH_3BITPOS): New macros.
-
-2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (INSN_WRITE_GPR_S, INSN2_WRITE_GPR_MB): New macros.
-       (INSN2_READ_GPR_MC, INSN2_READ_GPR_ME): Likewise.
-       (INSN2_WRITE_GPR_MF, INSN2_READ_GPR_MG): Likewise.
-       (INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ): Likewise.
-       (INSN2_READ_GPR_MP, INSN2_WRITE_GPR_MP): Likewise.
-       (INSN2_READ_GPR_MQ, INSN2_WRITE_GPR_MHI): Likewise.
-       (INSN2_READ_GPR_MMN): Likewise.
-       (INSN2_READ_FPR_D): Change the bit used.
-       (INSN2_MOD_GPR_MD, INSN2_MOD_GPR_MF): Likewise.
-       (INSN2_MOD_SP, INSN2_READ_GPR_31, INSN2_READ_GP): Likewise.
-       (INSN2_READ_PC, INSN2_UNCOND_BRANCH): Likewise.
-       (INSN2_COND_BRANCH): Likewise.
-       (INSN2_WRITE_GPR_S, INSN2_MOD_GPR_MB): Remove macros.
-       (INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG): Likewise.
-       (INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MP, INSN2_MOD_GPR_MQ): Likewise.
-       (INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MM): Likewise.
-       (INSN2_MOD_GPR_MN): Likewise.
-
-2011-08-05  David S. Miller  <davem@davemloft.net>
-
-       * sparc.h: Document new format codes '4', '5', and '('.
-       (OPF_LOW4, RS3): New macros.
-
-2011-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Document the use of FP_D in MIPS16 mode.  Adjust the
-       order of flags documented.
-
-2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h: Clarify the description of microMIPS instruction
-       manipulation macros.
-       (MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.
-
-2011-07-24  Chao-ying Fu  <fu@mips.com>
-           Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (OP_MASK_EXTLSB, OP_SH_EXTLSB): New macros.
-       (OP_MASK_STYPE, OP_SH_STYPE): Likewise.
-       (OP_MASK_CODE10, OP_SH_CODE10): Likewise.
-       (OP_MASK_TRAP, OP_SH_TRAP): Likewise.
-       (OP_MASK_OFFSET12, OP_SH_OFFSET12): Likewise.
-       (OP_MASK_OFFSET10, OP_SH_OFFSET10): Likewise.
-       (OP_MASK_RS3, OP_SH_RS3): Likewise.
-       (OP_MASK_MB, OP_SH_MB, OP_MASK_MC, OP_SH_MC): Likewise.
-       (OP_MASK_MD, OP_SH_MD, OP_MASK_ME, OP_SH_ME): Likewise.
-       (OP_MASK_MF, OP_SH_MF, OP_MASK_MG, OP_SH_MG): Likewise.
-       (OP_MASK_MJ, OP_SH_MJ, OP_MASK_ML, OP_SH_ML): Likewise.
-       (OP_MASK_MP, OP_SH_MP, OP_MASK_MQ, OP_SH_MQ): Likewise.
-       (OP_MASK_IMMA, OP_SH_IMMA, OP_MASK_IMMB, OP_SH_IMMB): Likewise.
-       (OP_MASK_IMMC, OP_SH_IMMC, OP_MASK_IMMF, OP_SH_IMMF): Likewise.
-       (OP_MASK_IMMG, OP_SH_IMMG, OP_MASK_IMMH, OP_SH_IMMH): Likewise.
-       (OP_MASK_IMMI, OP_SH_IMMI, OP_MASK_IMMJ, OP_SH_IMMJ): Likewise.
-       (OP_MASK_IMML, OP_SH_IMML, OP_MASK_IMMM, OP_SH_IMMM): Likewise.
-       (OP_MASK_IMMN, OP_SH_IMMN, OP_MASK_IMMO, OP_SH_IMMO): Likewise.
-       (OP_MASK_IMMP, OP_SH_IMMP, OP_MASK_IMMQ, OP_SH_IMMQ): Likewise.
-       (OP_MASK_IMMU, OP_SH_IMMU, OP_MASK_IMMW, OP_SH_IMMW): Likewise.
-       (OP_MASK_IMMX, OP_SH_IMMX, OP_MASK_IMMY, OP_SH_IMMY): Likewise.
-       (INSN_WRITE_GPR_S): New macro.
-       (INSN2_BRANCH_DELAY_16BIT, INSN2_BRANCH_DELAY_32BIT): Likewise.
-       (INSN2_READ_FPR_D): Likewise.
-       (INSN2_MOD_GPR_MB, INSN2_MOD_GPR_MC): Likewise.
-       (INSN2_MOD_GPR_MD, INSN2_MOD_GPR_ME): Likewise.
-       (INSN2_MOD_GPR_MF, INSN2_MOD_GPR_MG): Likewise.
-       (INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MP): Likewise.
-       (INSN2_MOD_GPR_MQ, INSN2_MOD_SP): Likewise.
-       (INSN2_READ_GPR_31, INSN2_READ_GP, INSN2_READ_PC): Likewise.
-       (INSN2_UNCOND_BRANCH, INSN2_COND_BRANCH): Likewise.
-       (INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MM, INSN2_MOD_GPR_MN): Likewise.
-       (CPU_MICROMIPS): New macro.
-       (M_BC1FL, M_BC1TL, M_BC2FL, M_BC2TL): New enum values.
-       (M_BEQL, M_BGEZ, M_BGEZL, M_BGEZALL, M_BGTZ, M_BGTZL): Likewise.
-       (M_BLEZ, M_BLEZL, M_BLTZ, M_BLTZL, M_BLTZALL, M_BNEL): Likewise.
-       (M_CACHE_OB, M_JALS_1, M_JALS_2, M_JALS_A): Likewise.
-       (M_LDC2_OB, M_LDL_OB, M_LDM_AB, M_LDM_OB): Likewise.
-       (M_LDP_AB, M_LDP_OB, M_LDR_OB, M_LL_OB, M_LLD_OB): Likewise.
-       (M_LWC2_OB, M_LWL_OB, M_LWM_AB, M_LWM_OB): Likewise.
-       (M_LWP_AB, M_LWP_OB, M_LWR_OB): Likewise.
-       (M_LWU_OB, M_PREF_OB, M_SC_OB, M_SCD_OB): Likewise.
-       (M_SDC2_OB, M_SDL_OB, M_SDM_AB, M_SDM_OB): Likewise.
-       (M_SDP_AB, M_SDP_OB, M_SDR_OB): Likewise.
-       (M_SWC2_OB, M_SWL_OB, M_SWM_AB, M_SWM_OB): Likewise.
-       (M_SWP_AB, M_SWP_OB, M_SWR_OB): Likewise.
-       (MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): New macros.
-       (MICROMIPSOP_MASK_IMMEDIATE, MICROMIPSOP_SH_IMMEDIATE): Likewise.
-       (MICROMIPSOP_MASK_DELTA, MICROMIPSOP_SH_DELTA): Likewise.
-       (MICROMIPSOP_MASK_CODE10, MICROMIPSOP_SH_CODE10): Likewise.
-       (MICROMIPSOP_MASK_TRAP, MICROMIPSOP_SH_TRAP): Likewise.
-       (MICROMIPSOP_MASK_SHAMT, MICROMIPSOP_SH_SHAMT): Likewise.
-       (MICROMIPSOP_MASK_TARGET, MICROMIPSOP_SH_TARGET): Likewise.
-       (MICROMIPSOP_MASK_EXTLSB, MICROMIPSOP_SH_EXTLSB): Likewise.
-       (MICROMIPSOP_MASK_EXTMSBD, MICROMIPSOP_SH_EXTMSBD): Likewise.
-       (MICROMIPSOP_MASK_INSMSB, MICROMIPSOP_SH_INSMSB): Likewise.
-       (MICROMIPSOP_MASK_CODE, MICROMIPSOP_SH_CODE): Likewise.
-       (MICROMIPSOP_MASK_CODE2, MICROMIPSOP_SH_CODE2): Likewise.
-       (MICROMIPSOP_MASK_CACHE, MICROMIPSOP_SH_CACHE): Likewise.
-       (MICROMIPSOP_MASK_SEL, MICROMIPSOP_SH_SEL): Likewise.
-       (MICROMIPSOP_MASK_OFFSET12, MICROMIPSOP_SH_OFFSET12): Likewise.
-       (MICROMIPSOP_MASK_3BITPOS, MICROMIPSOP_SH_3BITPOS): Likewise.
-       (MICROMIPSOP_MASK_STYPE, MICROMIPSOP_SH_STYPE): Likewise.
-       (MICROMIPSOP_MASK_OFFSET10, MICROMIPSOP_SH_OFFSET10): Likewise.
-       (MICROMIPSOP_MASK_RS, MICROMIPSOP_SH_RS): Likewise.
-       (MICROMIPSOP_MASK_RT, MICROMIPSOP_SH_RT): Likewise.
-       (MICROMIPSOP_MASK_RD, MICROMIPSOP_SH_RD): Likewise.
-       (MICROMIPSOP_MASK_FS, MICROMIPSOP_SH_FS): Likewise.
-       (MICROMIPSOP_MASK_FT, MICROMIPSOP_SH_FT): Likewise.
-       (MICROMIPSOP_MASK_FD, MICROMIPSOP_SH_FD): Likewise.
-       (MICROMIPSOP_MASK_FR, MICROMIPSOP_SH_FR): Likewise.
-       (MICROMIPSOP_MASK_RS3, MICROMIPSOP_SH_RS3): Likewise.
-       (MICROMIPSOP_MASK_PREFX, MICROMIPSOP_SH_PREFX): Likewise.
-       (MICROMIPSOP_MASK_BCC, MICROMIPSOP_SH_BCC): Likewise.
-       (MICROMIPSOP_MASK_CCC, MICROMIPSOP_SH_CCC): Likewise.
-       (MICROMIPSOP_MASK_COPZ, MICROMIPSOP_SH_COPZ): Likewise.
-       (MICROMIPSOP_MASK_MB, MICROMIPSOP_SH_MB): Likewise.
-       (MICROMIPSOP_MASK_MC, MICROMIPSOP_SH_MC): Likewise.
-       (MICROMIPSOP_MASK_MD, MICROMIPSOP_SH_MD): Likewise.
-       (MICROMIPSOP_MASK_ME, MICROMIPSOP_SH_ME): Likewise.
-       (MICROMIPSOP_MASK_MF, MICROMIPSOP_SH_MF): Likewise.
-       (MICROMIPSOP_MASK_MG, MICROMIPSOP_SH_MG): Likewise.
-       (MICROMIPSOP_MASK_MH, MICROMIPSOP_SH_MH): Likewise.
-       (MICROMIPSOP_MASK_MI, MICROMIPSOP_SH_MI): Likewise.
-       (MICROMIPSOP_MASK_MJ, MICROMIPSOP_SH_MJ): Likewise.
-       (MICROMIPSOP_MASK_ML, MICROMIPSOP_SH_ML): Likewise.
-       (MICROMIPSOP_MASK_MM, MICROMIPSOP_SH_MM): Likewise.
-       (MICROMIPSOP_MASK_MN, MICROMIPSOP_SH_MN): Likewise.
-       (MICROMIPSOP_MASK_MP, MICROMIPSOP_SH_MP): Likewise.
-       (MICROMIPSOP_MASK_MQ, MICROMIPSOP_SH_MQ): Likewise.
-       (MICROMIPSOP_MASK_IMMA, MICROMIPSOP_SH_IMMA): Likewise.
-       (MICROMIPSOP_MASK_IMMB, MICROMIPSOP_SH_IMMB): Likewise.
-       (MICROMIPSOP_MASK_IMMC, MICROMIPSOP_SH_IMMC): Likewise.
-       (MICROMIPSOP_MASK_IMMD, MICROMIPSOP_SH_IMMD): Likewise.
-       (MICROMIPSOP_MASK_IMME, MICROMIPSOP_SH_IMME): Likewise.
-       (MICROMIPSOP_MASK_IMMF, MICROMIPSOP_SH_IMMF): Likewise.
-       (MICROMIPSOP_MASK_IMMG, MICROMIPSOP_SH_IMMG): Likewise.
-       (MICROMIPSOP_MASK_IMMH, MICROMIPSOP_SH_IMMH): Likewise.
-       (MICROMIPSOP_MASK_IMMI, MICROMIPSOP_SH_IMMI): Likewise.
-       (MICROMIPSOP_MASK_IMMJ, MICROMIPSOP_SH_IMMJ): Likewise.
-       (MICROMIPSOP_MASK_IMML, MICROMIPSOP_SH_IMML): Likewise.
-       (MICROMIPSOP_MASK_IMMM, MICROMIPSOP_SH_IMMM): Likewise.
-       (MICROMIPSOP_MASK_IMMN, MICROMIPSOP_SH_IMMN): Likewise.
-       (MICROMIPSOP_MASK_IMMO, MICROMIPSOP_SH_IMMO): Likewise.
-       (MICROMIPSOP_MASK_IMMP, MICROMIPSOP_SH_IMMP): Likewise.
-       (MICROMIPSOP_MASK_IMMQ, MICROMIPSOP_SH_IMMQ): Likewise.
-       (MICROMIPSOP_MASK_IMMU, MICROMIPSOP_SH_IMMU): Likewise.
-       (MICROMIPSOP_MASK_IMMW, MICROMIPSOP_SH_IMMW): Likewise.
-       (MICROMIPSOP_MASK_IMMX, MICROMIPSOP_SH_IMMX): Likewise.
-       (MICROMIPSOP_MASK_IMMY, MICROMIPSOP_SH_IMMY): Likewise.
-       (MICROMIPSOP_MASK_CODE, MICROMIPSOP_SH_CODE): Likewise.
-       (MICROMIPSOP_MASK_CODE2, MICROMIPSOP_SH_CODE2): Likewise.
-       (MICROMIPSOP_MASK_CACHE, MICROMIPSOP_SH_CACHE): Likewise.
-       (MICROMIPSOP_MASK_CODE20, MICROMIPSOP_SH_CODE20): Likewise.
-       (MICROMIPSOP_MASK_PERFREG, MICROMIPSOP_SH_PERFREG): Likewise.
-       (MICROMIPSOP_MASK_CODE19, MICROMIPSOP_SH_CODE19): Likewise.
-       (MICROMIPSOP_MASK_ALN, MICROMIPSOP_SH_ALN): Likewise.
-       (MICROMIPSOP_MASK_VECBYTE, MICROMIPSOP_SH_VECBYTE): Likewise.
-       (MICROMIPSOP_MASK_VECALIGN, MICROMIPSOP_SH_VECALIGN): Likewise.
-       (MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Likewise.
-       (MICROMIPSOP_MASK_DSPACC_S, MICROMIPSOP_SH_DSPACC_S): Likewise.
-       (MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
-       (MICROMIPSOP_MASK_DSPSFT_7, MICROMIPSOP_SH_DSPSFT_7): Likewise.
-       (MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
-       (MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
-       (MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
-       (MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
-       (MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
-       (MICROMIPSOP_MASK_RDDSP, MICROMIPSOP_SH_RDDSP): Likewise.
-       (MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.
-       (MICROMIPSOP_MASK_MT_U, MICROMIPSOP_SH_MT_U): Likewise.
-       (MICROMIPSOP_MASK_MT_H, MICROMIPSOP_SH_MT_H): Likewise.
-       (MICROMIPSOP_MASK_MTACC_T, MICROMIPSOP_SH_MTACC_T): Likewise.
-       (MICROMIPSOP_MASK_MTACC_D, MICROMIPSOP_SH_MTACC_D): Likewise.
-       (MICROMIPSOP_MASK_BBITIND, MICROMIPSOP_SH_BBITIND): Likewise.
-       (MICROMIPSOP_MASK_CINSPOS, MICROMIPSOP_SH_CINSPOS): Likewise.
-       (MICROMIPSOP_MASK_CINSLM1, MICROMIPSOP_SH_CINSLM1): Likewise.
-       (MICROMIPSOP_MASK_SEQI, MICROMIPSOP_SH_SEQI): Likewise.
-       (micromips_opcodes): New declaration.
-       (bfd_micromips_num_opcodes): Likewise.
-
-2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (INSN_TRAP): Rename to...
-       (INSN_NO_DELAY_SLOT): ... this.
-       (INSN_SYNC): Remove macro.
-
-2011-07-01  Eric B. Weddington  <eric.weddington@atmel.com>
-
-       * avr.h (AVR_ISA_AVR6): Remove AVR_ISA_SPMX as it was actually
-       a duplicate of AVR_ISA_SPM.
-
-2011-07-01  Nick Clifton  <nickc@redhat.com>
-
-       * avr.h (AVR_ISA_AVR6): Fix typo, adding AVR_ISA_SPMX.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin.h (is_macmod_signed): New func
-
-2011-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin.h (is_macmod_pmove): Add missing space before func args.
-       (is_macmod_hmove): Likewise.
-
-2011-06-13  Walter Lee  <walt@tilera.com>
-
-       * tilegx.h: New file.
-       * tilepro.h: New file.
-
-2011-05-31  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (ARM_ARCH_V7R_IDIV): Define.
-
-2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h: Replace S390_OPERAND_REG_EVEN with
-       S390_OPERAND_REG_PAIR.
-
-2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h: Add S390_OPCODE_REG_EVEN flag.
-
-2011-04-18  Julian Brown  <julian@codesourcery.com>
-
-       * arm.h (ARM_AEXT_V7_ARM): Remove ARM_EXT_OS from bitmask.
-
-2011-04-11  Dan McDonald  <dan@wellkeeper.com>
-
-       PR gas/12296
-       * arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS.
-
-2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
-
-       * avr.h (AVR_ISA_SPMX,AVR_ISA_DES,AVR_ISA_M256,AVR_ISA_XMEGA):
-       New instruction set flags.
-       (AVR_INSN): Add new instructions for SPM Z+, DES for XMEGA.
-
-2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (M_PREF_AB): New enum value.
-
-2011-02-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin.h (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH,
-       M_IU): Define.
-       (is_macmod_pmove, is_macmod_hmove): New functions.
-
-2011-02-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin.h: Add OPCODE_BFIN_H ifdef multiple include protection.
-
-2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
-
-       * tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP.
-       * tic6x.h (TIC6X_INSN_ATOMIC): Remove.
-
-2010-12-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       PR gas/11395
-       * hppa.h (pa_opcodes): Revert last change.  Exchange 32 and 64-bit
-       "bb" entries.
-
-2010-12-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       PR gas/11395
-       * hppa.h: Clear "d" bit in "add" and "sub" patterns.
-
-2010-12-18  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Update commentary after last commit.
-
-2010-12-18  Mingjie Xing  <mingjie.xing@gmail.com>
-
-       * mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C)
-       (OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z)
-       (INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define.
-
-2010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.
-
-2010-11-23  Richard Sandiford  <rdsandiford@googlemail.com>
-
-       * mips.h: Fix previous commit.
-
-2010-11-23  Maciej W. Rozycki  <macro@linux-mips.org>
-
-       * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
-       (INSN_LOONGSON_3A): Clear bit 31.
-
-2010-11-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       PR gas/12198
-       * arm.h (ARM_AEXT_V6M_ONLY): New define.
-       (ARM_AEXT_V6M): Rewrite in terms of ARM_AEXT_V6M_ONLY.
-       (ARM_ARCH_V6M_ONLY): New define.
-
-2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
-
-       * mips.h (INSN_LOONGSON_3A): Defined.
-       (CPU_LOONGSON_3A): Defined.
-       (OPCODE_IS_MEMBER): Add LOONGSON_3A.
-
-2010-10-09  Matt Rice  <ratmice@gmail.com>
-
-       * cgen.h (CGEN_ATTR, CGEN_ATTR_TYPE): Rename bool attribute to bool_.
-       (CGEN_ATTR_BOOLS, CGEN_ATTR_CGEN_INSN_ALIAS_VALUE): Likewise.
-
-2010-09-29  Bernd Schmidt  <bernds@codesourcery.com>
-
-       * tic6x-control-registers.h (tscl): Now read_write.
-
-2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val.
-
-2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_EXT_VIRT): New define.
-       (ARM_ARCH_V7A_IDIV_MP_SEC): Rename...
-       (ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): ...to this and include Virtualization
-       Extensions.
-
-2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_AEXT_ADIV): New define.
-       (ARM_ARCH_V7A_IDIV_MP_SEC): Likewise.
-
-2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_EXT_OS): New define.
-       (ARM_AEXT_V6SM): Likewise.
-       (ARM_ARCH_V6SM): Likewise.
-
-2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * arm.h (ARM_EXT_MP): Add.
-       (ARM_ARCH_V7A_MP): Likewise.
-
-2010-09-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin.h: Declare pseudoChr structs/defines.
-
-2010-09-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin.h: Strip trailing whitespace.
-
-2009-09-04  Jie Zhang  <jie.zhang@analog.com>
-
-       * bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp.
-       (PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask): Define.
-       (PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask,
-       PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask):
-       Adjust accordingly.
-       (init_PseudoDbg_Assert): Add PseudoDbg_Assert_grp_bits and
-       PseudoDbg_Assert_grp_mask.
-
-2010-07-29  DJ Delorie  <dj@redhat.com>
-
-       * rx.h (RX_Operand_Type): Add TwoReg.
-       (RX_Opcode_ID): Remove ediv and ediv2.
-
-2010-07-27  DJ Delorie  <dj@redhat.com>
-
-       * rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.
-
-2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
-           Ina Pandit  <ina.pandit@kpitcummins.com>
-
-       * v850.h: Define PROCESSOR_MASK, PROCESSOR_OPTION_EXTENSION,
-       PROCESSOR_OPTION_ALIAS, PROCESSOR_V850E2, PROCESSOR_V850E2V3 and
-       PROCESSOR_V850E2_ALL.
-       Remove PROCESSOR_V850EA support.
-       (v850_operand): Define V850_OPERAND_EP, V850_OPERAND_FLOAT_CC,
-       V850_OPERAND_VREG, V850E_IMMEDIATE16, V850E_IMMEDIATE16HI,
-       V850E_IMMEDIATE23, V850E_IMMEDIATE32, V850_OPERAND_SIGNED,
-       V850_OPERAND_DISP, V850_PCREL, V850_REG_EVEN, V850E_PUSH_POP,
-       V850_NOT_IMM0, V850_NOT_SA, V850_OPERAND_BANG and
-       V850_OPERAND_PERCENT.
-       Update V850_OPERAND_SRG, V850_OPERAND_CC, V850_OPERAND_RELAX and
-       V850_NOT_R0.
-       Remove V850_OPERAND_SIGNED, V850_OPERAND_EP, V850_OPERAND_DISP
-       and V850E_PUSH_POP
-
-2010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
-
-       * mips.h (MIPS16_INSN_UNCOND_BRANCH): New macro.
-       (MIPS16_INSN_BRANCH): Rename to...
-       (MIPS16_INSN_COND_BRANCH): ... this.
-
-2010-07-03  Alan Modra  <amodra@gmail.com>
-
-       * ppc.h (PPC_OPCODE_32, PPC_OPCODE_BOOKE64, PPC_OPCODE_CLASSIC): Delete.
-       Renumber other PPC_OPCODE defines.
-
-2010-07-03  Alan Modra  <amodra@gmail.com>
-
-       * ppc.h (PPC_OPCODE_COMMON): Expand comment.
-
-2010-06-29  Alan Modra  <amodra@gmail.com>
-
-       * maxq.h: Delete file.
-
-2010-06-14  Sebastian Andrzej Siewior  <bigeasy@linutronix.de>
-
-       * ppc.h (PPC_OPCODE_E500): Define.
-
-2010-05-26  Catherine Moore  <clm@codesourcery.com>
-
-       * mips.h (INSN_MIPS16): Remove.
-
-2010-04-21  Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-insn-formats.h (s_branch): Correct typo in bitmask.
-
-2010-04-15  Nick Clifton  <nickc@redhat.com>
-
-       * alpha.h: Update copyright notice to use GPLv3.
-       * arc.h: Likewise.
-       * arm.h: Likewise.
-       * avr.h: Likewise.
-       * bfin.h: Likewise.
-       * cgen.h: Likewise.
-       * convex.h: Likewise.
-       * cr16.h: Likewise.
-       * cris.h: Likewise.
-       * crx.h: Likewise.
-       * d10v.h: Likewise.
-       * d30v.h: Likewise.
-       * dlx.h: Likewise.
-       * h8300.h: Likewise.
-       * hppa.h: Likewise.
-       * i370.h: Likewise.
-       * i386.h: Likewise.
-       * i860.h: Likewise.
-       * i960.h: Likewise.
-       * ia64.h: Likewise.
-       * m68hc11.h: Likewise.
-       * m68k.h: Likewise.
-       * m88k.h: Likewise.
-       * maxq.h: Likewise.
-       * mips.h: Likewise.
-       * mmix.h: Likewise.
-       * mn10200.h: Likewise.
-       * mn10300.h: Likewise.
-       * msp430.h: Likewise.
-       * np1.h: Likewise.
-       * ns32k.h: Likewise.
-       * or32.h: Likewise.
-       * pdp11.h: Likewise.
-       * pj.h: Likewise.
-       * pn.h: Likewise.
-       * ppc.h: Likewise.
-       * pyr.h: Likewise.
-       * rx.h: Likewise.
-       * s390.h: Likewise.
-       * score-datadep.h: Likewise.
-       * score-inst.h: Likewise.
-       * sparc.h: Likewise.
-       * spu-insns.h: Likewise.
-       * spu.h: Likewise.
-       * tic30.h: Likewise.
-       * tic4x.h: Likewise.
-       * tic54x.h: Likewise.
-       * tic80.h: Likewise.
-       * v850.h: Likewise.
-       * vax.h: Likewise.
-
-2010-03-25  Joseph Myers  <joseph@codesourcery.com>
-
-       * tic6x-control-registers.h, tic6x-insn-formats.h,
-       tic6x-opcode-table.h, tic6x.h: New.
-
-2010-02-25  Wu Zhangjin  <wuzhangjin@gmail.com>
-
-       * mips.h: (LOONGSON2F_NOP_INSN): New macro.
-
-2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
-
-       * ppc.h (PPC_OPCODE_TITAN): Define.
-
-2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ia64.h (ia64_find_opcode): Remove argument name.
-       (ia64_find_next_opcode): Likewise.
-       (ia64_dis_opcode): Likewise.
-       (ia64_free_opcode): Likewise.
-       (ia64_find_dependency): Likewise.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cgen.h: Include bfd_stdint.h.
-       (CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
-
-2009-11-18  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define.
-
-2009-11-17  Paul Brook  <paul@codesourcery.com>
-       Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * arm.h (ARM_EXT_V6_DSP): Define.
-       (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP.
-       (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define.
-
-2009-11-04  DJ Delorie  <dj@redhat.com>
-
-       * rx.h (rx_decode_opcode) (mvtipl): Add.
-       (mvtcp, mvfcp, opecp): Remove.
-
-2009-11-02  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA,
-       FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define.
-       (FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD,
-       FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16,
-       FPU_ARCH_NEON_VFP_V4): Define.
-
-2009-10-23  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-bitset.h: Delete, moved to ../cgen/bitset.h.
-       * cgen.h: Update.  Improve multi-inclusion macro name.
-
-2009-10-02  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPCODE_476): Define.
-
-2009-10-01  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.
-
-2009-09-29  DJ Delorie  <dj@redhat.com>
-
-       * rx.h: New file.
-
-2009-09-22  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (ppc_cpu_t): Typedef to uint64_t.
-
-2009-09-21  Ben Elliston  <bje@au.ibm.com>
-
-       * ppc.h (PPC_OPCODE_PPCA2): New.
-
-2009-09-05  Martin Thuresson  <martin@mtme.org>
-
-       * ia64.h (struct ia64_operand): Renamed member class to op_class.
-
-2009-08-29  Martin Thuresson  <martin@mtme.org>
-
-       * tic30.h (template): Rename type template to
-       insn_template. Updated code to use new name.
-       * tic54x.h (template): Rename type template to
-       insn_template.
-
-2009-08-20  Nick Hudson  <nick.hudson@gmx.co.uk>
-
-       * hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
-
-2009-06-11  Anthony Green  <green@moxielogic.com>
-
-       * moxie.h (MOXIE_F3_PCREL): Define.
-       (moxie_form3_opc_info): Grow.
-
-2009-06-06  Anthony Green  <green@moxielogic.com>
-
-       * moxie.h (MOXIE_F1_M): Define.
-
-2009-04-15  Anthony Green  <green@moxielogic.com>
-
-       * moxie.h: Created.
-
-2009-04-06  DJ Delorie  <dj@redhat.com>
-
-       * h8300.h: Add relaxation attributes to MOVA opcodes.
-
-2009-03-10  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (ppc_parse_cpu): Declare.
-
-2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
-
-       * score-inst.h (score_insn_type, score_data_type): Add Ra_I9_I5
-       and _IMM11 for mbitclr and mbitset.
-       * score-datadep.h: Update dependency information.
-
-2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPCODE_POWER7): New.
-
-2009-02-06  Doug Evans  <dje@google.com>
-
-       * i386.h: Add comment regarding sse* insns and prefixes.
-
-2009-02-03  Sandip Matte  <sandip@rmicorp.com>
-
-       * mips.h (INSN_XLR): Define.
-       (INSN_CHIP_MASK): Update.
-       (CPU_XLR): Define.
-       (OPCODE_IS_MEMBER): Update.
-       (M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define.
-
-2009-01-28  Doug Evans  <dje@google.com>
-
-       * i386.h: Add multiple inclusion protection.
-       (EAX_REG_NUM,ECX_REG_NUM,EDX_REGNUM,EBX_REG_NUM,ESI_REG_NUM)
-       (EDI_REG_NUM): New macros.
-       (MODRM_MOD_FIELD,MODRM_REG_FIELD,MODRM_RM_FIELD): New macros.
-       (SIB_SCALE_FIELD,SIB_INDEX_FIELD,SIB_BASE_FIELD): New macros.
-       (REX_PREFIX_P): New macro.
-
-2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (struct powerpc_opcode): New field "deprecated".
-       (PPC_OPCODE_NOPOWER4): Delete.
-
-2008-11-28  Joshua Kinard  <kumba@gentoo.org>
-
-       * mips.h: Define CPU_R14000, CPU_R16000.
-       (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
-
-2008-11-18  Catherine Moore  <clm@codesourcery.com>
-
-       * arm.h (FPU_NEON_FP16): New.
-       (FPU_ARCH_NEON_FP16): New.
-
-2008-11-06  Chao-ying Fu  <fu@mips.com>
-
-       * mips.h: Doucument '1' for 5-bit sync type.
-
-2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ia64.h (ia64_resource_specifier): Add IA64_RS_CR_IIB.  Update
-       IA64_RS_CR.
-
-2008-08-08  Anatoly Sokolov  <aesok@post.ru>
-
-       * avr.h (AVR_ISA_TINY3, AVR_ISA_ALL, AVR_ISA_USB162): Remove.
-       (AVR_ISA_AVR3): Redefine.
-       (AVR_ISA_AVR1, AVR_ISA_AVR2, AVR_ISA_AVR31, AVR_ISA_AVR35,
-       AVR_ISA_AVR3_ALL, AVR_ISA_AVR4, AVR_ISA_AVR5, AVR_ISA_AVR51,
-       AVR_ISA_AVR6): Define.
-
-2008-08-01  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (PPC_OPCODE_VSX, PPC_OPERAND_VSR): New.
-
-2008-07-30  Michael J. Eager  <eager@eagercon.com>
-
-       * ppc.h (PPC_OPCODE_405): Define.
-       (PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define.
-
-2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc.h (ppc_cpu_t): New typedef.
-       (struct powerpc_opcode <flags>): Use it.
-       (struct powerpc_operand <insert, extract>): Likewise.
-       (struct powerpc_macro <flags>): Likewise.
-
-2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
-
-       * mips.h: Document new field descriptors +x, +X, +p, +P, +s, +S.
-       Update comment before MIPS16 field descriptors to mention MIPS16.
-       (OP_SH_BBITIND, OP_MASK_BBITIND): New bit mask and shift count for
-       BBIT.
-       (OP_SH_CINSPOS, OP_MASK_CINSPOS, OP_SH_CINSLM1, OP_MASK_CINSLM1):
-       New bit masks and shift counts for cins and exts.
-
-       * mips.h: Document new field descriptors +Q.
-       (OP_SH_SEQI, OP_MASK_SEQI): New bit mask and shift count for SEQI.
-
-2008-04-28  Adam Nemet  <anemet@caviumnetworks.com>
-
-       * mips.h (INSN_MACRO): Move it up to the pinfo macros.
-       (INSN2_M_FP_S, INSN2_M_FP_D): New pinfo2 macros.
-
-2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
-
-       * ppc.h: (PPC_OPCODE_E500MC): New.
-
-2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (MAX_OPERANDS): Set to 5.
-       (MAX_MNEM_SIZE): Changed to 20.
-
-2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
-
-       * avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167.
-
-2008-03-09  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (FPU_VFP_EXT_D32, FPU_VFP_V3D16, FPU_ARCH_VFP_V3D16): Define.
-
-2008-03-04  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (ARM_EXT_V6M, ARM_EXT_BARRIER, ARM_EXT_THUMB_MSR): Define.
-       (ARM_AEXT_V6T2, ARM_AEXT_V7_ARM, ARM_AEXT_V7M): Use new flags.
-       (ARM_AEXT_V6M, ARM_ARCH_V6M): Define.
-
-2008-02-27  Denis Vlasenko  <vda.linux@googlemail.com>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR 3134
-       * h8300.h (h8_opcodes): Add an encoding for a mov.l instruction
-       with a 32-bit displacement but without the top bit of the 4th byte
-       set.
-
-2008-02-18  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * cr16.h (cr16_num_optab): Declared.
-
-2008-02-14  Hakan Ardo  <hakan@debian.org>
-
-       PR gas/2626
-       * avr.h (AVR_ISA_2xxe): Define.
-
-2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
-
-       * mips.h: Update copyright.
-       (INSN_CHIP_MASK): New macro.
-       (INSN_OCTEON): New macro.
-       (CPU_OCTEON): New macro.
-       (OPCODE_IS_MEMBER): Handle Octeon instructions.
-
-2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
-
-       * avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.
-
-2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>
-
-       * avr.h (AVR_ISA_USB162): Add new opcode set.
-       (AVR_ISA_AVR3): Likewise.
-
-2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * mips.h (INSN_LOONGSON_2E): New.
-       (INSN_LOONGSON_2F): New.
-       (CPU_LOONGSON_2E): New.
-       (CPU_LOONGSON_2F): New.
-       (OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.
-
-2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * mips.h (INSN_ISA*): Redefine certain values as an
-       enumeration.  Update comments.
-       (mips_isa_table): New.
-       (ISA_MIPS*): Redefine to match enumeration.
-       (OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
-       values.
-
-2007-08-08  Ben Elliston  <bje@au.ibm.com>
-
-       * ppc.h (PPC_OPCODE_PPCPS): New.
-
-2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h: Document j K & E.
-
-2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
-
-       * cr16.h: New file for CR16 target.
-
-2007-05-02  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (PPC_OPERAND_PLUS1): Update comment.
-
-2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h (mcfisa_c): New.
-       (mcfusp, mcf_mask): Adjust.
-
-2007-04-20  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (struct powerpc_operand): Replace "bits" with "bitm".
-       (num_powerpc_operands): Declare.
-       (PPC_OPERAND_SIGNED et al): Redefine as hex.
-       (PPC_OPERAND_PLUS1): Define.
-
-2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (REX_MODE64): Renamed to ...
-       (REX_W): This.
-       (REX_EXTX): Renamed to ...
-       (REX_R): This.
-       (REX_EXTY): Renamed to ...
-       (REX_X): This.
-       (REX_EXTZ): Renamed to ...
-       (REX_B): This.
-
-2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h: Add entries from config/tc-i386.h and move tables
-       to opcodes/i386-opc.h.
-
-2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (FloatDR): Removed.
-       (i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
-
-2007-03-01  Alan Modra  <amodra@bigpond.net.au>
-
-       * spu-insns.h: Add soma double-float insns.
-
-2007-02-20  Thiemo Seufer  <ths@mips.com>
-           Chao-Ying Fu  <fu@mips.com>
-
-       * mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
-       (INSN_DSPR2): Add flag for DSP R2 instructions.
-       (M_BALIGN): New macro.
-
-2007-02-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * i386.h (i386_optab): Replace all occurrences of Seg2ShortForm
-       and Seg3ShortFrom with Shortform.
-
-2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/4027
-       * i386.h (i386_optab): Put the real "test" before the pseudo
-       one.
-
-2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (m68010up): OR fido_a.
-
-2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (fido_a): New.
-
-2006-12-24  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
-       mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
-       values.
-
-2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Replace CpuPNI with CpuSSE3.
-
-2006-10-31  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score-inst.h (enum score_insn_type): Add Insn_internal.
-
-2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
-           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
-           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
-           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       * spu-insns.h: New file.
-       * spu.h: New file.
-
-2006-10-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-
-       * ppc.h (PPC_OPCODE_CELL): Define.
-
-2006-10-23  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
-
-       * i386.h :  Modify opcode to support for the change in POPCNT opcode
-       in amdfam10 architecture.
-
-2006-09-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h: Replace CpuMNI with CpuSSSE3.
-
-2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-           Ian Lance Taylor  <ian@wasabisystems.com>
-           Ben Elliston  <bje@wasabisystems.com>
-
-       * arm.h (ARM_CEXT_IWMMXT2, ARM_ARCH_IWMMXT2): Define.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score-datadep.h: New file.
-       * score-inst.h: New file.
-
-2006-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Remove InvMem from maskmovq, movhlps,
-       movlhps, movmskps, pextrw, pmovmskb, movmskpd, maskmovdqu,
-       movdq2q and movq2dq.
-
-2006-07-10 Dwarakanath Rajagopal       <dwarak.rajagopal@amd.com>
-          Michael Meissner             <michael.meissner@amd.com>
-
-       * i386.h: Add amdfam10 new instructions (SSE4a and ABM instructions).
-
-2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Add "nop" with memory reference.
-
-2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Update comment for 64bit NOP.
-
-2006-06-06  Ben Elliston  <bje@au.ibm.com>
-           Anton Blanchard  <anton@samba.org>
-
-       * ppc.h (PPC_OPCODE_POWER6): Define.
-       Adjust whitespace.
-
-2006-06-05  Thiemo Seufer  <ths@mips.com>
-
-       * mips.h: Improve description of MT flags.
-
-2006-05-25  Richard Sandiford  <richard@codesourcery.com>
-
-       * m68k.h (mcf_mask): Define.
-
-2006-05-05  Thiemo Seufer  <ths@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * mips.h (enum): Add macro M_CACHE_AB.
-
-2006-05-04  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * mips.h: Add INSN_SMARTMIPS define.
-
-2006-04-30  Thiemo Seufer  <ths@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * mips.h: Defines udi bits and masks.  Add description of
-       characters which may appear in the args field of udi
-       instructions.
-
-2006-04-26  Thiemo Seufer  <ths@networkno.de>
-
-       * mips.h: Improve comments describing the bitfield instruction
-       fields.
-
-2006-04-26  Julian Brown  <julian@codesourcery.com>
-
-       * arm.h (FPU_VFP_EXT_V3): Define constant.
-       (FPU_NEON_EXT_V1): Likewise.
-       (FPU_VFP_HARD): Update.
-       (FPU_VFP_V3): Define macro.
-       (FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.
-
-2006-04-07  Joerg Wunsch  <j.gnu@uriah.heep.sax.de>
-
-       * avr.h (AVR_ISA_PWMx): New.
-
-2006-03-28  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h (cpu_m68k, cpu_cf, cpu_m68000, cpu_m68008, cpu_m68010,
-       cpu_m68020, cpu_m68ec030, cpu_m68040, cpu_m68060, cpu_m68851,
-       cpu_m68881, cpu_m68882, cpu_cpu32, cpu_cf5200, cpu_cf5206e,
-       cpu_cf5208, cpu_cf521x, cpu_cf5213, cpu_cf5249, cpu_cf528x,
-       cpu_cf5307, cpu_cf5329, cpu_cf5407, cpu_cf547x, cpu_cf548x): Remove.
-
-2006-03-10  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
-
-2006-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
-       first.  Correct mask of bb "B" opcode.
-
-2006-02-27  H.J. Lu <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Support Intel Merom New Instructions.
-
-2006-02-24  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h: Add V7 feature bits.
-
-2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ia64.h (ia64_opnd): Add IA64_OPND_IMMU5b.
-
-2006-01-31  Paul Brook  <paul@codesourcery.com>
-       Richard Earnshaw <rearnsha@arm.com>
-
-       * arm.h: Use ARM_CPU_FEATURE.
-       (ARM_AEXT_*, FPU_ENDIAN_PURE, FPU_VFP_HARD): New.
-       (arm_feature_set): Change to a structure.
-       (ARM_CPU_HAS_FEATURE, ARM_MERGE_FEATURE_SETS, ARM_CLEAR_FEATURE,
-       ARM_FEATURE): New macros.
-
-2005-12-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
-       (MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
-       (ADD_PC_INCR_OPCODE): Don't define.
-
-2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/1874
-       * i386.h (i386_optab): Add 64bit support for monitor and mwait.
-
-2005-11-14  David Ung  <davidu@mips.com>
-
-       * mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
-       instructions.  Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
-       save/restore encoding of the args field.
-
-2005-10-28  Dave Brolley  <brolley@redhat.com>
-
-       Contribute the following changes:
-       2005-02-16  Dave Brolley  <brolley@redhat.com>
-
-       * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
-       cgen_isa_mask_* to cgen_bitset_*.
-       * cgen.h: Likewise.
-
-       2003-10-21  Richard Sandiford  <rsandifo@redhat.com>
-
-       * cgen.h (CGEN_BITSET_ATTR_VALUE): Fix definition.
-       (CGEN_ATTR_ENTRY): Change "value" to type "unsigned".
-       (CGEN_CPU_TABLE): Make isas a ponter.
-
-       2003-09-29  Dave Brolley  <brolley@redhat.com>
-
-       * cgen.h (CGEN_ATTR_VALUE_BITSET_TYPE): New typedef.
-       (CGEN_ATTR_VALUE_ENUM_TYPE): Ditto.
-       (CGEN_ATTR_VALUE_TYPE): Use these new typedefs.
-
-       2002-12-13  Dave Brolley  <brolley@redhat.com>
-
-       * cgen.h (symcat.h): #include it.
-       (cgen-bitset.h): #include it.
-       (CGEN_ATTR_VALUE_TYPE): Now a union.
-       (CGEN_ATTR_VALUE): Reference macros generated in opcodes/<arch>-desc.h.
-       (CGEN_ATTR_ENTRY): 'value' now unsigned.
-       (cgen_cpu_desc): 'isas' now (CGEN_ISA_MASK*).
-       * cgen-bitset.h: New file.
-
-2005-09-30  Catherine Moore  <clm@cm00re.com>
-
-       * bfin.h: New file.
-
-2005-10-24  Jan Beulich  <jbeulich@novell.com>
-
-       * ia64.h (enum ia64_opnd): Move memory operand out of set of
-       indirect operands.
-
-2005-10-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcodes): Add two fcmp opcodes.  Reorder ftest opcodes.
-       Add FLAG_STRICT to pa10 ftest opcode.
-
-2005-10-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcodes): Remove lha entries.
-
-2005-10-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (FLAG_STRICT): Revise comment.
-       (pa_opcode): Revise ordering rules.  Add/move strict pa10 variants
-       before corresponding pa11 opcodes.  Add strict pa10 register-immediate
-       entries for "fdc".
-
-2005-09-30  Catherine Moore  <clm@cm00re.com>
-
-       * bfin.h: New file.
-
-2005-09-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
-
-2005-09-06  Chao-ying Fu  <fu@mips.com>
-
-       * mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
-       OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
-       define.
-       Document !, $, *, &, g, +t, +T operand formats for MT instructions.
-       (INSN_ASE_MASK): Update to include INSN_MT.
-       (INSN_MT): New define for MT ASE.
-
-2005-08-25  Chao-ying Fu  <fu@mips.com>
-
-       * mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
-       OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
-       OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
-       OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
-       OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
-       Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
-       instructions.
-       (INSN_DSP): New define for DSP ASE.
-
-2005-08-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * a29k.h: Delete.
-
-2005-08-15  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * ppc.h (PPC_OPCODE_E300): Define.
-
-2005-08-12 Martin Schwidefsky  <schwidefsky@de.ibm.com>
-
-       * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
-
-2005-07-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       PR gas/336
-       * hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb
-       and pitlb.
-
-2005-07-27  Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (i386_optab): Add comment to movd. Use LongMem for all
-       movd-s. Add NoRex64 to movq-s dealing only with mmx or xmm registers.
-       Add movq-s as 64-bit variants of movd-s.
-
-2005-07-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h: Fix punctuation in comment.
-
-       * hppa.h (pa_opcode):  Add rules for opcode ordering.  Check first for
-       implicit space-register addressing.  Set space-register bits on opcodes
-       using implicit space-register addressing.  Add various missing pa20
-       long-immediate opcodes.  Remove various opcodes using implicit 3-bit
-       space-register addressing.  Use "fE" instead of "fe" in various
-       fstw opcodes.
-
-2005-07-18  Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (i386_optab): Operands of aam and aad are unsigned.
-
-2007-07-15  H.J. Lu <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Support Intel VMX Instructions.
-
-2005-07-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcode): Don't set FLAG_STRICT in pa10 loads and stores.
-
-2005-07-05  Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (i386_optab): Add new insns.
-
-2005-07-01  Nick Clifton  <nickc@redhat.com>
-
-       * sparc.h: Add typedefs to structure declarations.
-
-2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR 1013
-       * i386.h (i386_optab): Update comments for 64bit addressing on
-       mov. Allow 64bit addressing for mov and movq.
-
-2005-06-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
-       respectively, in various floating-point load and store patterns.
-
-2005-05-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * hppa.h (FLAG_STRICT): Correct comment.
-       (pa_opcodes): Update load and store entries to allow both PA 1.X and
-       PA 2.0 mneumonics when equivalent.  Entries with cache control
-       completers now require PA 1.1.  Adjust whitespace.
-
-2005-05-19  Anton Blanchard  <anton@samba.org>
-
-       * ppc.h (PPC_OPCODE_POWER5): Define.
-
-2005-05-10  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       a29k.h, alpha.h, arc.h, arm.h, avr.h, cgen.h, convex.h, cris.h,
-       crx.h, d10v.h, d30v.h, dlx.h, h8300.h, hppa.h, i370.h, i386.h,
-       i860.h, i960.h, m68hc11.h, m68k.h, m88k.h, maxq.h, mips.h, mmix.h,
-       mn10200.h, mn10300.h, msp430.h, np1.h, ns32k.h, or32.h, pdp11.h,
-       pj.h, pn.h, ppc.h, pyr.h, s390.h, sparc.h, tic30.h, tic4x.h,
-       tic54x.h, tic80.h, v850.h, vax.h
-
-2005-05-09  Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (i386_optab): Add ht and hnt.
-
-2005-04-18  Mark Kettenis  <kettenis@gnu.org>
-
-       * i386.h: Insert hyphens into selected VIA PadLock extensions.
-       Add xcrypt-ctr.  Provide aliases without hyphens.
-
-2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       Moved from ../ChangeLog
-
-       2005-04-12  Paul Brook  <paul@codesourcery.com>
-       * m88k.h: Rename psr macros to avoid conflicts.
-
-       2005-03-12  Zack Weinberg  <zack@codesourcery.com>
-       * arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
-       Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
-       and ARM_ARCH_V6ZKT2.
-
-       2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>
-       * crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
-       Remove redundant instruction types.
-       (struct argument): X_op - new field.
-       (struct cst4_entry): Remove.
-       (no_op_insn): Declare.
-
-       2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>
-       * crx.h (enum argtype): Rename types, remove unused types.
-
-       2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>
-       * crx.h (enum reg): Rearrange registers, remove 'ccfg' and `'pc'.
-       (enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
-       (enum operand_type): Rearrange operands, edit comments.
-       replace us<N> with ui<N> for unsigned immediate.
-       replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped
-       displacements (respectively).
-       replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
-       (instruction type): Add NO_TYPE_INS.
-       (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
-       (operand_entry): New field - 'flags'.
-       (operand flags): New.
-
-       2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>
-       * crx.h (operand_type): Remove redundant types i3, i4,
-       i5, i8, i12.
-       Add new unsigned immediate types us3, us4, us5, us16.
-
-2005-04-12  Mark Kettenis  <kettenis@gnu.org>
-
-       * i386.h (i386_optab): Mark VIA PadLock instructions as ImmExt and
-       adjust them accordingly.
-
-2005-04-01  Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (i386_optab): Add rdtscp.
-
-2005-03-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Don't allow the `l' suffix for moving
-       between memory and segment register. Allow movq for moving between
-       general-purpose register and segment register.
-
-2005-02-09  Jan Beulich  <jbeulich@novell.com>
-
-       PR gas/707
-       * i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
-       FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
-       fnstsw.
-
-2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k.h (m68008, m68ec030, m68882): Remove.
-       (m68k_mask): New.
-       (cpu_m68k, cpu_cf): New.
-       (mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407,
-       mcf5470, mcf5480): Rename to cpu_<foo>. Add m680x0 variants.
-
-2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
-
-       2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
-       * cgen.h (enum cgen_parse_operand_type): Add
-       CGEN_PARSE_OPERAND_SYMBOLIC.
-
-2005-01-21  Fred Fish  <fnf@specifixinc.com>
-
-       * mips.h: Change INSN_ALIAS to INSN2_ALIAS.
-       Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
-       Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
-
-2005-01-19  Fred Fish  <fnf@specifixinc.com>
-
-       * mips.h (struct mips_opcode): Add new pinfo2 member.
-       (INSN_ALIAS): New define for opcode table entries that are
-       specific instances of another entry, such as 'move' for an 'or'
-       with a zero operand.
-       (INSN_READ_MDMX_ACC): Redefine from 0 to 0x2.
-       (INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.
-
-2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
-
-       * mips.h (CPU_RM9000): Define.
-       (OPCODE_IS_MEMBER): Handle CPU_RM9000.
-
-2004-11-25 Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
-       to/from test registers are illegal in 64-bit mode. Add missing
-       NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
-       (previously one had to explicitly encode a rex64 prefix). Re-enable
-       lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
-       support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
-
-2004-11-23 Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (i386_optab): paddq and psubq, even in their MMX form, are
-       available only with SSE2. Change the MMX additions introduced by SSE
-       and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
-       instructions by their now designated identifier (since combining i686
-       and 3DNow! does not really imply 3DNow!A).
-
-2004-11-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes,
-       struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c.
-
-2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
-           Vineet Sharma      <vineets@noida.hcltech.com>
-
-       * maxq.h: New file: Disassembly information for the maxq port.
-
-2004-11-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Put back "movzb".
-
-2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris.h (enum cris_insn_version_usage): Tweak formatting and
-       comments.  Remove member cris_ver_sim.  Add members
-       cris_ver_sim_v0_10, cris_ver_v0_10, cris_ver_v3_10,
-       cris_ver_v8_10, cris_ver_v10, cris_ver_v10p.
-       (struct cris_support_reg, struct cris_cond15): New types.
-       (cris_conds15): Declare.
-       (JUMP_PC_INCR_OPCODE_V32, BA_DWORD_OPCODE, NOP_OPCODE_COMMON)
-       (NOP_OPCODE_ZBITS_COMMON, LAPC_DWORD_OPCODE, LAPC_DWORD_Z_BITS)
-       (NOP_OPCODE_V32, NOP_Z_BITS_V32): New macros.
-       (NOP_Z_BITS): Define in terms of NOP_OPCODE.
-       (cris_imm_oprnd_size_type): New members SIZE_FIELD_SIGNED and
-       SIZE_FIELD_UNSIGNED.
-
-2004-11-04 Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h (sldx_Suf): Remove.
-       (FP, l_FP, sl_FP, x_FP): Don't imply IgnoreSize.
-       (q_FP): Define, implying no REX64.
-       (x_FP, sl_FP): Imply FloatMF.
-       (i386_optab): Split reg and mem forms of moving from segment registers
-       so that the memory forms can ignore the 16-/32-bit operand size
-       distinction. Adjust a few others for Intel mode. Remove *FP uses from
-       all non-floating-point instructions. Unite 32- and 64-bit forms of
-       movsx, movzx, and movd. Adjust floating point operations for the above
-       changes to the *FP macros. Add DefaultSize to floating point control
-       insns operating on larger memory ranges. Remove left over comments
-       hinting at certain insns being Intel-syntax ones where the ones
-       actually meant are already gone.
-
-2004-10-07  Tomer Levi  <Tomer.Levi@nsc.com>
-
-       * crx.h: Add COPS_REG_INS - Coprocessor Special register
-       instruction type.
-
-2004-09-30  Paul Brook  <paul@codesourcery.com>
-
-       * arm.h (ARM_EXT_V6K, ARM_EXT_V6Z): Define.
-       (ARM_ARCH_V6K, ARM_ARCH_V6Z, ARM_ARCH_V6ZK): Define.
-
-2004-09-11  Theodore A. Roth  <troth@openavr.org>
-
-       * avr.h: Add support for
-       atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
-
-2004-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
-
-       * ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.
-
-2004-08-24  Dmitry Diky  <diwil@spec.ru>
-
-       * msp430.h (msp430_opc): Add new instructions.
-       (msp430_rcodes): Declare new instructions.
-       (msp430_hcodes): Likewise..
-
-2004-08-13  Nick Clifton  <nickc@redhat.com>
-
-       PR/301
-       * h8300.h (O_JSR): Do not allow VECIND addressing for non-SX
-       processors.
-
-2004-08-30  Michal Ludvig  <mludvig@suse.cz>
-
-       * i386.h (i386_optab): Added montmul/xsha1/xsha256 insns.
-
-2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.
-
-2004-07-21  Jan Beulich  <jbeulich@novell.com>
-
-       * i386.h: Adjust instruction descriptions to better match the
-       specification.
-
-2004-07-16  Richard Earnshaw  <rearnsha@arm.com>
-
-       * arm.h: Remove all old content.  Replace with architecture defines
-       from gas/config/tc-arm.c.
-
-2004-07-09  Andreas Schwab  <schwab@suse.de>
-
-       * m68k.h: Fix comment.
-
-2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
-
-       * crx.h: New file.
-
-2004-06-24  Alan Modra  <amodra@bigpond.net.au>
-
-       * i386.h (i386_optab): Remove fildd, fistpd and fisttpd.
-
-2004-05-24  Peter Barada  <peter@the-baradas.com>
-
-       * m68k.h: Add 'size' to m68k_opcode.
-
-2004-05-05  Peter Barada  <peter@the-baradas.com>
-
-       * m68k.h: Switch from ColdFire chip name to core variant.
-
-2004-04-22  Peter Barada  <peter@the-baradas.com>
-
-       * m68k.h: Add mcfmac/mcfemac definitions.  Update operand
-       descriptions for new EMAC cases.
-       Remove ColdFire macmw/macml/msacmw/msacmw hacks and properly
-       handle Motorola MAC syntax.
-       Allow disassembly of ColdFire V4e object files.
-
-2004-03-16  Alan Modra  <amodra@bigpond.net.au>
-
-       * ppc.h (PPC_OPERAND_GPR_0): Define.  Bump other operand defines.
-
-2004-03-12  Jakub Jelinek  <jakub@redhat.com>
-
-       * i386.h (i386_optab): Remove CpuNo64 from sysenter and sysexit.
-
-2004-03-12  Michal Ludvig  <mludvig@suse.cz>
-
-       * i386.h (i386_optab): Added xstore as an alias for xstorerng.
-
-2004-03-12  Michal Ludvig  <mludvig@suse.cz>
-
-       * i386.h (i386_optab): Added xstore/xcrypt insns.
-
-2004-02-09  Anil Paranjpe  <anilp1@KPITCummins.com>
-
-       * h8300.h (32bit ldc/stc): Add relaxing support.
-
-2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
-
-       * h8300.h (BITOP): Pass MEMRELAX flag.
-
-2004-01-09  Anil Paranjpe  <anilp1@KPITCummins.com>
-
-       * h8300.h (BITOP): Dissallow operations on @aa:16 and @aa:32
-       except for the H8S.
-
-For older changes see ChangeLog-9103
-\f
-Copyright (C) 2004-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/opcode/ChangeLog-0415 b/include/opcode/ChangeLog-0415
new file mode 100644 (file)
index 0000000..e6ba7ee
--- /dev/null
@@ -0,0 +1,2596 @@
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.h (ARM_EXT2_V6T2_V8M): New extension bit.
+       (ARM_AEXT2_V8A): New architecture extension bitfield.
+       (ARM_AEXT2_V8_1A): Use ARM_AEXT2_V8A instead of ARM_EXT2_ATOMICS.
+       (ARM_AEXT_V8M_BASE): New architecture extension bitfield.
+       (ARM_AEXT2_V8M): Add extension bit ARM_EXT2_V6T2_V8M.
+       (ARM_ARCH_V6T2): Use ARM_EXT2_V6T2_V8M for the second extension
+       bitfield.
+       (ARM_ARCH_V6KT2): Likewise.
+       (ARM_ARCH_V6ZT2): Likewise.
+       (ARM_ARCH_V6KZT2): Likewise.
+       (ARM_ARCH_V7): Likewise.
+       (ARM_ARCH_V7A): Likewise.
+       (ARM_ARCH_V7VE): Likewise.
+       (ARM_ARCH_V7R): Likewise.
+       (ARM_ARCH_V7M): Likewise.
+       (ARM_ARCH_V7EM): Likewise.
+       (ARM_ARCH_V8A): Likewise.
+       (ARM_ARCH_V8M_BASE): New architecture bitfield.
+       (ARM_ARCH_THUMB2): Include instructions shared by ARMv6t2 and ARMv8-M.
+       (ARM_ARCH_V7A_SEC): Use ARM_EXT2_V6T2_V8M for the second extension
+       bitfield and reindent.
+       (ARM_ARCH_V7A_MP_SEC): Likewise.
+       (ARM_ARCH_V7R_IDIV): Likewise.
+       (ARM_ARCH_V8A_FP): Use ARM_AEXT2_V8A instead of ARM_EXT2_ATOMICS.
+       (ARM_ARCH_V8A_SIMD): Likewise.
+       (ARM_ARCH_V8A_CRYPTOV1): Likewise.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.h (ARM_EXT2_ATOMICS): New extension bit.
+       (ARM_EXT2_V8M): Likewise.
+       (ARM_EXT_V8): Adjust comment with regards to atomics and remove
+       mention of legacy use for that bit.
+       (ARM_AEXT2_V8_1A): New architecture extension bitfield.
+       (ARM_AEXT2_V8_2A): Likewise.
+       (ARM_AEXT_V8M_MAIN): Likewise.
+       (ARM_AEXT2_V8M): Likewise.
+       (ARM_ARCH_V8A): Use ARM_EXT2_ATOMICS for features in second bitfield.
+       (ARM_ARCH_V8_1A): Likewise with ARM_AEXT2_V8_1A.
+       (ARM_ARCH_V8_2A): Likewise with ARM_AEXT2_V8_2A.
+       (ARM_ARCH_V8M_MAIN): New architecture feature bitfield.
+       (ARM_ARCH_V8A_FP): Use ARM_EXT2_ATOMICS for features in second bitfield
+       and reindent.
+       (ARM_ARCH_V8A_SIMD): Likewise.
+       (ARM_ARCH_V8A_CRYPTOV1): Likewise.
+       (ARM_ARCH_V8_1A_FP): Use ARM_AEXT2_V8_1A to set second bitfield of
+       feature bits.
+       (ARM_ARCH_V8_1A_SIMD): Likewise.
+       (ARM_ARCH_V8_1A_CRYPTOV1): Likewise.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm.h (ARM_ARCH_THUMB2): Add comment explaining its meaning and
+       remove extension bit not including any Thumb-2 instruction.
+
+2015-12-15  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm.h (ARM_ARCH_V8_1A): Add the CRC_EXT_ARMV8 co-processor
+       feature macro.
+       (ARM_ARCH_V8_2A): Likewise.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (enum aarch64_opnd_qualifier): Add
+       AARCH64_OPND_QLF_V_2H.
+
+2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * rx.h: Add new instructions.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (aarch64_opnd): Add AARCH64_OPND_BARRIER_PSB.
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-opc.c (aarch64_hint_options): Add "csync".
+       (aarch64_print_operands): Handle AARCH64_OPND_BARRIER_PSB.
+       * aarch64-tbl.h (aarch64_feature_stat_profile): New.
+       (STAT_PROFILE): New.
+       (aarch64_opcode_table): Add "psb".
+       (AARCH64_OPERANDS): Add "BARRIER_PSB".
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (aarch64_hint_options): Declare.
+       (aarch64_opnd_info): Add field hint_option.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_PROFILE): New.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (aarch64_sys_ins_reg_supported_p): Declare.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (aarch64_sys_ins_reg): Replace has_xt with flags.
+       (aarch64_sys_ins_reg_has_xt): Declare.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_RAS): New.
+       (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_RAS.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_F16): Fix clash with
+       AARCH64_FEATURE_V8_1.
+       (AARCH64_ARCH_V8_1): Add AARCH64_FEATURE_CRC.
+       (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_CRC and
+       AARCH64_FEATURE_V8_1.
+
+2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * arc.h (arc_reloc_equiv_tab): Replace flagcode with flags[32].
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (aarch64_op): Add OP_BFC.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_F16): New.
+       (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_F16 to ARMv8.2
+       features.
+
+2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_V8_1): New.
+       (AARCH64_ARCH_v8_1): Add AARCH64_FEATURE_V8_1.
+
+2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm.h (ARM_EXT2_V8_2A): New.
+       (ARM_ARCH_V8_2A): New.
+
+2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_V8_2): New.
+       (AARCH64_ARCH_V8_2): New.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPCODE_POWER9): New define.
+       (PPC_OPCODE_VSX3): Likewise.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * rx.h (enum RX_Opcode_ID): Add more NOP opcodes.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * rx.h (enum RX_Operand_Type): Add RX_Operand_Zero_Indirect.
+
+2015-10-28  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64.h (aarch64_decode_insn): Update declaration.
+
+2015-10-07  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64.h (aarch64_sys_ins_reg) <template>: Removed.
+       <name>: New field.
+
+2015-10-07  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64.h [__cplusplus]: Wrap in extern "C".
+
+2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
+           Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * arc-func.h: New file.
+       * arc.h: Likewise.
+
+2015-10-02  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64.h (aarch64_zero_register_p): Move the declaration
+       to column one.
+
+2015-10-02  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64.h (aarch64_decode_insn): Declare it.
+
+2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * s390.h (S390_INSTR_FLAG_HTM): New flag.
+       (S390_INSTR_FLAG_VX): New flag.
+       (S390_INSTR_FLAG_FACILITY_MASK): New flag mask.
+
+2015-09-26  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32.h: Add instruction macros FT32_*()
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       * ppc.h (PPC_OPSHIFT_INV): Use an unsigned constant when left
+       shifting.
+
+2015-09-22  Nick Clifton  <nickc@redhat.com>
+
+       * rx.h (enum RX_Size): Add RX_Bad_Size entry.
+
+2015-09-09  Daniel Santos  <daniel.santos@pobox.com>
+
+       * visium.h (gen_reg_table): Make static.
+       (fp_reg_table): Likewise.
+       (cc_table): Likewise.
+
+2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm.h (ARM_AEXT_V6ZK): Rename to ARM_AEXT_V6KZ.
+       (ARM_AEXT_V6ZKT2): Rename to ARM_AEXT_V6KZT2.
+       (ARM_ARCH_V6ZK): Rename to ARM_ARCH_V6KZ.
+       (ARM_ARCH_V6ZKT2): Rename to ARM_ARCH_V6KZT2.
+
+2015-07-03  Alan Modra  <amodra@gmail.com>
+
+       * ppc.h (PPC_OPCODE_750, PPC_OPCODE_7450, PPC_OPCODE_860): Define.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * nios2.h (enum iw_format_type): Add R2 formats.
+       (enum overflow_type): Add signed_immed12_overflow and
+       enumeration_overflow for R2.
+       (struct nios2_opcode): Document new argument letters for R2.
+       (REG_3BIT, REG_LDWM, REG_POP): Define.
+       (includes): Include nios2r2.h.
+       (nios2_r2_opcodes, nios2_num_r2_opcodes): Declare.
+       (nios2_r2_asi_n_mappings, nios2_num_r2_asi_n_mappings): Declare.
+       (nios2_r2_shi_n_mappings, nios2_num_r2_shi_n_mappings): Declare.
+       (nios2_r2_andi_n_mappings, nios2_num_r2_andi_n_mappings): Declare.
+       (nios2_r2_reg3_mappings, nios2_num_r2_reg3_mappings): Declare.
+       (nios2_r2_reg_range_mappings, nios2_num_r2_reg_range_mappings):
+       Declare.
+       * nios2r2.h: New file.
+
+2015-06-19  Peter Bergner <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPERAND_OPTIONAL_VALUE): New.
+       (ppc_optional_operand_value): New inline function.
+
+2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_V8_1): New.
+
+2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm.h (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_1): New.
+       (ARM_ARCH_V8_1A): New.
+       (ARM_ARCH_V8_1A_FP): New.
+       (ARM_ARCH_V8_1A_SIMD): New.
+       (ARM_ARCH_V8_1A_CRYPTOV1): New.
+       (ARM_FEATURE_CORE): New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm.h (ARM_EXT2_PAN): New.
+       (ARM_FEATURE_CORE_HIGH): New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm.h (ARM_FEATURE_ALL): New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_RDMA): New.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_LOR): New.
+
+2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_PAN): New.
+       (aarch64_sys_reg_supported_p): Declare.
+       (aarch64_pstatefield_supported_p): Declare.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * rl78.h (RL78_Dis_Isa): New.
+       (rl78_decode_opcode): Add ISA parameter.
+
+2015-03-24  Terry Guo  <terry.guo@arm.com>
+
+       * arm.h (arm_feature_set): Extended to provide more available bits.
+       (ARM_ANY): Updated to follow above new definition.
+       (ARM_CPU_HAS_FEATURE): Likewise.
+       (ARM_CPU_IS_ANY): Likewise.
+       (ARM_MERGE_FEATURE_SETS): Likewise.
+       (ARM_CLEAR_FEATURE): Likewise.
+       (ARM_FEATURE): Likewise.
+       (ARM_FEATURE_COPY): New macro.
+       (ARM_FEATURE_EQUAL): Likewise.
+       (ARM_FEATURE_ZERO): Likewise.
+       (ARM_FEATURE_CORE_EQUAL): Likewise.
+       (ARM_FEATURE_LOW): Likewise.
+       (ARM_FEATURE_CORE_LOW): Likewise.
+       (ARM_FEATURE_CORE_COPROC): Likewise.
+
+2015-02-19  Pedro Alves  <palves@redhat.com>
+
+       * cgen.h [__cplusplus]: Wrap in extern "C".
+       * msp430-decode.h [__cplusplus]: Likewise.
+       * nios2.h [__cplusplus]: Likewise.
+       * rl78.h [__cplusplus]: Likewise.
+       * rx.h [__cplusplus]: Likewise.
+       * tilegx.h [__cplusplus]: Likewise.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32.h: New file.
+
+2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390.h (s390_opcode_cpu_val): Add S390_OPCODE_Z13.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-12-27  Anthony Green  <green@moxielogic.com>
+
+       * moxie.h (MOXIE_F1_AiB2, MOXIE_F1_ABi2): Renamed from
+       MOXIE_F1_AiB4 and MOXIE_F1_ABi2.
+
+2014-12-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * visium.h: New file.
+
+2014-11-28  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2.h (NIOS2_INSN_ADDI, NIOS2_INSN_ANDI): Delete.
+       (NIOS2_INSN_ORI, NIOS2_INSN_XORI): Delete.
+       (NIOS2_INSN_OPTARG): Renumber.
+
+2014-11-21  Terry Guo  <terry.guo@arm.com>
+
+       * arm.h (FPU_VFP_EXT_ARMV8xD): New macro.
+       (FPU_VFP_V5D16): Likewise.
+       (FPU_VFP_V5_SP_D16): Likewise.
+       (FPU_ARCH_VFP_V5D16): Likewise.
+       (FPU_ARCH_VFP_V5_SP_D16): Likewise.
+
+2014-11-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2.h (nios2_find_opcode_hash): Add mach parameter to
+       declaration.  Fix obsolete comment.
+
+2014-10-23  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2.h (enum iw_format_type): New.
+       (struct nios2_opcode): Update comments.  Add size and format fields.
+       (NIOS2_INSN_OPTARG): New.
+       (REG_NORMAL, REG_CONTROL, REG_COPROCESSOR): New.
+       (struct nios2_reg): Add regtype field.
+       (GET_INSN_FIELD, SET_INSN_FIELD): Delete.
+       (IW_A_LSB, IW_A_MSB, IW_A_SZ, IW_A_MASK): Delete.
+       (IW_B_LSB, IW_B_MSB, IW_B_SZ, IW_B_MASK): Delete.
+       (IW_C_LSB, IW_C_MSB, IW_C_SZ, IW_C_MASK): Delete.
+       (IW_IMM16_LSB, IW_IMM16_MSB, IW_IMM16_SZ, IW_IMM16_MASK): Delete.
+       (IW_IMM26_LSB, IW_IMM26_MSB, IW_IMM26_SZ, IW_IMM26_MASK): Delete.
+       (IW_OP_LSB, IW_OP_MSB, IW_OP_SZ, IW_OP_MASK): Delete.
+       (IW_OPX_LSB, IW_OPX_MSB, IW_OPX_SZ, IW_OPX_MASK): Delete.
+       (IW_SHIFT_IMM5_LSB, IW_SHIFT_IMM5_MSB): Delete.
+       (IW_SHIFT_IMM5_SZ, IW_SHIFT_IMM5_MASK): Delete.
+       (IW_CONTROL_REGNUM_LSB, IW_CONTROL_REGNUM_MSB): Delete.
+       (IW_CONTROL_REGNUM_SZ, IW_CONTROL_REGNUM_MASK): Delete.
+       (OP_MASK_OP, OP_SH_OP): Delete.
+       (OP_MASK_IOP, OP_SH_IOP): Delete.
+       (OP_MASK_IRD, OP_SH_IRD): Delete.
+       (OP_MASK_IRT, OP_SH_IRT): Delete.
+       (OP_MASK_IRS, OP_SH_IRS): Delete.
+       (OP_MASK_ROP, OP_SH_ROP): Delete.
+       (OP_MASK_RRD, OP_SH_RRD): Delete.
+       (OP_MASK_RRT, OP_SH_RRT): Delete.
+       (OP_MASK_RRS, OP_SH_RRS): Delete.
+       (OP_MASK_JOP, OP_SH_JOP): Delete.
+       (OP_MASK_IMM26, OP_SH_IMM26): Delete.
+       (OP_MASK_RCTL, OP_SH_RCTL): Delete.
+       (OP_MASK_IMM5, OP_SH_IMM5): Delete.
+       (OP_MASK_CACHE_OPX, OP_SH_CACHE_OPX): Delete.
+       (OP_MASK_CACHE_RRS, OP_SH_CACHE_RRS): Delete.
+       (OP_MASK_CUSTOM_A, OP_SH_CUSTOM_A): Delete.
+       (OP_MASK_CUSTOM_B, OP_SH_CUSTOM_B): Delete.
+       (OP_MASK_CUSTOM_C, OP_SH_CUSTOM_C): Delete.
+       (OP_MASK_CUSTOM_N, OP_SH_CUSTOM_N): Delete.
+       (OP_<insn>, OPX_<insn>, OP_MATCH_<insn>, OPX_MATCH_<insn>): Delete.
+       (OP_MASK_<insn>, OP_MASK): Delete.
+       (GET_IW_A, GET_IW_B, GET_IW_C, GET_IW_CONTROL_REGNUM): Delete.
+       (GET_IW_IMM16, GET_IW_IMM26, GET_IW_OP, GET_IW_OPX): Delete.
+       Include nios2r1.h to define new instruction opcode constants
+       and accessors.
+       (nios2_builtin_opcodes): Rename to nios2_r1_opcodes.
+       (bfd_nios2_num_builtin_opcodes): Rename to nios2_num_r1_opcodes.
+       (bfd_nios2_num_opcodes): Rename to nios2_num_opcodes.
+       (NUMOPCODES, NUMREGISTERS): Delete.
+       * nios2r1.h: New file.
+
+2014-10-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc.h (HWCAP2_VIS3B): Documentation improved.
+
+2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc.h (sparc_opcode): new field `hwcaps2'.
+       (HWCAP2_FJATHPLUS): New define.
+       (HWCAP2_VIS3B): Likewise.
+       (HWCAP2_ADP): Likewise.
+       (HWCAP2_SPARC5): Likewise.
+       (HWCAP2_MWAIT): Likewise.
+       (HWCAP2_XMPMUL): Likewise.
+       (HWCAP2_XMONT): Likewise.
+       (HWCAP2_NSEC): Likewise.
+       (HWCAP2_FJATHHPC): Likewise.
+       (HWCAP2_FJDES): Likewise.
+       (HWCAP2_FJAES): Likewise.
+       Document the new operand kind `{', corresponding to the mcdper
+       ancillary state register.
+       Document the new operand kind }, which represents frsd floating
+       point registers (double precision) which must be the same than
+       frs1 in its containing instruction.
+
+2014-09-16  Kuan-Lin Chen <kuanlinchentw@gmail.com>
+
+       * nds32.h: Add new opcode declaration.
+
+2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h (mips_operand_type): Add new entries: OP_SAME_RS_RT,
+       OP_CHECK_PREV and OP_NON_ZERO_REG.  Add descriptions for the MIPS R6
+       instruction arguments: -a, -b, -d, -s, -t, -u, -v, -w, -x, -y, -A, -B,
+       +I, +O, +R, +:, +\, +", +;
+       (mips_check_prev_operand): New struct.
+       (INSN2_FORBIDDEN_SLOT): New define.
+       (INSN_ISA32R6): New define.
+       (INSN_ISA64R6): New define.
+       (INSN_UPTO32R6): New define.
+       (INSN_UPTO64R6): New define.
+       (mips_isa_table): Add INSN_UPTO32R6 and INSN_UPTO64R6.
+       (ISA_MIPS32R6): New define.
+       (ISA_MIPS64R6): New define.
+       (CPU_MIPS32R6): New define.
+       (CPU_MIPS64R6): New define.
+       (cpu_is_member): Add cases for CPU_MIPS32R6, and CPU_MIPS64R6.
+
+2014-09-03  Jiong Wang  <jiong.wang@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_LSE): New feature added.
+       (aarch64_opnd): Add AARCH64_OPND_PAIRREG.
+       (aarch64_insn_class): Add lse_atomic.
+       (F_LSE_SZ): New field added.
+       (opcode_has_special_coder): Recognize F_LSE_SZ.
+
+2014-08-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Document the move of `MICROMIPSOP_*_CODE10' from `B'
+       over to `+J'.
+
+2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips.h (INSN_LOAD_COPROC_DELAY): Rename to...
+       (INSN_LOAD_COPROC): New define.
+       (INSN_COPROC_MOVE_DELAY): Rename to...
+       (INSN_COPROC_MOVE): New define.
+
+2014-07-01  Barney Stratford   <barney_stratford@fastmail.fm>
+           Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+           Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
+           Soundararajan  <Sounderarajan.D@atmel.com>
+
+       * avr.h (AVR_ISA_TINY): Define avrtiny specific ISA.
+       (AVR_ISA_2xxxa): Define ISA without LPM.
+       (AVR_ISA_AVRTINY): Define avrtiny arch ISA.
+       Add doc for contraint used in 16 bit lds/sts.
+       Adjust ISA group for icall, ijmp, pop and push.
+       Add 16 bit lds/sts encoding and update 32 bit lds/sts constraints.
+
+2014-05-19  Nick Clifton  <nickc@redhat.com>
+
+       * msp430.h (struct msp430_operand_s): Add vshift field.
+
+2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * mips.h (INSN_ISA_MASK): Updated.
+       (INSN_ISA32R3): New define.
+       (INSN_ISA32R5): New define.
+       (INSN_ISA64R3): New define.
+       (INSN_ISA64R5): New define.
+       (INSN_ISA64, INSN_ISA64R2, INSN_ISA3_32, INSN_ISA3_32R2, INSN_ISA4_32
+       INSN_ISA4_32R2, INSN_ISA5_32R2): Renumbered.
+       (mips_isa_table): Add entries for mips32r3, mips32r5, mips64r3 and
+       mips64r5.
+       (INSN_UPTO32R3): New define.
+       (INSN_UPTO32R5): New define.
+       (INSN_UPTO64R3): New define.
+       (INSN_UPTO64R5): New define.
+       (ISA_MIPS32R3): New define.
+       (ISA_MIPS32R5): New define.
+       (ISA_MIPS64R3): New define.
+       (ISA_MIPS64R5): New define.
+       (CPU_MIPS32R3): New define.
+       (CPU_MIPS32R5): New define.
+       (CPU_MIPS64R3): New define.
+       (CPU_MIPS64R5): New define.
+
+2014-05-01  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (mips_isa_table): Avoid hard-coding INSN_ISA* values.
+
+2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * mips.h (ASE_XPA): New define.
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * or32.h: Delete.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2013-12-16  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * mips.h: Updated description of +o, +u, +v and +w for MIPS and
+       microMIPS.
+
+2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+           Wei-Cheng Wang  <cole945@gmail.com>
+
+       * nds32.h: New file for Andes NDS32.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin.h: Remove +x file mode.
+
+2013-11-20  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (aarch64_pstatefields): Change element type to
+       aarch64_sys_reg.
+
+2013-11-18  Renlin Li  <Renlin.Li@arm.com>
+
+       * arm.h (ARM_AEXT_V7VE): New define.
+       (ARM_ARCH_V7VE): New define.
+       (ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): Removed.
+
+2013-11-18  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       Revert
+
+       2013-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (aarch64_sys_reg_readonly_p): New declaration.
+       (aarch64_sys_reg_writeonly_p): Ditto.
+
+2013-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (aarch64_sys_reg_readonly_p): New declaration.
+       (aarch64_sys_reg_writeonly_p): Ditto.
+
+2013-11-11  Catherine Moore  <clm@codesourcery.com>
+
+       * mips.h (INSN_LOAD_MEMORY_DELAY): Rename to...
+       (INSN_LOAD_MEMORY): ...this.
+
+2013-11-05  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (aarch64_sys_reg): New typedef.
+       (aarch64_sys_regs): Change to define with the new type.
+       (aarch64_sys_reg_deprecated_p): Declare.
+
+2013-11-05  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (enum aarch64_operand_class): Add AARCH64_OPND_CLASS_COND.
+       (enum aarch64_opnd): Add AARCH64_OPND_COND1.
+
+2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
+
+       * mips.h (mips_operand_type): Add OP_IMM_INDEX and OP_REG_INDEX.
+       (mips_reg_operand_type): Add OP_REG_MSA and OP_REG_MSA_CTRL.
+       For MIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w,
+       +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|.
+       For MIPS, update extension character sequences after +.
+       (ASE_MSA): New define.
+       (ASE_MSA64): New define.
+       For microMIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w,
+       +x, +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|.
+       For microMIPS, update extension character sequences after +.
+
+2013-08-23  Yuri Chornoivan  <yurchor@ukr.net>
+
+       PR binutils/15834
+       * i960.h: Fix typos.
+
+2013-08-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Remove references to "+I" and imm2_expr.
+
+2013-08-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (M_DEXT, M_DINS): Delete.
+
+2013-08-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (OP_OPTIONAL_REG): New mips_operand_type.
+       (mips_optional_operand_p): New function.
+
+2013-08-05  Eric Botcazou  <ebotcazou@adacore.com>
+           Konrad Eisele  <konrad@gaisler.com>
+
+       * sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON.
+
+2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
+           Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Document new VU0 operand characters.
+       (OP_VU0_SUFFIX, OP_VU0_MATCH_SUFFIX): New mips_operand_types.
+       (OP_REG_VF, OP_REG_VI, OP_REG_R5900_I, OP_REG_R5900_Q, OP_REG_R5900_R)
+       (OP_REG_R5900_ACC): New mips_reg_operand_types.
+       (INSN2_VU0_CHANNEL_SUFFIX): New macro.
+       (mips_vu0_channel_mask): Declare.
+
+2013-08-03  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (mips_pcrel_operand): Inherit from mips_int_operand.
+       (mips_int_operand_min, mips_int_operand_max): New functions.
+       (mips_decode_pcrel_operand): Use mips_decode_int_operand.
+
+2013-08-01  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (mips_decode_reg_operand): New function.
+       (INSN_WRITE_SHIFT, INSN_WRITE_1, INSN_WRITE_2, INSN_WRITE_ALL)
+       (INSN_READ_SHIFT, INSN_READ_1, INSN_READ_2, INSN_READ_3, INSN_READ_4)
+       (INSN_READ_ALL, INSN_READ_GPR_24, INSN_WRITE_GPR_24, INSN_UDI):
+       New macros.
+       (INSN_WRITE_GPR_D, INSN_WRITE_GPR_T, INSN_WRITE_FPR_D)
+       (INSN_WRITE_FPR_S, INSN_WRITE_FPR_T, INSN_READ_GPR_S, INSN_READ_GPR_T)
+       (INSN_READ_FPR_S, INSN_READ_FPR_T, INSN_READ_FPR_R, INSN_WRITE_GPR_S)
+       (INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z, INSN2_READ_GPR_Z)
+       (INSN2_READ_FPR_Z, INSN2_READ_GPR_D, INSN2_READ_FPR_D)
+       (INSN2_WRITE_GPR_MB, INSN2_READ_GPR_MC, INSN2_MOD_GPR_MD)
+       (INSN2_READ_GPR_ME, INSN2_MOD_GPR_MF, INSN2_READ_GPR_MG)
+       (INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ, INSN2_READ_GPR_MP)
+       (INSN2_WRITE_GPR_MP, INSN2_READ_GPR_MQ, INSN2_READ_GP)
+       (INSN2_WRITE_GPR_MH, INSN2_READ_GPR_MMN): Delete.  Renumber other
+       macros to cover the gaps.
+       (INSN2_MOD_SP): Replace with...
+       (INSN2_WRITE_SP, INSN2_READ_SP): ...these new macros.
+       (MIPS16_INSN_WRITE_X, MIPS16_INSN_WRITE_Y, MIPS16_INSN_WRITE_Z)
+       (MIPS16_INSN_WRITE_T, MIPS16_INSN_WRITE_31, MIPS16_INSN_WRITE_GPR_Y)
+       (MIPS16_INSN_READ_X, MIPS16_INSN_READ_Y, MIPS16_INSN_READ_Z)
+       (MIPS16_INSN_READ_T, MIPS16_INSN_READ_SP, MIPS16_INSN_READ_GPR_X):
+       Delete.
+
+2013-08-01  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (MIPS16_INSN_WRITE_SP, MIPS16_INSN_READ_31)
+       (MIPS16_INSN_READ_PC, MIPS16_INSN_UNCOND_BRANCH)
+       (MIPS16_INSN_COND_BRANCH): Delete.
+
+2013-07-24  Anna Tikhonova  <anna.tikhonova@intel.com>
+           Kirill Yukhin  <kirill.yukhin@intel.com>
+           Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
+
+       * i386.h (BND_PREFIX_OPCODE): New.
+
+2013-07-14  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (mips_operand_type): Add OP_ENTRY_EXIT_LIST and
+       OP_SAVE_RESTORE_LIST.
+       (decode_mips16_operand): Declare.
+
+2013-07-14  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (mips_operand_type, mips_reg_operand_type): New enums.
+       (mips_operand, mips_int_operand, mips_mapped_int_operand)
+       (mips_msb_operand, mips_reg_operand, mips_reg_pair_operand)
+       (mips_pcrel_operand): New structures.
+       (mips_insert_operand, mips_extract_operand, mips_signed_operand)
+       (mips_decode_int_operand, mips_decode_pcrel_operand): New functions.
+       (decode_mips_operand, decode_micromips_operand): Declare.
+
+2013-07-14  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Document MIPS16 "I" opcode.
+
+2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h (M_ACLR_OB, M_ASET_OB, M_CACHE_OB, M_CACHEE_OB, M_L_DOB)
+       (M_LB_A, M_LBE_OB, M_LBU_A, M_LBUE_OB, M_LD_A, M_LD_OB, M_LDC2_OB)
+       (M_LDL_OB, M_LDM_OB, M_LDP_OB, M_LDR_OB, M_LH_A, M_LHE_OB, M_LHU_A)
+       (M_LHUE_OB, M_LL_OB, M_LLD_OB, M_LLE_OB, M_LS_A, M_LW_A, M_LWE_OB)
+       (M_LWC0_A, M_LWC1_A, M_LWC2_A, M_LWC2_OB, M_LWC3_A, M_LWL_A, M_LWL_OB)
+       (M_LWLE_OB, M_LWM_OB, M_LWP_OB, M_LWR_A, M_LWR_OB, M_LWRE_OB, M_LWU_OB)
+       (M_PREF_OB, M_PREFE_OB, M_S_DOB, M_SAA_OB, M_SAAD_OB, M_SC_OB)
+       (M_SCD_OB, M_SCE_OB, M_SD_A, M_SD_OB, M_SDC2_OB, M_SDL_OB, M_SDM_OB)
+       (M_SDP_OB, M_SDR_OB, M_SB_A, M_SBE_OB, M_SH_A, M_SHE_OB, M_SW_A)
+       (M_SWE_OB, M_SWC0_A, M_SWC1_A, M_SWC2_A, M_SWC2_OB, M_SWC3_A, M_SWL_A)
+       (M_SWL_OB, M_SWLE_OB, M_SWM_OB, M_SWP_OB, M_SWR_A, M_SWR_OB, M_SWRE_OB)
+       (M_ULD, M_ULH, M_ULHU, M_ULW, M_USH, M_USW, M_USD): Delete.
+       (M_ULD_A, M_ULH_A, M_ULHU_A, M_ULW_A, M_USH_A, M_USW_A, M_USD_A):
+       Rename to...
+       (M_ULD_AB, M_ULH_AB, M_ULHU_AB, M_ULW_AB, M_USH_AB, M_USW_AB)
+       (M_USD_AB): ...these.
+
+2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Remove documentation of "[" and "]".  Update documentation
+       of "k" and the MDMX formats.
+
+2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Update documentation of "+s" and "+S".
+
+2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Document "+i".
+
+2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Remove "mi" documentation.  Update "mh" documentation.
+       (OP_MASK_MI, OP_SH_MI, MICROMIPSOP_MASK_MI, MICROMIPSOP_MASK_MI):
+       Delete.
+       (INSN2_WRITE_GPR_MHI): Rename to...
+       (INSN2_WRITE_GPR_MH): ...this.
+
+2013-07-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Remove documentation of "+D" and "+T".
+
+2013-06-26  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Fix comment for "1": it is now STYPE rather than SHAMT.
+       Use "source" rather than "destination" for microMIPS "G".
+
+2013-06-25  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Add M_JRADDIUSP, M_JRC and M_MOVEP anonymous enum
+       values.
+
+2013-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Fix comment typo: "G" is _RS rather than _RD for microMIPS.
+
+2013-06-17  Catherine Moore  <clm@codesourcery.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+           Chao-Ying Fu  <fu@mips.com>
+
+       * mips.h (OP_SH_EVAOFFSET): Define.
+       (OP_MASK_EVAOFFSET): Define.
+       (INSN_ASE_MASK): Delete.
+       (ASE_EVA): Define.
+       (M_CACHEE_AB, M_CACHEE_OB): New.
+       (M_LBE_OB, M_LBE_AB): New.
+       (M_LBUE_OB, M_LBUE_AB): New.
+       (M_LHE_OB, M_LHE_AB): New.
+       (M_LHUE_OB, M_LHUE_AB): New.
+       (M_LLE_AB, M_LLE_OB): New.
+       (M_LWE_OB, M_LWE_AB): New.
+       (M_LWLE_AB, M_LWLE_OB): New.
+       (M_LWRE_AB, M_LWRE_OB): New.
+       (M_PREFE_AB, M_PREFE_OB): New.
+       (M_SCE_AB, M_SCE_OB): New.
+       (M_SBE_OB, M_SBE_AB): New.
+       (M_SHE_OB, M_SHE_AB): New.
+       (M_SWE_OB, M_SWE_AB): New.
+       (M_SWLE_AB, M_SWLE_OB): New.
+       (M_SWRE_AB, M_SWRE_OB): New.
+       (MICROMIPSOP_SH_EVAOFFSET): Define.
+       (MICROMIPSOP_MASK_EVAOFFSET): Define.
+
+2013-06-12  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2.h (OP_MATCH_ERET): Correct eret encoding.
+
+2013-06-08  Catherine Moore  <clm@codesourcery.com>
+
+       * mips.h (mips_opcode): Add ase field.
+       (INSN_ASE_MASK): Delete.
+       (INSN_DSP): Rename to ASE_DSP.  Provide new value.
+       (INSN_DSPR2): Rename to ASE_DSPR2.  Provide new value.
+       (INSN_MCU): Rename to ASE_MCU.  Provide new value.
+       (INSN_MDMX): Rename to ASE_MDMX.  Provide new value.
+       (INSN_MIPS3d): Rename to ASE_MIPS3D.  Provide new value.
+       (INSN_MT): Rename to ASE_MT.  Provide new value.
+       (INSN_SMARTMIPS): Rename to ASE_SMARTMIPS.  Provide new value.
+       (INSN_VIRT): Rename to ASE_VIRT.  Provide new value.
+       (INSN_VIRT64): Rename to ASE_VIRT64.  Provide new value.
+       (opcode_is_member): Add ase argument.  Check ase.
+
+2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
+
+       * mips.h (M_LQC2_AB, M_SQC2_AB): New macros.
+
+2013-05-09  Andrew Pinski  <apinski@cavium.com>
+
+       * mips.h (OP_MASK_CODE10): Correct definition.
+       (OP_SH_CODE10): Likewise.
+       Add a comment that "+J" is used now for OP_*CODE10.
+       (INSN_ASE_MASK): Update.
+       (INSN_VIRT): New macro.
+       (INSN_VIRT64): New macro
+
+2013-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * msp430.h: Add patterns for MSP430X instructions.
+
+2013-04-06  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (F_PREFERRED): Define.
+       (F_PREF_ALIAS): Define.
+
+2013-04-03  Nick Clifton  <nickc@redhat.com>
+
+       * v850.h (V850_INVERSE_PCREL): Define.
+
+2013-03-27  Alexis Deruelle  <alexis.deruelle@gmail.com>
+
+       PR binutils/15068
+       * tic6x-opcode-table.h: Fix patterns for add, ldnw and xor.
+
+2013-03-27  Alexis Deruelle  <alexis.deruelle@gmail.com>
+
+       PR binutils/15068
+       * tic6xc-insn-formats.h (FLD): Add use of bitfield array.
+       Add 16-bit opcodes.
+       * tic6xc-opcode-table.h: Add 16-bit insns.
+       * tic6x.h: Add support for 16-bit insns.
+
+2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
+
+       * h8300.h: Add MEMRELAX flag for mov.b/w/l @(d:32,ERs),Rd
+       and mov.b/w/l Rs,@(d:32,ERd).
+
+2013-03-20  Alexis Deruelle  <alexis.deruelle@gmail.com>
+
+       PR gas/15082
+       * tic6x-opcode-table.h: Rename mpydp's specific operand type macro
+       from ORREGD1324 to ORXREGD1324 and make it cross-path-able through
+       tic6x_operand_xregpair operand coding type.
+       Make mpydp instruction cross-path-able, ie: remove the FIXed 'x'
+       opcode field, usu ORXREGD1324 for the src2 operand and remove the
+       TIC6X_FLAG_NO_CROSS.
+
+2013-03-20  Alexis Deruelle  <alexis.deruelle@gmail.com>
+
+       PR gas/15095
+       * tic6x.h (enum tic6x_coding_method): Add
+       tic6x_coding_dreg_(msb|lsb) field coding type in order to encode
+       separately the msb and lsb of a register pair.  This is needed to
+       encode the opcodes in the same way as TI assembler does.
+       * tic6x-opcode-table.h: Modify absdp, dpint, dpsp, dptrunc, rcpdp
+       and rsqrdp opcodes to use the new field coding types.
+
+2013-03-12  Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * nios2.h: Edit comment.
+
+2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * nios2.h (OPX_WRPRS): New define.
+       (OP_MATCH_WRPRS): Likewise.
+
+2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * nios2.h (OP_RDPRS): New define.
+       (OP_MATCH_RDPRS): Likewise.
+
+2013-03-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * arm.h (CRC_EXT_ARMV8): New constant.
+       (ARCH_CRC_ARMV8): New macro.
+
+2013-02-28  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (AARCH64_FEATURE_CRC): New macro.
+
+2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
+           Andrew Jenner <andrew@codesourcery.com>
+
+       Based on patches from Altera Corporation.
+
+       * nios2.h: New file.
+
+2013-01-30  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (aarch64_op): Add OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2.
+
+2013-01-28  Alexis Deruelle  <alexis.deruelle@gmail.com>
+
+       PR gas/15069
+       * tic6x-opcode-table.h: Fix encoding of BNOP instruction.
+
+2013-01-24  Nick Clifton  <nickc@redhat.com>
+
+       * v850.h: Add e3v5 support.
+
+2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h (aarch64_op): Remove OP_V_MOVI_B.
+
+2013-01-10  Peter Bergner <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPCODE_POWER8): New define.
+       (PPC_OPCODE_HTM): Likewise.
+
+2013-01-10  Will Newton <will.newton@imgtec.com>
+
+       * metag.h: New file.
+
+2013-01-07  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * cr16.h (make_instruction): Rename to cr16_make_instruction.
+       (match_opcode): Rename to cr16_match_opcode.
+
+2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
+
+       * mips.h: Add support for r5900 instructions including lq and sq.
+
+2013-01-02  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c
+       (make_instruction,match_opcode): Added function prototypes.
+       (cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.
+
+2012-12-17  Nick Clifton  <nickc@redhat.com>
+
+       * tahoe.h: Add copyright notice.
+
+2012-11-23  Alan Modra  <amodra@gmail.com>
+
+       * ppc.h (ppc_parse_cpu): Update prototype.
+
+2012-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
+       opcodes.  Likewise, use "cM" instead of "cm" in fstqs opcodes.
+
+2012-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h (s390_opcode_cpu_val): Add S390_OPCODE_ZEC12.
+
+2012-09-27  Anthony Green  <green@moxielogic.com>
+
+       * moxie.h (MOXIE_BAD): New define.
+
+2012-09-04  Sergey A. Guriev <sergey.a.guriev@intel.com>
+
+       * ia64.h (ia64_opnd): Add new operand types.
+
+2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_CPU_IS_ANY): New define.
+
+2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_EXT_V8): New define.
+       (FPU_VFP_EXT_ARMV8): Likewise.
+       (FPU_NEON_EXT_ARMV8): Likewise.
+       (FPU_CRYPTO_EXT_ARMV8): Likewise.
+       (ARM_AEXT_V8A): Likewise.
+       (FPU_VFP_ARMV8): Likwise.
+       (FPU_NEON_ARMV8): Likewise.
+       (FPU_CRYPTO_ARMV8): Likewise.
+       (FPU_ARCH_VFP_ARMV8): Likewise.
+       (FPU_ARCH_NEON_VFP_ARMV8): Likewise.
+       (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8): Likewise.
+       (ARM_ARCH_V8A): Likwise.
+       (ARM_ARCH_V8A_FP): Likewise.
+       (ARM_ARCH_V8A_SIMD): Likewise.
+       (ARM_ARCH_V8A_CRYPTO): Likewise.
+
+2012-08-21  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (F3F4): New macro.
+
+2012-08-13  Ian Bolton  <ian.bolton@arm.com>
+           Laurent Desnogues  <laurent.desnogues@arm.com>
+           Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+           Richard Earnshaw  <rearnsha@arm.com>
+           Sofiane Naci  <sofiane.naci@arm.com>
+           Tejas Belagod  <tejas.belagod@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64.h: New file.
+
+2012-08-13  Richard Sandiford  <rdsandiford@googlemail.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (mips_opcode): Add the exclusions field.
+       (OPCODE_IS_MEMBER): Remove macro.
+       (cpu_is_member): New inline function.
+       (opcode_is_member): Likewise.
+
+2012-07-31  Chao-Ying Fu  <fu@mips.com>
+           Catherine Moore  <clm@codesourcery.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Document microMIPS DSP ASE usage.
+       (MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Update for
+       microMIPS DSP ASE support.
+       (MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
+       (MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
+       (MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
+       (MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
+       (MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
+       (MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
+       (MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.
+
+2012-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Fix a typo in description.
+
+2012-07-05  Sean Keys  <skeys@ipdatasys.com>
+
+       * xgate.h: Changed the format string for mode XGATE_OP_DYA_MON.
+
+2012-06-07  Georg-Johann Lay  <avr@gjlay.de>
+
+       * avr.h: (AVR_ISA_XCH): New define.
+       (AVR_ISA_XMEGA): Use it.
+       (XCH, LAS, LAT, LAC): New XMEGA opcodes.
+
+2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
+
+       * m68hc11.h: Add XGate definitions.
+       (struct m68hc11_opcode): Add xg_mask field.
+
+2012-05-14  Catherine Moore  <clm@codesourcery.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+           Rhonda Wittels  <rhonda@codesourcery.com>
+
+       * ppc.h (PPC_OPCODE_VLE): New definition.
+       (PPC_OP_SA): New macro.
+       (PPC_OP_SE_VLE): New macro.
+       (PPC_OP): Use a variable shift amount.
+       (powerpc_operand): Update comments.
+       (PPC_OPSHIFT_INV): New macro.
+       (PPC_OPERAND_CR): Replace with...
+       (PPC_OPERAND_CR_BIT): ...this and
+       (PPC_OPERAND_CR_REG): ...this.
+
+
+2012-05-03  Sean Keys  <skeys@ipdatasys.com>
+
+       * xgate.h: Header file for XGATE assembler.
+
+2012-04-27  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h: Document new arg code' )' for crypto RS3
+       immediates.
+
+       * sparc.h (struct sparc_opcode): New field 'hwcaps'.
+       F_MUL32, F_DIV32, F_FDMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
+       F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
+       F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING, F_HWCAP_MASK): Delete.
+       (HWCAP_MUL32, HWCAP_DIV32, HWCAP_FSMULD, HWCAP_V8PLUS, HWCAP_POPC,
+       HWCAP_VIS, HWCAP_VIS2, HWCAP_ASI_BLK_INIT, HWCAP_FMAF,
+       HWCAP_VIS3, HWCAP_HPC, HWCAP_RANDOM, HWCAP_TRANS, HWCAP_FJFMAU,
+       HWCAP_IMA, HWCAP_ASI_CACHE_SPARING, HWCAP_AES, HWCAP_DES,
+       HWCAP_KASUMI, HWCAP_CAMELLIA, HWCAP_MD5, HWCAP_SHA1,
+       HWCAP_SHA256, HWCAP_SHA512, HWCAP_MPMUL, HWCAP_MONT, HWCAP_PAUSE,
+       HWCAP_CBCOND, HWCAP_CRC32): New defines.
+
+2012-04-12  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h: Define '=' as generating R_SPARC_WDISP10.
+
+2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
+
+       * ppc.h: Add PPC_OPCODE_ALTIVEC2, PPC_OPCODE_E6500, PPC_OPCODE_TMR.
+
+2012-02-27  Alan Modra  <amodra@gmail.com>
+
+       * crx.h (cst4_map): Update declaration.
+
+2012-02-25  Walter Lee  <walt@tilera.com>
+
+       * tilegx.h (tilegx_mnemonic): Add TILEGX_OPC_LD4S_TLS,
+       TILEGX_OPC_LD_TLS.
+       * tilepro.h (tilepro_mnemonic): Add TILEPRO_OPC_LW_TLS,
+       TILEPRO_OPC_LW_TLS_SN.
+
+2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (XACQUIRE_PREFIX_OPCODE): New.
+       (XRELEASE_PREFIX_OPCODE): Likewise.
+
+2011-12-08  Andrew Pinski  <apinski@cavium.com>
+           Adam Nemet  <anemet@caviumnetworks.com>
+
+       * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEON2.
+       (INSN_OCTEON2): New macro.
+       (CPU_OCTEON2): New macro.
+       (OPCODE_IS_MEMBER): Add Octeon2.
+
+2011-11-29  Andrew Pinski  <apinski@cavium.com>
+
+       * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEONP.
+       (INSN_OCTEONP): New macro.
+       (CPU_OCTEONP): New macro.
+       (OPCODE_IS_MEMBER): Add Octeon+.
+       (M_SAA_AB, M_SAAD_AB, M_SAA_OB, M_SAAD_OB): New enum values.
+
+2011-11-01  DJ Delorie  <dj@redhat.com>
+
+       * rl78.h: New file.
+
+2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Fix a typo in description.
+
+2011-09-21  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h (struct sparc_opcode): Expand 'flags' to unsigned int.
+       (F_MUL32, F_DIV32, F_FSMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
+       F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
+       F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING): New flag bits.
+
+2011-08-09  Chao-ying Fu  <fu@mips.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (OP_MASK_3BITPOS, OP_SH_3BITPOS): New macros.
+       (OP_MASK_OFFSET12, OP_SH_OFFSET12): Redefine.
+       (INSN_ASE_MASK): Add the MCU bit.
+       (INSN_MCU): New macro.
+       (M_ACLR_AB, M_ACLR_OB, M_ASET_AB, M_ASET_OB): New enum values.
+       (MICROMIPSOP_MASK_3BITPOS, MICROMIPSOP_SH_3BITPOS): New macros.
+
+2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (INSN_WRITE_GPR_S, INSN2_WRITE_GPR_MB): New macros.
+       (INSN2_READ_GPR_MC, INSN2_READ_GPR_ME): Likewise.
+       (INSN2_WRITE_GPR_MF, INSN2_READ_GPR_MG): Likewise.
+       (INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ): Likewise.
+       (INSN2_READ_GPR_MP, INSN2_WRITE_GPR_MP): Likewise.
+       (INSN2_READ_GPR_MQ, INSN2_WRITE_GPR_MHI): Likewise.
+       (INSN2_READ_GPR_MMN): Likewise.
+       (INSN2_READ_FPR_D): Change the bit used.
+       (INSN2_MOD_GPR_MD, INSN2_MOD_GPR_MF): Likewise.
+       (INSN2_MOD_SP, INSN2_READ_GPR_31, INSN2_READ_GP): Likewise.
+       (INSN2_READ_PC, INSN2_UNCOND_BRANCH): Likewise.
+       (INSN2_COND_BRANCH): Likewise.
+       (INSN2_WRITE_GPR_S, INSN2_MOD_GPR_MB): Remove macros.
+       (INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG): Likewise.
+       (INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MP, INSN2_MOD_GPR_MQ): Likewise.
+       (INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MM): Likewise.
+       (INSN2_MOD_GPR_MN): Likewise.
+
+2011-08-05  David S. Miller  <davem@davemloft.net>
+
+       * sparc.h: Document new format codes '4', '5', and '('.
+       (OPF_LOW4, RS3): New macros.
+
+2011-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Document the use of FP_D in MIPS16 mode.  Adjust the
+       order of flags documented.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h: Clarify the description of microMIPS instruction
+       manipulation macros.
+       (MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.
+
+2011-07-24  Chao-ying Fu  <fu@mips.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (OP_MASK_EXTLSB, OP_SH_EXTLSB): New macros.
+       (OP_MASK_STYPE, OP_SH_STYPE): Likewise.
+       (OP_MASK_CODE10, OP_SH_CODE10): Likewise.
+       (OP_MASK_TRAP, OP_SH_TRAP): Likewise.
+       (OP_MASK_OFFSET12, OP_SH_OFFSET12): Likewise.
+       (OP_MASK_OFFSET10, OP_SH_OFFSET10): Likewise.
+       (OP_MASK_RS3, OP_SH_RS3): Likewise.
+       (OP_MASK_MB, OP_SH_MB, OP_MASK_MC, OP_SH_MC): Likewise.
+       (OP_MASK_MD, OP_SH_MD, OP_MASK_ME, OP_SH_ME): Likewise.
+       (OP_MASK_MF, OP_SH_MF, OP_MASK_MG, OP_SH_MG): Likewise.
+       (OP_MASK_MJ, OP_SH_MJ, OP_MASK_ML, OP_SH_ML): Likewise.
+       (OP_MASK_MP, OP_SH_MP, OP_MASK_MQ, OP_SH_MQ): Likewise.
+       (OP_MASK_IMMA, OP_SH_IMMA, OP_MASK_IMMB, OP_SH_IMMB): Likewise.
+       (OP_MASK_IMMC, OP_SH_IMMC, OP_MASK_IMMF, OP_SH_IMMF): Likewise.
+       (OP_MASK_IMMG, OP_SH_IMMG, OP_MASK_IMMH, OP_SH_IMMH): Likewise.
+       (OP_MASK_IMMI, OP_SH_IMMI, OP_MASK_IMMJ, OP_SH_IMMJ): Likewise.
+       (OP_MASK_IMML, OP_SH_IMML, OP_MASK_IMMM, OP_SH_IMMM): Likewise.
+       (OP_MASK_IMMN, OP_SH_IMMN, OP_MASK_IMMO, OP_SH_IMMO): Likewise.
+       (OP_MASK_IMMP, OP_SH_IMMP, OP_MASK_IMMQ, OP_SH_IMMQ): Likewise.
+       (OP_MASK_IMMU, OP_SH_IMMU, OP_MASK_IMMW, OP_SH_IMMW): Likewise.
+       (OP_MASK_IMMX, OP_SH_IMMX, OP_MASK_IMMY, OP_SH_IMMY): Likewise.
+       (INSN_WRITE_GPR_S): New macro.
+       (INSN2_BRANCH_DELAY_16BIT, INSN2_BRANCH_DELAY_32BIT): Likewise.
+       (INSN2_READ_FPR_D): Likewise.
+       (INSN2_MOD_GPR_MB, INSN2_MOD_GPR_MC): Likewise.
+       (INSN2_MOD_GPR_MD, INSN2_MOD_GPR_ME): Likewise.
+       (INSN2_MOD_GPR_MF, INSN2_MOD_GPR_MG): Likewise.
+       (INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MP): Likewise.
+       (INSN2_MOD_GPR_MQ, INSN2_MOD_SP): Likewise.
+       (INSN2_READ_GPR_31, INSN2_READ_GP, INSN2_READ_PC): Likewise.
+       (INSN2_UNCOND_BRANCH, INSN2_COND_BRANCH): Likewise.
+       (INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MM, INSN2_MOD_GPR_MN): Likewise.
+       (CPU_MICROMIPS): New macro.
+       (M_BC1FL, M_BC1TL, M_BC2FL, M_BC2TL): New enum values.
+       (M_BEQL, M_BGEZ, M_BGEZL, M_BGEZALL, M_BGTZ, M_BGTZL): Likewise.
+       (M_BLEZ, M_BLEZL, M_BLTZ, M_BLTZL, M_BLTZALL, M_BNEL): Likewise.
+       (M_CACHE_OB, M_JALS_1, M_JALS_2, M_JALS_A): Likewise.
+       (M_LDC2_OB, M_LDL_OB, M_LDM_AB, M_LDM_OB): Likewise.
+       (M_LDP_AB, M_LDP_OB, M_LDR_OB, M_LL_OB, M_LLD_OB): Likewise.
+       (M_LWC2_OB, M_LWL_OB, M_LWM_AB, M_LWM_OB): Likewise.
+       (M_LWP_AB, M_LWP_OB, M_LWR_OB): Likewise.
+       (M_LWU_OB, M_PREF_OB, M_SC_OB, M_SCD_OB): Likewise.
+       (M_SDC2_OB, M_SDL_OB, M_SDM_AB, M_SDM_OB): Likewise.
+       (M_SDP_AB, M_SDP_OB, M_SDR_OB): Likewise.
+       (M_SWC2_OB, M_SWL_OB, M_SWM_AB, M_SWM_OB): Likewise.
+       (M_SWP_AB, M_SWP_OB, M_SWR_OB): Likewise.
+       (MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): New macros.
+       (MICROMIPSOP_MASK_IMMEDIATE, MICROMIPSOP_SH_IMMEDIATE): Likewise.
+       (MICROMIPSOP_MASK_DELTA, MICROMIPSOP_SH_DELTA): Likewise.
+       (MICROMIPSOP_MASK_CODE10, MICROMIPSOP_SH_CODE10): Likewise.
+       (MICROMIPSOP_MASK_TRAP, MICROMIPSOP_SH_TRAP): Likewise.
+       (MICROMIPSOP_MASK_SHAMT, MICROMIPSOP_SH_SHAMT): Likewise.
+       (MICROMIPSOP_MASK_TARGET, MICROMIPSOP_SH_TARGET): Likewise.
+       (MICROMIPSOP_MASK_EXTLSB, MICROMIPSOP_SH_EXTLSB): Likewise.
+       (MICROMIPSOP_MASK_EXTMSBD, MICROMIPSOP_SH_EXTMSBD): Likewise.
+       (MICROMIPSOP_MASK_INSMSB, MICROMIPSOP_SH_INSMSB): Likewise.
+       (MICROMIPSOP_MASK_CODE, MICROMIPSOP_SH_CODE): Likewise.
+       (MICROMIPSOP_MASK_CODE2, MICROMIPSOP_SH_CODE2): Likewise.
+       (MICROMIPSOP_MASK_CACHE, MICROMIPSOP_SH_CACHE): Likewise.
+       (MICROMIPSOP_MASK_SEL, MICROMIPSOP_SH_SEL): Likewise.
+       (MICROMIPSOP_MASK_OFFSET12, MICROMIPSOP_SH_OFFSET12): Likewise.
+       (MICROMIPSOP_MASK_3BITPOS, MICROMIPSOP_SH_3BITPOS): Likewise.
+       (MICROMIPSOP_MASK_STYPE, MICROMIPSOP_SH_STYPE): Likewise.
+       (MICROMIPSOP_MASK_OFFSET10, MICROMIPSOP_SH_OFFSET10): Likewise.
+       (MICROMIPSOP_MASK_RS, MICROMIPSOP_SH_RS): Likewise.
+       (MICROMIPSOP_MASK_RT, MICROMIPSOP_SH_RT): Likewise.
+       (MICROMIPSOP_MASK_RD, MICROMIPSOP_SH_RD): Likewise.
+       (MICROMIPSOP_MASK_FS, MICROMIPSOP_SH_FS): Likewise.
+       (MICROMIPSOP_MASK_FT, MICROMIPSOP_SH_FT): Likewise.
+       (MICROMIPSOP_MASK_FD, MICROMIPSOP_SH_FD): Likewise.
+       (MICROMIPSOP_MASK_FR, MICROMIPSOP_SH_FR): Likewise.
+       (MICROMIPSOP_MASK_RS3, MICROMIPSOP_SH_RS3): Likewise.
+       (MICROMIPSOP_MASK_PREFX, MICROMIPSOP_SH_PREFX): Likewise.
+       (MICROMIPSOP_MASK_BCC, MICROMIPSOP_SH_BCC): Likewise.
+       (MICROMIPSOP_MASK_CCC, MICROMIPSOP_SH_CCC): Likewise.
+       (MICROMIPSOP_MASK_COPZ, MICROMIPSOP_SH_COPZ): Likewise.
+       (MICROMIPSOP_MASK_MB, MICROMIPSOP_SH_MB): Likewise.
+       (MICROMIPSOP_MASK_MC, MICROMIPSOP_SH_MC): Likewise.
+       (MICROMIPSOP_MASK_MD, MICROMIPSOP_SH_MD): Likewise.
+       (MICROMIPSOP_MASK_ME, MICROMIPSOP_SH_ME): Likewise.
+       (MICROMIPSOP_MASK_MF, MICROMIPSOP_SH_MF): Likewise.
+       (MICROMIPSOP_MASK_MG, MICROMIPSOP_SH_MG): Likewise.
+       (MICROMIPSOP_MASK_MH, MICROMIPSOP_SH_MH): Likewise.
+       (MICROMIPSOP_MASK_MI, MICROMIPSOP_SH_MI): Likewise.
+       (MICROMIPSOP_MASK_MJ, MICROMIPSOP_SH_MJ): Likewise.
+       (MICROMIPSOP_MASK_ML, MICROMIPSOP_SH_ML): Likewise.
+       (MICROMIPSOP_MASK_MM, MICROMIPSOP_SH_MM): Likewise.
+       (MICROMIPSOP_MASK_MN, MICROMIPSOP_SH_MN): Likewise.
+       (MICROMIPSOP_MASK_MP, MICROMIPSOP_SH_MP): Likewise.
+       (MICROMIPSOP_MASK_MQ, MICROMIPSOP_SH_MQ): Likewise.
+       (MICROMIPSOP_MASK_IMMA, MICROMIPSOP_SH_IMMA): Likewise.
+       (MICROMIPSOP_MASK_IMMB, MICROMIPSOP_SH_IMMB): Likewise.
+       (MICROMIPSOP_MASK_IMMC, MICROMIPSOP_SH_IMMC): Likewise.
+       (MICROMIPSOP_MASK_IMMD, MICROMIPSOP_SH_IMMD): Likewise.
+       (MICROMIPSOP_MASK_IMME, MICROMIPSOP_SH_IMME): Likewise.
+       (MICROMIPSOP_MASK_IMMF, MICROMIPSOP_SH_IMMF): Likewise.
+       (MICROMIPSOP_MASK_IMMG, MICROMIPSOP_SH_IMMG): Likewise.
+       (MICROMIPSOP_MASK_IMMH, MICROMIPSOP_SH_IMMH): Likewise.
+       (MICROMIPSOP_MASK_IMMI, MICROMIPSOP_SH_IMMI): Likewise.
+       (MICROMIPSOP_MASK_IMMJ, MICROMIPSOP_SH_IMMJ): Likewise.
+       (MICROMIPSOP_MASK_IMML, MICROMIPSOP_SH_IMML): Likewise.
+       (MICROMIPSOP_MASK_IMMM, MICROMIPSOP_SH_IMMM): Likewise.
+       (MICROMIPSOP_MASK_IMMN, MICROMIPSOP_SH_IMMN): Likewise.
+       (MICROMIPSOP_MASK_IMMO, MICROMIPSOP_SH_IMMO): Likewise.
+       (MICROMIPSOP_MASK_IMMP, MICROMIPSOP_SH_IMMP): Likewise.
+       (MICROMIPSOP_MASK_IMMQ, MICROMIPSOP_SH_IMMQ): Likewise.
+       (MICROMIPSOP_MASK_IMMU, MICROMIPSOP_SH_IMMU): Likewise.
+       (MICROMIPSOP_MASK_IMMW, MICROMIPSOP_SH_IMMW): Likewise.
+       (MICROMIPSOP_MASK_IMMX, MICROMIPSOP_SH_IMMX): Likewise.
+       (MICROMIPSOP_MASK_IMMY, MICROMIPSOP_SH_IMMY): Likewise.
+       (MICROMIPSOP_MASK_CODE, MICROMIPSOP_SH_CODE): Likewise.
+       (MICROMIPSOP_MASK_CODE2, MICROMIPSOP_SH_CODE2): Likewise.
+       (MICROMIPSOP_MASK_CACHE, MICROMIPSOP_SH_CACHE): Likewise.
+       (MICROMIPSOP_MASK_CODE20, MICROMIPSOP_SH_CODE20): Likewise.
+       (MICROMIPSOP_MASK_PERFREG, MICROMIPSOP_SH_PERFREG): Likewise.
+       (MICROMIPSOP_MASK_CODE19, MICROMIPSOP_SH_CODE19): Likewise.
+       (MICROMIPSOP_MASK_ALN, MICROMIPSOP_SH_ALN): Likewise.
+       (MICROMIPSOP_MASK_VECBYTE, MICROMIPSOP_SH_VECBYTE): Likewise.
+       (MICROMIPSOP_MASK_VECALIGN, MICROMIPSOP_SH_VECALIGN): Likewise.
+       (MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Likewise.
+       (MICROMIPSOP_MASK_DSPACC_S, MICROMIPSOP_SH_DSPACC_S): Likewise.
+       (MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
+       (MICROMIPSOP_MASK_DSPSFT_7, MICROMIPSOP_SH_DSPSFT_7): Likewise.
+       (MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
+       (MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
+       (MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
+       (MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
+       (MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
+       (MICROMIPSOP_MASK_RDDSP, MICROMIPSOP_SH_RDDSP): Likewise.
+       (MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.
+       (MICROMIPSOP_MASK_MT_U, MICROMIPSOP_SH_MT_U): Likewise.
+       (MICROMIPSOP_MASK_MT_H, MICROMIPSOP_SH_MT_H): Likewise.
+       (MICROMIPSOP_MASK_MTACC_T, MICROMIPSOP_SH_MTACC_T): Likewise.
+       (MICROMIPSOP_MASK_MTACC_D, MICROMIPSOP_SH_MTACC_D): Likewise.
+       (MICROMIPSOP_MASK_BBITIND, MICROMIPSOP_SH_BBITIND): Likewise.
+       (MICROMIPSOP_MASK_CINSPOS, MICROMIPSOP_SH_CINSPOS): Likewise.
+       (MICROMIPSOP_MASK_CINSLM1, MICROMIPSOP_SH_CINSLM1): Likewise.
+       (MICROMIPSOP_MASK_SEQI, MICROMIPSOP_SH_SEQI): Likewise.
+       (micromips_opcodes): New declaration.
+       (bfd_micromips_num_opcodes): Likewise.
+
+2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (INSN_TRAP): Rename to...
+       (INSN_NO_DELAY_SLOT): ... this.
+       (INSN_SYNC): Remove macro.
+
+2011-07-01  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * avr.h (AVR_ISA_AVR6): Remove AVR_ISA_SPMX as it was actually
+       a duplicate of AVR_ISA_SPM.
+
+2011-07-01  Nick Clifton  <nickc@redhat.com>
+
+       * avr.h (AVR_ISA_AVR6): Fix typo, adding AVR_ISA_SPMX.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin.h (is_macmod_signed): New func
+
+2011-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin.h (is_macmod_pmove): Add missing space before func args.
+       (is_macmod_hmove): Likewise.
+
+2011-06-13  Walter Lee  <walt@tilera.com>
+
+       * tilegx.h: New file.
+       * tilepro.h: New file.
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (ARM_ARCH_V7R_IDIV): Define.
+
+2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h: Replace S390_OPERAND_REG_EVEN with
+       S390_OPERAND_REG_PAIR.
+
+2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h: Add S390_OPCODE_REG_EVEN flag.
+
+2011-04-18  Julian Brown  <julian@codesourcery.com>
+
+       * arm.h (ARM_AEXT_V7_ARM): Remove ARM_EXT_OS from bitmask.
+
+2011-04-11  Dan McDonald  <dan@wellkeeper.com>
+
+       PR gas/12296
+       * arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS.
+
+2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * avr.h (AVR_ISA_SPMX,AVR_ISA_DES,AVR_ISA_M256,AVR_ISA_XMEGA):
+       New instruction set flags.
+       (AVR_INSN): Add new instructions for SPM Z+, DES for XMEGA.
+
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (M_PREF_AB): New enum value.
+
+2011-02-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin.h (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH,
+       M_IU): Define.
+       (is_macmod_pmove, is_macmod_hmove): New functions.
+
+2011-02-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin.h: Add OPCODE_BFIN_H ifdef multiple include protection.
+
+2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP.
+       * tic6x.h (TIC6X_INSN_ATOMIC): Remove.
+
+2010-12-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR gas/11395
+       * hppa.h (pa_opcodes): Revert last change.  Exchange 32 and 64-bit
+       "bb" entries.
+
+2010-12-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR gas/11395
+       * hppa.h: Clear "d" bit in "add" and "sub" patterns.
+
+2010-12-18  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Update commentary after last commit.
+
+2010-12-18  Mingjie Xing  <mingjie.xing@gmail.com>
+
+       * mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C)
+       (OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z)
+       (INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define.
+
+2010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.
+
+2010-11-23  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mips.h: Fix previous commit.
+
+2010-11-23  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
+       (INSN_LOONGSON_3A): Clear bit 31.
+
+2010-11-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       PR gas/12198
+       * arm.h (ARM_AEXT_V6M_ONLY): New define.
+       (ARM_AEXT_V6M): Rewrite in terms of ARM_AEXT_V6M_ONLY.
+       (ARM_ARCH_V6M_ONLY): New define.
+
+2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
+
+       * mips.h (INSN_LOONGSON_3A): Defined.
+       (CPU_LOONGSON_3A): Defined.
+       (OPCODE_IS_MEMBER): Add LOONGSON_3A.
+
+2010-10-09  Matt Rice  <ratmice@gmail.com>
+
+       * cgen.h (CGEN_ATTR, CGEN_ATTR_TYPE): Rename bool attribute to bool_.
+       (CGEN_ATTR_BOOLS, CGEN_ATTR_CGEN_INSN_ALIAS_VALUE): Likewise.
+
+2010-09-29  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * tic6x-control-registers.h (tscl): Now read_write.
+
+2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val.
+
+2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_EXT_VIRT): New define.
+       (ARM_ARCH_V7A_IDIV_MP_SEC): Rename...
+       (ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): ...to this and include Virtualization
+       Extensions.
+
+2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_AEXT_ADIV): New define.
+       (ARM_ARCH_V7A_IDIV_MP_SEC): Likewise.
+
+2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_EXT_OS): New define.
+       (ARM_AEXT_V6SM): Likewise.
+       (ARM_ARCH_V6SM): Likewise.
+
+2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm.h (ARM_EXT_MP): Add.
+       (ARM_ARCH_V7A_MP): Likewise.
+
+2010-09-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin.h: Declare pseudoChr structs/defines.
+
+2010-09-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin.h: Strip trailing whitespace.
+
+2009-09-04  Jie Zhang  <jie.zhang@analog.com>
+
+       * bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp.
+       (PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask): Define.
+       (PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask,
+       PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask):
+       Adjust accordingly.
+       (init_PseudoDbg_Assert): Add PseudoDbg_Assert_grp_bits and
+       PseudoDbg_Assert_grp_mask.
+
+2010-07-29  DJ Delorie  <dj@redhat.com>
+
+       * rx.h (RX_Operand_Type): Add TwoReg.
+       (RX_Opcode_ID): Remove ediv and ediv2.
+
+2010-07-27  DJ Delorie  <dj@redhat.com>
+
+       * rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.
+
+2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
+           Ina Pandit  <ina.pandit@kpitcummins.com>
+
+       * v850.h: Define PROCESSOR_MASK, PROCESSOR_OPTION_EXTENSION,
+       PROCESSOR_OPTION_ALIAS, PROCESSOR_V850E2, PROCESSOR_V850E2V3 and
+       PROCESSOR_V850E2_ALL.
+       Remove PROCESSOR_V850EA support.
+       (v850_operand): Define V850_OPERAND_EP, V850_OPERAND_FLOAT_CC,
+       V850_OPERAND_VREG, V850E_IMMEDIATE16, V850E_IMMEDIATE16HI,
+       V850E_IMMEDIATE23, V850E_IMMEDIATE32, V850_OPERAND_SIGNED,
+       V850_OPERAND_DISP, V850_PCREL, V850_REG_EVEN, V850E_PUSH_POP,
+       V850_NOT_IMM0, V850_NOT_SA, V850_OPERAND_BANG and
+       V850_OPERAND_PERCENT.
+       Update V850_OPERAND_SRG, V850_OPERAND_CC, V850_OPERAND_RELAX and
+       V850_NOT_R0.
+       Remove V850_OPERAND_SIGNED, V850_OPERAND_EP, V850_OPERAND_DISP
+       and V850E_PUSH_POP
+
+2010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (MIPS16_INSN_UNCOND_BRANCH): New macro.
+       (MIPS16_INSN_BRANCH): Rename to...
+       (MIPS16_INSN_COND_BRANCH): ... this.
+
+2010-07-03  Alan Modra  <amodra@gmail.com>
+
+       * ppc.h (PPC_OPCODE_32, PPC_OPCODE_BOOKE64, PPC_OPCODE_CLASSIC): Delete.
+       Renumber other PPC_OPCODE defines.
+
+2010-07-03  Alan Modra  <amodra@gmail.com>
+
+       * ppc.h (PPC_OPCODE_COMMON): Expand comment.
+
+2010-06-29  Alan Modra  <amodra@gmail.com>
+
+       * maxq.h: Delete file.
+
+2010-06-14  Sebastian Andrzej Siewior  <bigeasy@linutronix.de>
+
+       * ppc.h (PPC_OPCODE_E500): Define.
+
+2010-05-26  Catherine Moore  <clm@codesourcery.com>
+
+       * mips.h (INSN_MIPS16): Remove.
+
+2010-04-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-insn-formats.h (s_branch): Correct typo in bitmask.
+
+2010-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * alpha.h: Update copyright notice to use GPLv3.
+       * arc.h: Likewise.
+       * arm.h: Likewise.
+       * avr.h: Likewise.
+       * bfin.h: Likewise.
+       * cgen.h: Likewise.
+       * convex.h: Likewise.
+       * cr16.h: Likewise.
+       * cris.h: Likewise.
+       * crx.h: Likewise.
+       * d10v.h: Likewise.
+       * d30v.h: Likewise.
+       * dlx.h: Likewise.
+       * h8300.h: Likewise.
+       * hppa.h: Likewise.
+       * i370.h: Likewise.
+       * i386.h: Likewise.
+       * i860.h: Likewise.
+       * i960.h: Likewise.
+       * ia64.h: Likewise.
+       * m68hc11.h: Likewise.
+       * m68k.h: Likewise.
+       * m88k.h: Likewise.
+       * maxq.h: Likewise.
+       * mips.h: Likewise.
+       * mmix.h: Likewise.
+       * mn10200.h: Likewise.
+       * mn10300.h: Likewise.
+       * msp430.h: Likewise.
+       * np1.h: Likewise.
+       * ns32k.h: Likewise.
+       * or32.h: Likewise.
+       * pdp11.h: Likewise.
+       * pj.h: Likewise.
+       * pn.h: Likewise.
+       * ppc.h: Likewise.
+       * pyr.h: Likewise.
+       * rx.h: Likewise.
+       * s390.h: Likewise.
+       * score-datadep.h: Likewise.
+       * score-inst.h: Likewise.
+       * sparc.h: Likewise.
+       * spu-insns.h: Likewise.
+       * spu.h: Likewise.
+       * tic30.h: Likewise.
+       * tic4x.h: Likewise.
+       * tic54x.h: Likewise.
+       * tic80.h: Likewise.
+       * v850.h: Likewise.
+       * vax.h: Likewise.
+
+2010-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * tic6x-control-registers.h, tic6x-insn-formats.h,
+       tic6x-opcode-table.h, tic6x.h: New.
+
+2010-02-25  Wu Zhangjin  <wuzhangjin@gmail.com>
+
+       * mips.h: (LOONGSON2F_NOP_INSN): New macro.
+
+2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
+
+       * ppc.h (PPC_OPCODE_TITAN): Define.
+
+2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64.h (ia64_find_opcode): Remove argument name.
+       (ia64_find_next_opcode): Likewise.
+       (ia64_dis_opcode): Likewise.
+       (ia64_free_opcode): Likewise.
+       (ia64_find_dependency): Likewise.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cgen.h: Include bfd_stdint.h.
+       (CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
+
+2009-11-18  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define.
+
+2009-11-17  Paul Brook  <paul@codesourcery.com>
+       Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm.h (ARM_EXT_V6_DSP): Define.
+       (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP.
+       (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define.
+
+2009-11-04  DJ Delorie  <dj@redhat.com>
+
+       * rx.h (rx_decode_opcode) (mvtipl): Add.
+       (mvtcp, mvfcp, opecp): Remove.
+
+2009-11-02  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA,
+       FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define.
+       (FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD,
+       FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16,
+       FPU_ARCH_NEON_VFP_V4): Define.
+
+2009-10-23  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-bitset.h: Delete, moved to ../cgen/bitset.h.
+       * cgen.h: Update.  Improve multi-inclusion macro name.
+
+2009-10-02  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPCODE_476): Define.
+
+2009-10-01  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.
+
+2009-09-29  DJ Delorie  <dj@redhat.com>
+
+       * rx.h: New file.
+
+2009-09-22  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (ppc_cpu_t): Typedef to uint64_t.
+
+2009-09-21  Ben Elliston  <bje@au.ibm.com>
+
+       * ppc.h (PPC_OPCODE_PPCA2): New.
+
+2009-09-05  Martin Thuresson  <martin@mtme.org>
+
+       * ia64.h (struct ia64_operand): Renamed member class to op_class.
+
+2009-08-29  Martin Thuresson  <martin@mtme.org>
+
+       * tic30.h (template): Rename type template to
+       insn_template. Updated code to use new name.
+       * tic54x.h (template): Rename type template to
+       insn_template.
+
+2009-08-20  Nick Hudson  <nick.hudson@gmx.co.uk>
+
+       * hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
+
+2009-06-11  Anthony Green  <green@moxielogic.com>
+
+       * moxie.h (MOXIE_F3_PCREL): Define.
+       (moxie_form3_opc_info): Grow.
+
+2009-06-06  Anthony Green  <green@moxielogic.com>
+
+       * moxie.h (MOXIE_F1_M): Define.
+
+2009-04-15  Anthony Green  <green@moxielogic.com>
+
+       * moxie.h: Created.
+
+2009-04-06  DJ Delorie  <dj@redhat.com>
+
+       * h8300.h: Add relaxation attributes to MOVA opcodes.
+
+2009-03-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (ppc_parse_cpu): Declare.
+
+2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
+
+       * score-inst.h (score_insn_type, score_data_type): Add Ra_I9_I5
+       and _IMM11 for mbitclr and mbitset.
+       * score-datadep.h: Update dependency information.
+
+2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPCODE_POWER7): New.
+
+2009-02-06  Doug Evans  <dje@google.com>
+
+       * i386.h: Add comment regarding sse* insns and prefixes.
+
+2009-02-03  Sandip Matte  <sandip@rmicorp.com>
+
+       * mips.h (INSN_XLR): Define.
+       (INSN_CHIP_MASK): Update.
+       (CPU_XLR): Define.
+       (OPCODE_IS_MEMBER): Update.
+       (M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define.
+
+2009-01-28  Doug Evans  <dje@google.com>
+
+       * i386.h: Add multiple inclusion protection.
+       (EAX_REG_NUM,ECX_REG_NUM,EDX_REGNUM,EBX_REG_NUM,ESI_REG_NUM)
+       (EDI_REG_NUM): New macros.
+       (MODRM_MOD_FIELD,MODRM_REG_FIELD,MODRM_RM_FIELD): New macros.
+       (SIB_SCALE_FIELD,SIB_INDEX_FIELD,SIB_BASE_FIELD): New macros.
+       (REX_PREFIX_P): New macro.
+
+2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (struct powerpc_opcode): New field "deprecated".
+       (PPC_OPCODE_NOPOWER4): Delete.
+
+2008-11-28  Joshua Kinard  <kumba@gentoo.org>
+
+       * mips.h: Define CPU_R14000, CPU_R16000.
+       (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
+
+2008-11-18  Catherine Moore  <clm@codesourcery.com>
+
+       * arm.h (FPU_NEON_FP16): New.
+       (FPU_ARCH_NEON_FP16): New.
+
+2008-11-06  Chao-ying Fu  <fu@mips.com>
+
+       * mips.h: Doucument '1' for 5-bit sync type.
+
+2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64.h (ia64_resource_specifier): Add IA64_RS_CR_IIB.  Update
+       IA64_RS_CR.
+
+2008-08-08  Anatoly Sokolov  <aesok@post.ru>
+
+       * avr.h (AVR_ISA_TINY3, AVR_ISA_ALL, AVR_ISA_USB162): Remove.
+       (AVR_ISA_AVR3): Redefine.
+       (AVR_ISA_AVR1, AVR_ISA_AVR2, AVR_ISA_AVR31, AVR_ISA_AVR35,
+       AVR_ISA_AVR3_ALL, AVR_ISA_AVR4, AVR_ISA_AVR5, AVR_ISA_AVR51,
+       AVR_ISA_AVR6): Define.
+
+2008-08-01  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (PPC_OPCODE_VSX, PPC_OPERAND_VSR): New.
+
+2008-07-30  Michael J. Eager  <eager@eagercon.com>
+
+       * ppc.h (PPC_OPCODE_405): Define.
+       (PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define.
+
+2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (ppc_cpu_t): New typedef.
+       (struct powerpc_opcode <flags>): Use it.
+       (struct powerpc_operand <insert, extract>): Likewise.
+       (struct powerpc_macro <flags>): Likewise.
+
+2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * mips.h: Document new field descriptors +x, +X, +p, +P, +s, +S.
+       Update comment before MIPS16 field descriptors to mention MIPS16.
+       (OP_SH_BBITIND, OP_MASK_BBITIND): New bit mask and shift count for
+       BBIT.
+       (OP_SH_CINSPOS, OP_MASK_CINSPOS, OP_SH_CINSLM1, OP_MASK_CINSLM1):
+       New bit masks and shift counts for cins and exts.
+
+       * mips.h: Document new field descriptors +Q.
+       (OP_SH_SEQI, OP_MASK_SEQI): New bit mask and shift count for SEQI.
+
+2008-04-28  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * mips.h (INSN_MACRO): Move it up to the pinfo macros.
+       (INSN2_M_FP_S, INSN2_M_FP_D): New pinfo2 macros.
+
+2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
+
+       * ppc.h: (PPC_OPCODE_E500MC): New.
+
+2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (MAX_OPERANDS): Set to 5.
+       (MAX_MNEM_SIZE): Changed to 20.
+
+2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167.
+
+2008-03-09  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (FPU_VFP_EXT_D32, FPU_VFP_V3D16, FPU_ARCH_VFP_V3D16): Define.
+
+2008-03-04  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (ARM_EXT_V6M, ARM_EXT_BARRIER, ARM_EXT_THUMB_MSR): Define.
+       (ARM_AEXT_V6T2, ARM_AEXT_V7_ARM, ARM_AEXT_V7M): Use new flags.
+       (ARM_AEXT_V6M, ARM_ARCH_V6M): Define.
+
+2008-02-27  Denis Vlasenko  <vda.linux@googlemail.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 3134
+       * h8300.h (h8_opcodes): Add an encoding for a mov.l instruction
+       with a 32-bit displacement but without the top bit of the 4th byte
+       set.
+
+2008-02-18  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * cr16.h (cr16_num_optab): Declared.
+
+2008-02-14  Hakan Ardo  <hakan@debian.org>
+
+       PR gas/2626
+       * avr.h (AVR_ISA_2xxe): Define.
+
+2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * mips.h: Update copyright.
+       (INSN_CHIP_MASK): New macro.
+       (INSN_OCTEON): New macro.
+       (CPU_OCTEON): New macro.
+       (OPCODE_IS_MEMBER): Handle Octeon instructions.
+
+2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.
+
+2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * avr.h (AVR_ISA_USB162): Add new opcode set.
+       (AVR_ISA_AVR3): Likewise.
+
+2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * mips.h (INSN_LOONGSON_2E): New.
+       (INSN_LOONGSON_2F): New.
+       (CPU_LOONGSON_2E): New.
+       (CPU_LOONGSON_2F): New.
+       (OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.
+
+2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * mips.h (INSN_ISA*): Redefine certain values as an
+       enumeration.  Update comments.
+       (mips_isa_table): New.
+       (ISA_MIPS*): Redefine to match enumeration.
+       (OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
+       values.
+
+2007-08-08  Ben Elliston  <bje@au.ibm.com>
+
+       * ppc.h (PPC_OPCODE_PPCPS): New.
+
+2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h: Document j K & E.
+
+2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
+
+       * cr16.h: New file for CR16 target.
+
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (PPC_OPERAND_PLUS1): Update comment.
+
+2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h (mcfisa_c): New.
+       (mcfusp, mcf_mask): Adjust.
+
+2007-04-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (struct powerpc_operand): Replace "bits" with "bitm".
+       (num_powerpc_operands): Declare.
+       (PPC_OPERAND_SIGNED et al): Redefine as hex.
+       (PPC_OPERAND_PLUS1): Define.
+
+2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (REX_MODE64): Renamed to ...
+       (REX_W): This.
+       (REX_EXTX): Renamed to ...
+       (REX_R): This.
+       (REX_EXTY): Renamed to ...
+       (REX_X): This.
+       (REX_EXTZ): Renamed to ...
+       (REX_B): This.
+
+2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h: Add entries from config/tc-i386.h and move tables
+       to opcodes/i386-opc.h.
+
+2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (FloatDR): Removed.
+       (i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
+
+2007-03-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * spu-insns.h: Add soma double-float insns.
+
+2007-02-20  Thiemo Seufer  <ths@mips.com>
+           Chao-Ying Fu  <fu@mips.com>
+
+       * mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
+       (INSN_DSPR2): Add flag for DSP R2 instructions.
+       (M_BALIGN): New macro.
+
+2007-02-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * i386.h (i386_optab): Replace all occurrences of Seg2ShortForm
+       and Seg3ShortFrom with Shortform.
+
+2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/4027
+       * i386.h (i386_optab): Put the real "test" before the pseudo
+       one.
+
+2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (m68010up): OR fido_a.
+
+2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (fido_a): New.
+
+2006-12-24  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
+       mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
+       values.
+
+2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Replace CpuPNI with CpuSSE3.
+
+2006-10-31  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score-inst.h (enum score_insn_type): Add Insn_internal.
+
+2006-10-25  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
+           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
+           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * spu-insns.h: New file.
+       * spu.h: New file.
+
+2006-10-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * ppc.h (PPC_OPCODE_CELL): Define.
+
+2006-10-23  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       * i386.h :  Modify opcode to support for the change in POPCNT opcode
+       in amdfam10 architecture.
+
+2006-09-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h: Replace CpuMNI with CpuSSSE3.
+
+2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+           Ian Lance Taylor  <ian@wasabisystems.com>
+           Ben Elliston  <bje@wasabisystems.com>
+
+       * arm.h (ARM_CEXT_IWMMXT2, ARM_ARCH_IWMMXT2): Define.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score-datadep.h: New file.
+       * score-inst.h: New file.
+
+2006-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Remove InvMem from maskmovq, movhlps,
+       movlhps, movmskps, pextrw, pmovmskb, movmskpd, maskmovdqu,
+       movdq2q and movq2dq.
+
+2006-07-10 Dwarakanath Rajagopal       <dwarak.rajagopal@amd.com>
+          Michael Meissner             <michael.meissner@amd.com>
+
+       * i386.h: Add amdfam10 new instructions (SSE4a and ABM instructions).
+
+2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Add "nop" with memory reference.
+
+2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Update comment for 64bit NOP.
+
+2006-06-06  Ben Elliston  <bje@au.ibm.com>
+           Anton Blanchard  <anton@samba.org>
+
+       * ppc.h (PPC_OPCODE_POWER6): Define.
+       Adjust whitespace.
+
+2006-06-05  Thiemo Seufer  <ths@mips.com>
+
+       * mips.h: Improve description of MT flags.
+
+2006-05-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * m68k.h (mcf_mask): Define.
+
+2006-05-05  Thiemo Seufer  <ths@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * mips.h (enum): Add macro M_CACHE_AB.
+
+2006-05-04  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * mips.h: Add INSN_SMARTMIPS define.
+
+2006-04-30  Thiemo Seufer  <ths@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * mips.h: Defines udi bits and masks.  Add description of
+       characters which may appear in the args field of udi
+       instructions.
+
+2006-04-26  Thiemo Seufer  <ths@networkno.de>
+
+       * mips.h: Improve comments describing the bitfield instruction
+       fields.
+
+2006-04-26  Julian Brown  <julian@codesourcery.com>
+
+       * arm.h (FPU_VFP_EXT_V3): Define constant.
+       (FPU_NEON_EXT_V1): Likewise.
+       (FPU_VFP_HARD): Update.
+       (FPU_VFP_V3): Define macro.
+       (FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.
+
+2006-04-07  Joerg Wunsch  <j.gnu@uriah.heep.sax.de>
+
+       * avr.h (AVR_ISA_PWMx): New.
+
+2006-03-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h (cpu_m68k, cpu_cf, cpu_m68000, cpu_m68008, cpu_m68010,
+       cpu_m68020, cpu_m68ec030, cpu_m68040, cpu_m68060, cpu_m68851,
+       cpu_m68881, cpu_m68882, cpu_cpu32, cpu_cf5200, cpu_cf5206e,
+       cpu_cf5208, cpu_cf521x, cpu_cf5213, cpu_cf5249, cpu_cf528x,
+       cpu_cf5307, cpu_cf5329, cpu_cf5407, cpu_cf547x, cpu_cf548x): Remove.
+
+2006-03-10  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
+
+2006-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
+       first.  Correct mask of bb "B" opcode.
+
+2006-02-27  H.J. Lu <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Support Intel Merom New Instructions.
+
+2006-02-24  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h: Add V7 feature bits.
+
+2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64.h (ia64_opnd): Add IA64_OPND_IMMU5b.
+
+2006-01-31  Paul Brook  <paul@codesourcery.com>
+       Richard Earnshaw <rearnsha@arm.com>
+
+       * arm.h: Use ARM_CPU_FEATURE.
+       (ARM_AEXT_*, FPU_ENDIAN_PURE, FPU_VFP_HARD): New.
+       (arm_feature_set): Change to a structure.
+       (ARM_CPU_HAS_FEATURE, ARM_MERGE_FEATURE_SETS, ARM_CLEAR_FEATURE,
+       ARM_FEATURE): New macros.
+
+2005-12-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
+       (MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
+       (ADD_PC_INCR_OPCODE): Don't define.
+
+2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/1874
+       * i386.h (i386_optab): Add 64bit support for monitor and mwait.
+
+2005-11-14  David Ung  <davidu@mips.com>
+
+       * mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
+       instructions.  Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
+       save/restore encoding of the args field.
+
+2005-10-28  Dave Brolley  <brolley@redhat.com>
+
+       Contribute the following changes:
+       2005-02-16  Dave Brolley  <brolley@redhat.com>
+
+       * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
+       cgen_isa_mask_* to cgen_bitset_*.
+       * cgen.h: Likewise.
+
+       2003-10-21  Richard Sandiford  <rsandifo@redhat.com>
+
+       * cgen.h (CGEN_BITSET_ATTR_VALUE): Fix definition.
+       (CGEN_ATTR_ENTRY): Change "value" to type "unsigned".
+       (CGEN_CPU_TABLE): Make isas a ponter.
+
+       2003-09-29  Dave Brolley  <brolley@redhat.com>
+
+       * cgen.h (CGEN_ATTR_VALUE_BITSET_TYPE): New typedef.
+       (CGEN_ATTR_VALUE_ENUM_TYPE): Ditto.
+       (CGEN_ATTR_VALUE_TYPE): Use these new typedefs.
+
+       2002-12-13  Dave Brolley  <brolley@redhat.com>
+
+       * cgen.h (symcat.h): #include it.
+       (cgen-bitset.h): #include it.
+       (CGEN_ATTR_VALUE_TYPE): Now a union.
+       (CGEN_ATTR_VALUE): Reference macros generated in opcodes/<arch>-desc.h.
+       (CGEN_ATTR_ENTRY): 'value' now unsigned.
+       (cgen_cpu_desc): 'isas' now (CGEN_ISA_MASK*).
+       * cgen-bitset.h: New file.
+
+2005-09-30  Catherine Moore  <clm@cm00re.com>
+
+       * bfin.h: New file.
+
+2005-10-24  Jan Beulich  <jbeulich@novell.com>
+
+       * ia64.h (enum ia64_opnd): Move memory operand out of set of
+       indirect operands.
+
+2005-10-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcodes): Add two fcmp opcodes.  Reorder ftest opcodes.
+       Add FLAG_STRICT to pa10 ftest opcode.
+
+2005-10-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcodes): Remove lha entries.
+
+2005-10-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (FLAG_STRICT): Revise comment.
+       (pa_opcode): Revise ordering rules.  Add/move strict pa10 variants
+       before corresponding pa11 opcodes.  Add strict pa10 register-immediate
+       entries for "fdc".
+
+2005-09-30  Catherine Moore  <clm@cm00re.com>
+
+       * bfin.h: New file.
+
+2005-09-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
+
+2005-09-06  Chao-ying Fu  <fu@mips.com>
+
+       * mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
+       OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
+       define.
+       Document !, $, *, &, g, +t, +T operand formats for MT instructions.
+       (INSN_ASE_MASK): Update to include INSN_MT.
+       (INSN_MT): New define for MT ASE.
+
+2005-08-25  Chao-ying Fu  <fu@mips.com>
+
+       * mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
+       OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
+       OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
+       OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
+       OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
+       Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
+       instructions.
+       (INSN_DSP): New define for DSP ASE.
+
+2005-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * a29k.h: Delete.
+
+2005-08-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * ppc.h (PPC_OPCODE_E300): Define.
+
+2005-08-12 Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
+
+2005-07-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR gas/336
+       * hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb
+       and pitlb.
+
+2005-07-27  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): Add comment to movd. Use LongMem for all
+       movd-s. Add NoRex64 to movq-s dealing only with mmx or xmm registers.
+       Add movq-s as 64-bit variants of movd-s.
+
+2005-07-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h: Fix punctuation in comment.
+
+       * hppa.h (pa_opcode):  Add rules for opcode ordering.  Check first for
+       implicit space-register addressing.  Set space-register bits on opcodes
+       using implicit space-register addressing.  Add various missing pa20
+       long-immediate opcodes.  Remove various opcodes using implicit 3-bit
+       space-register addressing.  Use "fE" instead of "fe" in various
+       fstw opcodes.
+
+2005-07-18  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): Operands of aam and aad are unsigned.
+
+2007-07-15  H.J. Lu <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Support Intel VMX Instructions.
+
+2005-07-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcode): Don't set FLAG_STRICT in pa10 loads and stores.
+
+2005-07-05  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): Add new insns.
+
+2005-07-01  Nick Clifton  <nickc@redhat.com>
+
+       * sparc.h: Add typedefs to structure declarations.
+
+2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 1013
+       * i386.h (i386_optab): Update comments for 64bit addressing on
+       mov. Allow 64bit addressing for mov and movq.
+
+2005-06-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
+       respectively, in various floating-point load and store patterns.
+
+2005-05-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hppa.h (FLAG_STRICT): Correct comment.
+       (pa_opcodes): Update load and store entries to allow both PA 1.X and
+       PA 2.0 mneumonics when equivalent.  Entries with cache control
+       completers now require PA 1.1.  Adjust whitespace.
+
+2005-05-19  Anton Blanchard  <anton@samba.org>
+
+       * ppc.h (PPC_OPCODE_POWER5): Define.
+
+2005-05-10  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       a29k.h, alpha.h, arc.h, arm.h, avr.h, cgen.h, convex.h, cris.h,
+       crx.h, d10v.h, d30v.h, dlx.h, h8300.h, hppa.h, i370.h, i386.h,
+       i860.h, i960.h, m68hc11.h, m68k.h, m88k.h, maxq.h, mips.h, mmix.h,
+       mn10200.h, mn10300.h, msp430.h, np1.h, ns32k.h, or32.h, pdp11.h,
+       pj.h, pn.h, ppc.h, pyr.h, s390.h, sparc.h, tic30.h, tic4x.h,
+       tic54x.h, tic80.h, v850.h, vax.h
+
+2005-05-09  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): Add ht and hnt.
+
+2005-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386.h: Insert hyphens into selected VIA PadLock extensions.
+       Add xcrypt-ctr.  Provide aliases without hyphens.
+
+2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Moved from ../ChangeLog
+
+       2005-04-12  Paul Brook  <paul@codesourcery.com>
+       * m88k.h: Rename psr macros to avoid conflicts.
+
+       2005-03-12  Zack Weinberg  <zack@codesourcery.com>
+       * arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
+       Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
+       and ARM_ARCH_V6ZKT2.
+
+       2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>
+       * crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
+       Remove redundant instruction types.
+       (struct argument): X_op - new field.
+       (struct cst4_entry): Remove.
+       (no_op_insn): Declare.
+
+       2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>
+       * crx.h (enum argtype): Rename types, remove unused types.
+
+       2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>
+       * crx.h (enum reg): Rearrange registers, remove 'ccfg' and `'pc'.
+       (enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
+       (enum operand_type): Rearrange operands, edit comments.
+       replace us<N> with ui<N> for unsigned immediate.
+       replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped
+       displacements (respectively).
+       replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
+       (instruction type): Add NO_TYPE_INS.
+       (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
+       (operand_entry): New field - 'flags'.
+       (operand flags): New.
+
+       2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>
+       * crx.h (operand_type): Remove redundant types i3, i4,
+       i5, i8, i12.
+       Add new unsigned immediate types us3, us4, us5, us16.
+
+2005-04-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386.h (i386_optab): Mark VIA PadLock instructions as ImmExt and
+       adjust them accordingly.
+
+2005-04-01  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): Add rdtscp.
+
+2005-03-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Don't allow the `l' suffix for moving
+       between memory and segment register. Allow movq for moving between
+       general-purpose register and segment register.
+
+2005-02-09  Jan Beulich  <jbeulich@novell.com>
+
+       PR gas/707
+       * i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
+       FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
+       fnstsw.
+
+2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k.h (m68008, m68ec030, m68882): Remove.
+       (m68k_mask): New.
+       (cpu_m68k, cpu_cf): New.
+       (mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407,
+       mcf5470, mcf5480): Rename to cpu_<foo>. Add m680x0 variants.
+
+2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
+
+       2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
+       * cgen.h (enum cgen_parse_operand_type): Add
+       CGEN_PARSE_OPERAND_SYMBOLIC.
+
+2005-01-21  Fred Fish  <fnf@specifixinc.com>
+
+       * mips.h: Change INSN_ALIAS to INSN2_ALIAS.
+       Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
+       Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
+
+2005-01-19  Fred Fish  <fnf@specifixinc.com>
+
+       * mips.h (struct mips_opcode): Add new pinfo2 member.
+       (INSN_ALIAS): New define for opcode table entries that are
+       specific instances of another entry, such as 'move' for an 'or'
+       with a zero operand.
+       (INSN_READ_MDMX_ACC): Redefine from 0 to 0x2.
+       (INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.
+
+2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * mips.h (CPU_RM9000): Define.
+       (OPCODE_IS_MEMBER): Handle CPU_RM9000.
+
+2004-11-25 Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
+       to/from test registers are illegal in 64-bit mode. Add missing
+       NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
+       (previously one had to explicitly encode a rex64 prefix). Re-enable
+       lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
+       support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
+
+2004-11-23 Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): paddq and psubq, even in their MMX form, are
+       available only with SSE2. Change the MMX additions introduced by SSE
+       and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
+       instructions by their now designated identifier (since combining i686
+       and 3DNow! does not really imply 3DNow!A).
+
+2004-11-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes,
+       struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c.
+
+2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
+           Vineet Sharma      <vineets@noida.hcltech.com>
+
+       * maxq.h: New file: Disassembly information for the maxq port.
+
+2004-11-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Put back "movzb".
+
+2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.h (enum cris_insn_version_usage): Tweak formatting and
+       comments.  Remove member cris_ver_sim.  Add members
+       cris_ver_sim_v0_10, cris_ver_v0_10, cris_ver_v3_10,
+       cris_ver_v8_10, cris_ver_v10, cris_ver_v10p.
+       (struct cris_support_reg, struct cris_cond15): New types.
+       (cris_conds15): Declare.
+       (JUMP_PC_INCR_OPCODE_V32, BA_DWORD_OPCODE, NOP_OPCODE_COMMON)
+       (NOP_OPCODE_ZBITS_COMMON, LAPC_DWORD_OPCODE, LAPC_DWORD_Z_BITS)
+       (NOP_OPCODE_V32, NOP_Z_BITS_V32): New macros.
+       (NOP_Z_BITS): Define in terms of NOP_OPCODE.
+       (cris_imm_oprnd_size_type): New members SIZE_FIELD_SIGNED and
+       SIZE_FIELD_UNSIGNED.
+
+2004-11-04 Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (sldx_Suf): Remove.
+       (FP, l_FP, sl_FP, x_FP): Don't imply IgnoreSize.
+       (q_FP): Define, implying no REX64.
+       (x_FP, sl_FP): Imply FloatMF.
+       (i386_optab): Split reg and mem forms of moving from segment registers
+       so that the memory forms can ignore the 16-/32-bit operand size
+       distinction. Adjust a few others for Intel mode. Remove *FP uses from
+       all non-floating-point instructions. Unite 32- and 64-bit forms of
+       movsx, movzx, and movd. Adjust floating point operations for the above
+       changes to the *FP macros. Add DefaultSize to floating point control
+       insns operating on larger memory ranges. Remove left over comments
+       hinting at certain insns being Intel-syntax ones where the ones
+       actually meant are already gone.
+
+2004-10-07  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * crx.h: Add COPS_REG_INS - Coprocessor Special register
+       instruction type.
+
+2004-09-30  Paul Brook  <paul@codesourcery.com>
+
+       * arm.h (ARM_EXT_V6K, ARM_EXT_V6Z): Define.
+       (ARM_ARCH_V6K, ARM_ARCH_V6Z, ARM_ARCH_V6ZK): Define.
+
+2004-09-11  Theodore A. Roth  <troth@openavr.org>
+
+       * avr.h: Add support for
+       atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
+
+2004-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.
+
+2004-08-24  Dmitry Diky  <diwil@spec.ru>
+
+       * msp430.h (msp430_opc): Add new instructions.
+       (msp430_rcodes): Declare new instructions.
+       (msp430_hcodes): Likewise..
+
+2004-08-13  Nick Clifton  <nickc@redhat.com>
+
+       PR/301
+       * h8300.h (O_JSR): Do not allow VECIND addressing for non-SX
+       processors.
+
+2004-08-30  Michal Ludvig  <mludvig@suse.cz>
+
+       * i386.h (i386_optab): Added montmul/xsha1/xsha256 insns.
+
+2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.
+
+2004-07-21  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h: Adjust instruction descriptions to better match the
+       specification.
+
+2004-07-16  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.h: Remove all old content.  Replace with architecture defines
+       from gas/config/tc-arm.c.
+
+2004-07-09  Andreas Schwab  <schwab@suse.de>
+
+       * m68k.h: Fix comment.
+
+2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * crx.h: New file.
+
+2004-06-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * i386.h (i386_optab): Remove fildd, fistpd and fisttpd.
+
+2004-05-24  Peter Barada  <peter@the-baradas.com>
+
+       * m68k.h: Add 'size' to m68k_opcode.
+
+2004-05-05  Peter Barada  <peter@the-baradas.com>
+
+       * m68k.h: Switch from ColdFire chip name to core variant.
+
+2004-04-22  Peter Barada  <peter@the-baradas.com>
+
+       * m68k.h: Add mcfmac/mcfemac definitions.  Update operand
+       descriptions for new EMAC cases.
+       Remove ColdFire macmw/macml/msacmw/msacmw hacks and properly
+       handle Motorola MAC syntax.
+       Allow disassembly of ColdFire V4e object files.
+
+2004-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc.h (PPC_OPERAND_GPR_0): Define.  Bump other operand defines.
+
+2004-03-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * i386.h (i386_optab): Remove CpuNo64 from sysenter and sysexit.
+
+2004-03-12  Michal Ludvig  <mludvig@suse.cz>
+
+       * i386.h (i386_optab): Added xstore as an alias for xstorerng.
+
+2004-03-12  Michal Ludvig  <mludvig@suse.cz>
+
+       * i386.h (i386_optab): Added xstore/xcrypt insns.
+
+2004-02-09  Anil Paranjpe  <anilp1@KPITCummins.com>
+
+       * h8300.h (32bit ldc/stc): Add relaxing support.
+
+2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
+
+       * h8300.h (BITOP): Pass MEMRELAX flag.
+
+2004-01-09  Anil Paranjpe  <anilp1@KPITCummins.com>
+
+       * h8300.h (BITOP): Dissallow operations on @aa:16 and @aa:32
+       except for the H8S.
+
+For older changes see ChangeLog-9103
+\f
+Copyright (C) 2004-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/som/ChangeLog b/include/som/ChangeLog
deleted file mode 100644 (file)
index e70771e..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2010-06-10  Tristan Gingold  <gingold@adacore.com>
-
-       * aout.h: New file.
-       * clock.h: Likewise.
-       * lst.h: Likewise.
-       * reloc.h: Likewise.
-       * internal.h: Likewise.
-\f
-Copyright (C) 2010-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/som/ChangeLog-1015 b/include/som/ChangeLog-1015
new file mode 100644 (file)
index 0000000..e70771e
--- /dev/null
@@ -0,0 +1,28 @@
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2010-06-10  Tristan Gingold  <gingold@adacore.com>
+
+       * aout.h: New file.
+       * clock.h: Likewise.
+       * lst.h: Likewise.
+       * reloc.h: Likewise.
+       * internal.h: Likewise.
+\f
+Copyright (C) 2010-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/include/vms/ChangeLog b/include/vms/ChangeLog
deleted file mode 100644 (file)
index 6b24be2..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-2014-03-05  Alan Modra  <amodra@gmail.com>
-
-       Update copyright years.
-
-2012-03-08  Tristan Gingold  <gingold@adacore.com>
-
-       * lbr.h (struct vms_lhd): Add comments.
-
-2010-05-27  Tristan Gingold  <gingold@adacore.com>
-
-       * lbr.h: Improve comments.
-
-2010-05-17  Tristan Gingold  <gingold@adacore.com>
-
-       * eidc.h: New file.
-       * esgps.h: New file.
-
-2010-05-03  Tristan Gingold  <gingold@adacore.com>
-
-       * dmt.h: Improve comments.
-
-2010-04-30  Tristan Gingold  <gingold@adacore.com>
-
-       * lbr.h (struct vms_kbn): New structure.
-
-2010-04-30  Tristan Gingold  <gingold@adacore.com>
-
-       * lbr.h (LBR__C_TYP_ISHSTB): Added.
-       (LHD_SANEID4): Renamed to ...
-       (LHD_SANEID6): ...  this.
-       (LBR_MAJORID, LBR_ELFMAJORID): New macros.
-       (struct vms_rfa): New structure.
-       (struct vms_idxdef): Renamed to ...
-       (struct vms_idx): ... this.
-       (struct vms_idxdef2): Renamed to ...
-       (struct vms_elfidx): ... this.
-       (ELFIDX__WEAK, ELFIDX__GROUP, ELFIDX__LISTRFA, ELFIDX__SYMESC): New
-       macros.
-       (struct vms_lhs, struct vms_lns): New structures.
-       (struct vms_mhd): Add missing fields.
-       (MHD__C_MHDLEN): New macro.
-
-2010-03-31  Tristan Gingold  <gingold@adacore.com>
-
-       * dcx.h: New file.
-       * dsc.h: New file.
-       * esdfm.h: New file.
-       * esdfv.h: New file.
-       * internal.h: New file.
-       * lbr.h: New file.
-       * prt.h: New file.
-       * shl.h (struct vms_shl): Add comments.
-       * esrf.h (ESRF__B_NAMLNG): New macro.
-       * esdf.h (ESDF__B_NAMLNG): New macro.
-       * emh.h: Add macros for fields maximum value.
-       * eisd.h (EISD__M_PROTECT): Fix typo in comment.
-       Add macros for offsets, version, section type and match control.
-       Merge vms_eisd_ext into vms_eisd.
-       * eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added.
-       * eihs.h: Remove blank line.
-       * eihd.h (struct vms_eihd): Add comments, add image subtype names.
-       * eiha.h (struct vms_eiha): Add inishr and inishr_h fields.
-       * eiaf.h (struct vms_eiaf): Fix base_va size.
-       * egsy.h: Add comments.
-       * egsd.h: Remove blank line.
-       * egps.h: Add flag names.
-       * eeom.h (EEOM__M_WKTFR): Added.
-       * dst.h (DST__K_CXX): Added, and reident languages.
-       (DST__K_SRC_INCRLNUM_B): Added.
-       Indent and order pcline commands.
-       Add record begin/end, enumerations, type specification, value
-       specification, label, discontinue range definitions.
-
-2010-02-17  Tristan Gingold  <gingold@adacore.com>
-
-       * dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files.
-       * eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto.
-       * eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.
-\f
-Copyright (C) 2010-2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/include/vms/ChangeLog-1015 b/include/vms/ChangeLog-1015
new file mode 100644 (file)
index 0000000..6b24be2
--- /dev/null
@@ -0,0 +1,95 @@
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+2014-03-05  Alan Modra  <amodra@gmail.com>
+
+       Update copyright years.
+
+2012-03-08  Tristan Gingold  <gingold@adacore.com>
+
+       * lbr.h (struct vms_lhd): Add comments.
+
+2010-05-27  Tristan Gingold  <gingold@adacore.com>
+
+       * lbr.h: Improve comments.
+
+2010-05-17  Tristan Gingold  <gingold@adacore.com>
+
+       * eidc.h: New file.
+       * esgps.h: New file.
+
+2010-05-03  Tristan Gingold  <gingold@adacore.com>
+
+       * dmt.h: Improve comments.
+
+2010-04-30  Tristan Gingold  <gingold@adacore.com>
+
+       * lbr.h (struct vms_kbn): New structure.
+
+2010-04-30  Tristan Gingold  <gingold@adacore.com>
+
+       * lbr.h (LBR__C_TYP_ISHSTB): Added.
+       (LHD_SANEID4): Renamed to ...
+       (LHD_SANEID6): ...  this.
+       (LBR_MAJORID, LBR_ELFMAJORID): New macros.
+       (struct vms_rfa): New structure.
+       (struct vms_idxdef): Renamed to ...
+       (struct vms_idx): ... this.
+       (struct vms_idxdef2): Renamed to ...
+       (struct vms_elfidx): ... this.
+       (ELFIDX__WEAK, ELFIDX__GROUP, ELFIDX__LISTRFA, ELFIDX__SYMESC): New
+       macros.
+       (struct vms_lhs, struct vms_lns): New structures.
+       (struct vms_mhd): Add missing fields.
+       (MHD__C_MHDLEN): New macro.
+
+2010-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * dcx.h: New file.
+       * dsc.h: New file.
+       * esdfm.h: New file.
+       * esdfv.h: New file.
+       * internal.h: New file.
+       * lbr.h: New file.
+       * prt.h: New file.
+       * shl.h (struct vms_shl): Add comments.
+       * esrf.h (ESRF__B_NAMLNG): New macro.
+       * esdf.h (ESDF__B_NAMLNG): New macro.
+       * emh.h: Add macros for fields maximum value.
+       * eisd.h (EISD__M_PROTECT): Fix typo in comment.
+       Add macros for offsets, version, section type and match control.
+       Merge vms_eisd_ext into vms_eisd.
+       * eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added.
+       * eihs.h: Remove blank line.
+       * eihd.h (struct vms_eihd): Add comments, add image subtype names.
+       * eiha.h (struct vms_eiha): Add inishr and inishr_h fields.
+       * eiaf.h (struct vms_eiaf): Fix base_va size.
+       * egsy.h: Add comments.
+       * egsd.h: Remove blank line.
+       * egps.h: Add flag names.
+       * eeom.h (EEOM__M_WKTFR): Added.
+       * dst.h (DST__K_CXX): Added, and reident languages.
+       (DST__K_SRC_INCRLNUM_B): Added.
+       Indent and order pcline commands.
+       Add record begin/end, enumerations, type specification, value
+       specification, label, discontinue range definitions.
+
+2010-02-17  Tristan Gingold  <gingold@adacore.com>
+
+       * dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files.
+       * eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto.
+       * eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.
+\f
+Copyright (C) 2010-2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/ld/ChangeLog b/ld/ChangeLog
deleted file mode 100644 (file)
index b03775f..0000000
+++ /dev/null
@@ -1,1205 +0,0 @@
-2015-12-22 Yury Usishchev <y.usishchev@samsung.com>
-
-       * emultempl/armelf.em (gld${EMULATION_NAME}_after_allocation): Call
-       elf32_arm_fix_exidx_coverage for relocatable builds.
-
-2015-12-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
-
-       PR ld/18199
-       * plugin.c (plugin_get_ir_dummy_bfd): Use srctemplate as the
-       template when calling bfd_create if it does not use the BFD
-       plugin target vector.
-
-2015-12-02  Alan Modra  <amodra@gmail.com>
-
-       * configure.ac (--enable-initfini-array): Remove run test.  Default
-       to "yes".  Change help string to --disable-initfini-array.
-       * configure: Regenerate.
-
-2015-11-20  Maciej W. Rozycki  <macro@imgtec.com>
-
-       * configure.tgt <mips*el-mti-elf*, mips*el-img-elf*>: Add
-       targets.
-
-2015-11-19  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19264
-       * ldlang.c (lang_size_sections): Don't ignore .tbss when
-       adjusting start of relro region.
-
-2015-11-16  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/19106
-       * emultempl/armelf.em (_set_symbols): New function.  Enables
-       relaxation for non-relocatable links.
-       (LDEMUL_SET_SYMBOLS): Define.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * configure: Regenerate.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * NEWS: Add marker for 2.26.
-
-2015-11-05  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.in: Regenerate.
-
-2015-11-05  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19203
-       * ld.texinfo (DATA_SEGMENT_ALIGN): Correct second expression.
-
-2015-10-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: Updated (simplified) Chinese translation.
-
-2015-10-29  Ed Schouten  <ed@nuxi.nl>
-
-       * Makefile.am (ALL_64_EMULATION_SOURCES): Add support for
-       CloudABI on aarch64. For this target we have to make sure we use
-       ELFOSABI_CLOUDABI instead of ELFOSABI_NONE.
-       * configure.tgt (targ_emul): Likewise.
-       * emulparams/aarch64cloudabi.sh: New file.
-       * emulparams/aarch64cloudabib.sh: New file.
-       * Makefile.in: Regenerate.
-
-2015-10-29  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/19146
-       * lexsup.c (parse_args): Correct error message for an option that
-       is missing its argument if that option is the last one on the
-       command line.
-
-2015-10-29  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19162
-       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Pass
-       updated flags to lang_output_section_find_by_flags.
-       * emultempl/mmo.em (mmo_place_orphan): Merge flags for any
-       other input sections that might match a new output section to
-       decide placement.
-       * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
-       * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
-       * ldlang.c (lang_output_section_find_by_flags): Add sec_flags param.
-       * ldlang.h (lang_output_section_find_by_flags): Update prototype.
-
-2015-10-29  Matthias Klose  <doko@ubuntu.com>
-
-       * ld.texinfo (Options <-rpath>): Fix typo.
-
-2015-10-28  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19162
-       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check flags
-       before calling _bfd_elf_match_sections_by_type.  Merge flags for
-       any other input sections that might match a new output section to
-       decide placement.
-
-2015-10-27  Laurent Alfonsi <laurent.alfonsi@st.com>
-           Christophe Monat <christophe.monat@st.com>
-
-       * ld.texinfo: Add description of the STM32L4xx erratum
-       workaround.
-       * NEWS: Mention the new feature.
-       * emultempl/armelf.em (stm32l4xx_fix): New.
-       (arm_elf_before_allocation): Choose the type of fix, scan for
-       erratum.
-       (gld${EMULATION_NAME}_finish): Fix veneer locations.
-       (arm_elf_create_output_section_statements): Propagate
-       stm32l4xx_fix value.
-       (PARSE_AND_LIST_PROLOGUE): Define OPTION_STM32L4XX_FIX.
-       (PARSE_AND_LIST_LONGOPTS): Add entry for handling
-       --fix-stm32l4xx-629360.
-       (PARSE_AND_LIST_OPTION): Add entry for helping on
-       --fix-stm32l4xx-629360.
-       (PARSE_AND_LIST_ARGS_CASES): Treat OPTION_STM32L4XX_FIX.
-
-2015-10-27  Alan Modra  <amodra@gmail.com>
-
-       PR ld/19175
-       * ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_*
-       symbol PROVIDE expressions.
-       * ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak
-       references.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Properly check
-       --enable-compressed-debug-sections={yes,all}.
-       * configure: Regenerated.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/19109
-       * configure.ac: Handle --enable-compressed-debug-sections=*,ld,*.
-       * configure: Regenerated.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld.texinfo: Document "-z call-nop=PADDING" option.
-       * emulparams/call_nop.sh: New file.
-       * emulparams/elf_i386_be.sh: Source
-       ${srcdir}/emulparams/call_nop.sh.
-       * emulparams/elf_i386_chaos.sh: Likewise.
-       * emulparams/elf_i386_ldso.sh: Likewise.
-       * emulparams/elf_i386_vxworks.sh: Likewise.
-       * emulparams/elf_iamcu.sh: Likewise.
-       * emulparams/elf_k1om.sh: Likewise.
-       * emulparams/elf_l1om.sh: Likewise.
-       * emulparams/elf_x86_64.sh: Likewise.
-       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
-       link_info.call_nop_byte if $CALL_NOP_BYTE isn't empty.
-
-2015-10-21  Nick Clifton  <nickc@redhat.com>
-
-       PR gas/19109
-       * configure.ac: Add --enable-compressed-debug-sections with
-       options of all, none or ld.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * ld.texinfo: Document how to determine the default action for
-       debug sections.
-       * ldmain.c (main): If DEFAULT_FLAG_COMPRESS_DEBUG is defined then
-       set the compress_debug field of the link_info structure to
-       zlib-gabi.
-       * lexsup.c (elf_static_list_options): Output the default setting
-       for the --compress-debug-sections option.
-       * NEWS: Mention the new configure option.
-
-2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld.texinfo: Fix a typo for "-z noextern-protected-data".
-
-2015-10-15  Simon Dardis  <Simon.Dardis@imgtec.com>
-
-       * ldexp.c: (try_copy_symbol_flags): New. Factored out from...
-       (exp_fold_tree_1): Here.  Cope with ternary operator in
-       assignments.  Use new helper.
-
-2015-10-14  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_TW.po: Updated Chinese translation.
-
-2015-10-13  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_TW.po: Updated Chinese translation.
-
-2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
-           Cupertino Miranda  <cmiranda@synopsys.com>
-
-       * configure.tgt: Added target arc-*-elf* and arc*-*-linux-uclibc*.
-       * emulparams/arcebelf_prof.sh: New file
-       * emulparams/arcebelf.sh: Likewise.
-       * emulparams/arceblinux_prof.sh: Likewise.
-       * emulparams/arceblinux.sh: Likewise.
-       * emulparams/arcelf_prof.sh: Likewise.
-       * emulparams/arcelf.sh: Likewise.
-       * emulparams/arclinux_prof.sh: Likewise.
-       * emulparams/arclinux.sh: Likewise.
-       * emulparams/arcv2elfx.sh: Likewise.
-       * emulparams/arcv2elf.sh: Likewise.
-       * emultempl/arclinux.em: Likewise.
-       * scripttempl/arclinux.sc: Likewise.
-       * scripttempl/elfarc.sc: Likewise.
-       * scripttempl/elfarcv2.sc: Likewise
-       * Makefile.am: Add new ARC emulations.
-       * Makefile.in: Regenerate.
-       * NEWS: Mention the new feature.
-
-2015-10-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86.
-
-2015-10-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-
-       * configure.tgt (targ_extra_emuls): Remove shlelf and
-       shelf from sh*-*-linux cases.
-
-2015-09-30  Rich Felker  <dalias@libc.org>
-
-       * configure.tgt (targ_extra_emuls): Add fdpic and misc
-       emulations to sh*-*-linux* targets.
-
-2015-09-29  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/19014
-       * ld.texinfo (Options): Fix spelling mistake.
-
-2015-09-24  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18992
-       * ldmain.c (main): Always enable --sysroot.
-       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
-       prepend sysroot to relative rpath/runpath.
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       * emultempl/elf32.em (ehdr_start_empty): New static variable.
-       (before_allocation): Use it to initialise ehdr_start_save.
-       * emultempl/pe.em (write_build_id): Remove useless double
-       parenthesis.
-       * emultempl/pep.em (write_build_id): Likewise.
-
-2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emultempl/alphaelf.em (alpha_after_parse): Call
-       gld${EMULATION_NAME}_after_parse instead of
-       after_parse_default.
-       * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
-       * emultempl/crxelf.em (crxelf_after_parse); Likewise.
-       * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
-       * emultempl/mipself.em (mips_after_parse): Likewise.
-       * emultempl/nds32elf.em (nds32_elf_after_parse): Likewise.
-       * emultempl/elf32.em: Don't include ldlex.h.
-       (gld${EMULATION_NAME}_after_parse): New function.
-       (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
-       <OPTION_PIE>: Removed.
-       (ld_${EMULATION_NAME}_emulation): Replace after_parse_default
-       with gld${EMULATION_NAME}_after_parse.
-       * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse):
-       Renamed to ...
-       (ia64elf_after_parse): This.  Call
-       gld${EMULATION_NAME}_after_parse instead of after_parse_default.
-       (LDEMUL_AFTER_PARSE): Replace gld${EMULATION_NAME}_after_parse
-       with ia64elf_after_parse.
-
-2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes.
-
-       * emultempl/elf32.em: Include ldlex.h.
-       (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
-       <OPTION_PIE>: Set DF_1_PIE.
-
-2015-09-22  Alan Modra  <amodra@gmail.com>
-
-       * ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines.
-       Ditto for --save-restore-funcs and --tls-get-addr-optimize.
-
-2015-09-20  Rich Felker  <dalias@libc.org>
-
-       * ld.texinfo (--no-dynamic-linker): Document.
-       * ldlex.h (enum option_values): Add OPTION_NO_DYNAMIC_LINKER.
-       * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker.
-
-2015-09-18  Alan Modra  <amodra@gmail.com>
-
-       * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs.
-
-2015-09-18  Alan Modra  <amodra@gmail.com>
-
-       * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1.
-       (OPTION_TLS_GET_ADDR_OPT): Define.
-       (PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt.
-       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
-       * ld.texinfo: Document --tls-get-addr-optimize and
-       --no-tls-get-addr-optimize.
-
-2015-09-18  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18963
-       * ldexp.h (struct ldexp_control): Add rel_from_abs.
-       (ldexp_finalize_syms): Declare.
-       * ldexp.c (new_rel_from_abs): Keep absolute for expressions
-       outside of output section statements.  Set rel_from_abs.
-       (make_abs, exp_fold_tree, exp_fold_tree_no_dot): Clear rel_from_abs.
-       (struct definedness_hash_entry): Add final_sec, and comment.
-       (update_definedness): Set final_sec.
-       (set_sym_sections, ldexp_finalize_syms): New functions.
-       * ldlang.c (lang_process): Call ldexp_finalize_syms.
-
-2015-09-10  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: Updated simplified Chinese translation.
-
-2015-09-09  James Bowman  <james.bowman@ftdichip.com>
-
-       * scripttempl/ft32.sc: default linker script RAM and
-       FLASH size symbols
-
-2015-09-09  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: Updated simplified Chinese translation.
-
-2015-09-08  Nick Clifton  <nickc@redhat.com>
-
-       * ld.texinfo (Source Code Reference): Extend description to
-       include an example using arrays.
-
-2015-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld.h (enum orphan_handling_enum): New.
-       (ld_config_type): Remove warn_orphan, add orphan_handling.
-       * ldemul.c (ldemul_place_orphan): Remove warning about orphan
-       sections.
-       * ldlang.c (ldlang_place_orphan): New function.
-       (lang_place_orphans): Call ldlang_place_orphan.
-       * ldlex.h (enum option_values): Remove OPTION_WARN_ORPHAN and
-       OPTION_NO_WARN_ORPHAN, add OPTION_ORPHAN_HANDLING.
-       * lexsup.c (ld_options): Remove 'warn-orphan' and
-       'no-warn-orphan', add 'orphan-handling'.
-       (parse_args): Remove handling for OPTION_WARN_ORPHAN and
-       OPTION_NO_WARN_ORPHAN, add handling for OPTION_ORPHAN_HANDLING.
-       * NEWS: Replace text about --warn-orphan with --orphan-handling.
-       * ld.texinfo (Options): Remove --warn-orphan entry and add
-       entry on --orphan-handling.
-       (Orphan Sections): Add reference to relevant command line options.
-
-2015-09-03  Nick Clifton  <nickc@redhat.com>
-
-       * ld.texinfo (--build-id): Fix typo.  The COFF/PE build-id section
-       is called .buildid not .build-id.
-
-2015-09-03  Nick Clifton  <nickc@redhat.com>
-
-       (Source Code Reference): Fix off-by-one typo in example of how to
-       use linker script symbols in C source code.
-
-2015-08-19  Alan Modra  <amodra@gmail.com>
-
-       * emultempl/aix.em: Don't set link_info.pic.
-       * emultempl/pe.em: Likewise.
-       * emultempl/pep.em: Likewise.
-       * emultempl/sunos.em: Likewise.
-       * lexsup.c (parse_args): Likewise.  Set type_pie for -pie.
-       * plugin.c (set_tv_header <LDPT_LINKER_OUTPUT>): Simplify.
-
-2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ldctor.c: Replace shared, executable, relocatable and pie
-       fields with bfd_link_executable, bfd_link_dll,
-       bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
-       * ldemul.c: Likewise.
-       * ldfile.c: Likewise.
-       * ldlang.c: Likewise.
-       * ldmain.c: Likewise.
-       * ldwrite.c: Likewise.
-       * lexsup.c: Likewise.
-       * pe-dll.c: Likewise.
-       * plugin.c: Likewise.
-       * emultempl/aarch64elf.em: Likewise.
-       * emultempl/aix.em: Likewise.
-       * emultempl/alphaelf.em: Likewise.
-       * emultempl/armcoff.em: Likewise.
-       * emultempl/armelf.em: Likewise.
-       * emultempl/avrelf.em: Likewise.
-       * emultempl/beos.em: Likewise.
-       * emultempl/cr16elf.em: Likewise.
-       * emultempl/elf-generic.em: Likewise.
-       * emultempl/elf32.em: Likewise.
-       * emultempl/genelf.em: Likewise.
-       * emultempl/generic.em: Likewise.
-       * emultempl/gld960.em: Likewise.
-       * emultempl/gld960c.em: Likewise.
-       * emultempl/hppaelf.em: Likewise.
-       * emultempl/irix.em: Likewise.
-       * emultempl/linux.em: Likewise.
-       * emultempl/lnk960.em: Likewise.
-       * emultempl/m68hc1xelf.em: Likewise.
-       * emultempl/m68kcoff.em: Likewise.
-       * emultempl/m68kelf.em: Likewise.
-       * emultempl/metagelf.em: Likewise.
-       * emultempl/mipself.em: Likewise.
-       * emultempl/mmo.em: Likewise.
-       * emultempl/msp430.em: Likewise.
-       * emultempl/nds32elf.em: Likewise.
-       * emultempl/needrelax.em: Likewise.
-       * emultempl/nios2elf.em: Likewise.
-       * emultempl/pe.em: Likewise.
-       * emultempl/pep.em: Likewise.
-       * emultempl/ppc32elf.em: Likewise.
-       * emultempl/ppc64elf.em: Likewise.
-       * emultempl/sh64elf.em: Likewise.
-       * emultempl/solaris2.em: Likewise.
-       * emultempl/spuelf.em: Likewise.
-       * emultempl/sunos.em: Likewise.
-       * emultempl/tic6xdsbt.em: Likewise.
-       * emultempl/ticoff.em: Likewise.
-       * emultempl/v850elf.em: Likewise.
-       * emultempl/vms.em: Likewise.
-       * emultempl/vxworks.em: Likewise.
-
-2015-08-18  Alan Modra  <amodra@gmail.com>
-
-       * ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment.
-
-2015-08-06  Alan Modra  <amodra@gmail.com>
-
-       * ldexp.c (align_dot_val): Delete.
-       (fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change.
-       (is_align_conditional): Revert 2015-07-20 change.
-       (exp_fold_tree_1): Likewise, but keep expanded comment.
-       * scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change.
-       * ld.texinfo (<ALIGN>): Correct description.
-
-2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld.texinfo (Options): Document --require-defined option.
-       * ldlang.c (struct require_defined_symbol): New structure.
-       (require_defined_symbol_list): New variable.
-       (ldlang_add_require_defined): New function.
-       (ldlang_check_require_defined_symbols): New function.
-       (lang_process): Check required symbols are defined.
-       * ldlang.h (ldlang_add_require_defined): Declare.
-       * ldlex.h (enum option_values): Add OPTION_REQUIRE_DEFINED_SYMBOL.
-       * lexsup.c (ld_options): Add '--require-defined' entry.
-       (parse_args): Handle '--requre-defined' entry.
-       * NEWS: Mention new '--require-defined' option.
-
-2015-08-03  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld.texinfo (MEMORY): Explain that multiple MEMORY commands are
-       acceptable.
-
-2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lexsup.c (parse_args): Don't set link_info.executable to
-       TRUE for link_info.relocatable.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-24  Nick Clifton  <nickc@redhat.com>
-
-       * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for
-       the _-rl78_abs__ symbol.
-
-2015-07-20  Alan Modra  <amodra@gmail.com>
-
-       * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define.
-       (INIT_START, FINI_START): Don't ALIGN.
-       * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR.
-
-2015-07-20  Alan Modra  <amodra@gmail.com>
-
-       * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot.
-       * ldexp.c (is_align_conditional): Handle binary ALIGN.
-       (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to
-       dot inside output sections.  Handle absolute expressions.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make
-       --compress-debug-sections=zlib the same as
-       --compress-debug-sections=zlib-gabi.
-       * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi.
-
-2015-07-14  Nick Clifton  <nickc@redhat.com>
-
-       * ld.texinfo (Options): Add missing period after @xref.
-
-2015-07-10  Alan Modra  <amodra@gmail.com>
-
-       * ldexp.c (align_dot_val): New function.
-       (fold_unary <ALIGN_K, NEXT>): Use it.
-
-2015-07-03   Kai Tietz  <ktietz@redhat.com>
-
-       PR ld/11539
-       * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*,
-       .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr,
-       .eh_frame, .pdata. .xdata, and .gcc_except_table sections
-       as KEEP.
-       * scripttempl/pe.sc: Likewise.
-       * ld.texinfo: Document that --gc-sections has experimental support
-       for COFF and PE targets.
-       * NEWS: Mention experimental support.
-
-2015-07-03  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS.
-       * Makefile.in: Regenerate.
-
-2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emultempl/elf32.em  (gld${EMULATION_NAME}_handle_option):
-       Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.
-
-2015-06-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emulparams/elf_iamcu.sh (COMPILE_IN): New.
-
-2015-06-15  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/18466
-       * emultempl/pe.em (pe_find_data_imports): Generate an error if a
-       symbol name is too long to handle.
-       * emultempl/pep.em (pep_find_data_imports): Likewise.
-
-2015-06-12  Tristan Gingold  <gingold@adacore.com>
-
-       * NEWS: Mention new option.
-       * lexsup.c (parse_args): Handle --print-memory-usage.
-       (ld_options): Add --print-memory-usage.
-       * ldmain.c (main): Call lang_print_memory_usage.
-       * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE.
-       * ldlang.h: Add prototype of lang_print_memory_usage.
-       * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New
-       functions.
-       * ld.texinfo (Options): Document --print-memory-usage.
-       * ld.h (args_type): Add print_memory_usage field.
-
-2015-06-08  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: Updated French Translation.
-
-2015-05-28  Catherine Moore  <clm@codesourcery.com>
-           Paul Brook <paul@codesourcery.com>
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
-       Add Compact EH support.
-       * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
-       sections.
-
-2015-05-17  Chung-Lin Tang  <cltang@codesourcery.com>
-
-       * configure.ac (AC_PROG_GREP): Check for grep program.
-       (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
-       Enable ELF option printing for emulations containing
-       'TEMPLATE_NAME=elf32'.
-       * configure: Regenerate.
-
-2015-05-14  Nick Clifton  <nickc@redhat.com>
-
-       * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
-       symbols.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.tgt: Support i[3-7]86-*-elfiamcu target.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
-       (eelf_iamcu.c): New.
-       * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
-       enabled in BFD.
-       * Makefile.in: Regenerated.
-       * emulparams/elf_iamcu.sh: New file.
-
-2015-05-05  Nick Clifton  <nickc@redhat.com>
-
-       * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
-       * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
-       (.data): Add .lower.data and .either.data.
-       (.bss): Add .lower.bss and .either.bss.
-       (.rodata): Add .lower.rodata and .either.rodata.
-       * emultempl/msp430.em: New file.  Implements a new orphan
-       placement algorithm that divides sections between lower and upper
-       memory regions.
-       * Makefile.am (emsp430elf.c): Depend upon msp430.em.
-       *emsp430X.c): Likewise.
-       * Makefine.in: Regenerate.
-
-2015-04-28  Andreas Schwab  <schwab@linux-m68k.org>
-
-       PR ld/18344
-       * ldlex.l (INPUTLIST): Increment lineno on newline.
-
-2015-04-24  Alan Modra  <amodra@gmail.com>
-
-       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
-       Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
-
-2015-04-24  DJ Delorie  <dj@redhat.com>
-
-       * Makefile.am (msp430): Rename primary emulation to msp430elf.
-       (emsp430.c): Rename to emsp430elf.c, update dependencies
-       (emsp430X.c): Update dependencies.
-       * Makefile.in: Likewise.
-       * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
-       * emulparams/msp430.sh: Rename to msp430elf.sh.
-       * emulparams/msp430X.sh: Update.
-
-2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18209
-       * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
-
-2015-04-23  Alan Modra  <amodra@gmail.com>
-
-       * emulparams/elf64ppc.sh (GOT): Align.
-
-2015-04-22  Alan Modra  <amodra@gmail.com>
-
-       * ldexp.h (struct ldexp_control): Delete dataseg.min_base.  Add
-       data_seg.relro_offset.
-       * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
-       (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
-       * ldlang.c (lang_size_sections): Rewrite code adjusting relro
-       segment base to line up last section on page boundary.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * NEWS: Mention
-       --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld.texinfo: Document --compress-debug-sections=.
-       * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
-       COMPRESS_DEBUG is set.  Set BFD_COMPRESS_GABI on output_bfd
-       for COMPRESS_DEBUG_GABI_ZLIB.
-       * lexsup.c (elf_static_list_options): Add
-       --compress-debug-sections=.
-       * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
-       (xtra_long): Add "compress-debug-sections".
-       (gld${EMULATION_NAME}_handle_option): Handle
-       OPTION_COMPRESS_DEBUG.
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr17709
-       * ld.texinfo: Document "-z noextern-protected-data".
-       * ldmain.c (main): Initialize link_info.extern_protected_data
-       to -1.
-       * lexsup.c (elf_shlib_list_options): Add
-       "-z [no]extern-protected-data".
-       * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
-       * emulparams/elf_i386.sh: Likewise.
-       * emulparams/elf_i386_be.sh: Likewise.
-       * emulparams/elf_i386_chaos.sh: Likewise.
-       * emulparams/elf_i386_ldso.sh: Likewise.
-       * emulparams/elf_i386_vxworks.sh: Likewise.
-       * emulparams/elf_k1om.sh: Likewise.
-       * emulparams/elf_l1om.sh: Likewise.
-       * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
-       (PARSE_AND_LIST_OPTIONS): Renamed to ...
-       (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
-       (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
-       (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
-       (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
-       (PARSE_AND_LIST_ARGS_CASE_Z): Append
-       $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
-       * emulparams/extern_protected_data.sh: New file.
-
-2015-04-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (plugin_load_plugins): Removed an extra ';'.
-
-2015-04-10  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/18198
-       * ld.texinfo (--be8): Add a note about the interaction of this
-       option with the assembler's -EB option.
-
-2015-04-10  Alan Modra  <amodra@gmail.com>
-
-       * configure.ac: Set elf_list_options etc. in proper case.
-       * configure: Regenerate.
-
-2015-04-10  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18223
-       * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
-
-2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emulparams/elf_x86_64.sh (BNDPLT): Removed.
-       (PARSE_AND_LIST_OPTIONS): New.
-       (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
-       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
-       BNDPLT check.  Handle PARSE_AND_LIST_ARGS_CASE_Z.
-       (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
-
-2015-04-09  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: Updated French translation.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac (elf_list_options): Set to TRUE for
-       --enable-targets=all.
-       (elf_shlib_list_options): Likewise.
-       (elf_plt_unwind_list_options): Likewise.
-       * configure: Regenerated.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (ELF_CLFAGS): New.
-       (AM_CFLAGS): Add $(ELF_CLFAGS).
-       * configure.ac (elf_list_options): New.  AC_SUBST.
-       (elf_shlib_list_options): Likewise.
-       (elf_plt_unwind_list_options): Likewise.
-       * lexsup.c (elf_shlib_list_options): New.
-       (elf_static_list_options): Likewise.
-       (elf_plt_unwind_list_options): Likewise.
-       (ld_list_options): Likewise.
-       (help): Call ld_list_options.
-       * Makefile.in: Regenerated.
-       * configure: Likewise.
-       * emulparams/plt_unwind.sh (PLT_UNWIND): New.
-       (PARSE_AND_LIST_OPTIONS): Removed.
-       * emultempl/elf32.em (gld_list_options): New.
-       (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
-       PARSE_AND_LIST_OPTIONS is defined.
-       (ld_${EMULATION_NAME}_emulation): Replace
-       gld${EMULATION_NAME}_list_options with ${gld_list_options.
-
-2015-04-07  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18176
-       * ldlang.c (lang_size_sections): Cast shift expression.
-
-2015-04-07  Alan Modra  <amodra@gmail.com>
-
-       * emultempl/ppc32elf.em: Handle --no-pic-fixup.
-       (params): Init new field.
-       (ppc_before_allocation): Enable relaxation for pic_fixup.
-
-2015-04-07  Nick Clifton  <nickc@redhat.com>
-
-       * ld.h (struct ld_config_type): Add new field: warn_orphan.
-       * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
-       OPTION_NO_WARN_ORPHAN.
-       * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
-       (parse_args): Handle the new options.
-       * ldemul.c (ldemul_place_orphan): If requested, generate a warning
-       message when an orphan section is placed in the output file.
-       * ld.texinfo: Document the new option.
-       * NEWS: Mention the new feature.
-
-2015-04-02  Andrew Turner <andrew@freebsd.org>
-
-       * Makefile.am: Add FreeBSD aarch64 files.
-       * Makefile.in: Regenerate.
-       * configure.tgt: Add aarch64-*-freebsd* target triple.
-       * emulparams/aarch64fbsd.sh: New file.
-       * emulparams/aarch64fbsdb.sh: New file.
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
-       around a GCC uninitialized warning bug fixed in GCC 4.6.
-
-2015-04-01  Tejas Belagod  <tejas.belagod@arm.com>
-
-       * emultempl/aarch64elf.em
-       (aarch64_elf_create_output_section_statements): Add parameter in
-       bfd_elf${ELFSIZE}_aarch64_set_options call.
-       (OPTION_FIX_ERRATUM_843419): Define.
-       (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
-       (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
-
-2015-04-01  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
-       relocating operation.
-
-2015-04-01  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18176
-       * ldlang.c (lang_size_sections): When alignment of sections
-       results in relro base adjustment being too large, don't go lower
-       than the initial value.
-       * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
-       * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
-       alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
-
-2015-04-01  Alan Modra  <amodra@gmail.com>
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
-       init ehdr_start_save.
-
-2015-04-01  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
-       ldemul-list.h.
-       (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
-       eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
-       eelf32ppcsim.c): Rearrange deps for consistency.
-       * Makefile.in: Regenerate.
-
-2015-04-01  Ed Schouten  <ed@nuxi.nl>
-
-       * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
-       the ehdr_start_save variable.
-
-2015-03-31  Ed Schouten  <ed@nuxi.nl>
-
-       * Makefile.am (ALL_64_EMULATION_SOURCES): Add
-       eelf_x86_64_cloudabi.c.
-       (eelf_x86_64_cloudabi.c): New.
-       * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
-       x86_64-*-cloudabi*.
-       * Makefile.in: Regenerated.
-       * emulparams/elf_x86_64_cloudabi.sh: New file.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac (AM_ZLIB): Removed.
-       * Makefile.in: Regenerated.
-       * config.in: Likewise.
-       * configure: Likewise.
-
-2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
-       alignment to 2.
-
-2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * emultempl/aarch64elf.em
-       (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
-
-2015-03-18  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * ldmain.c (main): Use %F instead of %X for einfo.
-
-2015-03-02  Alan Modra  <amodra@gmail.com>
-
-       * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
-
-2015-02-27  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/17900
-       * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
-       sense of the following memory region attribute characters.
-
-2015-02-27  Alan Modra  <amodra@gmail.com>
-
-       * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
-       (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
-       eh8300sxelf_linux.c): Do not invoke genscripts here.
-       * Makefile.in: Regenerate.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * Makefile.am (ev850.c): Add dependency upon
-       $(srcdir)/emultempl/v850elf.em.
-       (ev850_rh850.c): Likewise.
-       * Makefile.in: Regenerate.
-       * emultempl/v850elf.em: New file.
-       * emulparams/v850.sh (EXTRA_EM_FILE): Define.
-       * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
-       * scripttempl/v850.sc: Add .note.renesas section.
-       * scripttempl/v850_rh850.sc: Likewise.
-
-2015-02-24  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * scripttempl/avr.sc: Add new user_signatures region.  Define and
-       use symbols for all region lengths.
-       * scripttempl/avrtiny.sc: Define and use symbols for all region
-       lengths.
-
-2015-01-21  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
-       * Makefile.in: Regenerate.
-       * configure.tgt: Add h8300-*-linux
-       * emulparams/h8300elf_linux.sh: Add new emulation.
-       * emulparams/h8300helf_linux.sh: Likewise.
-       * emulparams/h8300self_linux.sh: Likewise.
-       * emulparams/h8300sxelf_linux.sh: Likewise.
-
-2015-02-23  Nick Clifton  <nickc@redhat.com>
-
-       * lexsup.c (parse_args): Produce a more reasonable error message
-       when -ixxx or -rxxx is the last option on the linker command line.
-
-2015-02-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17973
-       * testplug2.c (allsymbolsread_silent): New.
-       (set_register_hook): Handle allsymbolsreadsilent.
-       (onall_symbols_read): Skip a message if allsymbolsread_silent is
-       TRUE.
-
-2015-02-14  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17973
-       * ldlang.h (struct lang_input_statement_flags): Add lto_output.
-       * ldlang.c (lang_process): Don't set loading_lto_outputs.
-       * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
-       to bfd.
-       * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
-
-2015-02-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * NEWS: Mention support for LLVM plugin.
-
-2015-02-13  Alan Modra  <amodra@gmail.com>
-
-       * ld.texinfo (Options <--defsym>): Correct cross reference.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
-       option compatibility.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
-       "error:" for LDPL_FATAL and LDPL_ERROR.
-       * testplug2.c (parse_option): Handle fatal, error and warning.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * testplug2.c (dump_tv_tag): Removed.
-       (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
-       closed.
-       * testplug3.c (dump_tv_tag): Removed.
-       (onclaim_file): Fix typo.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
-       libldtestplug3.la.
-       (libldtestplug2_la_SOURCES): New.
-       (libldtestplug2_la_CFLAGS): Likewise.
-       (libldtestplug2_la_LDFLAGS): Likewise.
-       (libldtestplug3_la_SOURCES): New.
-       (libldtestplug3_la_CFLAGS): Likewise.
-       (libldtestplug3_la_LDFLAGS): Likewise.
-       * Makefile.in: Regenerated.
-       * testplug2.c: New file.
-       * testplug3.c: Likewise.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * plugin.c: Include ../bfd/plugin.h.
-       (plugin_get_ir_dummy_bfd): Call bfd_create with
-       link_info.output_bfd instead of srctemplate.  Copy BFD info
-       from srctemplate only if it doesn't use BFD plugin target
-       vector.
-       (plugin_load_plugins): Call register_ld_plugin_object_p with
-       (plugin_object_p)
-       (plugin_maybe_claim): Renamed to ...
-       (plugin_object_p): This.  Return dummy BFD target vector if
-       input is calimed by plugin library, otherwise return NULL.
-       Update plugin_format and plugin_dummy_bfd.
-       (plugin_maybe_claim): New.  Use plugin_object_p.
-
-2015-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (plugin_maybe_claim): Initialize use_mmap.
-
-2015-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (plugin_input_file_t): Add use_mmap.
-       (plugin_pagesize): New.
-       (get_view): Use plugin_pagesize.  Set use_mmap if mmap is used.
-       (plugin_load_plugins): Initialize plugin_pagesize.
-       (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
-       file.
-
-2015-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (get_view): Align offset passed to mmap.
-
-2015-02-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
-       if plugin isn't active or there is no thing more to claim.
-
-2015-02-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (plugin_maybe_claim): Check format against bfd_object
-       directly.
-
-2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
-       ibfd.
-
-2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c: Include "libbfd.h".
-       (plugin_strdup): New.
-       (plugin_maybe_claim): Remove the argument of pointer to struct
-       ld_plugin_input_file.  Open and handle input entry.
-       * plugin.h (plugin_maybe_claim): Updated.
-       * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
-       without passing a pointer to struct ld_plugin_input_file.
-       * ldmain.c: Don't include "libbfd.h".
-       (add_archive_element): Call plugin_maybe_claim directly without
-       passing a pointer to struct ld_plugin_input_file.
-
-2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld.texinfo: Document -z text, -z notext and -z textoff.
-       * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
-       -z text, -z notext and -z textoff.
-
-2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Add AC_FUNC_MMAP.
-       * config.in: Regenerated.
-       * configure: Likewise.
-       * plugin.c: Include <sys/mman.h>.
-       (MAP_FAILED): New.  Defined if not defined.
-       (PROT_READ): Likewise.
-       (MAP_PRIVATE): Likewise.
-       (view_buffer_t): New.
-       (plugin_input_file_t): Add view_buffer.
-       (get_view): Try mmap and cache the view buffer.
-       (plugin_maybe_claim): Initialize view_buffer.
-
-2015-02-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.c (release_input_file): Set fd to -1 after closing it.
-       (plugin_maybe_claim): Close fd only if fd != -1.
-
-2015-02-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * plugin.c: Include <errno.h>.
-       (errno): New.  Declare if needed.
-       (plugin_input_file_t): New.
-       (get_input_file): Implemented.
-       (get_view): Likewise.
-       (release_input_file): Likewise.
-       (add_symbols): Updated.
-       (get_symbols): Likewise.
-       (plugin_maybe_claim): Allocate a plugin_input_file_t.  Close fd
-       only for a bfd_object input.
-
-2015-02-02  Alan Modra  <amodra@gmail.com>
-
-       * emultempl/ppc64elf.em (toc_section_name): New var.
-       (ppc_after_open): Set it.
-       (ppc_before_allocation): Use it.
-       (gld${EMULATION_NAME}_after_allocation): Here too.
-
-2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
-       with link_info.lto_plugin_active.
-       * ldlang.c (lang_process): Likewise.
-       * ldmain.c (add_archive_element): Likewise.
-       * plugin.c (plugin_active_plugins_p): Removed.
-       * plugin.h (plugin_active_plugins_p): Likewise.
-
-2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * plugin.h (plugin_get_ir_dummy_bfd): Removed.  Move comments to
-       ...
-       * plugin.c (plugin_get_ir_dummy_bfd): Here.  Make it static.
-
-2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
-       (get_view): New function.
-       (set_tv_header): Handle LDPT_GET_VIEW.
-       * testplug.c (tag_names): Add LDPT_GET_VIEW.
-       (tv_get_view): New.
-       (dump_tv_tag): Handle LDPT_GET_VIEW.
-       (parse_tv_tag): Likewise.
-
-2015-01-28  Alan Modra  <amodra@gmail.com>
-
-       * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
-       * emultempl/ppc64elf.em (params): Init new field.
-       (ppc_after_open): New function.
-       (LDEMUL_AFTER_OPEN): Define.
-       * ldlang.c (lang_final): Whitespace fix.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * Makefile.am: Add FT32 files.
-       * configure.tgt: Handle FT32 target.
-       * emulparams/elf32ft32.sh: New file.
-       * scripttempl/ft32.sc: New file.
-       * Makefile.in: Regenerate.
-
-2015-01-28  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       PR 4643
-       * ldexp.c (fold_name): Fold LENGTH only after
-       lang_first_phase_enum.
-       * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
-       rightaway.
-       * ldlang.h (struct memory_region_struct): Add origin_exp and
-       length_exp fields.
-       * ldlang.c (lang_do_memory_regions): New.
-       (lang_memory_region_lookup): Initialize origin_exp and
-       length_exp fields.
-       (lang_process): Call lang_do_memory_regions.
-
-2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ldlang.c (print_assignment): Only evaluate the expression for a
-       PROVIDE'd assignment when the destination is being defined.
-       Display a special message for PROVIDE'd symbols that are not being
-       provided.
-
-2015-01-20  Alan Modra  <amodra@gmail.com>
-
-       * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
-       (OTHER_BSS_SYMBOLS): ..this.
-       (OTHER_PLT_RELOC_SECTIONS): Don't define.
-       (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
-       (OTHER_READWRITE_SECTIONS): Don't define.  Move .toc1 to..
-       (OTHER_RELRO_SECTIONS_2): ..here.
-       * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
-
-2015-01-20  Alan Modra  <amodra@gmail.com>
-
-       * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
-       (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
-       (OTHER_RELRO_SECTIONS_2): ..here.
-       (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
-       PLT_BEFORE_GOT): Define.
-       * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
-       PLT_BEFORE_GOT combination.
-       (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
-
-2015-01-20  Alan Modra  <amodra@gmail.com>
-
-       * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
-       (OTHER_RELRO_SECTIONS_2): ..here, new define.
-       * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17615
-       * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
-
-2015-01-14  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-arm/elf32-reject.s: New testcase.
-       * ld-arm/elf32-reject.d: Likewise.
-       * ld-arm/elf32-reject-pie.s: Likewise.
-       * ld-arm/elf32-reject-pie.d: Likewise.
-       * ld-arm/arm-elf.exp: Run new testcases.
-       * ld-arm/ifunc-7.s: Delete f2/f4 test items.
-       * ld-arm/ifunc-7.rd: Likewise.
-       * ld-arm/ifunc-7.gd: Likewise.
-       * ld-arm/ifunc-7.dd: Likewise.
-       * ld-arm/ifunc-8.s: Likewise.
-       * ld-arm/ifunc-8.rd: Likewise.
-       * ld-arm/ifunc-8.gd: Likewise.
-       * ld-arm/ifunc-8.dd: Likewise.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       * ldver.c (ldversion): Just print current year.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/ld/ChangeLog-2015 b/ld/ChangeLog-2015
new file mode 100644 (file)
index 0000000..b03775f
--- /dev/null
@@ -0,0 +1,1205 @@
+2015-12-22 Yury Usishchev <y.usishchev@samsung.com>
+
+       * emultempl/armelf.em (gld${EMULATION_NAME}_after_allocation): Call
+       elf32_arm_fix_exidx_coverage for relocatable builds.
+
+2015-12-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       PR ld/18199
+       * plugin.c (plugin_get_ir_dummy_bfd): Use srctemplate as the
+       template when calling bfd_create if it does not use the BFD
+       plugin target vector.
+
+2015-12-02  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac (--enable-initfini-array): Remove run test.  Default
+       to "yes".  Change help string to --disable-initfini-array.
+       * configure: Regenerate.
+
+2015-11-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * configure.tgt <mips*el-mti-elf*, mips*el-img-elf*>: Add
+       targets.
+
+2015-11-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19264
+       * ldlang.c (lang_size_sections): Don't ignore .tbss when
+       adjusting start of relro region.
+
+2015-11-16  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/19106
+       * emultempl/armelf.em (_set_symbols): New function.  Enables
+       relaxation for non-relocatable links.
+       (LDEMUL_SET_SYMBOLS): Define.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.26.
+
+2015-11-05  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+
+2015-11-05  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19203
+       * ld.texinfo (DATA_SEGMENT_ALIGN): Correct second expression.
+
+2015-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated (simplified) Chinese translation.
+
+2015-10-29  Ed Schouten  <ed@nuxi.nl>
+
+       * Makefile.am (ALL_64_EMULATION_SOURCES): Add support for
+       CloudABI on aarch64. For this target we have to make sure we use
+       ELFOSABI_CLOUDABI instead of ELFOSABI_NONE.
+       * configure.tgt (targ_emul): Likewise.
+       * emulparams/aarch64cloudabi.sh: New file.
+       * emulparams/aarch64cloudabib.sh: New file.
+       * Makefile.in: Regenerate.
+
+2015-10-29  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/19146
+       * lexsup.c (parse_args): Correct error message for an option that
+       is missing its argument if that option is the last one on the
+       command line.
+
+2015-10-29  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19162
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Pass
+       updated flags to lang_output_section_find_by_flags.
+       * emultempl/mmo.em (mmo_place_orphan): Merge flags for any
+       other input sections that might match a new output section to
+       decide placement.
+       * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
+       * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
+       * ldlang.c (lang_output_section_find_by_flags): Add sec_flags param.
+       * ldlang.h (lang_output_section_find_by_flags): Update prototype.
+
+2015-10-29  Matthias Klose  <doko@ubuntu.com>
+
+       * ld.texinfo (Options <-rpath>): Fix typo.
+
+2015-10-28  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19162
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check flags
+       before calling _bfd_elf_match_sections_by_type.  Merge flags for
+       any other input sections that might match a new output section to
+       decide placement.
+
+2015-10-27  Laurent Alfonsi <laurent.alfonsi@st.com>
+           Christophe Monat <christophe.monat@st.com>
+
+       * ld.texinfo: Add description of the STM32L4xx erratum
+       workaround.
+       * NEWS: Mention the new feature.
+       * emultempl/armelf.em (stm32l4xx_fix): New.
+       (arm_elf_before_allocation): Choose the type of fix, scan for
+       erratum.
+       (gld${EMULATION_NAME}_finish): Fix veneer locations.
+       (arm_elf_create_output_section_statements): Propagate
+       stm32l4xx_fix value.
+       (PARSE_AND_LIST_PROLOGUE): Define OPTION_STM32L4XX_FIX.
+       (PARSE_AND_LIST_LONGOPTS): Add entry for handling
+       --fix-stm32l4xx-629360.
+       (PARSE_AND_LIST_OPTION): Add entry for helping on
+       --fix-stm32l4xx-629360.
+       (PARSE_AND_LIST_ARGS_CASES): Treat OPTION_STM32L4XX_FIX.
+
+2015-10-27  Alan Modra  <amodra@gmail.com>
+
+       PR ld/19175
+       * ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_*
+       symbol PROVIDE expressions.
+       * ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak
+       references.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Properly check
+       --enable-compressed-debug-sections={yes,all}.
+       * configure: Regenerated.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/19109
+       * configure.ac: Handle --enable-compressed-debug-sections=*,ld,*.
+       * configure: Regenerated.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texinfo: Document "-z call-nop=PADDING" option.
+       * emulparams/call_nop.sh: New file.
+       * emulparams/elf_i386_be.sh: Source
+       ${srcdir}/emulparams/call_nop.sh.
+       * emulparams/elf_i386_chaos.sh: Likewise.
+       * emulparams/elf_i386_ldso.sh: Likewise.
+       * emulparams/elf_i386_vxworks.sh: Likewise.
+       * emulparams/elf_iamcu.sh: Likewise.
+       * emulparams/elf_k1om.sh: Likewise.
+       * emulparams/elf_l1om.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
+       link_info.call_nop_byte if $CALL_NOP_BYTE isn't empty.
+
+2015-10-21  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/19109
+       * configure.ac: Add --enable-compressed-debug-sections with
+       options of all, none or ld.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * ld.texinfo: Document how to determine the default action for
+       debug sections.
+       * ldmain.c (main): If DEFAULT_FLAG_COMPRESS_DEBUG is defined then
+       set the compress_debug field of the link_info structure to
+       zlib-gabi.
+       * lexsup.c (elf_static_list_options): Output the default setting
+       for the --compress-debug-sections option.
+       * NEWS: Mention the new configure option.
+
+2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texinfo: Fix a typo for "-z noextern-protected-data".
+
+2015-10-15  Simon Dardis  <Simon.Dardis@imgtec.com>
+
+       * ldexp.c: (try_copy_symbol_flags): New. Factored out from...
+       (exp_fold_tree_1): Here.  Cope with ternary operator in
+       assignments.  Use new helper.
+
+2015-10-14  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_TW.po: Updated Chinese translation.
+
+2015-10-13  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_TW.po: Updated Chinese translation.
+
+2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
+           Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * configure.tgt: Added target arc-*-elf* and arc*-*-linux-uclibc*.
+       * emulparams/arcebelf_prof.sh: New file
+       * emulparams/arcebelf.sh: Likewise.
+       * emulparams/arceblinux_prof.sh: Likewise.
+       * emulparams/arceblinux.sh: Likewise.
+       * emulparams/arcelf_prof.sh: Likewise.
+       * emulparams/arcelf.sh: Likewise.
+       * emulparams/arclinux_prof.sh: Likewise.
+       * emulparams/arclinux.sh: Likewise.
+       * emulparams/arcv2elfx.sh: Likewise.
+       * emulparams/arcv2elf.sh: Likewise.
+       * emultempl/arclinux.em: Likewise.
+       * scripttempl/arclinux.sc: Likewise.
+       * scripttempl/elfarc.sc: Likewise.
+       * scripttempl/elfarcv2.sc: Likewise
+       * Makefile.am: Add new ARC emulations.
+       * Makefile.in: Regenerate.
+       * NEWS: Mention the new feature.
+
+2015-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86.
+
+2015-10-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * configure.tgt (targ_extra_emuls): Remove shlelf and
+       shelf from sh*-*-linux cases.
+
+2015-09-30  Rich Felker  <dalias@libc.org>
+
+       * configure.tgt (targ_extra_emuls): Add fdpic and misc
+       emulations to sh*-*-linux* targets.
+
+2015-09-29  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/19014
+       * ld.texinfo (Options): Fix spelling mistake.
+
+2015-09-24  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18992
+       * ldmain.c (main): Always enable --sysroot.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
+       prepend sysroot to relative rpath/runpath.
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/elf32.em (ehdr_start_empty): New static variable.
+       (before_allocation): Use it to initialise ehdr_start_save.
+       * emultempl/pe.em (write_build_id): Remove useless double
+       parenthesis.
+       * emultempl/pep.em (write_build_id): Likewise.
+
+2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/alphaelf.em (alpha_after_parse): Call
+       gld${EMULATION_NAME}_after_parse instead of
+       after_parse_default.
+       * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
+       * emultempl/crxelf.em (crxelf_after_parse); Likewise.
+       * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
+       * emultempl/mipself.em (mips_after_parse): Likewise.
+       * emultempl/nds32elf.em (nds32_elf_after_parse): Likewise.
+       * emultempl/elf32.em: Don't include ldlex.h.
+       (gld${EMULATION_NAME}_after_parse): New function.
+       (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
+       <OPTION_PIE>: Removed.
+       (ld_${EMULATION_NAME}_emulation): Replace after_parse_default
+       with gld${EMULATION_NAME}_after_parse.
+       * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse):
+       Renamed to ...
+       (ia64elf_after_parse): This.  Call
+       gld${EMULATION_NAME}_after_parse instead of after_parse_default.
+       (LDEMUL_AFTER_PARSE): Replace gld${EMULATION_NAME}_after_parse
+       with ia64elf_after_parse.
+
+2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes.
+
+       * emultempl/elf32.em: Include ldlex.h.
+       (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
+       <OPTION_PIE>: Set DF_1_PIE.
+
+2015-09-22  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines.
+       Ditto for --save-restore-funcs and --tls-get-addr-optimize.
+
+2015-09-20  Rich Felker  <dalias@libc.org>
+
+       * ld.texinfo (--no-dynamic-linker): Document.
+       * ldlex.h (enum option_values): Add OPTION_NO_DYNAMIC_LINKER.
+       * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker.
+
+2015-09-18  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs.
+
+2015-09-18  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1.
+       (OPTION_TLS_GET_ADDR_OPT): Define.
+       (PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt.
+       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
+       * ld.texinfo: Document --tls-get-addr-optimize and
+       --no-tls-get-addr-optimize.
+
+2015-09-18  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18963
+       * ldexp.h (struct ldexp_control): Add rel_from_abs.
+       (ldexp_finalize_syms): Declare.
+       * ldexp.c (new_rel_from_abs): Keep absolute for expressions
+       outside of output section statements.  Set rel_from_abs.
+       (make_abs, exp_fold_tree, exp_fold_tree_no_dot): Clear rel_from_abs.
+       (struct definedness_hash_entry): Add final_sec, and comment.
+       (update_definedness): Set final_sec.
+       (set_sym_sections, ldexp_finalize_syms): New functions.
+       * ldlang.c (lang_process): Call ldexp_finalize_syms.
+
+2015-09-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated simplified Chinese translation.
+
+2015-09-09  James Bowman  <james.bowman@ftdichip.com>
+
+       * scripttempl/ft32.sc: default linker script RAM and
+       FLASH size symbols
+
+2015-09-09  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated simplified Chinese translation.
+
+2015-09-08  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (Source Code Reference): Extend description to
+       include an example using arrays.
+
+2015-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld.h (enum orphan_handling_enum): New.
+       (ld_config_type): Remove warn_orphan, add orphan_handling.
+       * ldemul.c (ldemul_place_orphan): Remove warning about orphan
+       sections.
+       * ldlang.c (ldlang_place_orphan): New function.
+       (lang_place_orphans): Call ldlang_place_orphan.
+       * ldlex.h (enum option_values): Remove OPTION_WARN_ORPHAN and
+       OPTION_NO_WARN_ORPHAN, add OPTION_ORPHAN_HANDLING.
+       * lexsup.c (ld_options): Remove 'warn-orphan' and
+       'no-warn-orphan', add 'orphan-handling'.
+       (parse_args): Remove handling for OPTION_WARN_ORPHAN and
+       OPTION_NO_WARN_ORPHAN, add handling for OPTION_ORPHAN_HANDLING.
+       * NEWS: Replace text about --warn-orphan with --orphan-handling.
+       * ld.texinfo (Options): Remove --warn-orphan entry and add
+       entry on --orphan-handling.
+       (Orphan Sections): Add reference to relevant command line options.
+
+2015-09-03  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (--build-id): Fix typo.  The COFF/PE build-id section
+       is called .buildid not .build-id.
+
+2015-09-03  Nick Clifton  <nickc@redhat.com>
+
+       (Source Code Reference): Fix off-by-one typo in example of how to
+       use linker script symbols in C source code.
+
+2015-08-19  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/aix.em: Don't set link_info.pic.
+       * emultempl/pe.em: Likewise.
+       * emultempl/pep.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * lexsup.c (parse_args): Likewise.  Set type_pie for -pie.
+       * plugin.c (set_tv_header <LDPT_LINKER_OUTPUT>): Simplify.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldctor.c: Replace shared, executable, relocatable and pie
+       fields with bfd_link_executable, bfd_link_dll,
+       bfd_link_relocatable, bfd_link_pic and bfd_link_pie.
+       * ldemul.c: Likewise.
+       * ldfile.c: Likewise.
+       * ldlang.c: Likewise.
+       * ldmain.c: Likewise.
+       * ldwrite.c: Likewise.
+       * lexsup.c: Likewise.
+       * pe-dll.c: Likewise.
+       * plugin.c: Likewise.
+       * emultempl/aarch64elf.em: Likewise.
+       * emultempl/aix.em: Likewise.
+       * emultempl/alphaelf.em: Likewise.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf.em: Likewise.
+       * emultempl/avrelf.em: Likewise.
+       * emultempl/beos.em: Likewise.
+       * emultempl/cr16elf.em: Likewise.
+       * emultempl/elf-generic.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/genelf.em: Likewise.
+       * emultempl/generic.em: Likewise.
+       * emultempl/gld960.em: Likewise.
+       * emultempl/gld960c.em: Likewise.
+       * emultempl/hppaelf.em: Likewise.
+       * emultempl/irix.em: Likewise.
+       * emultempl/linux.em: Likewise.
+       * emultempl/lnk960.em: Likewise.
+       * emultempl/m68hc1xelf.em: Likewise.
+       * emultempl/m68kcoff.em: Likewise.
+       * emultempl/m68kelf.em: Likewise.
+       * emultempl/metagelf.em: Likewise.
+       * emultempl/mipself.em: Likewise.
+       * emultempl/mmo.em: Likewise.
+       * emultempl/msp430.em: Likewise.
+       * emultempl/nds32elf.em: Likewise.
+       * emultempl/needrelax.em: Likewise.
+       * emultempl/nios2elf.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/pep.em: Likewise.
+       * emultempl/ppc32elf.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/sh64elf.em: Likewise.
+       * emultempl/solaris2.em: Likewise.
+       * emultempl/spuelf.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * emultempl/tic6xdsbt.em: Likewise.
+       * emultempl/ticoff.em: Likewise.
+       * emultempl/v850elf.em: Likewise.
+       * emultempl/vms.em: Likewise.
+       * emultempl/vxworks.em: Likewise.
+
+2015-08-18  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment.
+
+2015-08-06  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (align_dot_val): Delete.
+       (fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change.
+       (is_align_conditional): Revert 2015-07-20 change.
+       (exp_fold_tree_1): Likewise, but keep expanded comment.
+       * scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change.
+       * ld.texinfo (<ALIGN>): Correct description.
+
+2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld.texinfo (Options): Document --require-defined option.
+       * ldlang.c (struct require_defined_symbol): New structure.
+       (require_defined_symbol_list): New variable.
+       (ldlang_add_require_defined): New function.
+       (ldlang_check_require_defined_symbols): New function.
+       (lang_process): Check required symbols are defined.
+       * ldlang.h (ldlang_add_require_defined): Declare.
+       * ldlex.h (enum option_values): Add OPTION_REQUIRE_DEFINED_SYMBOL.
+       * lexsup.c (ld_options): Add '--require-defined' entry.
+       (parse_args): Handle '--requre-defined' entry.
+       * NEWS: Mention new '--require-defined' option.
+
+2015-08-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld.texinfo (MEMORY): Explain that multiple MEMORY commands are
+       acceptable.
+
+2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lexsup.c (parse_args): Don't set link_info.executable to
+       TRUE for link_info.relocatable.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for
+       the _-rl78_abs__ symbol.
+
+2015-07-20  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define.
+       (INIT_START, FINI_START): Don't ALIGN.
+       * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR.
+
+2015-07-20  Alan Modra  <amodra@gmail.com>
+
+       * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot.
+       * ldexp.c (is_align_conditional): Handle binary ALIGN.
+       (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to
+       dot inside output sections.  Handle absolute expressions.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make
+       --compress-debug-sections=zlib the same as
+       --compress-debug-sections=zlib-gabi.
+       * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi.
+
+2015-07-14  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (Options): Add missing period after @xref.
+
+2015-07-10  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (align_dot_val): New function.
+       (fold_unary <ALIGN_K, NEXT>): Use it.
+
+2015-07-03   Kai Tietz  <ktietz@redhat.com>
+
+       PR ld/11539
+       * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*,
+       .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr,
+       .eh_frame, .pdata. .xdata, and .gcc_except_table sections
+       as KEEP.
+       * scripttempl/pe.sc: Likewise.
+       * ld.texinfo: Document that --gc-sections has experimental support
+       for COFF and PE targets.
+       * NEWS: Mention experimental support.
+
+2015-07-03  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS.
+       * Makefile.in: Regenerate.
+
+2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em  (gld${EMULATION_NAME}_handle_option):
+       Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.
+
+2015-06-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf_iamcu.sh (COMPILE_IN): New.
+
+2015-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/18466
+       * emultempl/pe.em (pe_find_data_imports): Generate an error if a
+       symbol name is too long to handle.
+       * emultempl/pep.em (pep_find_data_imports): Likewise.
+
+2015-06-12  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Mention new option.
+       * lexsup.c (parse_args): Handle --print-memory-usage.
+       (ld_options): Add --print-memory-usage.
+       * ldmain.c (main): Call lang_print_memory_usage.
+       * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE.
+       * ldlang.h: Add prototype of lang_print_memory_usage.
+       * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New
+       functions.
+       * ld.texinfo (Options): Document --print-memory-usage.
+       * ld.h (args_type): Add print_memory_usage field.
+
+2015-06-08  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French Translation.
+
+2015-05-28  Catherine Moore  <clm@codesourcery.com>
+           Paul Brook <paul@codesourcery.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
+       Add Compact EH support.
+       * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab
+       sections.
+
+2015-05-17  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * configure.ac (AC_PROG_GREP): Check for grep program.
+       (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options):
+       Enable ELF option printing for emulations containing
+       'TEMPLATE_NAME=elf32'.
+       * configure: Regenerate.
+
+2015-05-14  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd
+       symbols.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt: Support i[3-7]86-*-elfiamcu target.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c.
+       (eelf_iamcu.c): New.
+       * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is
+       enabled in BFD.
+       * Makefile.in: Regenerated.
+       * emulparams/elf_iamcu.sh: New file.
+
+2015-05-05  Nick Clifton  <nickc@redhat.com>
+
+       * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
+       * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
+       (.data): Add .lower.data and .either.data.
+       (.bss): Add .lower.bss and .either.bss.
+       (.rodata): Add .lower.rodata and .either.rodata.
+       * emultempl/msp430.em: New file.  Implements a new orphan
+       placement algorithm that divides sections between lower and upper
+       memory regions.
+       * Makefile.am (emsp430elf.c): Depend upon msp430.em.
+       *emsp430X.c): Likewise.
+       * Makefine.in: Regenerate.
+
+2015-04-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       PR ld/18344
+       * ldlex.l (INPUTLIST): Increment lineno on newline.
+
+2015-04-24  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
+       Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
+
+2015-04-24  DJ Delorie  <dj@redhat.com>
+
+       * Makefile.am (msp430): Rename primary emulation to msp430elf.
+       (emsp430.c): Rename to emsp430elf.c, update dependencies
+       (emsp430X.c): Update dependencies.
+       * Makefile.in: Likewise.
+       * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
+       * emulparams/msp430.sh: Rename to msp430elf.sh.
+       * emulparams/msp430X.sh: Update.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18209
+       * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
+
+2015-04-23  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf64ppc.sh (GOT): Align.
+
+2015-04-22  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.h (struct ldexp_control): Delete dataseg.min_base.  Add
+       data_seg.relro_offset.
+       * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
+       (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
+       * ldlang.c (lang_size_sections): Rewrite code adjusting relro
+       segment base to line up last section on page boundary.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention
+       --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texinfo: Document --compress-debug-sections=.
+       * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
+       COMPRESS_DEBUG is set.  Set BFD_COMPRESS_GABI on output_bfd
+       for COMPRESS_DEBUG_GABI_ZLIB.
+       * lexsup.c (elf_static_list_options): Add
+       --compress-debug-sections=.
+       * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
+       (xtra_long): Add "compress-debug-sections".
+       (gld${EMULATION_NAME}_handle_option): Handle
+       OPTION_COMPRESS_DEBUG.
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr17709
+       * ld.texinfo: Document "-z noextern-protected-data".
+       * ldmain.c (main): Initialize link_info.extern_protected_data
+       to -1.
+       * lexsup.c (elf_shlib_list_options): Add
+       "-z [no]extern-protected-data".
+       * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
+       * emulparams/elf_i386.sh: Likewise.
+       * emulparams/elf_i386_be.sh: Likewise.
+       * emulparams/elf_i386_chaos.sh: Likewise.
+       * emulparams/elf_i386_ldso.sh: Likewise.
+       * emulparams/elf_i386_vxworks.sh: Likewise.
+       * emulparams/elf_k1om.sh: Likewise.
+       * emulparams/elf_l1om.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
+       (PARSE_AND_LIST_OPTIONS): Renamed to ...
+       (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
+       (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
+       (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
+       (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
+       (PARSE_AND_LIST_ARGS_CASE_Z): Append
+       $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
+       * emulparams/extern_protected_data.sh: New file.
+
+2015-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (plugin_load_plugins): Removed an extra ';'.
+
+2015-04-10  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/18198
+       * ld.texinfo (--be8): Add a note about the interaction of this
+       option with the assembler's -EB option.
+
+2015-04-10  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Set elf_list_options etc. in proper case.
+       * configure: Regenerate.
+
+2015-04-10  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18223
+       * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
+
+2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf_x86_64.sh (BNDPLT): Removed.
+       (PARSE_AND_LIST_OPTIONS): New.
+       (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
+       BNDPLT check.  Handle PARSE_AND_LIST_ARGS_CASE_Z.
+       (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
+
+2015-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac (elf_list_options): Set to TRUE for
+       --enable-targets=all.
+       (elf_shlib_list_options): Likewise.
+       (elf_plt_unwind_list_options): Likewise.
+       * configure: Regenerated.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ELF_CLFAGS): New.
+       (AM_CFLAGS): Add $(ELF_CLFAGS).
+       * configure.ac (elf_list_options): New.  AC_SUBST.
+       (elf_shlib_list_options): Likewise.
+       (elf_plt_unwind_list_options): Likewise.
+       * lexsup.c (elf_shlib_list_options): New.
+       (elf_static_list_options): Likewise.
+       (elf_plt_unwind_list_options): Likewise.
+       (ld_list_options): Likewise.
+       (help): Call ld_list_options.
+       * Makefile.in: Regenerated.
+       * configure: Likewise.
+       * emulparams/plt_unwind.sh (PLT_UNWIND): New.
+       (PARSE_AND_LIST_OPTIONS): Removed.
+       * emultempl/elf32.em (gld_list_options): New.
+       (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
+       PARSE_AND_LIST_OPTIONS is defined.
+       (ld_${EMULATION_NAME}_emulation): Replace
+       gld${EMULATION_NAME}_list_options with ${gld_list_options.
+
+2015-04-07  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18176
+       * ldlang.c (lang_size_sections): Cast shift expression.
+
+2015-04-07  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc32elf.em: Handle --no-pic-fixup.
+       (params): Init new field.
+       (ppc_before_allocation): Enable relaxation for pic_fixup.
+
+2015-04-07  Nick Clifton  <nickc@redhat.com>
+
+       * ld.h (struct ld_config_type): Add new field: warn_orphan.
+       * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
+       OPTION_NO_WARN_ORPHAN.
+       * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
+       (parse_args): Handle the new options.
+       * ldemul.c (ldemul_place_orphan): If requested, generate a warning
+       message when an orphan section is placed in the output file.
+       * ld.texinfo: Document the new option.
+       * NEWS: Mention the new feature.
+
+2015-04-02  Andrew Turner <andrew@freebsd.org>
+
+       * Makefile.am: Add FreeBSD aarch64 files.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add aarch64-*-freebsd* target triple.
+       * emulparams/aarch64fbsd.sh: New file.
+       * emulparams/aarch64fbsdb.sh: New file.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
+       around a GCC uninitialized warning bug fixed in GCC 4.6.
+
+2015-04-01  Tejas Belagod  <tejas.belagod@arm.com>
+
+       * emultempl/aarch64elf.em
+       (aarch64_elf_create_output_section_statements): Add parameter in
+       bfd_elf${ELFSIZE}_aarch64_set_options call.
+       (OPTION_FIX_ERRATUM_843419): Define.
+       (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
+       (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
+
+2015-04-01  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
+       relocating operation.
+
+2015-04-01  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18176
+       * ldlang.c (lang_size_sections): When alignment of sections
+       results in relro base adjustment being too large, don't go lower
+       than the initial value.
+       * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
+       * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
+       alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
+
+2015-04-01  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
+       init ehdr_start_save.
+
+2015-04-01  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
+       ldemul-list.h.
+       (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
+       eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
+       eelf32ppcsim.c): Rearrange deps for consistency.
+       * Makefile.in: Regenerate.
+
+2015-04-01  Ed Schouten  <ed@nuxi.nl>
+
+       * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
+       the ehdr_start_save variable.
+
+2015-03-31  Ed Schouten  <ed@nuxi.nl>
+
+       * Makefile.am (ALL_64_EMULATION_SOURCES): Add
+       eelf_x86_64_cloudabi.c.
+       (eelf_x86_64_cloudabi.c): New.
+       * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
+       x86_64-*-cloudabi*.
+       * Makefile.in: Regenerated.
+       * emulparams/elf_x86_64_cloudabi.sh: New file.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac (AM_ZLIB): Removed.
+       * Makefile.in: Regenerated.
+       * config.in: Likewise.
+       * configure: Likewise.
+
+2015-03-24  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
+       alignment to 2.
+
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * emultempl/aarch64elf.em
+       (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
+
+2015-03-18  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * ldmain.c (main): Use %F instead of %X for einfo.
+
+2015-03-02  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
+
+2015-02-27  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/17900
+       * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
+       sense of the following memory region attribute characters.
+
+2015-02-27  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
+       (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
+       eh8300sxelf_linux.c): Do not invoke genscripts here.
+       * Makefile.in: Regenerate.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am (ev850.c): Add dependency upon
+       $(srcdir)/emultempl/v850elf.em.
+       (ev850_rh850.c): Likewise.
+       * Makefile.in: Regenerate.
+       * emultempl/v850elf.em: New file.
+       * emulparams/v850.sh (EXTRA_EM_FILE): Define.
+       * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
+       * scripttempl/v850.sc: Add .note.renesas section.
+       * scripttempl/v850_rh850.sc: Likewise.
+
+2015-02-24  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * scripttempl/avr.sc: Add new user_signatures region.  Define and
+       use symbols for all region lengths.
+       * scripttempl/avrtiny.sc: Define and use symbols for all region
+       lengths.
+
+2015-01-21  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add h8300-*-linux
+       * emulparams/h8300elf_linux.sh: Add new emulation.
+       * emulparams/h8300helf_linux.sh: Likewise.
+       * emulparams/h8300self_linux.sh: Likewise.
+       * emulparams/h8300sxelf_linux.sh: Likewise.
+
+2015-02-23  Nick Clifton  <nickc@redhat.com>
+
+       * lexsup.c (parse_args): Produce a more reasonable error message
+       when -ixxx or -rxxx is the last option on the linker command line.
+
+2015-02-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17973
+       * testplug2.c (allsymbolsread_silent): New.
+       (set_register_hook): Handle allsymbolsreadsilent.
+       (onall_symbols_read): Skip a message if allsymbolsread_silent is
+       TRUE.
+
+2015-02-14  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17973
+       * ldlang.h (struct lang_input_statement_flags): Add lto_output.
+       * ldlang.c (lang_process): Don't set loading_lto_outputs.
+       * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
+       to bfd.
+       * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
+
+2015-02-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention support for LLVM plugin.
+
+2015-02-13  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo (Options <--defsym>): Correct cross reference.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
+       option compatibility.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
+       "error:" for LDPL_FATAL and LDPL_ERROR.
+       * testplug2.c (parse_option): Handle fatal, error and warning.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testplug2.c (dump_tv_tag): Removed.
+       (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
+       closed.
+       * testplug3.c (dump_tv_tag): Removed.
+       (onclaim_file): Fix typo.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
+       libldtestplug3.la.
+       (libldtestplug2_la_SOURCES): New.
+       (libldtestplug2_la_CFLAGS): Likewise.
+       (libldtestplug2_la_LDFLAGS): Likewise.
+       (libldtestplug3_la_SOURCES): New.
+       (libldtestplug3_la_CFLAGS): Likewise.
+       (libldtestplug3_la_LDFLAGS): Likewise.
+       * Makefile.in: Regenerated.
+       * testplug2.c: New file.
+       * testplug3.c: Likewise.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * plugin.c: Include ../bfd/plugin.h.
+       (plugin_get_ir_dummy_bfd): Call bfd_create with
+       link_info.output_bfd instead of srctemplate.  Copy BFD info
+       from srctemplate only if it doesn't use BFD plugin target
+       vector.
+       (plugin_load_plugins): Call register_ld_plugin_object_p with
+       (plugin_object_p)
+       (plugin_maybe_claim): Renamed to ...
+       (plugin_object_p): This.  Return dummy BFD target vector if
+       input is calimed by plugin library, otherwise return NULL.
+       Update plugin_format and plugin_dummy_bfd.
+       (plugin_maybe_claim): New.  Use plugin_object_p.
+
+2015-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (plugin_maybe_claim): Initialize use_mmap.
+
+2015-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (plugin_input_file_t): Add use_mmap.
+       (plugin_pagesize): New.
+       (get_view): Use plugin_pagesize.  Set use_mmap if mmap is used.
+       (plugin_load_plugins): Initialize plugin_pagesize.
+       (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
+       file.
+
+2015-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (get_view): Align offset passed to mmap.
+
+2015-02-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
+       if plugin isn't active or there is no thing more to claim.
+
+2015-02-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (plugin_maybe_claim): Check format against bfd_object
+       directly.
+
+2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
+       ibfd.
+
+2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c: Include "libbfd.h".
+       (plugin_strdup): New.
+       (plugin_maybe_claim): Remove the argument of pointer to struct
+       ld_plugin_input_file.  Open and handle input entry.
+       * plugin.h (plugin_maybe_claim): Updated.
+       * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
+       without passing a pointer to struct ld_plugin_input_file.
+       * ldmain.c: Don't include "libbfd.h".
+       (add_archive_element): Call plugin_maybe_claim directly without
+       passing a pointer to struct ld_plugin_input_file.
+
+2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texinfo: Document -z text, -z notext and -z textoff.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
+       -z text, -z notext and -z textoff.
+
+2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Add AC_FUNC_MMAP.
+       * config.in: Regenerated.
+       * configure: Likewise.
+       * plugin.c: Include <sys/mman.h>.
+       (MAP_FAILED): New.  Defined if not defined.
+       (PROT_READ): Likewise.
+       (MAP_PRIVATE): Likewise.
+       (view_buffer_t): New.
+       (plugin_input_file_t): Add view_buffer.
+       (get_view): Try mmap and cache the view buffer.
+       (plugin_maybe_claim): Initialize view_buffer.
+
+2015-02-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (release_input_file): Set fd to -1 after closing it.
+       (plugin_maybe_claim): Close fd only if fd != -1.
+
+2015-02-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * plugin.c: Include <errno.h>.
+       (errno): New.  Declare if needed.
+       (plugin_input_file_t): New.
+       (get_input_file): Implemented.
+       (get_view): Likewise.
+       (release_input_file): Likewise.
+       (add_symbols): Updated.
+       (get_symbols): Likewise.
+       (plugin_maybe_claim): Allocate a plugin_input_file_t.  Close fd
+       only for a bfd_object input.
+
+2015-02-02  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (toc_section_name): New var.
+       (ppc_after_open): Set it.
+       (ppc_before_allocation): Use it.
+       (gld${EMULATION_NAME}_after_allocation): Here too.
+
+2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
+       with link_info.lto_plugin_active.
+       * ldlang.c (lang_process): Likewise.
+       * ldmain.c (add_archive_element): Likewise.
+       * plugin.c (plugin_active_plugins_p): Removed.
+       * plugin.h (plugin_active_plugins_p): Likewise.
+
+2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.h (plugin_get_ir_dummy_bfd): Removed.  Move comments to
+       ...
+       * plugin.c (plugin_get_ir_dummy_bfd): Here.  Make it static.
+
+2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
+       (get_view): New function.
+       (set_tv_header): Handle LDPT_GET_VIEW.
+       * testplug.c (tag_names): Add LDPT_GET_VIEW.
+       (tv_get_view): New.
+       (dump_tv_tag): Handle LDPT_GET_VIEW.
+       (parse_tv_tag): Likewise.
+
+2015-01-28  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
+       * emultempl/ppc64elf.em (params): Init new field.
+       (ppc_after_open): New function.
+       (LDEMUL_AFTER_OPEN): Define.
+       * ldlang.c (lang_final): Whitespace fix.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * Makefile.am: Add FT32 files.
+       * configure.tgt: Handle FT32 target.
+       * emulparams/elf32ft32.sh: New file.
+       * scripttempl/ft32.sc: New file.
+       * Makefile.in: Regenerate.
+
+2015-01-28  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       PR 4643
+       * ldexp.c (fold_name): Fold LENGTH only after
+       lang_first_phase_enum.
+       * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
+       rightaway.
+       * ldlang.h (struct memory_region_struct): Add origin_exp and
+       length_exp fields.
+       * ldlang.c (lang_do_memory_regions): New.
+       (lang_memory_region_lookup): Initialize origin_exp and
+       length_exp fields.
+       (lang_process): Call lang_do_memory_regions.
+
+2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ldlang.c (print_assignment): Only evaluate the expression for a
+       PROVIDE'd assignment when the destination is being defined.
+       Display a special message for PROVIDE'd symbols that are not being
+       provided.
+
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
+       (OTHER_BSS_SYMBOLS): ..this.
+       (OTHER_PLT_RELOC_SECTIONS): Don't define.
+       (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
+       (OTHER_READWRITE_SECTIONS): Don't define.  Move .toc1 to..
+       (OTHER_RELRO_SECTIONS_2): ..here.
+       * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
+
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
+       (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
+       (OTHER_RELRO_SECTIONS_2): ..here.
+       (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
+       PLT_BEFORE_GOT): Define.
+       * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
+       PLT_BEFORE_GOT combination.
+       (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
+
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
+       (OTHER_RELRO_SECTIONS_2): ..here, new define.
+       * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17615
+       * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
+
+2015-01-14  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-arm/elf32-reject.s: New testcase.
+       * ld-arm/elf32-reject.d: Likewise.
+       * ld-arm/elf32-reject-pie.s: Likewise.
+       * ld-arm/elf32-reject-pie.d: Likewise.
+       * ld-arm/arm-elf.exp: Run new testcases.
+       * ld-arm/ifunc-7.s: Delete f2/f4 test items.
+       * ld-arm/ifunc-7.rd: Likewise.
+       * ld-arm/ifunc-7.gd: Likewise.
+       * ld-arm/ifunc-7.dd: Likewise.
+       * ld-arm/ifunc-8.s: Likewise.
+       * ld-arm/ifunc-8.rd: Likewise.
+       * ld-arm/ifunc-8.gd: Likewise.
+       * ld-arm/ifunc-8.dd: Likewise.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       * ldver.c (ldversion): Just print current year.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
deleted file mode 100644 (file)
index 33e1b5b..0000000
+++ /dev/null
@@ -1,1984 +0,0 @@
-2015-12-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * ld-arm/arm-elf.exp: Run new test "Thumb-Thumb farcall v6-M (no
-       profile)".
-       * ld-arm/farcall-thumb-thumb-m-no-profile-a.s: New file.
-       * ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Likewise.
-       * ld-arm/farcall-thumb-thumb-m-no-profile.d: Likewise.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * ld-arm/arm-elf.exp (armeabitests_common): Run new tests
-       "Thumb-Thumb farcall v8-M", "EABI attribute merging 8",
-       "EABI attribute merging 9" and "EABI attribute merging 10".
-       (Thumb-Thumb farcall v8-M): Renamed to ...
-       (Thumb-Thumb farcall v8-M Mainline): This.
-       (Thumb-Thumb farcall v8-M Baseline): New test.
-       * ld-arm/attr-merge-8a.s: New file.
-       * ld-arm/attr-merge-8b.s: Likewise.
-       * ld-arm/attr-merge-8.attr: Likewise.
-       * ld-arm/attr-merge-9a.s: Likewise.
-       * ld-arm/attr-merge-9b.s: Likewise.
-       * ld-arm/attr-merge-9.out: Likewise.
-       * ld-arm/attr-merge-10a.s: Likewise.
-       * ld-arm/attr-merge-10b.s: Likewise.
-       * ld-arm/attr-merge-10.attr: Likewise.
-
-2015-12-21 Yury Usishchev <y.usishchev@samsung.com>
-
-       * ld-arm/arm-elf.exp: New test.
-       * ld-arm/unwind-rel.d: New file.
-       * ld-arm/unwind-rel1.s: New file.
-       * ld-arm/unwind-rel2.s: New file.
-       * ld-arm/unwind-rel3.s: New file.
-
-2015-12-22 Mickael Guene <mickael.guene@st.com>
-
-       * ld-arm/arm-elf.exp: New tests.
-       * ld-arm/thumb1-input-section-flag-match.d: New.
-       * ld-arm/thumb1-input-section-flag-match.s: New.
-       * ld-arm/thumb1-noread-not-present-mixing-two-section.d: New.
-       * ld-arm/thumb1-noread-not-present-mixing-two-section.s: New.
-       * ld-arm/thumb1-noread-present-one-section.d: New.
-       * ld-arm/thumb1-noread-present-one-section.s: New.
-       * ld-arm/thumb1-noread-present-two-section.d: New.
-       * ld-arm/thumb1-noread-present-two-section.s: New.
-
-2015-12-16  Mickael Guene <mickael.guene@st.com>
-
-       * ld-arm/arm-elf.exp (armelftests_common): Add new relocations
-       tests.
-       * ld-arm/thumb1-adds.d: New
-       * ld-arm/thumb1-adds.s: New
-       * ld-arm/thumb1-movs.d: New
-       * ld-arm/thumb1-movs.s: New
-
-2015-12-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19317
-       * ld-plugin/lto.exp (lto_no_fat): New.
-       (lto_link_tests): Add a test for PR ld/19317.
-       (lto_run_tests): Likewise.
-       (run_ld_link_tests): Likewise.
-
-2015-12-07  Jan Beulich  <jbeulich@suse.com>
-
-       * ld-elf/gabiend.rt: Accept any alignment.
-       * ld-elf/gabinormal.rt: Likewise.
-
-2015-12-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp: Run mov2a and mov2b.
-       * ld-i386/mov2.s: New file.
-       * ld-i386/mov2a.d: Likewise.
-       * ld-i386/mov2b.d: Likewise.
-       * ld-x86-64/mov2.s: Likewise.
-       * ld-x86-64/mov2a.d: Likewise.
-       * ld-x86-64/mov2b.d: Likewise.
-       * ld-x86-64/mov2c.d: Likewise.
-       * ld-x86-64/mov2d.d: Likewise.
-       * ld-x86-64/x86-64.exp: Run mov2a, mov2b, mov2c and mov2d.
-
-2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19319
-       * ld-i386/i386.exp: Run pr19319 test.
-       * ld-x86-64/x86-64.exp: Likewise.
-       * ld-i386/pr19319.dd: New file.
-       * ld-i386/pr19319a.S: Likewise.
-       * ld-i386/pr19319b.S: Likewise.
-       * ld-x86-64/pr19319.dd: Likewise.
-       * ld-x86-64/pr19319a.S: Likewise.
-       * ld-x86-64/pr19319b.S: Likewise.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * ld-powerpc/addpcis.d: New test.
-       * ld-powerpc/addpcis.s: New test.
-       * ld-powerpc/powerpc.exp: Run it.
-
-2015-11-03  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Run newly added test cases.
-       * ld-aarch64/emit-relocs-301.d: Skip aarch64_be.
-       * ld-aarch64/emit-relocs-302.d: Likwise.
-       * ld-aarch64/emit-relocs-310.d: Likwise.
-       * ld-aarch64/emit-relocs-515.d: Likwise.
-       * ld-aarch64/emit-relocs-516.d: Likwise.
-       * ld-aarch64/tls-large-desc.d: Likwise.
-       * ld-aarch64/tls-large-ie.d: Likwise.
-       * ld-aarch64/tls-relax-large-desc-ie.d: Likwise.
-       * ld-aarch64/tls-relax-large-desc-le.d: Likwise.
-       * ld-aarch64/tls-relax-large-gd-ie.d: Likwise.
-       * ld-aarch64/tls-relax-large-gd-le.d: Likwise.
-       * ld-aarch64/emit-relocs-301-be.d: New for aarch64_be.
-       * ld-aarch64/emit-relocs-302-be.d: Likewise.
-       * ld-aarch64/emit-relocs-310-be.d: Likewise.
-       * ld-aarch64/emit-relocs-515-be.d: Likewise.
-       * ld-aarch64/emit-relocs-516-be.d: Likewise.
-       * ld-aarch64/tls-large-desc-be.d: Likewise.
-       * ld-aarch64/tls-large-ie-be.d: Likewise.
-       * ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
-       * ld-aarch64/tls-relax-large-desc-le-be.d: Likewise.
-       * ld-aarch64/tls-relax-large-gd-ie-be.d: Likewise.
-       * ld-aarch64/tls-relax-large-gd-le-be.d: Likewise.
-
-2015-10-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-x86-64/plt-main3.rd: Also check GOTPCRELX.
-
-2015-10-29  Catherine Moore  <clm@codesourcery.com>
-
-       * ld-mips-elf/mips16-fp-stub-1.s: New.
-       * ld-mips-elf/mips16-fp-stub-2.s: New.
-       * ld-mips-elf/mips16-fp-stub.d: New.
-       * ld-mips-elf/mips-elf.exp: Run new tests.
-       * ld-mips-elf/mips16-intermix.d: Update expected output.
-
-2015-10-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19162
-       * ld-x86-64/x86-64.exp: Run pr19162.
-       * ld-x86-64/pr19162.d: New file.
-       * ld-x86-64/pr19162a.s: Likewise.
-       * ld-x86-64/pr19162b.s: Likewise.
-
-2015-10-27  Laurent Alfonsi <laurent.alfonsi@st.com>
-           Christophe Monat <christophe.monat@st.com>
-
-       * ld-arm/arm-elf.exp (armelftests_common): Add STM32L4XX
-       tests.
-       * ld-arm/stm32l4xx-cannot-fix-far-ldm.d: New.
-       * ld-arm/stm32l4xx-cannot-fix-far-ldm.s: Likewise.
-       * ld-arm/stm32l4xx-cannot-fix-it-block.d: Likewise.
-       * ld-arm/stm32l4xx-cannot-fix-it-block.s: Likewise.
-       * ld-arm/stm32l4xx-fix-all.d: Likewise.
-       * ld-arm/stm32l4xx-fix-all.s: Likewise.
-       * ld-arm/stm32l4xx-fix-it-block.d: Likewise.
-       * ld-arm/stm32l4xx-fix-it-block.s: Likewise.
-       * ld-arm/stm32l4xx-fix-ldm.d: Likewise.
-       * ld-arm/stm32l4xx-fix-ldm.s: Likewise.
-       * ld-arm/stm32l4xx-fix-vldm.d: Likewise.
-       * ld-arm/stm32l4xx-fix-vldm.s: Likewise.
-
-2015-10-27  Alan Modra  <amodra@gmail.com>
-
-       * ld-gc/pr19161.d: xfail hppa-*-*.
-
-2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19175
-       * ld-i386/i386.exp: Run pr19175.
-       * ld-x86-64/x86-64.exp: Likewise.
-       * ld-i386/pr19175.d: New file.
-       * ld-i386/pr19175.s: Likewise.
-       * ld-i386/pr19175.t: Likewise.
-       * ld-x86-64/pr19175.d: Likewise.
-       * ld-x86-64/pr19175.s: Likewise.
-       * ld-x86-64/pr19175.t: Likewise.
-
-2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19171
-       * ld-i386/lea1.s: Add tests for address load of __start_XXX
-       and __stop_XXX.
-       * ld-i386/mov1.s: Likewise.
-       * ld-x86-64/lea1.s: Likewise.
-       * ld-x86-64/mov1.s: Likewise.
-       * ld-i386/lea1a.d: Updated.
-       * ld-i386/lea1b.d: Likewise.
-       * ld-i386/lea1c.d: Likewise.
-       * ld-i386/mov1a.d: Likewise.
-       * ld-i386/mov1b.d: Likewise.
-       * ld-x86-64/lea1a.d: Likewise.
-       * ld-x86-64/lea1b.d: Likewise.
-       * ld-x86-64/lea1c.d: Likewise.
-       * ld-x86-64/lea1d.d: Likewise.
-       * ld-x86-64/lea1e.d: Likewise.
-       * ld-x86-64/lea1f.d: Likewise.
-       * ld-x86-64/mov1a.d: Likewise.
-       * ld-x86-64/mov1b.d: Likewise.
-       * ld-x86-64/mov1c.d: Likewise.
-       * ld-x86-64/mov1d.d: Likewise.
-
-2015-10-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19167
-       * ld-gc/gc.exp: Run pr19167 test.
-       * ld-gc/pr19167.d: New file.
-       * ld-gc/pr19167a.s: Likewise.
-       * ld-gc/pr19167b.s: Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19161
-       * ld-gc/gc.exp: Run pr19161 test.
-       * ld-gc/pr19161-1.c: New file.
-       * ld-gc/pr19161-2.c: Likewise.
-       * ld-gc/pr19161.d: Likewise.
-
-2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * ld-scripts/script.exp (extract_symbol_test): Allow nm output of
-       objcopy --extract-symbols result to differ from original on
-       mmix-knuth-mmixware.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/call3.s: New file.
-       * ld-i386/call3a.d: Likewise.
-       * ld-i386/call3b.d: Likewise.
-       * ld-i386/call3c.d: Likewise.
-       * ld-i386/call3d.d: Likewise.
-       * ld-i386/call3e.d: Likewise.
-       * ld-i386/call3f.d: Likewise.
-       * ld-i386/call3g.d: Likewise.
-       * ld-i386/call3h.d: Likewise.
-       * ld-i386/load1-nacl.d: Likewise.
-       * ld-x86-64/call1.s: Likewise.
-       * ld-x86-64/call1a.d: Likewise.
-       * ld-x86-64/call1b.d: Likewise.
-       * ld-x86-64/call1c.d: Likewise.
-       * ld-x86-64/call1d.d: Likewise.
-       * ld-x86-64/call1e.d: Likewise.
-       * ld-x86-64/call1f.d: Likewise.
-       * ld-x86-64/call1g.d: Likewise.
-       * ld-x86-64/call1h.d: Likewise.
-       * ld-x86-64/call1i.d: Likewise.
-       * ld-x86-64/load1a-nacl.d: Likewise.
-       * ld-x86-64/load1b-nacl.d: Likewise.
-       * ld-x86-64/load1c-nacl.d: Likewise.
-       * ld-x86-64/load1d-nacl.d: Likewise.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-ifunc/ifunc-5r-local-x86-64.d: Replace R_X86_64_GOTPCREL
-       with R_X86_64_REX_GOTPCRELX.
-       * ld-x86-64/plt-main1.rd: Likewise.
-       * ld-x86-64/plt-main3.rd: Likewise.
-       * ld-x86-64/plt-main4.rd: Likewise.
-       * ld-x86-64/gotpcrel1.dd: New file.
-       * ld-x86-64/gotpcrel1.out: Likewise.
-       * ld-x86-64/gotpcrel1a.S: Likewise.
-       * ld-x86-64/gotpcrel1b.c: Likewise.
-       * ld-x86-64/gotpcrel1c.c: Likewise.
-       * ld-x86-64/gotpcrel1d.S: Likewise.
-       * ld-x86-64/load1.s: Likewise.
-       * ld-x86-64/load1a.d: Likewise.
-       * ld-x86-64/load1b.d: Likewise.
-       * ld-x86-64/load1c.d: Likewise.
-       * ld-x86-64/load1d.d: Likewise.
-       * ld-x86-64/x86-64.exp: Run load1a, load1b, load1c and load1d
-       tests.  Run gotpcrel1 test.
-
-2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/branch1.d: New file.
-       * ld-i386/branch1.s: Likewise.
-       * ld-i386/call1.d: Likewise.
-       * ld-i386/call1.s: Likewise.
-       * ld-i386/call2.d: Likewise.
-       * ld-i386/call2.s: Likewise.
-       * ld-i386/got1.dd: Likewise.
-       * ld-i386/got1.out: Likewise.
-       * ld-i386/got1a.S: Likewise.
-       * ld-i386/got1b.c: Likewise.
-       * ld-i386/got1c.c: Likewise.
-       * ld-i386/got1d.S: Likewise.
-       * ld-i386/jmp1.d: Likewise.
-       * ld-i386/jmp1.s: Likewise.
-       * ld-i386/jmp2.d: Likewise.
-       * ld-i386/jmp2.s: Likewise.
-       * ld-i386/load1.d: Likewise.
-       * ld-i386/load1.s: Likewise.
-       * ld-i386/load2.d: Likewise.
-       * ld-i386/load2.s: Likewise.
-       * ld-i386/load3.d: Likewise.
-       * ld-i386/load3.s: Likewise.
-       * ld-i386/load4.s: Likewise.
-       * ld-i386/load4a.d: Likewise.
-       * ld-i386/load4b.d: Likewise.
-       * ld-i386/load5.s: Likewise.
-       * ld-i386/load5a.d: Likewise.
-       * ld-i386/load5b.d: Likewise.
-       * ld-i386/load6.d: Likewise.
-       * ld-i386/load6.s: Likewise.
-       * ld-i386/i386.exp: Run branch1, call1, call2, jmp1, jmp2,
-       load1, load2, load3, load4a, load4b, load5a, load5b and load6
-       tests.  Run got1 test.
-
-2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * ld-ifunc/ifunc.exp: Run ifunc tests on s390* targets.
-
-2015-10-19  Simon Dardis  <Simon.Dardis@imgtec.com>
-
-       * ld-elf/attributes.d: New test for symbol attribute copying.
-       * ld-elf/attributes.ld: Part of above.
-       * ld-elf/attributes.s: Likewise.
-
-2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/lea1.s: Add a test for loading address of local common
-       symbol.
-       * ld-x86-64/lea1.s: Likewise.
-       * ld-i386/lea1a.d: Updated.
-       * ld-i386/lea1b.d: Likewise.
-       * ld-i386/lea1c.d: Likewise.
-       * ld-x86-64/lea1a.d: Likewise.
-       * ld-x86-64/lea1b.d: Likewise.
-       * ld-x86-64/lea1c.d: Likewise.
-       * ld-x86-64/lea1d.d: Likewise.
-       * ld-x86-64/lea1e.d: Likewise.
-       * ld-x86-64/lea1f.d: Likewise.
-
-2015-10-15  Alan Modra  <amodra@gmail.com>
-
-       * config/default.exp (size): New global.
-       * ld-elf/extract-symbol-1.s,
-       * ld-elf/extract-symbol-1.ld,
-       * ld-elf/extract-symbol-1sec.d,
-       * ld-elf/extract-symbol-1sym.d: Delete.
-       * ld-scripts/script.exp (extract_symbol_test): New.
-
-2015-10-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19073
-       * ld-elf/pr19073.map: New file.
-       * ld-elf/pr19073.rd: Likewise.
-       * ld-elf/pr19073.s: Likewise.
-       * ld-elf/shared.exp (build_tests): Add tests for PR ld/19073.
-
-2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * ld-elf/linkonce1.d: Skip extra relocs before .debug_frame.
-
-2015-10-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18914
-       * ld-elf/exclude.exp: Also check exclude_common.
-       * ld-elf/exclude2.s: Add exclude_common.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-       * ld-aarch64/tls-large-desc.d: New.
-       * ld-aarch64/tls-large-desc.s: New.
-       * ld-aarch64/tls-relax-large-desc-ie.d: New.
-       * ld-aarch64/tls-relax-large-desc-ie.s: New.
-       * ld-aarch64/tls-relax-large-desc-le.d: New.
-       * ld-aarch64/tls-relax-large-desc-le.s: New.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: run new test
-       * ld-aarch64/tls-relax-large-gd-ie.d: New.
-       * ld-aarch64/tls-relax-large-gd-ie.s: New.
-       * ld-aarch64/tls-relax-large-gd-le.d: New.
-       * ld-aarch64/tls-relax-large-gd-le.s: New.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/tls-large-ie.d: New.
-       * ld-aarch64/tls-large-ie.s: New.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/emit-relocs-516.d: New.
-       * ld-aarch64/emit-relocs-516.s: New.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/emit-relocs-515.d: New.
-       * ld-aarch64/emit-relocs-515.s: New.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-       * ld-aarch64/emit-relocs-301.d: New.
-       * ld-aarch64/emit-relocs-301.s: New.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/emit-relocs-302.d: New.
-       * ld-aarch64/emit-relocs-302.s: New.
-       * ld-aarch64/aarch64-elf.exp: Run the test.
-
-2015-10-02  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/emit-relocs-310.d: New.
-       * ld-aarch64/emit-relocs-310.s: New.
-       * ld-aarch64/aarch64-elf.exp: Run the test.
-
-2015-10-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19031
-       * ld-x86-64/x86-64.exp: Run PR ld/19031 test.
-       * ld-x86-64/pr19031.out: New file.
-       * ld-x86-64/pr19031a.c: Likewise.
-       * ld-x86-64/pr19031b.S: Likewise.
-       * ld-x86-64/pr19031c.c: Likewise.
-
-2015-10-01  Renlin Li  <renlin.li@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Run the new test.
-       * ld-aarch64/plt_mapping_symbol.d: New.
-       * ld-aarch64/plt_mapping_symbol.s: New.
-
-2015-10-01  Alan Modra  <amodra@gmail.com>
-
-       * ld-x86-64/pr19013-x32.d: Update.
-       * ld-x86-64/pr19013-nacl.d: Update.
-
-2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
-
-2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19031
-       * ld-i386/i386.exp: Run PR ld/19031 test.
-       * ld-i386/pr19031.out: New file.
-       * ld-i386/pr19031a.c: Likewise.
-       * ld-i386/pr19031b.S: Likewise.
-       * ld-i386/pr19031c.c: Likewise.
-
-2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/19013
-       * ld-x86-64/pr19013-nacl.d: New file.
-       * ld-x86-64/pr19013-x32.d: Likewise.
-       * ld-x86-64/pr19013.d: Likewise.
-       * ld-x86-64/pr19013.s: Likewise.
-       * ld-x86-64/x86-64.exp: Run PR ld/19013 tests.
-
-2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/19005
-       * ld-elf/pr19005.d: New file.
-       * ld-elf/pr19005.s: Likewise.
-       * ld-elf/pr19005.t: Likewise.
-
-2015-08-11  Peter Zotov  <whitequark@whitequark.org>
-
-       PR ld/18759
-       * ld-elf/eh-frame-hdr: Expect to pass on the or1k-linux target.
-
-2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-mips-elf/pie-n32.d: Updated.
-       * ld-mips-elf/pie-n64.d: Likewise.
-       * ld-mips-elf/pie-o32.d: Likewise.
-
-2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/pie.d: New test.
-
-2015-09-18  Alan Modra  <amodra@gmail.com>
-
-       PR ld/18963
-       * ld-scripts/pr18963.d,
-       * ld-scripts/pr18963.t: New test.
-       * ld-scripts/expr.exp: Run it.
-       * ld-elf/provide-hidden-2.ld: Explicitly make "dot" absolute.
-       * ld-mips-elf/gp-hidden.sd: Don't care about _gp section.
-       * ld-mips-elf/no-shared-1-n32.d: Don't care about symbol shown at
-       start of .data section.
-       * ld-mips-elf/no-shared-1-n64.d: Likewise.
-       * ld-mips-elf/no-shared-1-o32.d: Likewise.
-
-2015-09-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-plugin/lto.exp (lto_link_tests): Add a "ld -r" test for
-       PR ld/15323.
-       (lto_run_tests): Add a "ld -r" test for PR ld/15323.
-
-2015-09-09  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/tls-relax-ld-le-tiny.s: New testcase.
-       * ld-aarch64/tls-relax-ld-le-small.s: Likewise.
-       * ld-aarch64/tls-relax-ld-le-tiny.d: New expectation file.
-       * ld-aarch64/tls-relax-ld-le-small.d: Likewise.
-       * ld-aarch64/aarch64-elf.exp: Run new testcases.
-
-2015-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-elf/orphan-7.map: Allow for other discarded sections.
-       * ld-elf/orphan-8.map: Updated to allow for different section
-       ordering on different targets.
-       * ld-elf/orphan.ld: Place .sbss section.
-
-2015-09-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/orphan-8.map: Updated to support 32-bit targets.
-
-2015-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-elf/elf.exp: Switch to rely on run_dump_test.
-       * ld-elf/orphan-5.l: Update expected output.
-       * ld-elf/orphan-5.d: New file.
-       * ld-elf/orphan-6.d: New file.
-       * ld-elf/orphan-6.l: New file.
-       * ld-elf/orphan-7.d: New file.
-       * ld-elf/orphan-7.map: New file.
-       * ld-elf/orphan-8.d: New file.
-       * ld-elf/orphan-8.map: New file.
-
-2015-09-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-ifunc/ifunc-21-i386.s: Add tests for call, jmp, add, test.
-       * ld-ifunc/ifunc-21-x86-64.s: Likewise.
-       * ld-ifunc/ifunc-22-i386.s: Likewise.
-       * ld-ifunc/ifunc-22-x86-64.s: Likewise.
-       * ld-ifunc/ifunc-21-i386.d: Updated.
-       * ld-ifunc/ifunc-21-x86-64.d: Likewise.
-       * ld-ifunc/ifunc-22-i386.d: Likewise.
-       * ld-ifunc/ifunc-22-x86-64.d: Likewise.
-
-2015-09-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-ifunc/ifunc-21-i386.d: New file.
-       * ld-ifunc/ifunc-21-i386.s: Likewise.
-       * ld-ifunc/ifunc-21-x86-64.d: Likewise.
-       * ld-ifunc/ifunc-21-x86-64.s: Likewise.
-       * ld-ifunc/ifunc-22-i386.d: Likewise.
-       * ld-ifunc/ifunc-22-i386.s: Likewise.
-       * ld-ifunc/ifunc-22-x86-64.d: Likewise.
-       * ld-ifunc/ifunc-22-x86-64.s: Likewise.
-
-2015-09-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18900
-       * ld-i386/i386.exp: Run tests for PR ld/18900.
-       * ld-x86-64/x86-64.exp: Likewise.
-       * ld-i386/pr18900.out: New file.
-       * ld-i386/pr18900a.c: Likewise.
-       * ld-i386/pr18900a.c: Likewise.
-       * ld-i386/pr18900a.rd: Likewise.
-       * ld-i386/pr18900b.c: Likewise.
-       * ld-i386/pr18900b.rd: Likewise.
-       * ld-i386/pr18900c.c: Likewise.
-       * ld-x86-64/pr18900.out: Likewise.
-       * ld-x86-64/pr18900a.c: Likewise.
-       * ld-x86-64/pr18900a.rd: Likewise.
-       * ld-x86-64/pr18900b.c: Likewise.
-       * ld-x86-64/pr18900b.rd: Likewise.
-       * ld-x86-64/pr18900c.c: Likewise.
-       * ld-x86-64/mpx3.dd: Updated.
-
-2015-08-27  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/relocsort.s, * ld-powerpc/relocsort.d: New test.
-       * ld-powerpc/powerpc.exp: Run it.
-
-2015-08-26  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/18401
-       * ld-mips-elf/mips-elf-flags.exp: Add more ISA conflict tests.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-531.s: New testcase.
-       * ld-aarch64/emit-relocs-531-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-532.s: Likewise.
-       * ld-aarch64/emit-relocs-533.s: Likewise.
-       * ld-aarch64/emit-relocs-533-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-534.s: Likewise.
-       * ld-aarch64/emit-relocs-535.s: Likewise.
-       * ld-aarch64/emit-relocs-535-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-536.s: Likewise.
-       * ld-aarch64/emit-relocs-537.s: Likewise.
-       * ld-aarch64/emit-relocs-537-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-538.s: Likewise.
-       * ld-aarch64/emit-relocs-531.d: New expectation file.
-       * ld-aarch64/emit-relocs-531-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-532.d: Likewise.
-       * ld-aarch64/emit-relocs-533.d: Likewise.
-       * ld-aarch64/emit-relocs-533-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-534.d: Likewise.
-       * ld-aarch64/emit-relocs-535.d: Likewise.
-       * ld-aarch64/emit-relocs-535-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-536.d: Likewise.
-       * ld-aarch64/emit-relocs-537.d: Likewise.
-       * ld-aarch64/emit-relocs-537-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-538.d: Likewise.
-       * ld-aarch64/aarch64-elf.exp: Run new testcases.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-87.s: New testcase.
-       * ld-aarch64/emit-relocs-88.s: Likewise.
-       * ld-aarch64/emit-relocs-88-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-89.s: Likewise.
-       * ld-aarch64/emit-relocs-90.s: Likewise.
-       * ld-aarch64/emit-relocs-90-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-523.s: Likewise.
-       * ld-aarch64/emit-relocs-524.s: Likewise.
-       * ld-aarch64/emit-relocs-525.s: Likewise.
-       * ld-aarch64/emit-relocs-527.s: Likewise.
-       * ld-aarch64/emit-relocs-526.s: Likewise.
-       * ld-aarch64/emit-relocs-528.s: Likewise.
-       * ld-aarch64/emit-relocs-528-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-87.d: New expectation file.
-       * ld-aarch64/emit-relocs-88.d: Likewise.
-       * ld-aarch64/emit-relocs-88-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-89.d: Likewise.
-       * ld-aarch64/emit-relocs-90.d: Likewise.
-       * ld-aarch64/emit-relocs-90-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-91.d: Likewise.
-       * ld-aarch64/emit-relocs-523.d: Likewise.
-       * ld-aarch64/emit-relocs-524.d: Likewise.
-       * ld-aarch64/emit-relocs-525.d: Likewise.
-       * ld-aarch64/emit-relocs-526.d: Likewise.
-       * ld-aarch64/emit-relocs-527.d: Likewise.
-       * ld-aarch64/emit-relocs-528.d: Likewise.
-       * ld-aarch64/emit-relocs-528-overflow.d: Likewise.
-       * ld-aarch64/aarch64-elf.exp: Run new testcases.
-
-2015-08-19  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-530.s: New testcase.
-       * ld-aarch64/emit-relocs-92.s: Likewise.
-       * ld-aarch64/emit-relocs-530.d: New expectation file.
-       * ld-aarch64/emit-relocs-92.d: Likewise.
-       * ld-aarch64/aarch64-elf.exp: Run new testcases.
-
-2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18841
-       * ld-ifunc/ifunc.exp: Add another test for PR ld/18841.
-       * ld-ifunc/pr18841c.c: New file.
-
-2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18841
-       * ld-ifunc/ifunc.exp: Add a test for PR ld/18841.
-       * ld-ifunc/pr18841.out: New file.
-       * ld-ifunc/pr18841a.c: Likewise.
-       * ld-ifunc/pr18841b.c: Likewise.
-
-2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18801
-       * ld-i386/i386.exp: Run pr18801.
-       * ld-x86-64/x86-64.exp: Likewise.
-       * ld-i386/pr18801.d: New file.
-       * ld-i386/pr18801.s: Likewise.
-       * ld-x86-64/pr18801.d: Likewise.
-       * ld-x86-64/pr18801.s: Likewise.
-
-2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
-
-       * ld-mips-elf/compressed-plt-1-n32-mips16.od: Update test.
-       * ld-mips-elf/compressed-plt-1-n32-umips.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-mips16-got.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-mips16-only.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-mips16-word.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-mips16.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-se.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-umips-got.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-umips-word.od: Ditto.
-       * ld-mips-elf/compressed-plt-1-o32-umips.od: Ditto.
-       * ld-mips-elf/jalx-2.dd: Ditto.
-       * ld-mips-elf/mips16-pic-3.dd: Ditto.
-       * ld-mips-elf/pic-and-nonpic-3a.dd: Ditto.
-       * ld-mips-elf/pic-and-nonpic-3b.dd: Ditto.
-       * ld-mips-elf/pic-and-nonpic-5b.dd: Ditto.
-       * ld-mips-elf/pic-and-nonpic-6-n32.dd: Ditto.
-       * ld-mips-elf/pic-and-nonpic-6-o32.dd: Ditto.
-       * ld-mips-elf/stub-dynsym-1-10000.d: Ditto.
-       * ld-mips-elf/stub-dynsym-1-2fe80.d: Ditto.
-       * ld-mips-elf/stub-dynsym-1-7fff.d: Ditto.
-       * ld-mips-elf/stub-dynsym-1-8000.d: Ditto.
-       * ld-mips-elf/stub-dynsym-1-fff0.d: Ditto.
-       * ld-mips-elf/tlsbin-o32.d: Ditto.
-       * ld-mips-elf/tlsdyn-o32-1.d: Ditto.
-       * ld-mips-elf/tlsdyn-o32-2.d: Ditto.
-       * ld-mips-elf/tlsdyn-o32-3.d: Ditto.
-       * ld-mips-elf/tlsdyn-o32.d: Ditto.
-       * ld-mips-elf/tlslib-o32.d: Ditto.
-
-2015-08-12  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): Support all
-       four triple shape: aarch64-*-linux*, aarch64-*-elf,
-       aarch64_be-*-linux*, aarch64_be-*-elf.
-       * ld-aarch64/emit-relocs-86.d: Use aarch64_choose_ilp32_emul.
-       * ld-aarch64/emit-relocs-86-overflow.d: Likewise.
-       * ld-aarch64/ld-aarch64/farcall-b-plt.d: Relax instrucion encoding
-       check when they reflect address.
-       * ld-aarch64/ld-aarch64/farcall-bl-plt.d: Likewise.
-
-2015-08-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Rename relocs-257-symbolic-func to
-       relocs-1027-symbolic-func.
-       * ld-aarch64/relocs-257-symbolic-func.d: Rename to ...
-       * ld-aarch64/relocs-1027-symbolic-func.d: ... this.
-       * ld-aarch64/relocs-257-symbolic-func.s: Rename to ...
-       * ld-aarch64/relocs-1027-symbolic-func.s: ... this.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/farcall-b-defsym.s: New test.
-       * ld-aarch64/farcall-bl-defsym.s: Likewise.
-       * ld-aarch64/farcall-b-defsym.d: New expectation.
-       * ld-aarch64/farcall-bl-defsym.d: Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/farcall-b-gsym.s: New test.
-       * ld-aarch64/farcall-b-plt.s: Likewise.
-       * ld-aarch64/farcall-bl-plt.s: Likewise.
-       * ld-aarch64/farcall-b-gsym.d: New expect file.
-       * ld-aarch64/farcall-b-plt.d: Likewise.
-       * ld-aarch64/farcall-bl-plt.d: Likewise.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-529.s: New testcase.
-       * ld-aarch64/emit-relocs-529-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-86.s: Likewise.
-       * ld-aarch64/emit-relocs-86-overflow.s: Likewise.
-       * ld-aarch64/emit-relocs-529.d: New expectation file.
-       * ld-aarch64/emit-relocs-529-overflow.d: Likewise.
-       * ld-aarch64/emit-relocs-86.d: Likewise.
-       * ld-aarch64/emit-relocs-86-overflow.d: Likewise.
-       * ld-aarch64/aarch64-elf.exp: Run new testcases.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/tls-small-ld.s: Update testcase.
-
-2015-08-11  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/tls-small-ld.s: New file.
-       * ld-aarch64/tls-small-ld.d: Likewise.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18808
-       * ld-ifunc/ifunc.exp: Add a test for PR ld/18808.
-       * ld-ifunc/pr18808.out: New file.
-       * ld-ifunc/pr18808a.c: Likewise.
-       * ld-ifunc/pr18808b.c: Likewise.
-       * lib/ld-lib.exp (check_ifunc_attribute_available): New.
-
-2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18720
-       * ld-elf/indirect.exp: Run tests for PR ld/18720.
-       * ld-elf/pr18720.out: New file.
-       * ld-elf/pr18720a.c: Likewise.
-       * ld-elf/pr18720b.c: Likewise.
-       * ld-elf/pr18720c.c: Likewise.
-
-2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld/ld-lib.exp (run_dump_test): When using the map option, no
-       program is required.
-
-2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld/ld-lib.exp (run_dump_test): Add error_output and
-       warning_output options.
-
-2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-undefined/require-defined-1.d: New file.
-       * ld-undefined/require-defined-2.d: New file.
-       * ld-undefined/require-defined-3.d: New file.
-       * ld-undefined/require-defined-4.d: New file.
-       * ld-undefined/require-defined-5.d: New file.
-       * ld-undefined/require-defined.exp: New file.
-       * ld-undefined/require-defined.s: New file.
-
-2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18735
-       * ld-elf/pr18735.d: New file.
-       * ld-elf/pr18735.s: Likewise.
-
-2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/pr18718.c (bar): Use noclone attribute only for GCC
-       4.5 or newer.
-
-2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-size/size.exp: Move run-time support check.
-
-2015-07-28  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/elfv2so.d: Update.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/default.exp (NOPIE_CFLAGS): New.
-       (NOPIE_LDFLAGS): Likewise.
-       * ld-size/size.exp (run_cc_link_tests): Add $NOPIE_CFLAGS and
-       $NOPIE_LDFLAGS if needed.
-       (run_ld_link_exec_tests): Add $NOPIE_CFLAGS if needed.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-srec/srec.exp (CC): Save and restore.  Append $PLT_CFLAGS.
-       (CXX): Likewise.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-shared/shared.exp: Pass $PLT_CFLAGS to ld_compile.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-scripts/crossref.exp (CC): Save and restore.  Append
-       $PLT_CFLAGS.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp (run_cc_link_tests): Add $PLT_CFLAGS to
-       -fPIC if needed.
-       * ld-x86-64/mpx.exp (run_cc_link_tests): Likewise.
-       * ld-x86-64/x86-64.exp (run_cc_link_tests): Likewise.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elfvsb/elfvsb.exp (visibility_run): Pass $PLT_CFLAGS to
-       ld_compile.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elfvers/vers.exp (build_vers_lib_no_pic): Pass $PLT_CFLAGS
-       to build_binary.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config/default.exp (PLT_CFLAGS): New.
-
-2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
-
-       PR ld/18705
-       * ld-aarch64/protected-data.d: New.
-       * ld-aarch64/protected-data.s: New.
-       * ld-aarch64/aarch64-elf.exp: Add new test.
-
-2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
-
-       PR ld/18705
-       * ld-arm/protected-data.d: New.
-       * ld-arm/protected-data.s: New.
-       * ld-arm/arm-elf.exp: Add new test.
-
-2015-07-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18718
-       * ld-elf/shared.exp: Compile PR ld/18718 tests with -O2.
-
-2015-07-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt
-       to 0.
-
-2015-07-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18718
-       * ld-elf/pr18718.c: New file.
-       * ld-elf/shared.exp: Run tests for PR ld/18718.
-
-2015-07-25  Alan Modra  <amodra@gmail.com>
-
-       * ld-elf/symbolic-func.s,
-       * ld-elf/symbolic-func.r: New test.
-       * ld-elf/elf.exp: Run it.
-
-2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/compress.exp (build_tests): Replace -g with -ggdb3.
-       * ld-elf/zlibbegin.rS: Also expect "GC".
-       * ld-elf/zlibnormal.rS: Likewise.
-
-2015-07-16  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/tls-tiny-ld.s: New file.
-       * ld-aarch64/tls-tiny-ld.d: Ditto.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/zlibbegin.rS: Updated to .debug_.* with the
-       SHF_COMPRESSED bit.
-       * ld-elf/zlibnormal.rS: Likewise.
-
-2015-07-09  Catherine Moore  <clm@codesourcery.com>
-
-       * ld-mips-elf/attr-gnu-4-08.d: Update expected output.
-       * ld-mips-elf/attr-gnu-4-09.d: New.
-       * ld-mips-elf/attr-gnu-4-19.d: New.
-       * ld-mips-elf/attr-gnu-4-29.d: New.
-       * ld-mips-elf/attr-gnu-4-39.d: New.
-       * ld-mips-elf/attr-gnu-4-49.d: New.
-       * ld-mips-elf/attr-gnu-4-59.d: New.
-       * ld-mips-elf/attr-gnu-4-69.d: New.
-       * ld-mips-elf/attr-gnu-4-79.d: New.
-       * ld-mips-elf/attr-gnu-4-89.d: New.
-       * ld-mips-elf/attr-gnu-4-9.s: New.
-       * ld-mips-elf/mips-elf.exp: Run new tests.
-
-2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
-
-       * ld-avr/gc-section-debugline.d: New test.
-       * ld-avr/per-function-debugline.s: Source for new test.
-
-2015-07-05  Richard Sandiford  <richard.sandiford@arm.com>
-
-       * ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
-       ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
-       ld-powerpc/tocopt6.d: New test.
-       * ld-powerpc/powerpc.exp (ppc64elftests): Add it.
-
-2015-07-03   Kai Tietz  <ktietz@redhat.com>
-            Nick Clifton  <nickc@redhat.com>
-
-       PR ld/11539
-       * lib/ld-lib.exp (check_gc_sections_available): Do not
-       automatically fail for cygwin and mingw targets.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * ld-nios2/mixed1a.d: New.
-       * ld-nios2/mixed1a.s: New.
-       * ld-nios2/mixed1b.d: New.
-       * ld-nios2/mixed1b.s: New.
-       * ld-nios2/nios2.exp: Build the new compatibility tests.
-
-2015-06-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-xtensa/tlsbin.rd: Updated.
-       * ld-xtensa/tlspic.rd: Likewise.
-
-2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
-
-       * ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.
-       * ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
-       * ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
-       * ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
-       * ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
-       * ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
-       * ld-mips-elf/tlsdyn-o32-1.d: Likewise.
-       * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
-       * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
-       * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
-       * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
-       * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
-       * ld-mips-elf/tlsdyn-o32.d: Likewise.
-       * ld-mips-elf/tlsdyn-o32.got: Likewise.
-       * ld-mips-elf/pie-n32.d: New file.
-       * ld-mips-elf/pie-n64.d: Likewise.
-       * ld-mips-elf/pie-o32.d: Likewise.
-       * ld-mips-elf/pie.s: Likewise.
-       * ld-mips-elf/mips-elf.exp: Add new tests.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-mmix/bspec1.d: Updated.
-       * ld-mmix/bspec2.d: Likewise.
-       * ld-mmix/undef-3.d: Likewise.
-
-2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR gas/18451
-       * ld-elf/strtab.d: New file.
-       * ld-elf/strtab.s: Likewise.
-
-2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp: Run pltgot-2 for Linux targets.
-       * ld-x86-64/x86-64.exp: Likewise.
-       * ld-i386/pltgot-1.d: Updated.
-       * ld-x86-64/pltgot-1.d: Likewise.
-       * ld-i386/pltgot-2.d: New file.
-       * ld-x86-64/pltgot-2.d: Likewise.
-
-2015-06-23  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/dt_textrel.s: New testcase.
-       * ld-aarch64/dt_textrel.d: New expectation file.
-       * ld-aarch64/aarch64-elf.exp: Run new testcase.
-
-2015-06-17  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): New function.
-       * ld-aarch64/emit-relocs-28.d: Use aarch64_choose_ilp32_emul to choose
-       emulation mode.
-
-2015-06-16  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/ppc476-shared.s: Repeat dynamic reloc generating insns.
-       * ld-powerpc/ppc476-shared.d: Update.
-       * ld-powerpc/ppc476-shared2.d: Update.
-
-2015-06-12  Tristan Gingold  <gingold@adacore.com>
-
-       * ld-scripts/print-memory-usage-1.t,
-       * ld-scripts/print-memory-usage-1.s,
-       * ld-scripts/print-memory-usage-1.l,
-       * ld-scripts/print-memory-usage-2.t,
-       * ld-scripts/print-memory-usage-2.l,
-       * ld-scripts/print-memory-usage-3.s,
-       * ld-scripts/print-memory-usage-3.t,
-       * ld-scripts/print-memory-usage-3.l,
-       * ld-scripts/print-memory-usage.t: New tests.
-       * ld-scripts/print-memory-usage.exp: Run them.
-
-2015-06-05  Nick Clifton  <nickc@redhat.com>
-
-       * ld-elf/compressed1d.d: Fix typo: iq200 -> iq2000.
-
-2015-06-05  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/ppc476-shared.s,
-       * ld-powerpc/ppc476-shared.lnk,
-       * ld-powerpc/ppc476-shared.d,
-       * ld-powerpc/ppc476-shared2.d: New tests.
-       * ld-powerpc/powerpc.exp: Run them.
-
-2015-06-02  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-313.s: Use gotpage_lo15.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-28.s: New test file.
-       * ld-aarch64/emit-relocs-28.d: Ditto.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/tprel_add_lo12_overflow.s: New testcase.
-       * ld-aarch64/tprel_add_lo12_overflow.d: Nex expectation file.
-       * ld-aarch64/aarch64-elf.exp: Run new testcase.
-
-2015-06-01  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/emit-relocs-313.s: New test file.
-       * ld-aarch64/emit-relocs-313.d: Ditto.
-       * ld-aarch64/aarch64-elf.exp: Run new test.
-
-2015-05-29  Stephen Kitt  <steve@sk2.org>
-
-       * ld-pe/pe-run2.exp (test_direct2_link_dll): Add $CFLAGS to the
-       compiler command line.
-
-2015-05-28  Catherine Moore  <clm@codesourcery.com>
-
-       * ld-mips-elf/compact-eh.ld: New linker script.
-       * ld-mips-elf/compact-eh1.d: New.
-       * ld-mips-elf/compact-eh1.s: New.
-       * ld-mips-elf/compact-eh1a.s: New.
-       * ld-mips-elf/compact-eh1b.s: New.
-       * ld-mips-elf/compact-eh2.d: New.
-       * ld-mips-elf/compact-eh2.s: New.
-       * ld-mips-elf/compact-eh3.d: New.
-       * ld-mips-elf/compact-eh3.s: New.
-       * ld-mips-elf/compact-eh3a.s: New.
-       * ld-mips-elf/compact-eh4.d: New.
-       * ld-mips-elf/compact-eh5.d: New.
-       * ld-mips-elf/compact-eh6.d: New.
-       * ld-mips-elf/mips-elf.exp: Run new tests.
-
-2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/18458
-       * ld-elf/shared.exp (build_tests): Build libpr18458a.so and
-       libpr18458b.so.
-       (run_tests): Run pr18458 test.
-       * ld-elf/pr18458a.c: New file.
-       * ld-elf/pr18458b.c: Likewise.
-       * ld-elf/pr18458c.c: Likewise.
-
-2015-05-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp: Run PR ld/17689 tests with -z now.
-       * ld-x86-64/x86-64.exp: Likewise
-       * ld-i386/pr17689now.rd: New file.
-       * ld-x86-64/pr17689now.rd: Likewise
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * ld-x86-64/tlsgdesc.dd: Also pass -Mintel64 to objdump.
-       * ld-x86-64/tlspic.dd: Likewise.
-       * ld-x86-64/x86-64.exp (x86_64tests): Also pass -Mintel64 to
-       objdump for tlspic.dd and tlsgdesc.dd.
-
-2015-05-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp: Run pltgot-1 for Linux targets.
-       * ld-x86-64/x86-64.exp: Likewise.
-       * ld-i386/pltgot-1.d: New file.
-       * ld-i386/pltgot-1.s: Likewise.
-       * ld-x86-64/pltgot-1.d: Likewise.
-       * ld-x86-64/pltgot-1.s: Likewise.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp (iamcu_tests): Run iamcu-4.
-       * ld-i386/iamcu-4.d: New file.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/abs-iamcu.d: New file.
-       * ld-i386/dummy.s: Likewise.
-       * ld-i386/foo.s: Likewise.
-       * ld-i386/iamcu-1.d: Likewise.
-       * ld-i386/iamcu-2.d: Likewise.
-       * ld-i386/iamcu-3.d: Likewise.
-       * ld-i386/start.s: Likewise.
-       * ld-i386/i386.exp (iamcu_tests): New.
-       Run iamcu_tests.
-
-2015-05-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * ld-x86-64/tlsgdesc.dd: Updated.
-       * ld-x86-64/tlspic.dd: Likewise.
-
-2015-04-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18354
-       * ld-elf/compress.exp (run_tests): Link the last zlibnormal,
-       gnunormal and gabinormal against libfoozlib.so.
-
-2015-04-27  Renlin Li  <renlin.li@arm.com>
-
-       * ld-arm/ifunc-10.dd: Adjust expected output.
-       * ld-arm/ifunc-2.dd: Likewise.
-
-2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * ld-s390/gotreloc_31-1.dd: Use instruction mnemonics.
-
-2015-04-24  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/tocnovar.d: Revert last change.
-
-2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
-
-       * ld-arm/armthumb-lib.d: Regenerate expected output.
-       * ld-arm/armthumb-lib.d: Likewise.
-       * ld-arm/armthumb-lib.sym: Likewise.
-       * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
-       * ld-arm/cortex-a8-fix-b-rel-thumb.d: Likewise.
-       * ld-arm/cortex-a8-fix-b.d: Likewise.
-       * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: Likewise.
-       * ld-arm/cortex-a8-fix-bcc.d: Likewise.
-       * ld-arm/cortex-a8-fix-bl-rel-arm.d: Likewise.
-       * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
-       * ld-arm/cortex-a8-fix-bl-rel-thumb.d: Likewise.
-       * ld-arm/cortex-a8-fix-bl.d: Likewise.
-       * ld-arm/cortex-a8-fix-blx-bcond.d: Likewise.
-       * ld-arm/cortex-a8-fix-blx-rel-arm.d: Likewise.
-       * ld-arm/cortex-a8-fix-blx-rel-thumb.d: Likewise.
-       * ld-arm/cortex-a8-fix-blx.d: Likewise.
-       * ld-arm/cortex-a8-fix-hdr.d: Likewise.
-       * ld-arm/farcall-mixed-app-v5.d: Likewise.
-       * ld-arm/farcall-mixed-app.d: Likewise.
-       * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
-       * ld-arm/farcall-mixed-lib.d: Likewise.
-       * ld-arm/mixed-app-v5.d: Likewise.
-       * ld-arm/mixed-app.d: Likewise.
-       * ld-arm/mixed-lib.d: Likewise.
-
-2015-04-24  Nick Clifton  <nickc@redhat.com>
-
-       * ld-elf/compressed1d.d: Add notarget for ELF based targets that
-       do not use elf.em.
-
-2015-04-24  Hans-Peter Nilsson  <hp@axis.com>
-
-       * ld-elf/compressed1e.d: Correct xfail to notarget and cris*-*-*
-       to cris*-*-elf.
-
-2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/compressed1e.d: Only run for Linux/gnu.  Xfail cris and
-       frv.
-
-2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18277
-       * ld-elf/compressed1d.d: New.
-       * ld-elf/compressed1e.d: Likewise.
-
-2015-04-23  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/ambiguousv1b.d: Update for aligned .got.
-       * ld-powerpc/defsym.d: Likewise.
-       * ld-powerpc/elfv2-2exe.d: Likewise.
-       * ld-powerpc/elfv2exe.d: Likewise.
-       * ld-powerpc/elfv2so.d: Likewise.
-       * ld-powerpc/relbrlt.d: Likewise.
-       * ld-powerpc/tls.g: Likewise.
-       * ld-powerpc/tlsexe.d: Likewise.
-       * ld-powerpc/tlsexe.g: Likewise.
-       * ld-powerpc/tlsexe.r: Likewise.
-       * ld-powerpc/tlsexetoc.d: Likewise.
-       * ld-powerpc/tlsexetoc.g: Likewise.
-       * ld-powerpc/tlsexetoc.r: Likewise.
-       * ld-powerpc/tlsso.d: Likewise.
-       * ld-powerpc/tlsso.g: Likewise.
-       * ld-powerpc/tlsso.r: Likewise.
-       * ld-powerpc/tlstoc.g: Likewise.
-       * ld-powerpc/tlstocso.d: Likewise.
-       * ld-powerpc/tlstocso.g: Likewise.
-       * ld-powerpc/tlstocso.r: Likewise.
-       * ld-powerpc/tocopt.d: Likewise.
-       * ld-powerpc/tocopt2.d: Likewise.
-       * ld-powerpc/tocopt3.d: Likewise.
-       * ld-powerpc/tocopt4.d: Likewise.
-       * ld-powerpc/tocopt5.d: Likewise.
-       * ld-powerpc/tocnovar.d: Adjust.
-
-2015-04-22  Alan Modra  <amodra@gmail.com>
-
-       * ld-x86-64/pr18176.d: Update.
-
-2015-04-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18289
-       * ld-i386/copyreloc-lib.c: New file.
-       * ld-i386/copyreloc-main.S: Likewise.
-       * ld-i386/copyreloc-main.out: Likewise.
-       * ld-i386/copyreloc-main1.rd: Likewise.
-       * ld-i386/copyreloc-main2.rd: Likewise.
-       * ld-i386/dummy.c: Likewise.
-       * ld-i386/pr17689.out: Likewise.
-       * ld-i386/pr17689.rd: Likewise.
-       * ld-i386/pr17689a.c: Likewise.
-       * ld-i386/pr17689b.S: Likewise.
-       * ld-i386/pr17827.rd: Likewise.
-       * ld-i386/pr17827ver.rd: Likewise.
-       * ld-i386/i386.exp: Run copyreloc tests.
-
-2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-mmix/bspec1.d: Don't hardcode offset of .shstrtab section.
-       * ld-mmix/bspec2.d: Likewise.
-       * ld-mmix/local1.d: Likewise.
-       * ld-mmix/local3.d: Likewise.
-       * ld-mmix/local5.d: Likewise.
-       * ld-mmix/local7.d: Likewise.
-       * ld-mmix/undef-3.d: Likewise.
-       * ld-sh/sh64/crangerel1.rd: Likewise.
-       * ld-sh/sh64/crangerel2.rd: Likewise.
-       * ld-tic6x/common.d: Likewise.
-       * ld-tic6x/shlib-1.rd: Likewise.
-       * ld-tic6x/shlib-1b.rd: Likewise.
-       * ld-tic6x/shlib-1r.rd: Likewise.
-       * ld-tic6x/shlib-1rb.rd: Likewise.
-       * ld-tic6x/shlib-app-1.rd: Likewise.
-       * ld-tic6x/shlib-app-1b.rd: Likewise.
-       * ld-tic6x/shlib-app-1r.rd: Likewise.
-       * ld-tic6x/shlib-app-1rb.rd: Likewise.
-       * ld-tic6x/shlib-noindex.rd: Likewise.
-       * ld-tic6x/static-app-1.rd: Likewise.
-       * ld-tic6x/static-app-1b.rd: Likewise.
-       * ld-tic6x/static-app-1r.rd: Likewise.
-       * ld-tic6x/static-app-1rb.rd: Likewise.
-       * ld-x86-64/ilp32-4.d: Likewise.
-       * ld-x86-64/split-by-file-nacl.rd: Likewise.
-       * ld-x86-64/split-by-file.rd: Likewise.
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/compress.exp (build_tests): Add tests for
-       --compress-debug-sections=.
-       (run_tests): Likewise.
-       Add additonal tests for --compress-debug-sections=.
-       * ld-elf/gabiend.rt: New file.
-       * ld-elf/gabinormal.rt: Likewise.
-       * ld-elf/gnubegin.rS: Likewise.
-       * ld-elf/gnunormal.rS: Likewise.
-       * ld-elf/zlibbegin.rS: Likewise.
-       * ld-elf/zlibnormal.rS: Likewise.
-
-2015-04-15  Alan Modra  <amodra@gmail.com>
-
-       * ld-gc/pr18223.d: xfail tic6x.
-
-2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr17709
-       * ld-i386/i386.exp: Run protected6b.
-       * ld-i386/protected6b.d: New file.
-       * ld-x86-64/protected6b.d: Likewise.
-       * ld-x86-64/x86-64.exp:  Run protected6b.
-
-2015-04-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp: Run protected6a.
-       * ld-i386/protected6.d: Renamed to ...
-       * ld-i386/protected6a.d: This.
-       * ld-x86-64/hidden4.d: New file.
-       * ld-x86-64/hidden4.s: Likewise.
-       * ld-x86-64/hidden5.d: Likewise.
-       * ld-x86-64/hidden5.s: Likewise.
-       * ld-x86-64/protected6.d: Renamed to ...
-       * ld-x86-64/protected6a.d: This.
-       * ld-x86-64/x86-64.exp: Run hidden4, hidden5, protected6a,
-       protected7a and protected7b.
-
-2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr17709
-       * ld-i386/protected6.d: New file.
-       * ld-i386/protected6.s: Likewise.
-       * ld-x86-64/protected6.d: Likewise.
-       * ld-x86-64/protected6.s: Likewise.
-       * ld-x86-64/protected7.d: Likewise.
-       * ld-x86-64/protected7.s: Likewise.
-       * ld-x86-64/protected7a.d: Likewise.
-       * ld-x86-64/protected7b.d: Likewise.
-
-2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr15228
-       PR ld/pr17709
-       * ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
-       * ld-i386/pr17709-nacl.rd: New file.
-       * ld-i386/pr17709.rd: Likewise.
-       * ld-i386/pr17709a.s: Likewise.
-       * ld-i386/pr17709b.s: Likewise.
-       * ld-i386/protected3.d: Updated.
-       * ld-i386/protected3.s: Likewise.
-       * ld-x86-64/pr17709-nacl.rd: New file.
-       * ld-x86-64/pr17709.rd: Likewise.
-       * ld-x86-64/pr17709a.s: Likewise.
-       * ld-x86-64/pr17709b.s: Likewise.
-       * ld-x86-64/protected3.d: Updated.
-       * ld-x86-64/protected3.s: Likewise.
-       * ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
-
-2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18223
-       * ld-gc/gc.exp: Run pr18223.
-       * ld-gc/pr18223.d: New file.
-       * ld-gc/pr18223.s: Likewise.
-
-2015-04-10  Alan Modra  <amodra@gmail.com>
-
-       Revert 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
-       PR ld/pr15228
-       PR ld/pr17709
-       * ld-i386/i386.exp (i386tests): Remove test for PR ld/17709.
-       * ld-i386/pr17709-nacl.rd: Delete.
-       * ld-i386/pr17709.rd: Likewise.
-       * ld-i386/pr17709a.s: Likewise.
-       * ld-i386/pr17709b.s: Likewise.
-       * ld-i386/protected3.d: Updated.
-       * ld-i386/protected3.s: Likewise.
-       * ld-x86-64/pr17709-nacl.rd: Delete.
-       * ld-x86-64/pr17709.rd: Likewise.
-       * ld-x86-64/pr17709a.s: Likewise.
-       * ld-x86-64/pr17709b.s: Likewise.
-       * ld-x86-64/protected3.d: Updated.
-       * ld-x86-64/protected3.s: Likewise.
-       * ld-x86-64/x86-64.exp (x86_64tests): Remove test for PR ld/17709.
-
-2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/compress.exp: Add a test for
-       --compress-debug-sections=zlib-gabi.
-       (build_tests): Add 2 tests for --compress-debug-sections=zlib-gabi.
-       (run_tests): Likewise.
-       Verify linker output with zlib-gabi compressed debug input.
-       * ld-elf/compressed1a.d: New file.
-       * ld-elf/compressed1b.d: Likewise.
-       * ld-elf/compressed1c.d: Likewise.
-
-2015-04-07  Alan Modra  <amodra@gmail.com>
-
-       * ld-arm/tls-gdesc-nlazy.g: Adjust for readelf note.
-       * ld-tic6x/shlib-1.rd: Expect corrected .rela.plt sh_info.
-       * ld-tic6x/shlib-1b.rd: Likewise.
-       * ld-tic6x/shlib-1r.rd: Likewise.
-       * ld-tic6x/shlib-1rb.rd: Likewise.
-       * ld-tic6x/shlib-app-1.rd: Likewise.
-       * ld-tic6x/shlib-app-1b.rd: Likewise.
-       * ld-tic6x/shlib-app-1r.rd: Likewise.
-       * ld-tic6x/shlib-app-1rb.rd: Likewise.
-       * ld-tic6x/shlib-noindex.rd: Likewise.
-
-2015-04-07  Nick Clifton  <nickc@redhat.com>
-
-       * ld-elf/orphan-5.l: New test - checks the linker's output with
-       --warn-orphan enabled.
-       * ld-elf/elf.exp: Run the new test.
-
-2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-elf/compress.exp: Remove is_zlib_supported check.
-       Fail if --compress-debug-sections doesn't work.
-       * lib/ld-lib.exp (run_dump_test): Remove is_zlib_supported check.
-
-2015-04-01  Tejas Belagod  <tejas.belagod@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Add erratum843419 test.
-       * ld-aarch64/erratum843419.d: New.
-       * ld-aarch64/erratum843419.s: New.
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18176
-       * ld-x86-64/pr18176.d: New file.
-       * ld-x86-64/pr18176.s: Likewise.
-       * ld-x86-64/pr18176.t: Likewise.
-       * ld-x86-64/x86-64.exp: Run pr18176.
-
-2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-bootstrap/bootstrap.exp (extralibs): Add -lz.
-
-2015-03-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18169
-       * ld-elf/linkinfo1a.d: Updated.
-       * ld-elf/linkinfo1b.d: Likewise.
-
-2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-x86-64/pr18160.d: Don't run for x86_64-*-nacl* target.
-
-2015-03-26  Tejas Belagod  <tejas.belagod@arm.com>
-
-       * ld-aarch64/farcall-back-be.d: New.
-
-2015-03-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/18160
-       * ld-x86-64/pr18160.d: New file.
-       * ld-x86-64/pr18160.s: Likewise.
-       * ld-x86-64/pr18160.t: Likewise.
-       * ld-x86-64/x86-64.exp: Run pr18160.
----
-2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * ld-aarch64/erratum835769.d: Adjust for initial branch over stub
-       section.
-       * ld-aarch64/farcall-b.d: Likewise.
-       * ld-aarch64/farcall-bl.d: Likewise.
-       * ld-aarch64/farcall-back.d: Likewise.
-
-2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * ld-aarch64/erratum835769.d: Adjust for removal of padding before
-       835769 workaround stubs.
-
-2015-03-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * ld-gc/all-debug-sections.d: New file.
-       * ld-gc/all-debug-sections.s: Likewise.
-       * ld-gc/gc.exp: Execute new testcase.
-
-2015-03-11  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/tls32.s: Add GOT pointer setup.
-       * ld-powerpc/tls32.d: Update.
-       * ld-powerpc/tls32.g: Update.
-       * ld-powerpc/tls32.t: Update.
-       * ld-powerpc/tlsexe.d: Update.
-       * ld-powerpc/tlsexe32.d: Update.
-       * ld-powerpc/tlsexe32.g: Update.
-       * ld-powerpc/tlsexe32.r: Update.
-       * ld-powerpc/tlsexetoc.d: Update.
-       * ld-powerpc/tlsso32.d: Update.
-       * ld-powerpc/tlsso32.g: Update.
-       * ld-powerpc/tlsso32.r: Update.
-
-2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/pr15228
-       PR ld/pr17709
-       * ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
-       * ld-i386/pr17709-nacl.rd: New file.
-       * ld-i386/pr17709.rd: Likewise.
-       * ld-i386/pr17709a.s: Likewise.
-       * ld-i386/pr17709b.s: Likewise.
-       * ld-i386/protected3.d: Updated.
-       * ld-i386/protected3.s: Likewise.
-       * ld-x86-64/pr17709-nacl.rd: New file.
-       * ld-x86-64/pr17709.rd: Likewise.
-       * ld-x86-64/pr17709a.s: Likewise.
-       * ld-x86-64/pr17709b.s: Likewise.
-       * ld-x86-64/protected3.d: Updated.
-       * ld-x86-64/protected3.s: Likewise.
-       * ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
-
-2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
-
-       PR gas/17843
-       * ld-aarch64/tlsle.s, ld-aarch64/tlsle.d: New test.
-       * ld-aarch64/aarch64-elf.exp: Run it.
-
-2015-02-28  Alan Modra  <amodra@gmail.com>
-
-       * ld-sparc/gotop32.rd: Update for changed padding in data sections.
-       * ld-sparc/gotop32.td: Likewise.
-       * ld-sparc/gotop64.rd: Likewise.
-       * ld-sparc/gotop64.td: Likewise.
-       * ld-tilegx/external.s: Align .data.
-       * ld-tilepro/external.s: Likewise.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp (tls-tiny-desc, tls-tiny-desc-ie)
-       (tls-tiny-desc-le): Add.
-       * ld-aarch64/tls-tiny-desc.d: New.
-       * ld-aarch64/tls-tiny-desc.s: New.
-       * ld-aarch64/tls-tiny-desc-ie.d: New.
-       * ld-aarch64/tls-tiny-desc-ie.s: New.
-       * ld-aarch64/tls-tiny-desc-le.d: New.
-       * ld-aarch64/tls-tiny-desc-le.s: New.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp (tls-tiny-gd, tls-tiny-gd-ie)
-       (tls-tiny-gd-le): Add.
-       * ld-aarch64/tls-tiny-gd.d: New.
-       * ld-aarch64/tls-tiny-gd.s: New.
-       * ld-aarch64/tls-tiny-gd-ie.d: New.
-       * ld-aarch64/tls-tiny-gd-ie.s: New.
-       * ld-aarch64/tls-tiny-gd-le.d: New.
-       * ld-aarch64/tls-tiny-gd-le.s: New.
-
-2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Add tls-tiny-ie.
-       * ld-aarch64/tls-tiny-ie.d: New.
-       * ld-aarch64/tls-tiny-ie.s: New.
-
-2015-02-26  Terry Guo  <terry.guo@arm.com>
-
-       * ld-arm/attr-merge-3.attr: Remove Tag_ABI_HardFP_use.
-       * ld-arm/attr-merge-vfp-10.d: Likewise.
-       * ld-arm/attr-merge-vfp-10r.d: Likewise.
-       * ld-arm/attr-merge-vfp-12.d: Likewise.
-       * ld-arm/attr-merge-vfp-12r.d: Likewise.
-       * ld-arm/attr-merge-vfp-13.d: Likewise.
-       * ld-arm/attr-merge-vfp-13r.d: Likewise.
-       * ld-arm/attr-merge-vfp-14.d: Likewise.
-       * ld-arm/attr-merge-vfp-14r.d: Likewise.
-       * ld-arm/attr-merge-vfp-6.d: Likewise.
-       * ld-arm/attr-merge-vfp-6r.d: Likewise.
-       * ld-arm/attr-merge-vfp-7.d: Likewise.
-       * ld-arm/attr-merge-vfp-7r.d: Likewise.
-       * ld-arm/attr-merge-vfp-8.d: Likewise.
-       * ld-arm/attr-merge-vfp-8r.d: Likewise.
-
-2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-avr/avr-prop-1.d: New file.
-       * ld-avr/avr-prop-1.s: New file.
-       * ld-avr/avr-prop-2.d: New file.
-       * ld-avr/avr-prop-2.s: New file.
-       * ld-avr/avr-prop-3.d: New file.
-       * ld-avr/avr-prop-3.s: New file.
-       * ld-avr/avr-prop-4.d: New file.
-       * ld-avr/avr-prop-4.s: New file.
-
-2015-02-25  Oleg Endo  <olegendo@gcc.gnu.org>
-
-       * ld-sh/arch/arch_expected.txt: Regenerate.
-       * ld-sh/arch/sh-dsp.s: Likewise.
-       * ld-sh/arch/sh.s: Likewise.
-       * ld-sh/arch/sh2.s: Likewise.
-       * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Likewise.
-       * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Likewise.
-       * ld-sh/arch/sh2a-nofpu.s: Likewise.
-       * ld-sh/arch/sh2a-or-sh3e.s: Likewise.
-       * ld-sh/arch/sh2a-or-sh4.s: Likewise.
-       * ld-sh/arch/sh2a.s: Likewise.
-       * ld-sh/arch/sh2e.s: Likewise.
-       * ld-sh/arch/sh3-dsp.s: Likewise.
-       * ld-sh/arch/sh3-nommu.s: Likewise.
-       * ld-sh/arch/sh3.s: Likewise.
-       * ld-sh/arch/sh3e.s: Likewise.
-       * ld-sh/arch/sh4-nofpu.s: Likewise.
-       * ld-sh/arch/sh4-nommu-nofpu.s: Likewise.
-       * ld-sh/arch/sh4.s: Likewise.
-       * ld-sh/arch/sh4a-nofpu.s: Likewise.
-       * ld-sh/arch/sh4a.s: Likewise.
-       * ld-sh/arch/sh4al-dsp.s: Likewise.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * ld-elf/extract-symbol-1sec.d: Expect to fail on the V850.
-
-2015-02-24  Alan Modra  <amodra@gmail.com>
-
-       * ld-elf/merge3.s, * ld-elf/merge3.d: New test.
-
-2015-02-24  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * ld-avr/region_overflow.d: New test.
-       * ld-avr/region_overflow.s: Likewise.
-
-2015-02-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/4317
-       * ld-i386/compressed1.d: Use nm/readelf with "failif".
-       * ld-x86-64/compressed1.d: Likewise.
-       * ld-x86-64/pie1.d: Likewise.
-
-2015-02-19  Alan Modra  <amodra@gmail.com>
-
-       PR ld/4317
-       * ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d,
-       * ld-elf/ehdr_start-weak.d, * ld-elf/group1.d,
-       * ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d,
-       * ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd,
-       * ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
-       * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
-       * ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update.
-
-2015-02-17  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17975
-       * ld-aarch64/gc-tls-relocs.d, * ld-alpha/tlspic.rd,
-       * ld-cris/libdso-2.d, * ld-i386/tlsdesc-nacl.rd, * ld-i386/tlsdesc.rd,
-       * ld-i386/tlsnopic-nacl.rd, * ld-i386/tlsnopic.rd,
-       * ld-i386/tlspic-nacl.rd, * ld-i386/tlspic.rd, * ld-ia64/tlspic.rd,
-       * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
-       * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
-       * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd,
-       * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
-       * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
-       * ld-tic6x/shlib-1.rd, * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
-       * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-noindex.rd,
-       * ld-x86-64/tlsdesc-nacl.rd, * ld-x86-64/tlsdesc.rd,
-       * ld-x86-64/tlspic-nacl.rd, * ld-x86-64/tlspic.rd: Update.
-
-2015-02-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17975
-       * ld-i386/tlsbin-nacl.rd: Updated.
-       * ld-i386/tlsbin.rd: Likewise.
-       * ld-i386/tlsbindesc-nacl.rd: Likewise.
-       * ld-i386/tlsbindesc.rd: Likewise.
-       * ld-i386/tlsdesc-nacl.rd: Likewise.
-       * ld-i386/tlsdesc.rd: Likewise.
-       * ld-i386/tlsnopic-nacl.rd: Likewise.
-       * ld-i386/tlsnopic.rd: Likewise.
-       * ld-i386/tlspic-nacl.rd: Likewise.
-       * ld-i386/tlspic.rd: Likewise.
-       * ld-x86-64/tlsbin-nacl.rd: Likewise.
-       * ld-x86-64/tlsbin.rd: Likewise.
-       * ld-x86-64/tlsbindesc-nacl.rd: Likewise.
-       * ld-x86-64/tlsbindesc.rd: Likewise.
-       * ld-x86-64/tlsdesc-nacl.rd: Likewise.
-       * ld-x86-64/tlsdesc.rd: Likewise.
-       * ld-x86-64/tlspic-nacl.rd: Likewise.
-       * ld-x86-64/tlspic.rd: Likewise.
-       * ld-alpha/tlspic.rd: Likewise.
-       * ld-powerpc/tlsexe.r: Likewise.
-       * ld-powerpc/tlsexetoc.r: Likewise.
-       * ld-powerpc/tlsso.r: Likewise.
-       * ld-powerpc/tlstocso.r: Likewise.
-       * ld-s390/tlspic.rd: Likewise.
-       * ld-s390/tlspic_64.rd: Likewise.
-       * ld-sparc/gotop32.dd: Likewise.
-       * ld-sparc/gotop64.dd: Likewise.
-       * ld-sparc/tlssunnopic32.rd: Likewise.
-       * ld-sparc/tlssunnopic64.rd: Likewise.
-       * ld-sparc/tlssunpic32.rd: Likewise.
-       * ld-sparc/tlssunpic64.rd: Likewise.
-       * ld-tic6x/shlib-1.rd: Likewise.
-       * ld-tic6x/shlib-1b.rd: Likewise.
-       * ld-tic6x/shlib-1r.rd: Likewise.
-       * ld-tic6x/shlib-1rb.rd: Likewise.
-       * ld-tic6x/shlib-noindex.rd: Likewise.
-
-2015-02-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17973
-       * ld-plugin/plugin.exp (regassilent): New.
-       Compile tmpdir/dummy.s and ld-plugin/pr17973.s.
-       (plugin_tests): Add a test for PR ld/17973.
-       * ld-plugin/pr17973.d: New file.
-       * ld-plugin/pr17973.s: Likewise.
-
-2015-02-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld-plugin/plugin-27.d: New.
-       * ld-plugin/plugin-28.d: Likewise.
-       * ld-plugin/plugin-29.d: Likewise.
-       * plugin.exp (plugin_tests): Add tests for LDPL_FATAL, LDPL_ERROR
-       and LDPL_WARNING.
-
-2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * ld-plugin/func.c: Add some comments.
-       * ld-plugin/plugin-13.d: New file.
-       * ld-plugin/plugin-14.d: Likewise.
-       * ld-plugin/plugin-15.d: Likewise.
-       * ld-plugin/plugin-16.d: Likewise.
-       * ld-plugin/plugin-17.d: Likewise.
-       * ld-plugin/plugin-18.d: Likewise.
-       * ld-plugin/plugin-19.d: Likewise.
-       * ld-plugin/plugin-20.d: Likewise.
-       * ld-plugin/plugin-21.d: Likewise.
-       * ld-plugin/plugin-22.d: Likewise.
-       * ld-plugin/plugin-23.d: Likewise.
-       * ld-plugin/plugin-24.d: Likewise.
-       * ld-plugin/plugin-25.d: Likewise.
-       * ld-plugin/plugin-26.d: Likewise.
-       * ld-plugin/plugin.exp (plugin2_name): New.
-       (plugin3_name): Likewise.
-       (plugin2_path): Likewise.
-       (plugin3_path): Likewise.
-       (testsrcfiles): Likewise.
-       (testsrcfiles_notext): Likewise.
-       (plugin_tests): Add tests for non-object IR file.
-       (plugin_lib_tests): Likewise.
-       (plugin_extra_elf_tests): Likewise.
-       (plugin_src_tests): New tests for non-object IR file.
-       Run nm --plugin test.
-       Run ar --plugin test.
-       Run plugin_src_tests.
-
-2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17935
-       * ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
-       * ld-x86-64/x86-64.exp: Likewise.
-
-       * ld-i386/pr17935-1.d: New file.
-       * ld-i386/pr17935-1.s: Likewise.
-       * ld-i386/pr17935-2.d: Likewise.
-       * ld-i386/pr17935-2.s: Likewise.
-       * ld-x86-64/pr17935-1.d: Likewise.
-       * ld-x86-64/pr17935-1.s: Likewise.
-       * ld-x86-64/pr17935-2.d: Likewise.
-       * ld-x86-64/pr17935-2.s: Likewise.
-
-2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/12365
-       PR ld/14272
-       * ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
-       * ld-plugin/plugin-7.d: Updated.
-       * ld-plugin/plugin-8.d: Likewise.
-
-2015-02-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       *  ld-plugin/lto.exp: Pass -flto-partition=none to the PR
-       ld/12365 test.
-
-2015-02-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/12365
-       * ld-plugin/pr12365a.c: New file.
-       * ld-plugin/pr12365b.c: Likewise.
-       * ld-plugin/pr12365c.c: Likewise.
-
-       * ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
-       test.
-       Run the PR ld/12365 test.
-
-2015-02-03  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/14918
-       * ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
-
-       * ld-plugin/pr14918.c: New file.
-       * ld-plugin/pr14918.d: Likewise.
-
-2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
-
-2015-01-29  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
-       * ld-powerpc/tlsld32.d, * ld-powerpc/tlsld32.s: New test.
-       * ld-powerpc/powerpc.exp: Run them.  Move tocvar and tocnovar.
-
-2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17878
-       * ld-plugin/plugin-1.d: Add LDPT_GET_VIEW.
-       * ld-plugin/plugin-10.d: Likewise.
-       * ld-plugin/plugin-11.d: Likewise.
-       * ld-plugin/plugin-2.d: Likewise.
-       * ld-plugin/plugin-3.d: Likewise.
-       * ld-plugin/plugin-4.d: Likewise.
-       * ld-plugin/plugin-5.d: Likewise.
-       * ld-plugin/plugin-6.d: Likewise.
-       * ld-plugin/plugin-7.d: Likewise.
-       * ld-plugin/plugin-8.d: Likewise.
-       * ld-plugin/plugin-9.d: Likewise.
-
-2015-01-28  Jan Beulich  <jbeulich@suse.com>
-
-       * ld-elf/pr16322.s (p1): Rename to px1.
-       (f1): Rename to fx1.
-
-2015-01-28  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/tocvar.d, * ld-powerpc/tocvar.s: New test.
-       * ld-powerpc/tocnovar.d, * ld-powerpc/tocnovar.s: New test.
-       * ld-powerpc/powerpc.exp: Run tocvar and tocnovar.
-
-2015-01-28  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * ld-scripts/memory.t: Define new symbol tred.
-       * ld-scripts/memory_sym.t: New.
-       * ld-scripts/script.exp: Perform MEMORY with symbols test, and
-       conditionally check values of linker symbols.
-
-2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-scripts/provide-4-map.d: Update expected output.
-       * ld-scripts/provide-5-map.d: Likewise.
-
-2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-scripts/provide-4.d: New file.
-       * ld-scripts/provide-4-map.d: New file.
-       * ld-scripts/provide-4.t: New file.
-       * ld-scripts/provide-5.d: New file.
-       * ld-scripts/provide-5.s: New file.
-       * ld-scripts/provide-5-map.d: New file.
-       * ld-scripts/provide-5.t: New file.
-       * ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
-       tests.
-
-2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * ld-scripts/overlay-size.d: Add 'map' option.
-       * ld-scripts/overlay-size.exp: Remove manual check of mapfile.
-       * lib/ld-lib.exp (run_dump_test): Add support for new 'map'
-       option, checking linker mapfile output.
-
-2015-01-20  Alan Modra  <amodra@gmail.com>
-
-       * ld-powerpc/ambiguousv1.d,
-       * ld-powerpc/ambiguousv1b.d,
-       * ld-powerpc/ambiguousv2.d,
-       * ld-powerpc/ambiguousv2b.d,
-       * ld-powerpc/elfv2exe.d,
-       * ld-powerpc/elfv2so.d,
-       * ld-powerpc/tlsexe.r,
-       * ld-powerpc/tlsexetoc.r,
-       * ld-powerpc/tlsso.r,
-       * ld-powerpc/tlstocso.r: Update.
-
-2015-01-20  Alan Modra  <amodra@gmail.com>
-
-       PR ld/17615
-       * ld-elf/pr17615.d: Match .sbss too.
-
-2015-01-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17615
-       * ld-elf/pr17615.d: New file.
-       * ld-elf/pr17615.s: Likewise.
-
-2015-01-19  Alan Modra  <amodra@gmail.com>
-
-       * ld-gc/pr14265.d,
-       * ld-cris/tls-gc-68.d,
-       * ld-cris/tls-gc-69.d,
-       * ld-cris/tls-gc-70.d,
-       * ld-cris/tls-gc-71.d,
-       * ld-cris/tls-gc-75.d,
-       * ld-cris/tls-gc-76.d,
-       * ld-cris/tls-gc-79.d,
-       * ld-mmix/bpo-10.d,
-       * ld-mmix/bpo-11.d: Update.
-
-2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * ld-s390/tlsbin.dd: The nopr register operand is optional and not
-       printed if 0 anymore.
-
-2015-01-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17847
-       * ld-x86-64/pie1.d: New file.
-       * ld-x86-64/pie1.s: Likwise.
-       * ld-x86-64/x86-64.exp: Run pie1.
-
-2015-01-13  Thomas Preud'homme <thomas.preudhomme@arm.com>
-
-       * ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
-       * ld-aarch64/relocs-257-symbolic-func.d: New file.
-       * ld-aarch64/relocs-257-symbolic-func.s: Likewise.
-
-2015-01-13  Jiong Wang  <jiong.wang@arm.com>
-
-       * ld-aarch64/tprel_g2_overflow.s: New testcase.
-       * ld-aarch64/tprel_g2_overflow.d: New expectation file.
-       * ld-aarch64/aarch64-elf.exp: Run new testcase.
-
-2015-01-13  Jiong Wang  <jiong.wang@arm.com>
-
-       PR ld/17415
-       * ld-aarch64/pr17415.s: Source file for new test.
-       * ld-aarch64/pr17415.d: Expect file for new test.
-       * ld-aarch64/aarch64-elf.exp: Run the new test.
-
-2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/17827
-       * ld-x86-64/pr17689.out: Updated.
-       * ld-x86-64/pr17689b.S: Likewise.
-
-       * ld-x86-64/pr17827.rd: New file.
-
-       * ld-x86-64/x86-64.exp: Run PR ld/17827 test.
-
-2015-01-08  Jan Beulich  <jbeulich@suse.com>
-
-       * ld-x86-64/pr14207.d: Adjust expecations to cover the
-       enable_initfini_array=no case.
-
-2015-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * lib/ld-lib.exp (run_dump_test): Extend comment to mention
-       readelf.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/ld/testsuite/ChangeLog-2015 b/ld/testsuite/ChangeLog-2015
new file mode 100644 (file)
index 0000000..33e1b5b
--- /dev/null
@@ -0,0 +1,1984 @@
+2015-12-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * ld-arm/arm-elf.exp: Run new test "Thumb-Thumb farcall v6-M (no
+       profile)".
+       * ld-arm/farcall-thumb-thumb-m-no-profile-a.s: New file.
+       * ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Likewise.
+       * ld-arm/farcall-thumb-thumb-m-no-profile.d: Likewise.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * ld-arm/arm-elf.exp (armeabitests_common): Run new tests
+       "Thumb-Thumb farcall v8-M", "EABI attribute merging 8",
+       "EABI attribute merging 9" and "EABI attribute merging 10".
+       (Thumb-Thumb farcall v8-M): Renamed to ...
+       (Thumb-Thumb farcall v8-M Mainline): This.
+       (Thumb-Thumb farcall v8-M Baseline): New test.
+       * ld-arm/attr-merge-8a.s: New file.
+       * ld-arm/attr-merge-8b.s: Likewise.
+       * ld-arm/attr-merge-8.attr: Likewise.
+       * ld-arm/attr-merge-9a.s: Likewise.
+       * ld-arm/attr-merge-9b.s: Likewise.
+       * ld-arm/attr-merge-9.out: Likewise.
+       * ld-arm/attr-merge-10a.s: Likewise.
+       * ld-arm/attr-merge-10b.s: Likewise.
+       * ld-arm/attr-merge-10.attr: Likewise.
+
+2015-12-21 Yury Usishchev <y.usishchev@samsung.com>
+
+       * ld-arm/arm-elf.exp: New test.
+       * ld-arm/unwind-rel.d: New file.
+       * ld-arm/unwind-rel1.s: New file.
+       * ld-arm/unwind-rel2.s: New file.
+       * ld-arm/unwind-rel3.s: New file.
+
+2015-12-22 Mickael Guene <mickael.guene@st.com>
+
+       * ld-arm/arm-elf.exp: New tests.
+       * ld-arm/thumb1-input-section-flag-match.d: New.
+       * ld-arm/thumb1-input-section-flag-match.s: New.
+       * ld-arm/thumb1-noread-not-present-mixing-two-section.d: New.
+       * ld-arm/thumb1-noread-not-present-mixing-two-section.s: New.
+       * ld-arm/thumb1-noread-present-one-section.d: New.
+       * ld-arm/thumb1-noread-present-one-section.s: New.
+       * ld-arm/thumb1-noread-present-two-section.d: New.
+       * ld-arm/thumb1-noread-present-two-section.s: New.
+
+2015-12-16  Mickael Guene <mickael.guene@st.com>
+
+       * ld-arm/arm-elf.exp (armelftests_common): Add new relocations
+       tests.
+       * ld-arm/thumb1-adds.d: New
+       * ld-arm/thumb1-adds.s: New
+       * ld-arm/thumb1-movs.d: New
+       * ld-arm/thumb1-movs.s: New
+
+2015-12-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19317
+       * ld-plugin/lto.exp (lto_no_fat): New.
+       (lto_link_tests): Add a test for PR ld/19317.
+       (lto_run_tests): Likewise.
+       (run_ld_link_tests): Likewise.
+
+2015-12-07  Jan Beulich  <jbeulich@suse.com>
+
+       * ld-elf/gabiend.rt: Accept any alignment.
+       * ld-elf/gabinormal.rt: Likewise.
+
+2015-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run mov2a and mov2b.
+       * ld-i386/mov2.s: New file.
+       * ld-i386/mov2a.d: Likewise.
+       * ld-i386/mov2b.d: Likewise.
+       * ld-x86-64/mov2.s: Likewise.
+       * ld-x86-64/mov2a.d: Likewise.
+       * ld-x86-64/mov2b.d: Likewise.
+       * ld-x86-64/mov2c.d: Likewise.
+       * ld-x86-64/mov2d.d: Likewise.
+       * ld-x86-64/x86-64.exp: Run mov2a, mov2b, mov2c and mov2d.
+
+2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19319
+       * ld-i386/i386.exp: Run pr19319 test.
+       * ld-x86-64/x86-64.exp: Likewise.
+       * ld-i386/pr19319.dd: New file.
+       * ld-i386/pr19319a.S: Likewise.
+       * ld-i386/pr19319b.S: Likewise.
+       * ld-x86-64/pr19319.dd: Likewise.
+       * ld-x86-64/pr19319a.S: Likewise.
+       * ld-x86-64/pr19319b.S: Likewise.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * ld-powerpc/addpcis.d: New test.
+       * ld-powerpc/addpcis.s: New test.
+       * ld-powerpc/powerpc.exp: Run it.
+
+2015-11-03  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Run newly added test cases.
+       * ld-aarch64/emit-relocs-301.d: Skip aarch64_be.
+       * ld-aarch64/emit-relocs-302.d: Likwise.
+       * ld-aarch64/emit-relocs-310.d: Likwise.
+       * ld-aarch64/emit-relocs-515.d: Likwise.
+       * ld-aarch64/emit-relocs-516.d: Likwise.
+       * ld-aarch64/tls-large-desc.d: Likwise.
+       * ld-aarch64/tls-large-ie.d: Likwise.
+       * ld-aarch64/tls-relax-large-desc-ie.d: Likwise.
+       * ld-aarch64/tls-relax-large-desc-le.d: Likwise.
+       * ld-aarch64/tls-relax-large-gd-ie.d: Likwise.
+       * ld-aarch64/tls-relax-large-gd-le.d: Likwise.
+       * ld-aarch64/emit-relocs-301-be.d: New for aarch64_be.
+       * ld-aarch64/emit-relocs-302-be.d: Likewise.
+       * ld-aarch64/emit-relocs-310-be.d: Likewise.
+       * ld-aarch64/emit-relocs-515-be.d: Likewise.
+       * ld-aarch64/emit-relocs-516-be.d: Likewise.
+       * ld-aarch64/tls-large-desc-be.d: Likewise.
+       * ld-aarch64/tls-large-ie-be.d: Likewise.
+       * ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
+       * ld-aarch64/tls-relax-large-desc-le-be.d: Likewise.
+       * ld-aarch64/tls-relax-large-gd-ie-be.d: Likewise.
+       * ld-aarch64/tls-relax-large-gd-le-be.d: Likewise.
+
+2015-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/plt-main3.rd: Also check GOTPCRELX.
+
+2015-10-29  Catherine Moore  <clm@codesourcery.com>
+
+       * ld-mips-elf/mips16-fp-stub-1.s: New.
+       * ld-mips-elf/mips16-fp-stub-2.s: New.
+       * ld-mips-elf/mips16-fp-stub.d: New.
+       * ld-mips-elf/mips-elf.exp: Run new tests.
+       * ld-mips-elf/mips16-intermix.d: Update expected output.
+
+2015-10-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19162
+       * ld-x86-64/x86-64.exp: Run pr19162.
+       * ld-x86-64/pr19162.d: New file.
+       * ld-x86-64/pr19162a.s: Likewise.
+       * ld-x86-64/pr19162b.s: Likewise.
+
+2015-10-27  Laurent Alfonsi <laurent.alfonsi@st.com>
+           Christophe Monat <christophe.monat@st.com>
+
+       * ld-arm/arm-elf.exp (armelftests_common): Add STM32L4XX
+       tests.
+       * ld-arm/stm32l4xx-cannot-fix-far-ldm.d: New.
+       * ld-arm/stm32l4xx-cannot-fix-far-ldm.s: Likewise.
+       * ld-arm/stm32l4xx-cannot-fix-it-block.d: Likewise.
+       * ld-arm/stm32l4xx-cannot-fix-it-block.s: Likewise.
+       * ld-arm/stm32l4xx-fix-all.d: Likewise.
+       * ld-arm/stm32l4xx-fix-all.s: Likewise.
+       * ld-arm/stm32l4xx-fix-it-block.d: Likewise.
+       * ld-arm/stm32l4xx-fix-it-block.s: Likewise.
+       * ld-arm/stm32l4xx-fix-ldm.d: Likewise.
+       * ld-arm/stm32l4xx-fix-ldm.s: Likewise.
+       * ld-arm/stm32l4xx-fix-vldm.d: Likewise.
+       * ld-arm/stm32l4xx-fix-vldm.s: Likewise.
+
+2015-10-27  Alan Modra  <amodra@gmail.com>
+
+       * ld-gc/pr19161.d: xfail hppa-*-*.
+
+2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19175
+       * ld-i386/i386.exp: Run pr19175.
+       * ld-x86-64/x86-64.exp: Likewise.
+       * ld-i386/pr19175.d: New file.
+       * ld-i386/pr19175.s: Likewise.
+       * ld-i386/pr19175.t: Likewise.
+       * ld-x86-64/pr19175.d: Likewise.
+       * ld-x86-64/pr19175.s: Likewise.
+       * ld-x86-64/pr19175.t: Likewise.
+
+2015-10-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19171
+       * ld-i386/lea1.s: Add tests for address load of __start_XXX
+       and __stop_XXX.
+       * ld-i386/mov1.s: Likewise.
+       * ld-x86-64/lea1.s: Likewise.
+       * ld-x86-64/mov1.s: Likewise.
+       * ld-i386/lea1a.d: Updated.
+       * ld-i386/lea1b.d: Likewise.
+       * ld-i386/lea1c.d: Likewise.
+       * ld-i386/mov1a.d: Likewise.
+       * ld-i386/mov1b.d: Likewise.
+       * ld-x86-64/lea1a.d: Likewise.
+       * ld-x86-64/lea1b.d: Likewise.
+       * ld-x86-64/lea1c.d: Likewise.
+       * ld-x86-64/lea1d.d: Likewise.
+       * ld-x86-64/lea1e.d: Likewise.
+       * ld-x86-64/lea1f.d: Likewise.
+       * ld-x86-64/mov1a.d: Likewise.
+       * ld-x86-64/mov1b.d: Likewise.
+       * ld-x86-64/mov1c.d: Likewise.
+       * ld-x86-64/mov1d.d: Likewise.
+
+2015-10-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19167
+       * ld-gc/gc.exp: Run pr19167 test.
+       * ld-gc/pr19167.d: New file.
+       * ld-gc/pr19167a.s: Likewise.
+       * ld-gc/pr19167b.s: Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19161
+       * ld-gc/gc.exp: Run pr19161 test.
+       * ld-gc/pr19161-1.c: New file.
+       * ld-gc/pr19161-2.c: Likewise.
+       * ld-gc/pr19161.d: Likewise.
+
+2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-scripts/script.exp (extract_symbol_test): Allow nm output of
+       objcopy --extract-symbols result to differ from original on
+       mmix-knuth-mmixware.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/call3.s: New file.
+       * ld-i386/call3a.d: Likewise.
+       * ld-i386/call3b.d: Likewise.
+       * ld-i386/call3c.d: Likewise.
+       * ld-i386/call3d.d: Likewise.
+       * ld-i386/call3e.d: Likewise.
+       * ld-i386/call3f.d: Likewise.
+       * ld-i386/call3g.d: Likewise.
+       * ld-i386/call3h.d: Likewise.
+       * ld-i386/load1-nacl.d: Likewise.
+       * ld-x86-64/call1.s: Likewise.
+       * ld-x86-64/call1a.d: Likewise.
+       * ld-x86-64/call1b.d: Likewise.
+       * ld-x86-64/call1c.d: Likewise.
+       * ld-x86-64/call1d.d: Likewise.
+       * ld-x86-64/call1e.d: Likewise.
+       * ld-x86-64/call1f.d: Likewise.
+       * ld-x86-64/call1g.d: Likewise.
+       * ld-x86-64/call1h.d: Likewise.
+       * ld-x86-64/call1i.d: Likewise.
+       * ld-x86-64/load1a-nacl.d: Likewise.
+       * ld-x86-64/load1b-nacl.d: Likewise.
+       * ld-x86-64/load1c-nacl.d: Likewise.
+       * ld-x86-64/load1d-nacl.d: Likewise.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-ifunc/ifunc-5r-local-x86-64.d: Replace R_X86_64_GOTPCREL
+       with R_X86_64_REX_GOTPCRELX.
+       * ld-x86-64/plt-main1.rd: Likewise.
+       * ld-x86-64/plt-main3.rd: Likewise.
+       * ld-x86-64/plt-main4.rd: Likewise.
+       * ld-x86-64/gotpcrel1.dd: New file.
+       * ld-x86-64/gotpcrel1.out: Likewise.
+       * ld-x86-64/gotpcrel1a.S: Likewise.
+       * ld-x86-64/gotpcrel1b.c: Likewise.
+       * ld-x86-64/gotpcrel1c.c: Likewise.
+       * ld-x86-64/gotpcrel1d.S: Likewise.
+       * ld-x86-64/load1.s: Likewise.
+       * ld-x86-64/load1a.d: Likewise.
+       * ld-x86-64/load1b.d: Likewise.
+       * ld-x86-64/load1c.d: Likewise.
+       * ld-x86-64/load1d.d: Likewise.
+       * ld-x86-64/x86-64.exp: Run load1a, load1b, load1c and load1d
+       tests.  Run gotpcrel1 test.
+
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/branch1.d: New file.
+       * ld-i386/branch1.s: Likewise.
+       * ld-i386/call1.d: Likewise.
+       * ld-i386/call1.s: Likewise.
+       * ld-i386/call2.d: Likewise.
+       * ld-i386/call2.s: Likewise.
+       * ld-i386/got1.dd: Likewise.
+       * ld-i386/got1.out: Likewise.
+       * ld-i386/got1a.S: Likewise.
+       * ld-i386/got1b.c: Likewise.
+       * ld-i386/got1c.c: Likewise.
+       * ld-i386/got1d.S: Likewise.
+       * ld-i386/jmp1.d: Likewise.
+       * ld-i386/jmp1.s: Likewise.
+       * ld-i386/jmp2.d: Likewise.
+       * ld-i386/jmp2.s: Likewise.
+       * ld-i386/load1.d: Likewise.
+       * ld-i386/load1.s: Likewise.
+       * ld-i386/load2.d: Likewise.
+       * ld-i386/load2.s: Likewise.
+       * ld-i386/load3.d: Likewise.
+       * ld-i386/load3.s: Likewise.
+       * ld-i386/load4.s: Likewise.
+       * ld-i386/load4a.d: Likewise.
+       * ld-i386/load4b.d: Likewise.
+       * ld-i386/load5.s: Likewise.
+       * ld-i386/load5a.d: Likewise.
+       * ld-i386/load5b.d: Likewise.
+       * ld-i386/load6.d: Likewise.
+       * ld-i386/load6.s: Likewise.
+       * ld-i386/i386.exp: Run branch1, call1, call2, jmp1, jmp2,
+       load1, load2, load3, load4a, load4b, load5a, load5b and load6
+       tests.  Run got1 test.
+
+2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * ld-ifunc/ifunc.exp: Run ifunc tests on s390* targets.
+
+2015-10-19  Simon Dardis  <Simon.Dardis@imgtec.com>
+
+       * ld-elf/attributes.d: New test for symbol attribute copying.
+       * ld-elf/attributes.ld: Part of above.
+       * ld-elf/attributes.s: Likewise.
+
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/lea1.s: Add a test for loading address of local common
+       symbol.
+       * ld-x86-64/lea1.s: Likewise.
+       * ld-i386/lea1a.d: Updated.
+       * ld-i386/lea1b.d: Likewise.
+       * ld-i386/lea1c.d: Likewise.
+       * ld-x86-64/lea1a.d: Likewise.
+       * ld-x86-64/lea1b.d: Likewise.
+       * ld-x86-64/lea1c.d: Likewise.
+       * ld-x86-64/lea1d.d: Likewise.
+       * ld-x86-64/lea1e.d: Likewise.
+       * ld-x86-64/lea1f.d: Likewise.
+
+2015-10-15  Alan Modra  <amodra@gmail.com>
+
+       * config/default.exp (size): New global.
+       * ld-elf/extract-symbol-1.s,
+       * ld-elf/extract-symbol-1.ld,
+       * ld-elf/extract-symbol-1sec.d,
+       * ld-elf/extract-symbol-1sym.d: Delete.
+       * ld-scripts/script.exp (extract_symbol_test): New.
+
+2015-10-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19073
+       * ld-elf/pr19073.map: New file.
+       * ld-elf/pr19073.rd: Likewise.
+       * ld-elf/pr19073.s: Likewise.
+       * ld-elf/shared.exp (build_tests): Add tests for PR ld/19073.
+
+2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * ld-elf/linkonce1.d: Skip extra relocs before .debug_frame.
+
+2015-10-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18914
+       * ld-elf/exclude.exp: Also check exclude_common.
+       * ld-elf/exclude2.s: Add exclude_common.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+       * ld-aarch64/tls-large-desc.d: New.
+       * ld-aarch64/tls-large-desc.s: New.
+       * ld-aarch64/tls-relax-large-desc-ie.d: New.
+       * ld-aarch64/tls-relax-large-desc-ie.s: New.
+       * ld-aarch64/tls-relax-large-desc-le.d: New.
+       * ld-aarch64/tls-relax-large-desc-le.s: New.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: run new test
+       * ld-aarch64/tls-relax-large-gd-ie.d: New.
+       * ld-aarch64/tls-relax-large-gd-ie.s: New.
+       * ld-aarch64/tls-relax-large-gd-le.d: New.
+       * ld-aarch64/tls-relax-large-gd-le.s: New.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/tls-large-ie.d: New.
+       * ld-aarch64/tls-large-ie.s: New.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/emit-relocs-516.d: New.
+       * ld-aarch64/emit-relocs-516.s: New.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/emit-relocs-515.d: New.
+       * ld-aarch64/emit-relocs-515.s: New.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+       * ld-aarch64/emit-relocs-301.d: New.
+       * ld-aarch64/emit-relocs-301.s: New.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/emit-relocs-302.d: New.
+       * ld-aarch64/emit-relocs-302.s: New.
+       * ld-aarch64/aarch64-elf.exp: Run the test.
+
+2015-10-02  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/emit-relocs-310.d: New.
+       * ld-aarch64/emit-relocs-310.s: New.
+       * ld-aarch64/aarch64-elf.exp: Run the test.
+
+2015-10-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19031
+       * ld-x86-64/x86-64.exp: Run PR ld/19031 test.
+       * ld-x86-64/pr19031.out: New file.
+       * ld-x86-64/pr19031a.c: Likewise.
+       * ld-x86-64/pr19031b.S: Likewise.
+       * ld-x86-64/pr19031c.c: Likewise.
+
+2015-10-01  Renlin Li  <renlin.li@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Run the new test.
+       * ld-aarch64/plt_mapping_symbol.d: New.
+       * ld-aarch64/plt_mapping_symbol.s: New.
+
+2015-10-01  Alan Modra  <amodra@gmail.com>
+
+       * ld-x86-64/pr19013-x32.d: Update.
+       * ld-x86-64/pr19013-nacl.d: Update.
+
+2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
+
+2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19031
+       * ld-i386/i386.exp: Run PR ld/19031 test.
+       * ld-i386/pr19031.out: New file.
+       * ld-i386/pr19031a.c: Likewise.
+       * ld-i386/pr19031b.S: Likewise.
+       * ld-i386/pr19031c.c: Likewise.
+
+2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19013
+       * ld-x86-64/pr19013-nacl.d: New file.
+       * ld-x86-64/pr19013-x32.d: Likewise.
+       * ld-x86-64/pr19013.d: Likewise.
+       * ld-x86-64/pr19013.s: Likewise.
+       * ld-x86-64/x86-64.exp: Run PR ld/19013 tests.
+
+2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/19005
+       * ld-elf/pr19005.d: New file.
+       * ld-elf/pr19005.s: Likewise.
+       * ld-elf/pr19005.t: Likewise.
+
+2015-08-11  Peter Zotov  <whitequark@whitequark.org>
+
+       PR ld/18759
+       * ld-elf/eh-frame-hdr: Expect to pass on the or1k-linux target.
+
+2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-mips-elf/pie-n32.d: Updated.
+       * ld-mips-elf/pie-n64.d: Likewise.
+       * ld-mips-elf/pie-o32.d: Likewise.
+
+2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/pie.d: New test.
+
+2015-09-18  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18963
+       * ld-scripts/pr18963.d,
+       * ld-scripts/pr18963.t: New test.
+       * ld-scripts/expr.exp: Run it.
+       * ld-elf/provide-hidden-2.ld: Explicitly make "dot" absolute.
+       * ld-mips-elf/gp-hidden.sd: Don't care about _gp section.
+       * ld-mips-elf/no-shared-1-n32.d: Don't care about symbol shown at
+       start of .data section.
+       * ld-mips-elf/no-shared-1-n64.d: Likewise.
+       * ld-mips-elf/no-shared-1-o32.d: Likewise.
+
+2015-09-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-plugin/lto.exp (lto_link_tests): Add a "ld -r" test for
+       PR ld/15323.
+       (lto_run_tests): Add a "ld -r" test for PR ld/15323.
+
+2015-09-09  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/tls-relax-ld-le-tiny.s: New testcase.
+       * ld-aarch64/tls-relax-ld-le-small.s: Likewise.
+       * ld-aarch64/tls-relax-ld-le-tiny.d: New expectation file.
+       * ld-aarch64/tls-relax-ld-le-small.d: Likewise.
+       * ld-aarch64/aarch64-elf.exp: Run new testcases.
+
+2015-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-elf/orphan-7.map: Allow for other discarded sections.
+       * ld-elf/orphan-8.map: Updated to allow for different section
+       ordering on different targets.
+       * ld-elf/orphan.ld: Place .sbss section.
+
+2015-09-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/orphan-8.map: Updated to support 32-bit targets.
+
+2015-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-elf/elf.exp: Switch to rely on run_dump_test.
+       * ld-elf/orphan-5.l: Update expected output.
+       * ld-elf/orphan-5.d: New file.
+       * ld-elf/orphan-6.d: New file.
+       * ld-elf/orphan-6.l: New file.
+       * ld-elf/orphan-7.d: New file.
+       * ld-elf/orphan-7.map: New file.
+       * ld-elf/orphan-8.d: New file.
+       * ld-elf/orphan-8.map: New file.
+
+2015-09-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-ifunc/ifunc-21-i386.s: Add tests for call, jmp, add, test.
+       * ld-ifunc/ifunc-21-x86-64.s: Likewise.
+       * ld-ifunc/ifunc-22-i386.s: Likewise.
+       * ld-ifunc/ifunc-22-x86-64.s: Likewise.
+       * ld-ifunc/ifunc-21-i386.d: Updated.
+       * ld-ifunc/ifunc-21-x86-64.d: Likewise.
+       * ld-ifunc/ifunc-22-i386.d: Likewise.
+       * ld-ifunc/ifunc-22-x86-64.d: Likewise.
+
+2015-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-ifunc/ifunc-21-i386.d: New file.
+       * ld-ifunc/ifunc-21-i386.s: Likewise.
+       * ld-ifunc/ifunc-21-x86-64.d: Likewise.
+       * ld-ifunc/ifunc-21-x86-64.s: Likewise.
+       * ld-ifunc/ifunc-22-i386.d: Likewise.
+       * ld-ifunc/ifunc-22-i386.s: Likewise.
+       * ld-ifunc/ifunc-22-x86-64.d: Likewise.
+       * ld-ifunc/ifunc-22-x86-64.s: Likewise.
+
+2015-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18900
+       * ld-i386/i386.exp: Run tests for PR ld/18900.
+       * ld-x86-64/x86-64.exp: Likewise.
+       * ld-i386/pr18900.out: New file.
+       * ld-i386/pr18900a.c: Likewise.
+       * ld-i386/pr18900a.c: Likewise.
+       * ld-i386/pr18900a.rd: Likewise.
+       * ld-i386/pr18900b.c: Likewise.
+       * ld-i386/pr18900b.rd: Likewise.
+       * ld-i386/pr18900c.c: Likewise.
+       * ld-x86-64/pr18900.out: Likewise.
+       * ld-x86-64/pr18900a.c: Likewise.
+       * ld-x86-64/pr18900a.rd: Likewise.
+       * ld-x86-64/pr18900b.c: Likewise.
+       * ld-x86-64/pr18900b.rd: Likewise.
+       * ld-x86-64/pr18900c.c: Likewise.
+       * ld-x86-64/mpx3.dd: Updated.
+
+2015-08-27  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/relocsort.s, * ld-powerpc/relocsort.d: New test.
+       * ld-powerpc/powerpc.exp: Run it.
+
+2015-08-26  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/18401
+       * ld-mips-elf/mips-elf-flags.exp: Add more ISA conflict tests.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-531.s: New testcase.
+       * ld-aarch64/emit-relocs-531-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-532.s: Likewise.
+       * ld-aarch64/emit-relocs-533.s: Likewise.
+       * ld-aarch64/emit-relocs-533-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-534.s: Likewise.
+       * ld-aarch64/emit-relocs-535.s: Likewise.
+       * ld-aarch64/emit-relocs-535-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-536.s: Likewise.
+       * ld-aarch64/emit-relocs-537.s: Likewise.
+       * ld-aarch64/emit-relocs-537-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-538.s: Likewise.
+       * ld-aarch64/emit-relocs-531.d: New expectation file.
+       * ld-aarch64/emit-relocs-531-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-532.d: Likewise.
+       * ld-aarch64/emit-relocs-533.d: Likewise.
+       * ld-aarch64/emit-relocs-533-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-534.d: Likewise.
+       * ld-aarch64/emit-relocs-535.d: Likewise.
+       * ld-aarch64/emit-relocs-535-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-536.d: Likewise.
+       * ld-aarch64/emit-relocs-537.d: Likewise.
+       * ld-aarch64/emit-relocs-537-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-538.d: Likewise.
+       * ld-aarch64/aarch64-elf.exp: Run new testcases.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-87.s: New testcase.
+       * ld-aarch64/emit-relocs-88.s: Likewise.
+       * ld-aarch64/emit-relocs-88-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-89.s: Likewise.
+       * ld-aarch64/emit-relocs-90.s: Likewise.
+       * ld-aarch64/emit-relocs-90-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-523.s: Likewise.
+       * ld-aarch64/emit-relocs-524.s: Likewise.
+       * ld-aarch64/emit-relocs-525.s: Likewise.
+       * ld-aarch64/emit-relocs-527.s: Likewise.
+       * ld-aarch64/emit-relocs-526.s: Likewise.
+       * ld-aarch64/emit-relocs-528.s: Likewise.
+       * ld-aarch64/emit-relocs-528-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-87.d: New expectation file.
+       * ld-aarch64/emit-relocs-88.d: Likewise.
+       * ld-aarch64/emit-relocs-88-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-89.d: Likewise.
+       * ld-aarch64/emit-relocs-90.d: Likewise.
+       * ld-aarch64/emit-relocs-90-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-91.d: Likewise.
+       * ld-aarch64/emit-relocs-523.d: Likewise.
+       * ld-aarch64/emit-relocs-524.d: Likewise.
+       * ld-aarch64/emit-relocs-525.d: Likewise.
+       * ld-aarch64/emit-relocs-526.d: Likewise.
+       * ld-aarch64/emit-relocs-527.d: Likewise.
+       * ld-aarch64/emit-relocs-528.d: Likewise.
+       * ld-aarch64/emit-relocs-528-overflow.d: Likewise.
+       * ld-aarch64/aarch64-elf.exp: Run new testcases.
+
+2015-08-19  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-530.s: New testcase.
+       * ld-aarch64/emit-relocs-92.s: Likewise.
+       * ld-aarch64/emit-relocs-530.d: New expectation file.
+       * ld-aarch64/emit-relocs-92.d: Likewise.
+       * ld-aarch64/aarch64-elf.exp: Run new testcases.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18841
+       * ld-ifunc/ifunc.exp: Add another test for PR ld/18841.
+       * ld-ifunc/pr18841c.c: New file.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18841
+       * ld-ifunc/ifunc.exp: Add a test for PR ld/18841.
+       * ld-ifunc/pr18841.out: New file.
+       * ld-ifunc/pr18841a.c: Likewise.
+       * ld-ifunc/pr18841b.c: Likewise.
+
+2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18801
+       * ld-i386/i386.exp: Run pr18801.
+       * ld-x86-64/x86-64.exp: Likewise.
+       * ld-i386/pr18801.d: New file.
+       * ld-i386/pr18801.s: Likewise.
+       * ld-x86-64/pr18801.d: Likewise.
+       * ld-x86-64/pr18801.s: Likewise.
+
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * ld-mips-elf/compressed-plt-1-n32-mips16.od: Update test.
+       * ld-mips-elf/compressed-plt-1-n32-umips.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16-got.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16-only.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16-word.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-se.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-umips-got.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-umips-word.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-umips.od: Ditto.
+       * ld-mips-elf/jalx-2.dd: Ditto.
+       * ld-mips-elf/mips16-pic-3.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-3a.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-3b.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-5b.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-6-n32.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-6-o32.dd: Ditto.
+       * ld-mips-elf/stub-dynsym-1-10000.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-2fe80.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-7fff.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-8000.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-fff0.d: Ditto.
+       * ld-mips-elf/tlsbin-o32.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32-1.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32-2.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32-3.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32.d: Ditto.
+       * ld-mips-elf/tlslib-o32.d: Ditto.
+
+2015-08-12  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): Support all
+       four triple shape: aarch64-*-linux*, aarch64-*-elf,
+       aarch64_be-*-linux*, aarch64_be-*-elf.
+       * ld-aarch64/emit-relocs-86.d: Use aarch64_choose_ilp32_emul.
+       * ld-aarch64/emit-relocs-86-overflow.d: Likewise.
+       * ld-aarch64/ld-aarch64/farcall-b-plt.d: Relax instrucion encoding
+       check when they reflect address.
+       * ld-aarch64/ld-aarch64/farcall-bl-plt.d: Likewise.
+
+2015-08-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Rename relocs-257-symbolic-func to
+       relocs-1027-symbolic-func.
+       * ld-aarch64/relocs-257-symbolic-func.d: Rename to ...
+       * ld-aarch64/relocs-1027-symbolic-func.d: ... this.
+       * ld-aarch64/relocs-257-symbolic-func.s: Rename to ...
+       * ld-aarch64/relocs-1027-symbolic-func.s: ... this.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/farcall-b-defsym.s: New test.
+       * ld-aarch64/farcall-bl-defsym.s: Likewise.
+       * ld-aarch64/farcall-b-defsym.d: New expectation.
+       * ld-aarch64/farcall-bl-defsym.d: Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/farcall-b-gsym.s: New test.
+       * ld-aarch64/farcall-b-plt.s: Likewise.
+       * ld-aarch64/farcall-bl-plt.s: Likewise.
+       * ld-aarch64/farcall-b-gsym.d: New expect file.
+       * ld-aarch64/farcall-b-plt.d: Likewise.
+       * ld-aarch64/farcall-bl-plt.d: Likewise.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-529.s: New testcase.
+       * ld-aarch64/emit-relocs-529-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-86.s: Likewise.
+       * ld-aarch64/emit-relocs-86-overflow.s: Likewise.
+       * ld-aarch64/emit-relocs-529.d: New expectation file.
+       * ld-aarch64/emit-relocs-529-overflow.d: Likewise.
+       * ld-aarch64/emit-relocs-86.d: Likewise.
+       * ld-aarch64/emit-relocs-86-overflow.d: Likewise.
+       * ld-aarch64/aarch64-elf.exp: Run new testcases.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/tls-small-ld.s: Update testcase.
+
+2015-08-11  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/tls-small-ld.s: New file.
+       * ld-aarch64/tls-small-ld.d: Likewise.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18808
+       * ld-ifunc/ifunc.exp: Add a test for PR ld/18808.
+       * ld-ifunc/pr18808.out: New file.
+       * ld-ifunc/pr18808a.c: Likewise.
+       * ld-ifunc/pr18808b.c: Likewise.
+       * lib/ld-lib.exp (check_ifunc_attribute_available): New.
+
+2015-08-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18720
+       * ld-elf/indirect.exp: Run tests for PR ld/18720.
+       * ld-elf/pr18720.out: New file.
+       * ld-elf/pr18720a.c: Likewise.
+       * ld-elf/pr18720b.c: Likewise.
+       * ld-elf/pr18720c.c: Likewise.
+
+2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld/ld-lib.exp (run_dump_test): When using the map option, no
+       program is required.
+
+2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld/ld-lib.exp (run_dump_test): Add error_output and
+       warning_output options.
+
+2015-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-undefined/require-defined-1.d: New file.
+       * ld-undefined/require-defined-2.d: New file.
+       * ld-undefined/require-defined-3.d: New file.
+       * ld-undefined/require-defined-4.d: New file.
+       * ld-undefined/require-defined-5.d: New file.
+       * ld-undefined/require-defined.exp: New file.
+       * ld-undefined/require-defined.s: New file.
+
+2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18735
+       * ld-elf/pr18735.d: New file.
+       * ld-elf/pr18735.s: Likewise.
+
+2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/pr18718.c (bar): Use noclone attribute only for GCC
+       4.5 or newer.
+
+2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-size/size.exp: Move run-time support check.
+
+2015-07-28  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/elfv2so.d: Update.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/default.exp (NOPIE_CFLAGS): New.
+       (NOPIE_LDFLAGS): Likewise.
+       * ld-size/size.exp (run_cc_link_tests): Add $NOPIE_CFLAGS and
+       $NOPIE_LDFLAGS if needed.
+       (run_ld_link_exec_tests): Add $NOPIE_CFLAGS if needed.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-srec/srec.exp (CC): Save and restore.  Append $PLT_CFLAGS.
+       (CXX): Likewise.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-shared/shared.exp: Pass $PLT_CFLAGS to ld_compile.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-scripts/crossref.exp (CC): Save and restore.  Append
+       $PLT_CFLAGS.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp (run_cc_link_tests): Add $PLT_CFLAGS to
+       -fPIC if needed.
+       * ld-x86-64/mpx.exp (run_cc_link_tests): Likewise.
+       * ld-x86-64/x86-64.exp (run_cc_link_tests): Likewise.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elfvsb/elfvsb.exp (visibility_run): Pass $PLT_CFLAGS to
+       ld_compile.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elfvers/vers.exp (build_vers_lib_no_pic): Pass $PLT_CFLAGS
+       to build_binary.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/default.exp (PLT_CFLAGS): New.
+
+2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR ld/18705
+       * ld-aarch64/protected-data.d: New.
+       * ld-aarch64/protected-data.s: New.
+       * ld-aarch64/aarch64-elf.exp: Add new test.
+
+2015-07-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR ld/18705
+       * ld-arm/protected-data.d: New.
+       * ld-arm/protected-data.s: New.
+       * ld-arm/arm-elf.exp: Add new test.
+
+2015-07-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18718
+       * ld-elf/shared.exp: Compile PR ld/18718 tests with -O2.
+
+2015-07-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt
+       to 0.
+
+2015-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18718
+       * ld-elf/pr18718.c: New file.
+       * ld-elf/shared.exp: Run tests for PR ld/18718.
+
+2015-07-25  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/symbolic-func.s,
+       * ld-elf/symbolic-func.r: New test.
+       * ld-elf/elf.exp: Run it.
+
+2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/compress.exp (build_tests): Replace -g with -ggdb3.
+       * ld-elf/zlibbegin.rS: Also expect "GC".
+       * ld-elf/zlibnormal.rS: Likewise.
+
+2015-07-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/tls-tiny-ld.s: New file.
+       * ld-aarch64/tls-tiny-ld.d: Ditto.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/zlibbegin.rS: Updated to .debug_.* with the
+       SHF_COMPRESSED bit.
+       * ld-elf/zlibnormal.rS: Likewise.
+
+2015-07-09  Catherine Moore  <clm@codesourcery.com>
+
+       * ld-mips-elf/attr-gnu-4-08.d: Update expected output.
+       * ld-mips-elf/attr-gnu-4-09.d: New.
+       * ld-mips-elf/attr-gnu-4-19.d: New.
+       * ld-mips-elf/attr-gnu-4-29.d: New.
+       * ld-mips-elf/attr-gnu-4-39.d: New.
+       * ld-mips-elf/attr-gnu-4-49.d: New.
+       * ld-mips-elf/attr-gnu-4-59.d: New.
+       * ld-mips-elf/attr-gnu-4-69.d: New.
+       * ld-mips-elf/attr-gnu-4-79.d: New.
+       * ld-mips-elf/attr-gnu-4-89.d: New.
+       * ld-mips-elf/attr-gnu-4-9.s: New.
+       * ld-mips-elf/mips-elf.exp: Run new tests.
+
+2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
+
+       * ld-avr/gc-section-debugline.d: New test.
+       * ld-avr/per-function-debugline.s: Source for new test.
+
+2015-07-05  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
+       ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
+       ld-powerpc/tocopt6.d: New test.
+       * ld-powerpc/powerpc.exp (ppc64elftests): Add it.
+
+2015-07-03   Kai Tietz  <ktietz@redhat.com>
+            Nick Clifton  <nickc@redhat.com>
+
+       PR ld/11539
+       * lib/ld-lib.exp (check_gc_sections_available): Do not
+       automatically fail for cygwin and mingw targets.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * ld-nios2/mixed1a.d: New.
+       * ld-nios2/mixed1a.s: New.
+       * ld-nios2/mixed1b.d: New.
+       * ld-nios2/mixed1b.s: New.
+       * ld-nios2/nios2.exp: Build the new compatibility tests.
+
+2015-06-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-xtensa/tlsbin.rd: Updated.
+       * ld-xtensa/tlspic.rd: Likewise.
+
+2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.
+       * ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
+       * ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
+       * ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
+       * ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
+       * ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
+       * ld-mips-elf/tlsdyn-o32-1.d: Likewise.
+       * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
+       * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
+       * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
+       * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
+       * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
+       * ld-mips-elf/tlsdyn-o32.d: Likewise.
+       * ld-mips-elf/tlsdyn-o32.got: Likewise.
+       * ld-mips-elf/pie-n32.d: New file.
+       * ld-mips-elf/pie-n64.d: Likewise.
+       * ld-mips-elf/pie-o32.d: Likewise.
+       * ld-mips-elf/pie.s: Likewise.
+       * ld-mips-elf/mips-elf.exp: Add new tests.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-mmix/bspec1.d: Updated.
+       * ld-mmix/bspec2.d: Likewise.
+       * ld-mmix/undef-3.d: Likewise.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/18451
+       * ld-elf/strtab.d: New file.
+       * ld-elf/strtab.s: Likewise.
+
+2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run pltgot-2 for Linux targets.
+       * ld-x86-64/x86-64.exp: Likewise.
+       * ld-i386/pltgot-1.d: Updated.
+       * ld-x86-64/pltgot-1.d: Likewise.
+       * ld-i386/pltgot-2.d: New file.
+       * ld-x86-64/pltgot-2.d: Likewise.
+
+2015-06-23  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/dt_textrel.s: New testcase.
+       * ld-aarch64/dt_textrel.d: New expectation file.
+       * ld-aarch64/aarch64-elf.exp: Run new testcase.
+
+2015-06-17  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): New function.
+       * ld-aarch64/emit-relocs-28.d: Use aarch64_choose_ilp32_emul to choose
+       emulation mode.
+
+2015-06-16  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/ppc476-shared.s: Repeat dynamic reloc generating insns.
+       * ld-powerpc/ppc476-shared.d: Update.
+       * ld-powerpc/ppc476-shared2.d: Update.
+
+2015-06-12  Tristan Gingold  <gingold@adacore.com>
+
+       * ld-scripts/print-memory-usage-1.t,
+       * ld-scripts/print-memory-usage-1.s,
+       * ld-scripts/print-memory-usage-1.l,
+       * ld-scripts/print-memory-usage-2.t,
+       * ld-scripts/print-memory-usage-2.l,
+       * ld-scripts/print-memory-usage-3.s,
+       * ld-scripts/print-memory-usage-3.t,
+       * ld-scripts/print-memory-usage-3.l,
+       * ld-scripts/print-memory-usage.t: New tests.
+       * ld-scripts/print-memory-usage.exp: Run them.
+
+2015-06-05  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/compressed1d.d: Fix typo: iq200 -> iq2000.
+
+2015-06-05  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/ppc476-shared.s,
+       * ld-powerpc/ppc476-shared.lnk,
+       * ld-powerpc/ppc476-shared.d,
+       * ld-powerpc/ppc476-shared2.d: New tests.
+       * ld-powerpc/powerpc.exp: Run them.
+
+2015-06-02  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-313.s: Use gotpage_lo15.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-28.s: New test file.
+       * ld-aarch64/emit-relocs-28.d: Ditto.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/tprel_add_lo12_overflow.s: New testcase.
+       * ld-aarch64/tprel_add_lo12_overflow.d: Nex expectation file.
+       * ld-aarch64/aarch64-elf.exp: Run new testcase.
+
+2015-06-01  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/emit-relocs-313.s: New test file.
+       * ld-aarch64/emit-relocs-313.d: Ditto.
+       * ld-aarch64/aarch64-elf.exp: Run new test.
+
+2015-05-29  Stephen Kitt  <steve@sk2.org>
+
+       * ld-pe/pe-run2.exp (test_direct2_link_dll): Add $CFLAGS to the
+       compiler command line.
+
+2015-05-28  Catherine Moore  <clm@codesourcery.com>
+
+       * ld-mips-elf/compact-eh.ld: New linker script.
+       * ld-mips-elf/compact-eh1.d: New.
+       * ld-mips-elf/compact-eh1.s: New.
+       * ld-mips-elf/compact-eh1a.s: New.
+       * ld-mips-elf/compact-eh1b.s: New.
+       * ld-mips-elf/compact-eh2.d: New.
+       * ld-mips-elf/compact-eh2.s: New.
+       * ld-mips-elf/compact-eh3.d: New.
+       * ld-mips-elf/compact-eh3.s: New.
+       * ld-mips-elf/compact-eh3a.s: New.
+       * ld-mips-elf/compact-eh4.d: New.
+       * ld-mips-elf/compact-eh5.d: New.
+       * ld-mips-elf/compact-eh6.d: New.
+       * ld-mips-elf/mips-elf.exp: Run new tests.
+
+2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18458
+       * ld-elf/shared.exp (build_tests): Build libpr18458a.so and
+       libpr18458b.so.
+       (run_tests): Run pr18458 test.
+       * ld-elf/pr18458a.c: New file.
+       * ld-elf/pr18458b.c: Likewise.
+       * ld-elf/pr18458c.c: Likewise.
+
+2015-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run PR ld/17689 tests with -z now.
+       * ld-x86-64/x86-64.exp: Likewise
+       * ld-i386/pr17689now.rd: New file.
+       * ld-x86-64/pr17689now.rd: Likewise
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * ld-x86-64/tlsgdesc.dd: Also pass -Mintel64 to objdump.
+       * ld-x86-64/tlspic.dd: Likewise.
+       * ld-x86-64/x86-64.exp (x86_64tests): Also pass -Mintel64 to
+       objdump for tlspic.dd and tlsgdesc.dd.
+
+2015-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run pltgot-1 for Linux targets.
+       * ld-x86-64/x86-64.exp: Likewise.
+       * ld-i386/pltgot-1.d: New file.
+       * ld-i386/pltgot-1.s: Likewise.
+       * ld-x86-64/pltgot-1.d: Likewise.
+       * ld-x86-64/pltgot-1.s: Likewise.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp (iamcu_tests): Run iamcu-4.
+       * ld-i386/iamcu-4.d: New file.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/abs-iamcu.d: New file.
+       * ld-i386/dummy.s: Likewise.
+       * ld-i386/foo.s: Likewise.
+       * ld-i386/iamcu-1.d: Likewise.
+       * ld-i386/iamcu-2.d: Likewise.
+       * ld-i386/iamcu-3.d: Likewise.
+       * ld-i386/start.s: Likewise.
+       * ld-i386/i386.exp (iamcu_tests): New.
+       Run iamcu_tests.
+
+2015-05-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * ld-x86-64/tlsgdesc.dd: Updated.
+       * ld-x86-64/tlspic.dd: Likewise.
+
+2015-04-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18354
+       * ld-elf/compress.exp (run_tests): Link the last zlibnormal,
+       gnunormal and gabinormal against libfoozlib.so.
+
+2015-04-27  Renlin Li  <renlin.li@arm.com>
+
+       * ld-arm/ifunc-10.dd: Adjust expected output.
+       * ld-arm/ifunc-2.dd: Likewise.
+
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * ld-s390/gotreloc_31-1.dd: Use instruction mnemonics.
+
+2015-04-24  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/tocnovar.d: Revert last change.
+
+2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
+
+       * ld-arm/armthumb-lib.d: Regenerate expected output.
+       * ld-arm/armthumb-lib.d: Likewise.
+       * ld-arm/armthumb-lib.sym: Likewise.
+       * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
+       * ld-arm/cortex-a8-fix-b-rel-thumb.d: Likewise.
+       * ld-arm/cortex-a8-fix-b.d: Likewise.
+       * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: Likewise.
+       * ld-arm/cortex-a8-fix-bcc.d: Likewise.
+       * ld-arm/cortex-a8-fix-bl-rel-arm.d: Likewise.
+       * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
+       * ld-arm/cortex-a8-fix-bl-rel-thumb.d: Likewise.
+       * ld-arm/cortex-a8-fix-bl.d: Likewise.
+       * ld-arm/cortex-a8-fix-blx-bcond.d: Likewise.
+       * ld-arm/cortex-a8-fix-blx-rel-arm.d: Likewise.
+       * ld-arm/cortex-a8-fix-blx-rel-thumb.d: Likewise.
+       * ld-arm/cortex-a8-fix-blx.d: Likewise.
+       * ld-arm/cortex-a8-fix-hdr.d: Likewise.
+       * ld-arm/farcall-mixed-app-v5.d: Likewise.
+       * ld-arm/farcall-mixed-app.d: Likewise.
+       * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
+       * ld-arm/farcall-mixed-lib.d: Likewise.
+       * ld-arm/mixed-app-v5.d: Likewise.
+       * ld-arm/mixed-app.d: Likewise.
+       * ld-arm/mixed-lib.d: Likewise.
+
+2015-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/compressed1d.d: Add notarget for ELF based targets that
+       do not use elf.em.
+
+2015-04-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * ld-elf/compressed1e.d: Correct xfail to notarget and cris*-*-*
+       to cris*-*-elf.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/compressed1e.d: Only run for Linux/gnu.  Xfail cris and
+       frv.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18277
+       * ld-elf/compressed1d.d: New.
+       * ld-elf/compressed1e.d: Likewise.
+
+2015-04-23  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/ambiguousv1b.d: Update for aligned .got.
+       * ld-powerpc/defsym.d: Likewise.
+       * ld-powerpc/elfv2-2exe.d: Likewise.
+       * ld-powerpc/elfv2exe.d: Likewise.
+       * ld-powerpc/elfv2so.d: Likewise.
+       * ld-powerpc/relbrlt.d: Likewise.
+       * ld-powerpc/tls.g: Likewise.
+       * ld-powerpc/tlsexe.d: Likewise.
+       * ld-powerpc/tlsexe.g: Likewise.
+       * ld-powerpc/tlsexe.r: Likewise.
+       * ld-powerpc/tlsexetoc.d: Likewise.
+       * ld-powerpc/tlsexetoc.g: Likewise.
+       * ld-powerpc/tlsexetoc.r: Likewise.
+       * ld-powerpc/tlsso.d: Likewise.
+       * ld-powerpc/tlsso.g: Likewise.
+       * ld-powerpc/tlsso.r: Likewise.
+       * ld-powerpc/tlstoc.g: Likewise.
+       * ld-powerpc/tlstocso.d: Likewise.
+       * ld-powerpc/tlstocso.g: Likewise.
+       * ld-powerpc/tlstocso.r: Likewise.
+       * ld-powerpc/tocopt.d: Likewise.
+       * ld-powerpc/tocopt2.d: Likewise.
+       * ld-powerpc/tocopt3.d: Likewise.
+       * ld-powerpc/tocopt4.d: Likewise.
+       * ld-powerpc/tocopt5.d: Likewise.
+       * ld-powerpc/tocnovar.d: Adjust.
+
+2015-04-22  Alan Modra  <amodra@gmail.com>
+
+       * ld-x86-64/pr18176.d: Update.
+
+2015-04-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18289
+       * ld-i386/copyreloc-lib.c: New file.
+       * ld-i386/copyreloc-main.S: Likewise.
+       * ld-i386/copyreloc-main.out: Likewise.
+       * ld-i386/copyreloc-main1.rd: Likewise.
+       * ld-i386/copyreloc-main2.rd: Likewise.
+       * ld-i386/dummy.c: Likewise.
+       * ld-i386/pr17689.out: Likewise.
+       * ld-i386/pr17689.rd: Likewise.
+       * ld-i386/pr17689a.c: Likewise.
+       * ld-i386/pr17689b.S: Likewise.
+       * ld-i386/pr17827.rd: Likewise.
+       * ld-i386/pr17827ver.rd: Likewise.
+       * ld-i386/i386.exp: Run copyreloc tests.
+
+2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-mmix/bspec1.d: Don't hardcode offset of .shstrtab section.
+       * ld-mmix/bspec2.d: Likewise.
+       * ld-mmix/local1.d: Likewise.
+       * ld-mmix/local3.d: Likewise.
+       * ld-mmix/local5.d: Likewise.
+       * ld-mmix/local7.d: Likewise.
+       * ld-mmix/undef-3.d: Likewise.
+       * ld-sh/sh64/crangerel1.rd: Likewise.
+       * ld-sh/sh64/crangerel2.rd: Likewise.
+       * ld-tic6x/common.d: Likewise.
+       * ld-tic6x/shlib-1.rd: Likewise.
+       * ld-tic6x/shlib-1b.rd: Likewise.
+       * ld-tic6x/shlib-1r.rd: Likewise.
+       * ld-tic6x/shlib-1rb.rd: Likewise.
+       * ld-tic6x/shlib-app-1.rd: Likewise.
+       * ld-tic6x/shlib-app-1b.rd: Likewise.
+       * ld-tic6x/shlib-app-1r.rd: Likewise.
+       * ld-tic6x/shlib-app-1rb.rd: Likewise.
+       * ld-tic6x/shlib-noindex.rd: Likewise.
+       * ld-tic6x/static-app-1.rd: Likewise.
+       * ld-tic6x/static-app-1b.rd: Likewise.
+       * ld-tic6x/static-app-1r.rd: Likewise.
+       * ld-tic6x/static-app-1rb.rd: Likewise.
+       * ld-x86-64/ilp32-4.d: Likewise.
+       * ld-x86-64/split-by-file-nacl.rd: Likewise.
+       * ld-x86-64/split-by-file.rd: Likewise.
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/compress.exp (build_tests): Add tests for
+       --compress-debug-sections=.
+       (run_tests): Likewise.
+       Add additonal tests for --compress-debug-sections=.
+       * ld-elf/gabiend.rt: New file.
+       * ld-elf/gabinormal.rt: Likewise.
+       * ld-elf/gnubegin.rS: Likewise.
+       * ld-elf/gnunormal.rS: Likewise.
+       * ld-elf/zlibbegin.rS: Likewise.
+       * ld-elf/zlibnormal.rS: Likewise.
+
+2015-04-15  Alan Modra  <amodra@gmail.com>
+
+       * ld-gc/pr18223.d: xfail tic6x.
+
+2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr17709
+       * ld-i386/i386.exp: Run protected6b.
+       * ld-i386/protected6b.d: New file.
+       * ld-x86-64/protected6b.d: Likewise.
+       * ld-x86-64/x86-64.exp:  Run protected6b.
+
+2015-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run protected6a.
+       * ld-i386/protected6.d: Renamed to ...
+       * ld-i386/protected6a.d: This.
+       * ld-x86-64/hidden4.d: New file.
+       * ld-x86-64/hidden4.s: Likewise.
+       * ld-x86-64/hidden5.d: Likewise.
+       * ld-x86-64/hidden5.s: Likewise.
+       * ld-x86-64/protected6.d: Renamed to ...
+       * ld-x86-64/protected6a.d: This.
+       * ld-x86-64/x86-64.exp: Run hidden4, hidden5, protected6a,
+       protected7a and protected7b.
+
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr17709
+       * ld-i386/protected6.d: New file.
+       * ld-i386/protected6.s: Likewise.
+       * ld-x86-64/protected6.d: Likewise.
+       * ld-x86-64/protected6.s: Likewise.
+       * ld-x86-64/protected7.d: Likewise.
+       * ld-x86-64/protected7.s: Likewise.
+       * ld-x86-64/protected7a.d: Likewise.
+       * ld-x86-64/protected7b.d: Likewise.
+
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr15228
+       PR ld/pr17709
+       * ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
+       * ld-i386/pr17709-nacl.rd: New file.
+       * ld-i386/pr17709.rd: Likewise.
+       * ld-i386/pr17709a.s: Likewise.
+       * ld-i386/pr17709b.s: Likewise.
+       * ld-i386/protected3.d: Updated.
+       * ld-i386/protected3.s: Likewise.
+       * ld-x86-64/pr17709-nacl.rd: New file.
+       * ld-x86-64/pr17709.rd: Likewise.
+       * ld-x86-64/pr17709a.s: Likewise.
+       * ld-x86-64/pr17709b.s: Likewise.
+       * ld-x86-64/protected3.d: Updated.
+       * ld-x86-64/protected3.s: Likewise.
+       * ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
+
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18223
+       * ld-gc/gc.exp: Run pr18223.
+       * ld-gc/pr18223.d: New file.
+       * ld-gc/pr18223.s: Likewise.
+
+2015-04-10  Alan Modra  <amodra@gmail.com>
+
+       Revert 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+       PR ld/pr15228
+       PR ld/pr17709
+       * ld-i386/i386.exp (i386tests): Remove test for PR ld/17709.
+       * ld-i386/pr17709-nacl.rd: Delete.
+       * ld-i386/pr17709.rd: Likewise.
+       * ld-i386/pr17709a.s: Likewise.
+       * ld-i386/pr17709b.s: Likewise.
+       * ld-i386/protected3.d: Updated.
+       * ld-i386/protected3.s: Likewise.
+       * ld-x86-64/pr17709-nacl.rd: Delete.
+       * ld-x86-64/pr17709.rd: Likewise.
+       * ld-x86-64/pr17709a.s: Likewise.
+       * ld-x86-64/pr17709b.s: Likewise.
+       * ld-x86-64/protected3.d: Updated.
+       * ld-x86-64/protected3.s: Likewise.
+       * ld-x86-64/x86-64.exp (x86_64tests): Remove test for PR ld/17709.
+
+2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/compress.exp: Add a test for
+       --compress-debug-sections=zlib-gabi.
+       (build_tests): Add 2 tests for --compress-debug-sections=zlib-gabi.
+       (run_tests): Likewise.
+       Verify linker output with zlib-gabi compressed debug input.
+       * ld-elf/compressed1a.d: New file.
+       * ld-elf/compressed1b.d: Likewise.
+       * ld-elf/compressed1c.d: Likewise.
+
+2015-04-07  Alan Modra  <amodra@gmail.com>
+
+       * ld-arm/tls-gdesc-nlazy.g: Adjust for readelf note.
+       * ld-tic6x/shlib-1.rd: Expect corrected .rela.plt sh_info.
+       * ld-tic6x/shlib-1b.rd: Likewise.
+       * ld-tic6x/shlib-1r.rd: Likewise.
+       * ld-tic6x/shlib-1rb.rd: Likewise.
+       * ld-tic6x/shlib-app-1.rd: Likewise.
+       * ld-tic6x/shlib-app-1b.rd: Likewise.
+       * ld-tic6x/shlib-app-1r.rd: Likewise.
+       * ld-tic6x/shlib-app-1rb.rd: Likewise.
+       * ld-tic6x/shlib-noindex.rd: Likewise.
+
+2015-04-07  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/orphan-5.l: New test - checks the linker's output with
+       --warn-orphan enabled.
+       * ld-elf/elf.exp: Run the new test.
+
+2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/compress.exp: Remove is_zlib_supported check.
+       Fail if --compress-debug-sections doesn't work.
+       * lib/ld-lib.exp (run_dump_test): Remove is_zlib_supported check.
+
+2015-04-01  Tejas Belagod  <tejas.belagod@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Add erratum843419 test.
+       * ld-aarch64/erratum843419.d: New.
+       * ld-aarch64/erratum843419.s: New.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18176
+       * ld-x86-64/pr18176.d: New file.
+       * ld-x86-64/pr18176.s: Likewise.
+       * ld-x86-64/pr18176.t: Likewise.
+       * ld-x86-64/x86-64.exp: Run pr18176.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-bootstrap/bootstrap.exp (extralibs): Add -lz.
+
+2015-03-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18169
+       * ld-elf/linkinfo1a.d: Updated.
+       * ld-elf/linkinfo1b.d: Likewise.
+
+2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/pr18160.d: Don't run for x86_64-*-nacl* target.
+
+2015-03-26  Tejas Belagod  <tejas.belagod@arm.com>
+
+       * ld-aarch64/farcall-back-be.d: New.
+
+2015-03-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18160
+       * ld-x86-64/pr18160.d: New file.
+       * ld-x86-64/pr18160.s: Likewise.
+       * ld-x86-64/pr18160.t: Likewise.
+       * ld-x86-64/x86-64.exp: Run pr18160.
+---
+2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * ld-aarch64/erratum835769.d: Adjust for initial branch over stub
+       section.
+       * ld-aarch64/farcall-b.d: Likewise.
+       * ld-aarch64/farcall-bl.d: Likewise.
+       * ld-aarch64/farcall-back.d: Likewise.
+
+2015-03-25  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * ld-aarch64/erratum835769.d: Adjust for removal of padding before
+       835769 workaround stubs.
+
+2015-03-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * ld-gc/all-debug-sections.d: New file.
+       * ld-gc/all-debug-sections.s: Likewise.
+       * ld-gc/gc.exp: Execute new testcase.
+
+2015-03-11  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/tls32.s: Add GOT pointer setup.
+       * ld-powerpc/tls32.d: Update.
+       * ld-powerpc/tls32.g: Update.
+       * ld-powerpc/tls32.t: Update.
+       * ld-powerpc/tlsexe.d: Update.
+       * ld-powerpc/tlsexe32.d: Update.
+       * ld-powerpc/tlsexe32.g: Update.
+       * ld-powerpc/tlsexe32.r: Update.
+       * ld-powerpc/tlsexetoc.d: Update.
+       * ld-powerpc/tlsso32.d: Update.
+       * ld-powerpc/tlsso32.g: Update.
+       * ld-powerpc/tlsso32.r: Update.
+
+2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr15228
+       PR ld/pr17709
+       * ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
+       * ld-i386/pr17709-nacl.rd: New file.
+       * ld-i386/pr17709.rd: Likewise.
+       * ld-i386/pr17709a.s: Likewise.
+       * ld-i386/pr17709b.s: Likewise.
+       * ld-i386/protected3.d: Updated.
+       * ld-i386/protected3.s: Likewise.
+       * ld-x86-64/pr17709-nacl.rd: New file.
+       * ld-x86-64/pr17709.rd: Likewise.
+       * ld-x86-64/pr17709a.s: Likewise.
+       * ld-x86-64/pr17709b.s: Likewise.
+       * ld-x86-64/protected3.d: Updated.
+       * ld-x86-64/protected3.s: Likewise.
+       * ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
+
+2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR gas/17843
+       * ld-aarch64/tlsle.s, ld-aarch64/tlsle.d: New test.
+       * ld-aarch64/aarch64-elf.exp: Run it.
+
+2015-02-28  Alan Modra  <amodra@gmail.com>
+
+       * ld-sparc/gotop32.rd: Update for changed padding in data sections.
+       * ld-sparc/gotop32.td: Likewise.
+       * ld-sparc/gotop64.rd: Likewise.
+       * ld-sparc/gotop64.td: Likewise.
+       * ld-tilegx/external.s: Align .data.
+       * ld-tilepro/external.s: Likewise.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp (tls-tiny-desc, tls-tiny-desc-ie)
+       (tls-tiny-desc-le): Add.
+       * ld-aarch64/tls-tiny-desc.d: New.
+       * ld-aarch64/tls-tiny-desc.s: New.
+       * ld-aarch64/tls-tiny-desc-ie.d: New.
+       * ld-aarch64/tls-tiny-desc-ie.s: New.
+       * ld-aarch64/tls-tiny-desc-le.d: New.
+       * ld-aarch64/tls-tiny-desc-le.s: New.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp (tls-tiny-gd, tls-tiny-gd-ie)
+       (tls-tiny-gd-le): Add.
+       * ld-aarch64/tls-tiny-gd.d: New.
+       * ld-aarch64/tls-tiny-gd.s: New.
+       * ld-aarch64/tls-tiny-gd-ie.d: New.
+       * ld-aarch64/tls-tiny-gd-ie.s: New.
+       * ld-aarch64/tls-tiny-gd-le.d: New.
+       * ld-aarch64/tls-tiny-gd-le.s: New.
+
+2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Add tls-tiny-ie.
+       * ld-aarch64/tls-tiny-ie.d: New.
+       * ld-aarch64/tls-tiny-ie.s: New.
+
+2015-02-26  Terry Guo  <terry.guo@arm.com>
+
+       * ld-arm/attr-merge-3.attr: Remove Tag_ABI_HardFP_use.
+       * ld-arm/attr-merge-vfp-10.d: Likewise.
+       * ld-arm/attr-merge-vfp-10r.d: Likewise.
+       * ld-arm/attr-merge-vfp-12.d: Likewise.
+       * ld-arm/attr-merge-vfp-12r.d: Likewise.
+       * ld-arm/attr-merge-vfp-13.d: Likewise.
+       * ld-arm/attr-merge-vfp-13r.d: Likewise.
+       * ld-arm/attr-merge-vfp-14.d: Likewise.
+       * ld-arm/attr-merge-vfp-14r.d: Likewise.
+       * ld-arm/attr-merge-vfp-6.d: Likewise.
+       * ld-arm/attr-merge-vfp-6r.d: Likewise.
+       * ld-arm/attr-merge-vfp-7.d: Likewise.
+       * ld-arm/attr-merge-vfp-7r.d: Likewise.
+       * ld-arm/attr-merge-vfp-8.d: Likewise.
+       * ld-arm/attr-merge-vfp-8r.d: Likewise.
+
+2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-avr/avr-prop-1.d: New file.
+       * ld-avr/avr-prop-1.s: New file.
+       * ld-avr/avr-prop-2.d: New file.
+       * ld-avr/avr-prop-2.s: New file.
+       * ld-avr/avr-prop-3.d: New file.
+       * ld-avr/avr-prop-3.s: New file.
+       * ld-avr/avr-prop-4.d: New file.
+       * ld-avr/avr-prop-4.s: New file.
+
+2015-02-25  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * ld-sh/arch/arch_expected.txt: Regenerate.
+       * ld-sh/arch/sh-dsp.s: Likewise.
+       * ld-sh/arch/sh.s: Likewise.
+       * ld-sh/arch/sh2.s: Likewise.
+       * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Likewise.
+       * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Likewise.
+       * ld-sh/arch/sh2a-nofpu.s: Likewise.
+       * ld-sh/arch/sh2a-or-sh3e.s: Likewise.
+       * ld-sh/arch/sh2a-or-sh4.s: Likewise.
+       * ld-sh/arch/sh2a.s: Likewise.
+       * ld-sh/arch/sh2e.s: Likewise.
+       * ld-sh/arch/sh3-dsp.s: Likewise.
+       * ld-sh/arch/sh3-nommu.s: Likewise.
+       * ld-sh/arch/sh3.s: Likewise.
+       * ld-sh/arch/sh3e.s: Likewise.
+       * ld-sh/arch/sh4-nofpu.s: Likewise.
+       * ld-sh/arch/sh4-nommu-nofpu.s: Likewise.
+       * ld-sh/arch/sh4.s: Likewise.
+       * ld-sh/arch/sh4a-nofpu.s: Likewise.
+       * ld-sh/arch/sh4a.s: Likewise.
+       * ld-sh/arch/sh4al-dsp.s: Likewise.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/extract-symbol-1sec.d: Expect to fail on the V850.
+
+2015-02-24  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/merge3.s, * ld-elf/merge3.d: New test.
+
+2015-02-24  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * ld-avr/region_overflow.d: New test.
+       * ld-avr/region_overflow.s: Likewise.
+
+2015-02-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4317
+       * ld-i386/compressed1.d: Use nm/readelf with "failif".
+       * ld-x86-64/compressed1.d: Likewise.
+       * ld-x86-64/pie1.d: Likewise.
+
+2015-02-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/4317
+       * ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d,
+       * ld-elf/ehdr_start-weak.d, * ld-elf/group1.d,
+       * ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d,
+       * ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd,
+       * ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
+       * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
+       * ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update.
+
+2015-02-17  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17975
+       * ld-aarch64/gc-tls-relocs.d, * ld-alpha/tlspic.rd,
+       * ld-cris/libdso-2.d, * ld-i386/tlsdesc-nacl.rd, * ld-i386/tlsdesc.rd,
+       * ld-i386/tlsnopic-nacl.rd, * ld-i386/tlsnopic.rd,
+       * ld-i386/tlspic-nacl.rd, * ld-i386/tlspic.rd, * ld-ia64/tlspic.rd,
+       * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
+       * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
+       * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd,
+       * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
+       * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
+       * ld-tic6x/shlib-1.rd, * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
+       * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-noindex.rd,
+       * ld-x86-64/tlsdesc-nacl.rd, * ld-x86-64/tlsdesc.rd,
+       * ld-x86-64/tlspic-nacl.rd, * ld-x86-64/tlspic.rd: Update.
+
+2015-02-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17975
+       * ld-i386/tlsbin-nacl.rd: Updated.
+       * ld-i386/tlsbin.rd: Likewise.
+       * ld-i386/tlsbindesc-nacl.rd: Likewise.
+       * ld-i386/tlsbindesc.rd: Likewise.
+       * ld-i386/tlsdesc-nacl.rd: Likewise.
+       * ld-i386/tlsdesc.rd: Likewise.
+       * ld-i386/tlsnopic-nacl.rd: Likewise.
+       * ld-i386/tlsnopic.rd: Likewise.
+       * ld-i386/tlspic-nacl.rd: Likewise.
+       * ld-i386/tlspic.rd: Likewise.
+       * ld-x86-64/tlsbin-nacl.rd: Likewise.
+       * ld-x86-64/tlsbin.rd: Likewise.
+       * ld-x86-64/tlsbindesc-nacl.rd: Likewise.
+       * ld-x86-64/tlsbindesc.rd: Likewise.
+       * ld-x86-64/tlsdesc-nacl.rd: Likewise.
+       * ld-x86-64/tlsdesc.rd: Likewise.
+       * ld-x86-64/tlspic-nacl.rd: Likewise.
+       * ld-x86-64/tlspic.rd: Likewise.
+       * ld-alpha/tlspic.rd: Likewise.
+       * ld-powerpc/tlsexe.r: Likewise.
+       * ld-powerpc/tlsexetoc.r: Likewise.
+       * ld-powerpc/tlsso.r: Likewise.
+       * ld-powerpc/tlstocso.r: Likewise.
+       * ld-s390/tlspic.rd: Likewise.
+       * ld-s390/tlspic_64.rd: Likewise.
+       * ld-sparc/gotop32.dd: Likewise.
+       * ld-sparc/gotop64.dd: Likewise.
+       * ld-sparc/tlssunnopic32.rd: Likewise.
+       * ld-sparc/tlssunnopic64.rd: Likewise.
+       * ld-sparc/tlssunpic32.rd: Likewise.
+       * ld-sparc/tlssunpic64.rd: Likewise.
+       * ld-tic6x/shlib-1.rd: Likewise.
+       * ld-tic6x/shlib-1b.rd: Likewise.
+       * ld-tic6x/shlib-1r.rd: Likewise.
+       * ld-tic6x/shlib-1rb.rd: Likewise.
+       * ld-tic6x/shlib-noindex.rd: Likewise.
+
+2015-02-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17973
+       * ld-plugin/plugin.exp (regassilent): New.
+       Compile tmpdir/dummy.s and ld-plugin/pr17973.s.
+       (plugin_tests): Add a test for PR ld/17973.
+       * ld-plugin/pr17973.d: New file.
+       * ld-plugin/pr17973.s: Likewise.
+
+2015-02-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-plugin/plugin-27.d: New.
+       * ld-plugin/plugin-28.d: Likewise.
+       * ld-plugin/plugin-29.d: Likewise.
+       * plugin.exp (plugin_tests): Add tests for LDPL_FATAL, LDPL_ERROR
+       and LDPL_WARNING.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * ld-plugin/func.c: Add some comments.
+       * ld-plugin/plugin-13.d: New file.
+       * ld-plugin/plugin-14.d: Likewise.
+       * ld-plugin/plugin-15.d: Likewise.
+       * ld-plugin/plugin-16.d: Likewise.
+       * ld-plugin/plugin-17.d: Likewise.
+       * ld-plugin/plugin-18.d: Likewise.
+       * ld-plugin/plugin-19.d: Likewise.
+       * ld-plugin/plugin-20.d: Likewise.
+       * ld-plugin/plugin-21.d: Likewise.
+       * ld-plugin/plugin-22.d: Likewise.
+       * ld-plugin/plugin-23.d: Likewise.
+       * ld-plugin/plugin-24.d: Likewise.
+       * ld-plugin/plugin-25.d: Likewise.
+       * ld-plugin/plugin-26.d: Likewise.
+       * ld-plugin/plugin.exp (plugin2_name): New.
+       (plugin3_name): Likewise.
+       (plugin2_path): Likewise.
+       (plugin3_path): Likewise.
+       (testsrcfiles): Likewise.
+       (testsrcfiles_notext): Likewise.
+       (plugin_tests): Add tests for non-object IR file.
+       (plugin_lib_tests): Likewise.
+       (plugin_extra_elf_tests): Likewise.
+       (plugin_src_tests): New tests for non-object IR file.
+       Run nm --plugin test.
+       Run ar --plugin test.
+       Run plugin_src_tests.
+
+2015-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17935
+       * ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
+       * ld-x86-64/x86-64.exp: Likewise.
+
+       * ld-i386/pr17935-1.d: New file.
+       * ld-i386/pr17935-1.s: Likewise.
+       * ld-i386/pr17935-2.d: Likewise.
+       * ld-i386/pr17935-2.s: Likewise.
+       * ld-x86-64/pr17935-1.d: Likewise.
+       * ld-x86-64/pr17935-1.s: Likewise.
+       * ld-x86-64/pr17935-2.d: Likewise.
+       * ld-x86-64/pr17935-2.s: Likewise.
+
+2015-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12365
+       PR ld/14272
+       * ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
+       * ld-plugin/plugin-7.d: Updated.
+       * ld-plugin/plugin-8.d: Likewise.
+
+2015-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       *  ld-plugin/lto.exp: Pass -flto-partition=none to the PR
+       ld/12365 test.
+
+2015-02-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12365
+       * ld-plugin/pr12365a.c: New file.
+       * ld-plugin/pr12365b.c: Likewise.
+       * ld-plugin/pr12365c.c: Likewise.
+
+       * ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
+       test.
+       Run the PR ld/12365 test.
+
+2015-02-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14918
+       * ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
+
+       * ld-plugin/pr14918.c: New file.
+       * ld-plugin/pr14918.d: Likewise.
+
+2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
+
+2015-01-29  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
+       * ld-powerpc/tlsld32.d, * ld-powerpc/tlsld32.s: New test.
+       * ld-powerpc/powerpc.exp: Run them.  Move tocvar and tocnovar.
+
+2015-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * ld-plugin/plugin-1.d: Add LDPT_GET_VIEW.
+       * ld-plugin/plugin-10.d: Likewise.
+       * ld-plugin/plugin-11.d: Likewise.
+       * ld-plugin/plugin-2.d: Likewise.
+       * ld-plugin/plugin-3.d: Likewise.
+       * ld-plugin/plugin-4.d: Likewise.
+       * ld-plugin/plugin-5.d: Likewise.
+       * ld-plugin/plugin-6.d: Likewise.
+       * ld-plugin/plugin-7.d: Likewise.
+       * ld-plugin/plugin-8.d: Likewise.
+       * ld-plugin/plugin-9.d: Likewise.
+
+2015-01-28  Jan Beulich  <jbeulich@suse.com>
+
+       * ld-elf/pr16322.s (p1): Rename to px1.
+       (f1): Rename to fx1.
+
+2015-01-28  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/tocvar.d, * ld-powerpc/tocvar.s: New test.
+       * ld-powerpc/tocnovar.d, * ld-powerpc/tocnovar.s: New test.
+       * ld-powerpc/powerpc.exp: Run tocvar and tocnovar.
+
+2015-01-28  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * ld-scripts/memory.t: Define new symbol tred.
+       * ld-scripts/memory_sym.t: New.
+       * ld-scripts/script.exp: Perform MEMORY with symbols test, and
+       conditionally check values of linker symbols.
+
+2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-scripts/provide-4-map.d: Update expected output.
+       * ld-scripts/provide-5-map.d: Likewise.
+
+2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-scripts/provide-4.d: New file.
+       * ld-scripts/provide-4-map.d: New file.
+       * ld-scripts/provide-4.t: New file.
+       * ld-scripts/provide-5.d: New file.
+       * ld-scripts/provide-5.s: New file.
+       * ld-scripts/provide-5-map.d: New file.
+       * ld-scripts/provide-5.t: New file.
+       * ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
+       tests.
+
+2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-scripts/overlay-size.d: Add 'map' option.
+       * ld-scripts/overlay-size.exp: Remove manual check of mapfile.
+       * lib/ld-lib.exp (run_dump_test): Add support for new 'map'
+       option, checking linker mapfile output.
+
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/ambiguousv1.d,
+       * ld-powerpc/ambiguousv1b.d,
+       * ld-powerpc/ambiguousv2.d,
+       * ld-powerpc/ambiguousv2b.d,
+       * ld-powerpc/elfv2exe.d,
+       * ld-powerpc/elfv2so.d,
+       * ld-powerpc/tlsexe.r,
+       * ld-powerpc/tlsexetoc.r,
+       * ld-powerpc/tlsso.r,
+       * ld-powerpc/tlstocso.r: Update.
+
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17615
+       * ld-elf/pr17615.d: Match .sbss too.
+
+2015-01-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17615
+       * ld-elf/pr17615.d: New file.
+       * ld-elf/pr17615.s: Likewise.
+
+2015-01-19  Alan Modra  <amodra@gmail.com>
+
+       * ld-gc/pr14265.d,
+       * ld-cris/tls-gc-68.d,
+       * ld-cris/tls-gc-69.d,
+       * ld-cris/tls-gc-70.d,
+       * ld-cris/tls-gc-71.d,
+       * ld-cris/tls-gc-75.d,
+       * ld-cris/tls-gc-76.d,
+       * ld-cris/tls-gc-79.d,
+       * ld-mmix/bpo-10.d,
+       * ld-mmix/bpo-11.d: Update.
+
+2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * ld-s390/tlsbin.dd: The nopr register operand is optional and not
+       printed if 0 anymore.
+
+2015-01-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17847
+       * ld-x86-64/pie1.d: New file.
+       * ld-x86-64/pie1.s: Likwise.
+       * ld-x86-64/x86-64.exp: Run pie1.
+
+2015-01-13  Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
+       * ld-aarch64/relocs-257-symbolic-func.d: New file.
+       * ld-aarch64/relocs-257-symbolic-func.s: Likewise.
+
+2015-01-13  Jiong Wang  <jiong.wang@arm.com>
+
+       * ld-aarch64/tprel_g2_overflow.s: New testcase.
+       * ld-aarch64/tprel_g2_overflow.d: New expectation file.
+       * ld-aarch64/aarch64-elf.exp: Run new testcase.
+
+2015-01-13  Jiong Wang  <jiong.wang@arm.com>
+
+       PR ld/17415
+       * ld-aarch64/pr17415.s: Source file for new test.
+       * ld-aarch64/pr17415.d: Expect file for new test.
+       * ld-aarch64/aarch64-elf.exp: Run the new test.
+
+2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17827
+       * ld-x86-64/pr17689.out: Updated.
+       * ld-x86-64/pr17689b.S: Likewise.
+
+       * ld-x86-64/pr17827.rd: New file.
+
+       * ld-x86-64/x86-64.exp: Run PR ld/17827 test.
+
+2015-01-08  Jan Beulich  <jbeulich@suse.com>
+
+       * ld-x86-64/pr14207.d: Adjust expecations to cover the
+       enable_initfini_array=no case.
+
+2015-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/ld-lib.exp (run_dump_test): Extend comment to mention
+       readelf.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
deleted file mode 100644 (file)
index e5f1202..0000000
+++ /dev/null
@@ -1,1185 +0,0 @@
-2015-12-31  Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
-           Andrew Burgess <andrew.burgess@embecosm.com>
-
-       * arc-tbl.h (dmb): Add a no operand version of dmb.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm-dis.c (arm_opcodes): Guard movw, movt cbz, cbnz, clrex, ldrex,
-       ldrexb, ldrexh, strex, strexb, strexh shared by ARMv6T2 and ARMv8-M by
-       ARM_EXT2_V6T2_V8M instead of ARM_EXT_V6T2.
-
-2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
-
-       * arm-dis.c (arm_opcodes): Guard lda, ldab, ldaex, ldaexb, ldaexh, stl,
-       stlb, stlh, stlex, stlexb and stlexh by ARM_EXT2_ATOMICS instead of
-       ARM_EXT_V8.
-       (thumb32_opcodes): Add entries for wide ARMv8-M instructions.
-
-2015-12-22  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * rx-decode.opc (movco): Use uniqe id.
-       (movli): Likewise.
-       (stnz): Condition fix.
-       (mvtacgu): Destination fix.
-       * rx-decode.c: Regenerate.
-
-2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * rx-deocde.opc: Add new instructions pattern.
-       * rx-deocde.c: Regenerate.
-       * rx-dis.c (register_name): Add new register.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_SSHIFT_H): New.
-       (aarch64_opcode_table): Add fp16 versions of scvtf, fcvtzs, ucvtf
-       and fcvtzu to the Adv.SIMD scalar shift by immediate group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_VSHIFT_H): New.
-       (aarch64_opcode_table): Add fp16 versions of scvtf, fcvtzs, ucvtf
-       and fcvtzu to the Adv.SIMD shift by immediate group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_SISD_PAIR_H): New.
-       (aarch64_opcode_table): Add fp16 versions of fmaxnmp, faddp,
-       fmaxp, fminnmp, fminp to the Adv.SIMD scalar pairwise group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.coM>
-
-       * aarch64-dis.c (get_vreg_qualifier_from_value): Update comment
-       and adjust calculation to ignore qualifier for type 2H.
-       * aarch64-opc.c (aarch64_opnd_qualifier): Add "2H".
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_SIMD_IMM_H): New.
-       (aarch64_opcode_table): Add fp16 version of fmov to the Adv.SIMD
-       modified immediate group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_XLANES_FP_H): New.
-       (aarch64_opcode_table): Add fp16 versions of fmaxnmv, fmaxv,
-       fminnmv, fminv to the Adv.SIMD across lanes group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (aarch64_opcode_table): Add fp16 versions of fmla,
-       fmls, fmul and fmulx to the scalar indexed element group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_ELEMENT_FP_H): New.
-       (aarch64_opcode_table): Add fp16 versions of fmla, fmls, fmul and
-       fmulx to the vector indexed element group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_SISD_FCMP_H_0): new.
-       (QL_S_2SAMEH): New.
-       (aarch64_opcode_table): Add fp16 versions of fcvtns, fcvtms,
-       fcvtas, scvtf, fcmgt, fcmeq, fcmlt, fcvtps, fcvtzs, frecpe,
-       frecpx, fcvtnu, fcvtmu, fcvtau, ucvtf, fcmge, fcmle, fcvtpu,
-       fcvtzu and frsqrte to the scalar two register misc. group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_V2SAMEH): New.
-       (aarch64_opcode_table): Add fp16 versions of frintn, frintm,
-       fcvtns, fcvtms, fcvtas, scvtf, fcmgt, fcmeq, fcmlt, fabs, frintp,
-       frintz, fcvtps, fcvtzs, frecpe, frinta, frintx, fcvtnu, fcvtmu,
-       fcvtau, ucvtf, fcmge, fcmle, fneg, frinti, fcvtpu, fcvtzu, frsqrte
-       and fsqrt to the vector register misc. group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (aarch64_opcode_table): Add fp16 versions of
-       fmulx, fcmeq, frecps, frsqrts, fcmge, facge, fabd, fcmgt and facgt
-       to the scalar three same group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_V3SAMEH): New.
-       (aarch64_opcode_table): Add fp16 versions of fmaxnm, fmla, fadd,
-       fmulx, fcmeq, fmax, frecps, fminnm, fmls, fsub, fmin, frsqrts,
-       fmaxnmp, faddp, fmul, fcmge, facge, fmaxp, fdiv, fminnmp, fabd,
-       fcmgt, facgt and fminp to the vector three same group.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-tbl.h (aarch64_feature_simd_f16): New.
-       (SIMD_F16): New.
-
-2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_reg_supported_p): Add mistakenly
-       removed statement.
-       (aarch64_pstatefield_supported_p): Move feature checks for AT
-       registers ..
-       (aarch64_sys_ins_reg_supported_p): .. to here.
-
-2015-12-12  Alan Modra  <amodra@gmail.com>
-
-       PR 19359
-       * ppc-opc.c (insert_fxm): Remove "ignored" from error message.
-       (powerpc_opcodes): Remove single-operand mfcr.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm.c (aarch64_ins_hint): New.
-       * aarch64-asm.h (aarch64_ins_hint): Declare.
-       * aarch64-dis.c (aarch64_ext_hint): New.
-       * aarch64-dis.h (aarch64_ext_hint): Declare.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-opc.c (aarch64_hint_options): New.
-       * aarch64-tbl.h (AARCH64_OPERANDS): Fix typos.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-gen.c (find_alias_opcode): Set max_num_aliases to 16.
-
-2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_reg): Add pbmlimitr_el1, pmbptr_el1,
-       pmbsr_el1, pmbidr_el1, pmscr_el1, pmsicr_el1, pmsirr_el1,
-       pmsfcr_el1, pmsevfr_el1, pmslatfr_el1, pmsidr_el1, pmscr_el2 and
-       pmscr_el2.
-       (aarch64_sys_reg_supported_p): Add architecture feature tests for
-       the new registers.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_regs_at): Add "s1e1rp" and "s1e1wp".
-       (aarch64_sys_ins_reg_supported_p): Add ARMv8.2 system register
-       feature test for "s1e1rp" and "s1e1wp".
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_regs_dc): Add "cvap".
-       (aarch64_sys_ins_reg_supported_p): New.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-dis.c (aarch64_ext_regrt_sysins): Replace use of has_xt
-       with aarch64_sys_ins_reg_has_xt.
-       (aarch64_ext_sysins_op): Likewise.
-       * aarch64-opc.c (operand_general_constraint_met_p): Likewise.
-       (F_HASXT): New.
-       (aarch64_sys_regs_ic): Update for changes to aarch64_sys_ins_reg.
-       (aarch64_sys_regs_dc): Likewise.
-       (aarch64_sys_regs_at): Likewise.
-       (aarch64_sys_regs_tlbi): Likewise.
-       (aarch64_sys_ins_reg_has_xt): New.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_regs): Add "uao".
-       (aarch64_sys_reg_supported_p): Add comment.  Add checks for "uao".
-       (aarch64_pstatefields): Add "uao".
-       (aarch64_pstatefield_supported_p): Add checks for "uao".
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_regs): Add "vsesr_el2", "erridr_el1",
-       "errselr_el1", "erxfr_el1", "erxctlr", "erxaddr_el1",
-       "erxmisc0_el1", "erxmisc1_el1", "disr_el1" and "vdisr_el2".
-       (aarch64_sys_reg_supported_p): Add architecture feature tests for
-       new registers.
-
-2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-tbl.h (aarch64_feature_ras): New.
-       (RAS): New.
-       (aarch64_opcode_table): Add "esb".
-
-2015-12-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (MOD_0F01_REG_5): New.
-       (RM_0F01_REG_5): Likewise.
-       (reg_table): Use MOD_0F01_REG_5.
-       (mod_table): Add MOD_0F01_REG_5.
-       (rm_table): Add RM_0F01_REG_5.
-       * i386-gen.c (cpu_flag_init): Add CPU_OSPKE_FLAGS.
-       (cpu_flags): Add CpuOSPKE.
-       * i386-opc.h (CpuOSPKE): New.
-       (i386_cpu_flags): Add cpuospke.
-       * i386-opc.tbl: Add rdpkru and wrpkru instructions.
-       * i386-init.h: Regenerated.
-       * i386-tbl.h: Likewise.
-
-2015-12-07  DJ Delorie  <dj@redhat.com>
-
-       * rl78-decode.opc: Enable MULU for all ISAs.
-       * rl78-decode.c: Regenerate.
-
-2015-12-07  Alan Modra  <amodra@gmail.com>
-
-       * ppc-opc.c (powerpc_opcodes): Sort power9 insns by
-       major opcode/xop.
-
-2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
-
-       * arc-dis.c (special_flag_p): Match full mnemonic.
-       * arc-opc.c (print_insn_arc): Check section size to read
-       appropriate number of bytes. Fix printing.
-       * arc-tbl.h: Fix instruction table. Allow clri/seti instruction without
-       arguments.
-
-2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
-
-       * arm-dis.c (arm_opcodes): <ldaexh>: Fix typo...
-       <ldah>: ... to this.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (QL_FIX2FP_H, QL_FP2FIX_H): New.
-       (QL_INT2FP_H, QL_FP2INT_H): New.
-       (QL_FP2_H, QL_FP3_H, QL_FP4_H): New
-       (QL_DST_H): New.
-       (QL_FCCMP_H): New.
-       (aarch64_opcode_table): Add 16-bit variants of scvt, ucvtf,
-       fcvtzs, fcvtzu, fcvtns, fcvtnu, scvtf, ucvtf, fcvtas, fcvtau,
-       fmov, fcvtpos, fcvtpu, fcvtms, fcvtmu, fcvtzs, fcvtzu, fccmp,
-       fccmpe, fcmp, fcmpe, fabs, fneg, fsqrt, frintn, frintp, frintm,
-       frintz, frinta, frintx, frinti, fmul, fdiv, fadd, fsub, fmax,
-       fmin, fmaxnm, fminnm, fnmul, fmadd, fmsub, fnmadd, fnmsub and
-       fcsel.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (half_conv_t): New.
-       (expand_fp_imm): Replace is_dp flag with the parameter size to
-       specify the number of bytes for the required expansion.  Treat
-       a 16-bit expansion like a 32-bit expansion.  Add check for an
-       unsupported size request.  Update comment.
-       (aarch64_print_operand): Update to support 16-bit floating point
-       values.  Update for changes to expand_fp_imm.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-tbl.h (aarch64_feature_fp_f16): New.
-       (FP_F16): New.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-tbl.h (aarchr64_opcode_table): Update "rev", add
-       "rev64".
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-asm.c (convert_bfc_to_bfm): New.
-       (convert_to_real): Add case for OP_BFC.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-dis.c: (convert_bfm_to_bfc): New.
-       (convert_to_alias): Add case for OP_BFC.
-       * aarch64-opc-2.c: Regenerate.
-       * aarch64-opc.c (operand_general_constraint_met_p): Weaken assert
-       to allow width operand in three-operand instructions.
-       * aarch64-tbl.h (QL_BF1): New.
-       (aarch64_feature_v8_2): New.
-       (ARMV8_2): New.
-       (aarch64_opcode_table): Add "bfc".
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-dis.c: Weaken assert.
-       * aarch64-gen.c: Include the instruction in the list of its
-       possible aliases.
-
-2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_regs): Add "id_aa64mmfr2_el1".
-       (aarch64_sys_reg_supported_p): Add ARMv8.2 system register
-       feature test.
-
-2015-11-23  Tristan Gingold  <gingold@adacore.com>
-
-       * arm-dis.c (print_insn): Also set is_thumb for Mach-O.
-
-2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (aarch64_sys_regs): Add spsr_el12, elr_el12,
-       sctlr_el12, cpacr_el12, ttbr1_el2, ttbr0_el12, ttbr1_el12,
-       tcr_el12, afsr0_el12, afsr1_el12, esr_el12, far_el12, mair_el12,
-       amair_el12, vbar_el12, contextidr_el2, contextidr_el12,
-       cntkctl_el12, cntp_tval_el02, cntp_ctl_el02, cntp_cval_el02,
-       cntv_tval_el02, cntv_ctl_el02, cntv_cval_el02, cnthv_tval_el2,
-       cnthv_ctl_el2, cnthv_cval_el2.
-       (aarch64_sys_reg_supported_p): Update for the new system
-       registers.
-
-2015-11-20  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/19224
-       * h8300-dis.c (bfd_h8_disassemble): Remove redundant if clause.
-
-2015-11-20  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: Updated simplified Chinese translation.
-
-2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (operand_general_constraint_met_p): Check validity
-       of MSR PAN immediate operand.
-
-2015-11-16  Nick Clifton  <nickc@redhat.com>
-
-       * rx-dis.c (condition_names): Replace always and never with
-       invalid, since the always/never conditions can never be legal.
-
-2015-11-13  Tristan Gingold  <gingold@adacore.com>
-
-       * configure: Regenerate.
-
-2015-11-11  Alan Modra  <amodra@gmail.com>
-           Peter Bergner <bergner@vnet.ibm.com>
-
-       * ppc-dis.c (ppc_opts): Add "power9" and "pwr9" entries.
-       Add PPC_OPCODE_VSX3 to the vsx entry.
-       (powerpc_init_dialect): Set default dialect to power9.
-       * ppc-opc.c (insert_dcmxs, extract_dcmxs, insert_dxd, extract_dxd,
-       insert_dxdn, extract_dxdn, insert_l0, extract_l0, insert_l1,
-       extract_l1 insert_xtq6, extract_xtq6): New static functions.
-       (insert_esync): Test for illegal L operand value.
-       (DCMX, DCMXS, DXD, NDXD, L0, L1, RC, FC, UIM6, X_R, RIC, PRS, XSQ6,
-       XTQ6, LRAND, IMM8, DQX, DQX_MASK, DX, DX_MASK, VXVAPS_MASK, VXVA,XVA,
-       XX2VA, XVARC, XBF_MASK, XX2UIM4_MASK, XX2BFD_MASK, XX2DCMXS_MASK,
-       XVA_MASK, XRLA_MASK, XBFRARB_MASK, XLRAND_MASK, POWER9, PPCVEC3,
-       PPCVSX3): New defines.
-       (powerpc_opcodes) <ps_cmpu0, ps_cmpo0, ps_cmpu1, ps_cmpo1, fcmpu,
-       fcmpo, ftdiv, ftsqrt>: Use XBF_MASK.
-       <mcrxr>: Use XBFRARB_MASK.
-       <addpcis, bcdcfn., bcdcfsq., bcdcfz., bcdcpsgn., bcdctn., bcdctsq.,
-       bcdctz., bcds., bcdsetsgn., bcdsr., bcdtrunc., bcdus., bcdutrunc.,
-       cmpeqb, cmprb, cnttzd, cnttzd., cnttzw, cnttzw., copy, copy_first,
-       cp_abort, darn, dtstsfi, dtstsfiq, extswsli, extswsli., ldat, ldmx,
-       lwat, lxsd, lxsibzx, lxsihzx, lxssp, lxv, lxvb16x, lxvh8x, lxvl, lxvll,
-       lxvwsx, lxvx, maddhd, maddhdu, maddld, mcrxrx, mfvsrld, modsd, modsw,
-       modud, moduw, msgsync, mtvsrdd, mtvsrws, paste, paste., paste_last,
-       rmieg, setb, slbieg, slbsync, stdat, stop, stwat, stxsd, stxsibx,
-       stxsihx, stxssp, stxv, stxvb16x, stxvh8x, stxvl, stxvll, stxvx,
-       subpcis, urfid, vbpermd, vclzlsbb, vcmpneb, vcmpneb., vcmpneh,
-       vcmpneh., vcmpnew, vcmpnew., vcmpnezb, vcmpnezb., vcmpnezh, vcmpnezh.,
-       vcmpnezw, vcmpnezw., vctzb, vctzd, vctzh, vctzlsbb, vctzw, vextractd,
-       vextractub, vextractuh, vextractuw, vextsb2d, vextsb2w, vextsh2d,
-       vextsh2w, vextsw2d, vextublx, vextubrx, vextuhlx, vextuhrx, vextuwlx,
-       vextuwrx, vinsertb, vinsertd, vinserth, vinsertw, vmul10cuq,
-       vmul10ecuq, vmul10euq, vmul10uq, vnegd, vnegw, vpermr, vprtybd,
-       vprtybq, vprtybw, vrldmi, vrldnm, vrlwmi, vrlwnm, vslv, vsrv, wait,
-       xsabsqp, xsaddqp, xsaddqpo, xscmpeqdp, xscmpexpdp, xscmpexpqp,
-       xscmpgedp, xscmpgtdp, xscmpnedp, xscmpoqp, xscmpuqp, xscpsgnqp,
-       xscvdphp, xscvdpqp, xscvhpdp, xscvqpdp, xscvqpdpo, xscvqpsdz,
-       xscvqpswz, xscvqpudz, xscvqpuwz, xscvsdqp, xscvudqp, xsdivqp,
-       xsdivqpo, xsiexpdp, xsiexpqp, xsmaddqp, xsmaddqpo, xsmaxcdp,
-       xsmaxjdp, xsmincdp, xsminjdp, xsmsubqp, xsmsubqpo, xsmulqp, xsmulqpo,
-       xsnabsqp, xsnegqp, xsnmaddqp, xsnmaddqpo, xsnmsubqp, xsnmsubqpo,
-       xsrqpi, xsrqpix, xsrqpxp, xssqrtqp, xssqrtqpo, xssubqp, xssubqpo,
-       xststdcdp, xststdcqp, xststdcsp, xsxexpdp, xsxexpqp, xsxsigdp,
-       xsxsigqp, xvcmpnedp, xvcmpnedp., xvcmpnesp, xvcmpnesp., xvcvhpsp,
-       xvcvsphp, xviexpdp, xviexpsp, xvtstdcdp, xvtstdcsp, xvxexpdp,
-       xvxexpsp, xvxsigdp, xvxsigsp, xxbrd, xxbrh, xxbrq, xxbrw, xxextractuw,
-       xxinsertw, xxperm, xxpermr, xxspltib>: New instructions.
-       <doze, nap, sleep, rvwinkle, waitasec, lxvx, stxvx>: Disable on POWER9.
-       <tlbiel, tlbie, sync, slbmfev, slbmfee>: Add additional operands.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * rx-decode.opc (rx_decode_opcode): Decode extra NOP
-       instructions.
-       * rx-decode.c: Regenerate.
-
-2015-11-02  Nick Clifton  <nickc@redhat.com>
-
-       * rx-decode.opc (rx_disp): If the displacement is zero, set the
-       type to RX_Operand_Zero_Indirect.
-       * rx-decode.c: Regenerate.
-       * rx-dis (print_insn): Handle RX_Operand_Zero_Indirect.
-
-2015-10-28  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64-dis.c (aarch64_decode_insn): Add one argument
-       noaliases_p.  Update comments.  Pass noaliases_p rather than
-       no_aliases to aarch64_opcode_decode.
-       (print_insn_aarch64_word): Pass no_aliases to
-       aarch64_decode_insn.
-
-2015-10-27  Vinay  <Vinay.G@kpit.com>
-
-       PR binutils/19159
-       * rl78-decode.opc (MOV): Added offset to DE register in index
-       addressing mode.
-       * rl78-decode.c: Regenerate.
-
-2015-10-27  Vinay Kumar  <vinay.g@kpit.com>
-
-       PR binutils/19158
-       * rl78-decode.opc: Add 's' print operator to instructions that
-       access system registers.
-       * rl78-decode.c: Regenerate.
-       * rl78-dis.c (print_insn_rl78_common): Decode all system
-       registers.
-
-2015-10-27  Vinay Kumar  <vinay.g@kpit.com>
-
-       PR binutils/19157
-       * rl78-decode.opc: Add 'a' print operator to mov instructions
-       using stack pointer plus index addressing.
-       * rl78-decode.c: Regenerate.
-
-2015-10-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * s390-opc.c: Fix comment.
-       * s390-opc.txt: Change instruction type for troo, trot, trto, and
-       trtt to RRF_U0RER since the second parameter does not need to be a
-       register pair.
-
-2015-10-08  Nick Clifton  <nickc@redhat.com>
-
-       * arc-dis.c (print_insn_arc): Initiallise insn array.
-
-2015-10-07  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64-dis.c (aarch64_ext_sysins_op): Access field
-       'name' rather than 'template'.
-       * aarch64-opc.c (aarch64_print_operand): Likewise.
-
-2015-10-07  Claudiu Zissulescu <claziss@synopsys.com>
-
-       * arc-dis.c: Revamped file for ARC support
-       * arc-dis.h: Likewise.
-       * arc-ext.c: Likewise.
-       * arc-ext.h: Likewise.
-       * arc-opc.c: Likewise.
-       * arc-fxi.h: New file.
-       * arc-regs.h: Likewise.
-       * arc-tbl.h: Likewise.
-
-2015-10-02  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64-dis.c (disas_aarch64_insn): Remove static.  Change
-       argument insn type to aarch64_insn.  Rename to ...
-       (aarch64_decode_insn): ... it.
-       (print_insn_aarch64_word): Caller updated.
-
-2015-10-02  Yao Qi  <yao.qi@linaro.org>
-
-       * aarch64-dis.c (disas_aarch64_insn): Remove argument PC.
-       (print_insn_aarch64_word): Caller updated.
-
-2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * s390-mkopc.c (main): Parse htm and vx flag.
-       * s390-opc.txt: Mark instructions from the hardware transactional
-       memory and vector facilities with the "htm"/"vx" flag.
-
-2015-09-28  Nick Clifton  <nickc@redhat.com>
-
-       * po/de.po: Updated German translation.
-
-2015-09-28  Tom Rix  <tom@bumblecow.com>
-
-       * ppc-opc.c (PPC500): Mark some opcodes as invalid
-
-2015-09-23  Nick Clifton  <nickc@redhat.com>
-
-       * bfin-dis.c (fmtconst): Remove unnecessary call to the abs
-       function.
-       * tic30-dis.c (print_branch): Likewise.
-       * cgen-asm.c (cgen_parse_signed_integer): Cast integer to signed
-       value before left shifting.
-       * fr30-ibld.c (fr30_cgen_extract_operand): Likewise.
-       * hppa-dis.c (print_insn_hppa): Likewise.
-       * mips-dis.c (mips_cp0sel_names_mipsr5900): Delete unused static
-       array.
-       * msp430-dis.c (msp430_singleoperand): Likewise.
-       (msp430_doubleoperand): Likewise.
-       (print_insn_msp430): Likewise.
-       * nds32-asm.c (parse_operand): Likewise.
-       * sh-opc.h (MASK): Likewise.
-       * v850-dis.c (get_operand_value): Likewise.
-
-2015-09-22  Nick Clifton  <nickc@redhat.com>
-
-       * rx-decode.opc (bwl): Use RX_Bad_Size.
-       (sbwl): Likewise.
-       (ubwl): Likewise.  Rename to ubw.
-       (uBWL): Rename to uBW.
-       Replace all references to uBWL with uBW.
-       * rx-decode.c: Regenerate.
-       * rx-dis.c (size_names): Add entry for RX_Bad_Size.
-       (opsize_names): Likewise.
-       (print_insn_rx): Detect and report RX_Bad_Size.
-
-2015-09-22  Anton Blanchard  <anton@samba.org>
-
-       * ppc-opc.c (powerpc_opcodes): Add mfdscr, mfctrl, mtdscr and mtctrl.
-
-2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * sparc-dis.c (print_insn_sparc): Handle the privileged register
-       %pmcdper.
-
-2015-08-24  Jan Stancek  <jstancek@redhat.com>
-
-       * i386-dis.c (print_insn): Fix decoding of three byte operands.
-
-2015-08-21  Alexander Fomin  <alexander.fomin@intel.com>
-
-       PR binutils/18257
-       * i386-dis.c: Use MOD_TABLE for most of mask instructions.
-       (MOD enum): Add MOD_VEX_W_0_0F41_P_0_LEN_1,
-       MOD_VEX_W_1_0F41_P_0_LEN_1, MOD_VEX_W_0_0F41_P_2_LEN_1,
-       MOD_VEX_W_1_0F41_P_2_LEN_1, MOD_VEX_W_0_0F42_P_0_LEN_1,
-       MOD_VEX_W_1_0F42_P_0_LEN_1, MOD_VEX_W_0_0F42_P_2_LEN_1,
-       MOD_VEX_W_1_0F42_P_2_LEN_1, MOD_VEX_W_0_0F44_P_0_LEN_1,
-       MOD_VEX_W_1_0F44_P_0_LEN_1, MOD_VEX_W_0_0F44_P_2_LEN_1,
-       MOD_VEX_W_1_0F44_P_2_LEN_1, MOD_VEX_W_0_0F45_P_0_LEN_1,
-       MOD_VEX_W_1_0F45_P_0_LEN_1, MOD_VEX_W_0_0F45_P_2_LEN_1,
-       MOD_VEX_W_1_0F45_P_2_LEN_1, MOD_VEX_W_0_0F46_P_0_LEN_1,
-       MOD_VEX_W_1_0F46_P_0_LEN_1, MOD_VEX_W_0_0F46_P_2_LEN_1,
-       MOD_VEX_W_1_0F46_P_2_LEN_1, MOD_VEX_W_0_0F47_P_0_LEN_1,
-       MOD_VEX_W_1_0F47_P_0_LEN_1, MOD_VEX_W_0_0F47_P_2_LEN_1,
-       MOD_VEX_W_1_0F47_P_2_LEN_1, MOD_VEX_W_0_0F4A_P_0_LEN_1,
-       MOD_VEX_W_1_0F4A_P_0_LEN_1, MOD_VEX_W_0_0F4A_P_2_LEN_1,
-       MOD_VEX_W_1_0F4A_P_2_LEN_1, MOD_VEX_W_0_0F4B_P_0_LEN_1,
-       MOD_VEX_W_1_0F4B_P_0_LEN_1, MOD_VEX_W_0_0F4B_P_2_LEN_1,
-       MOD_VEX_W_0_0F91_P_0_LEN_0, MOD_VEX_W_1_0F91_P_0_LEN_0,
-       MOD_VEX_W_0_0F91_P_2_LEN_0, MOD_VEX_W_1_0F91_P_2_LEN_0,
-       MOD_VEX_W_0_0F92_P_0_LEN_0, MOD_VEX_W_0_0F92_P_2_LEN_0,
-       MOD_VEX_W_0_0F92_P_3_LEN_0, MOD_VEX_W_1_0F92_P_3_LEN_0,
-       MOD_VEX_W_0_0F93_P_0_LEN_0, MOD_VEX_W_0_0F93_P_2_LEN_0,
-       MOD_VEX_W_0_0F93_P_3_LEN_0, MOD_VEX_W_1_0F93_P_3_LEN_0,
-       MOD_VEX_W_0_0F98_P_0_LEN_0, MOD_VEX_W_1_0F98_P_0_LEN_0,
-       MOD_VEX_W_0_0F98_P_2_LEN_0, MOD_VEX_W_1_0F98_P_2_LEN_0,
-       MOD_VEX_W_0_0F99_P_0_LEN_0, MOD_VEX_W_1_0F99_P_0_LEN_0,
-       MOD_VEX_W_0_0F99_P_2_LEN_0, MOD_VEX_W_1_0F99_P_2_LEN_0,
-       MOD_VEX_W_0_0F3A30_P_2_LEN_0, MOD_VEX_W_1_0F3A30_P_2_LEN_0,
-       MOD_VEX_W_0_0F3A31_P_2_LEN_0, MOD_VEX_W_1_0F3A31_P_2_LEN_0,
-       MOD_VEX_W_0_0F3A32_P_2_LEN_0, MOD_VEX_W_1_0F3A32_P_2_LEN_0,
-       MOD_VEX_W_0_0F3A33_P_2_LEN_0, MOD_VEX_W_1_0F3A33_P_2_LEN_0.
-       (vex_w_table): Replace terminals with MOD_TABLE entries for
-       most of mask instructions.
-
-2015-08-17  Alan Modra  <amodra@gmail.com>
-
-       * cgen.sh: Trim trailing space from cgen output.
-       * ia64-gen.c (print_dependency_table): Don't generate trailing space.
-       (print_dis_table): Likewise.
-       * opc2c.c (dump_lines): Likewise.
-       (orig_filename): Warning fix.
-       * ia64-asmtab.c: Regenerate.
-
-2015-08-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>
-
-       * arm-dis.c (print_insn_arm): Disassembling for all targets V6
-       and higher with ARM instruction set will now mark the 26-bit
-       versions of teq,tst,cmn and cmp as UNPREDICTABLE.
-       (arm_opcodes): Fix for unpredictable nop being recognized as a
-       teq.
-
-2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
-
-       * micromips-opc.c (micromips_opcodes): Re-order table so that move
-       based on 'or' is first.
-       * mips-opc.c (mips_builtin_opcodes): Ditto.
-
-2015-08-11  Nick Clifton  <nickc@redhat.com>
-
-       PR 18800
-       * aarch64-tbl.h (aarch64_opcode_table): Fix mask for SIMD EXT
-       instruction.
-
-2015-08-10  Robert Suchanek  <robert.suchanek@imgtec.com>
-
-       * mips-opc.c (mips_builtin_opcodes): Add "sigrie".
-
-2015-08-07  Amit Pawar <Amit.Pawar@amd.com>
-
-       * i386-gen.c: Remove CpuFMA4 from CPU_ZNVER1_FLAGS.
-       * i386-init.h: Regenerated.
-
-2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/13571
-       * i386-dis.c (MOD_0FC3): New.
-       (PREFIX_0FC3): Renamed to ...
-       (PREFIX_MOD_0_0FC3): This.
-       (dis386_twobyte): Replace PREFIX_0FC3 with MOD_0FC3.
-       (prefix_table): Replace Ma with Ev on movntiS.
-       (mod_table): Add MOD_0FC3.
-
-2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-23  Alan Modra  <amodra@gmail.com>
-
-       PR 18708
-       * i386-dis.c (get64): Avoid signed integer overflow.
-
-2015-07-22  Alexander Fomin  <alexander.fomin@intel.com>
-
-       PR binutils/18631
-       * i386-dis-evex.h (EVEX_W_0F78_P_2): Replace "EXxmmq" with
-       "EXEvexHalfBcstXmmq" for the second operand.
-       (EVEX_W_0F79_P_2): Likewise.
-       (EVEX_W_0F7A_P_2): Likewise.
-       (EVEX_W_0F7B_P_2): Likewise.
-
-2015-07-16  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
-
-       * arm-dis.c (print_insn_coprocessor): Added support for quarter
-       float bitfield format.
-       (coprocessor_opcodes): Changed VFP vmov reg,immediate to use new
-       quarter float bitfield format.
-
-2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2015-07-03  Alan Modra  <amodra@gmail.com>
-
-       * ppc-opc.c (PPC750, PPC7450, PPC860): Define using PPC_OPCODE_*.
-       * ppc-dis.c (ppc_opts): Add 821, 850 and 860 entries.  Add
-       PPC_OPCODE_7450 to 7450 entry.  Add PPC_OPCODE_750 to 750cl entry.
-
-2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
-           Cesar Philippidis  <cesar@codesourcery.com>
-
-       * nios2-dis.c (nios2_extract_opcode): New.
-       (nios2_disassembler_state): New.
-       (nios2_find_opcode_hash): Use mach parameter to select correct
-       disassembler state.
-       (nios2_print_insn_arg): Extend to support new R2 argument letters
-       and formats.
-       (print_insn_nios2): Check for 16-bit instruction at end of memory.
-       * nios2-opc.c (nios2_builtin_regs): Add R2 register attributes.
-       (NIOS2_NUM_OPCODES): Rename to...
-       (NIOS2_NUM_R1_OPCODES): This.
-       (nios2_r2_opcodes): New.
-       (NIOS2_NUM_R2_OPCODES): New.
-       (nios2_num_r2_opcodes): New.
-       (nios2_r2_asi_n_mappings, nios2_num_r2_asi_n_mappings): New.
-       (nios2_r2_shi_n_mappings, nios2_num_r2_shi_n_mappings): New.
-       (nios2_r2_andi_n_mappings, nios2_num_r2_andi_n_mappings): New.
-       (nios2_r2_reg3_mappings, nios2_num_r2_reg3_mappings): New.
-       (nios2_r2_reg_range_mappings, nios2_num_r2_reg_range_mappings): New.
-
-2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
-
-       * i386-dis.c (OP_Mwaitx): New.
-       (rm_table): Add monitorx/mwaitx.
-       * i386-gen.c (cpu_flag_init): Add CpuMWAITX to CPU_BDVER4_FLAGS
-       and CPU_ZNVER1_FLAGS.  Add CPU_MWAITX_FLAGS.
-       (operand_type_init): Add CpuMWAITX.
-       * i386-opc.h (CpuMWAITX): New.
-       (i386_cpu_flags): Add cpumwaitx.
-       * i386-opc.tbl: Add monitorx and mwaitx.
-       * i386-init.h: Regenerated.
-       * i386-tbl.h: Likewise.
-
-2015-06-22  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-opc.c (insert_ls): Test for invalid LS operands.
-       (insert_esync): New function.
-       (LS, WC): Use insert_ls.
-       (ESYNC): Use insert_esync.
-
-2015-06-22  Nick Clifton  <nickc@redhat.com>
-
-       * dis-buf.c (buffer_read_memory): Fail is stop_vma is set and the
-       requested region lies beyond it.
-       * bfin-dis.c (print_insn_bfin): Ignore sysop instructions when
-       looking for 32-bit insns.
-       * mcore-dis.c (print_insn_mcore): Disable stop_vma when reading
-       data.
-       * sh-dis.c (print_insn_sh): Likewise.
-       * tic6x-dis.c (print_insn_tic6x): Disable stop_vma when reading
-       blocks of instructions.
-       * vax-dis.c (print_insn_vax): Check that the requested address
-       does not clash with the stop_vma.
-
-2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-dis.h (skip_optional_operands): Use ppc_optional_operand_value.
-       * ppc-opc.c (FXM4): Add non-zero optional value.
-       (TBR): Likewise.
-       (SXL): Likewise.
-       (insert_fxm): Handle new default operand value.
-       (extract_fxm): Likewise.
-       (insert_tbr): Likewise.
-       (extract_tbr): Likewise.
-
-2015-06-16  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arch64-opc.c (aarch64_sys_regs): Add "id_mmfr4_el1".
-
-2015-06-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
-
-       * arm-dis.c (print_insn_coprocessor): Avoid negative shift.
-
-2015-06-12  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-opc.c: Add comment accidentally removed by old commit.
-       (MTMSRD_L): Delete.
-
-2015-06-04  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-opc.c: (powerpc_opcodes) <hwsync>: New extended mnemonic.
-
-2015-06-04  Nick Clifton  <nickc@redhat.com>
-
-       PR 18474
-       * msp430-dis.c (msp430_nooperands): Fix check for emulated insns.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm-dis.c (arm_opcodes): Add "setpan".
-       (thumb_opcodes): Add "setpan".
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * arm-dis.c (select_arm_features): Rework to avoid used of redefined
-       macros.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-tbl.h (aarch64_feature_rdma): New.
-       (RDMA): New.
-       (aarch64_opcode_table): Add "sqrmlah" and "sqrdmlsh" instructions.
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-
-2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-tbl.h (aarch64_feature_lor): New.
-       (LOR): New.
-       (aarch64_opdocde_table): Add "ldlar", "ldlarb", "ldlarh", "stllr",
-       "stllrb", "stllrh".
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Regenerate.
-       * aarch64-opc-2.c: Regenerate.
-
-2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
-
-       * aarch64-opc.c (F_ARCHEXT): New.
-       (aarch64_sys_regs): Add "pan".
-       (aarch64_sys_reg_supported_p): New.
-       (aarch64_pstatefields): Add "pan".
-       (aarch64_pstatefield_supported_p): New.
-
-2015-06-01  Jan Beulich  <jbeulich@suse.com>
-
-       * i386-tbl.h: Regenerate.
-
-2015-06-01  Jan Beulich  <jbeulich@suse.com>
-
-       * i386-dis.c (print_insn): Swap rounding mode specifier and
-       general purpose register in Intel mode.
-
-2015-06-01  Jan Beulich  <jbeulich@suse.com>
-
-       * i386-opc.tbl: New IntelSyntax entries for vcvt{,u}si2s{d,s}.
-       * i386-tbl.h: Regenerate.
-
-2015-05-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-opc.tbl: Remove Disp32 from AMD64 direct call/jmp.
-       * i386-init.h: Regenerated.
-
-2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * i386-dis.c: Add comments for '@'.
-       (x86_64_table): Use '@' on call/jmp for X86_64_E8/X86_64_E9.
-       (enum x86_64_isa): New.
-       (isa64): Likewise.
-       (print_i386_disassembler_options): Add amd64 and intel64.
-       (print_insn): Handle amd64 and intel64.
-       (putop): Handle '@'.
-       (OP_J): Don't ignore the operand size prefix for AMD64 in 64-bit.
-       * i386-gen.c (cpu_flags): Add CpuAMD64 and CpuIntel64.
-       * i386-opc.h (AMD64): New.
-       (CpuIntel64): Likewise.
-       (i386_cpu_flags): Add cpuamd64 and cpuintel64.
-       * i386-opc.tbl: Add direct call/jmp with Disp16|Disp32 for AMD64.
-       Mark direct call/jmp without Disp16|Disp32 as Intel64.
-       * i386-init.h: Regenerated.
-       * i386-tbl.h: Likewise.
-
-2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-opc.c (IH) New define.
-       (powerpc_opcodes) <wait>: Do not enable for POWER7.
-       <tlbie>: Add RS operand for POWER7.
-       <slbia>: Add IH operand for POWER6.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-opc.tbl (call): Remove Disp16|Disp32 from 64-bit
-       direct branch.
-       (jmp): Likewise.
-       * i386-tbl.h: Regenerated.
-
-2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.ac: Support bfd_iamcu_arch.
-       * disassemble.c (disassembler): Support bfd_iamcu_arch.
-       * i386-gen.c (cpu_flag_init): Add CPU_IAMCU_FLAGS and
-       CPU_IAMCU_COMPAT_FLAGS.
-       (cpu_flags): Add CpuIAMCU.
-       * i386-opc.h (CpuIAMCU): New.
-       (i386_cpu_flags): Add cpuiamcu.
-       * configure: Regenerated.
-       * i386-init.h: Likewise.
-       * i386-tbl.h: Likewise.
-
-2015-05-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutis/18386
-       * i386-dis.c (X86_64_E8): New.
-       (X86_64_E9): Likewise.
-       Update comments on 'T', 'U', 'V'.  Add comments for '^'.
-       (dis386): Replace callT/jmpT with X86_64_E8/X86_64_E9.
-       (x86_64_table): Add X86_64_E8 and X86_64_E9.
-       (mod_table): Replace {T|} with ^ on Jcall/Jmp.
-       (putop): Handle '^'.
-       (OP_J): Ignore the operand size prefix in 64-bit.  Don't check
-       REX_W.
-
-2015-04-30  DJ Delorie  <dj@redhat.com>
-
-       * disassemble.c (disassembler): Choose suitable disassembler based
-       on E_ABI.
-       * rl78-decode.opc (rl78_decode_opcode): Take ISA parameter.  Use
-       it to decode mul/div insns.
-       * rl78-decode.c: Regenerate.
-       * rl78-dis.c (print_insn_rl78): Rename to...
-       (print_insn_rl78_common): ...this, take ISA parameter.
-       (print_insn_rl78): New.
-       (print_insn_rl78_g10): New.
-       (print_insn_rl78_g13): New.
-       (print_insn_rl78_g14): New.
-       (rl78_get_disassembler): New.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: Updated French translation.
-
-2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-opc.c (DCBT_EO): New define.
-       (powerpc_opcodes) <lbarx>: Enable for POWER8 and later.
-       <lharx>: Likewise.
-       <stbcx.>: Likewise.
-       <sthcx.>: Likewise.
-       <waitrsv>: Do not enable for POWER7 and later.
-       <waitimpl>: Likewise.
-       <dcbt>: Default to the two operand form of the instruction for all
-       "old" cpus.  For "new" cpus, use the operand ordering that matches
-       whether the cpu is server or embedded.
-       <dcbtst>: Likewise.
-
-2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * s390-opc.c: New instruction type VV0UU2.
-       * s390-opc.txt: Fix instruction types for VFCE, VLDE, VFSQ, WFK,
-       and WFC.
-
-2015-04-23  Jan Beulich  <jbeulich@suse.com>
-
-       * i386-dis.c (putop): Extend "XY" handling to AVX512. Handle "XZ".
-       * i386-dis-evex.h.c (vcvtpd2ps, vcvtqq2ps, vcvttpd2udq,
-       vcvtpd2udq, vcvtuqq2ps, vcvttpd2dq, vcvtpd2dq): Add %XY.
-       (vfpclasspd, vfpclassps): Add %XZ.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (PREFIX_UD_SHIFT): Removed.
-       (PREFIX_UD_REPZ): Likewise.
-       (PREFIX_UD_REPNZ): Likewise.
-       (PREFIX_UD_DATA): Likewise.
-       (PREFIX_UD_ADDR): Likewise.
-       (PREFIX_UD_LOCK): Likewise.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (prefix_requirement): Removed.
-       (print_insn): Don't set prefix_requirement.  Check
-       dp->prefix_requirement instead of prefix_requirement.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/17898
-       * i386-dis.c (PREFIX_0FC7_REG_6): Renamed to ...
-       (PREFIX_MOD_0_0FC7_REG_6): This.
-       (PREFIX_MOD_3_0FC7_REG_6): New.
-       (PREFIX_MOD_3_0FC7_REG_7): Likewise.
-       (prefix_table): Replace PREFIX_0FC7_REG_6 with
-       PREFIX_MOD_0_0FC7_REG_6.  Add PREFIX_MOD_3_0FC7_REG_6 and
-       PREFIX_MOD_3_0FC7_REG_7.
-       (mod_table): Replace PREFIX_0FC7_REG_6 with
-       PREFIX_MOD_0_0FC7_REG_6.  Use PREFIX_MOD_3_0FC7_REG_6 and
-       PREFIX_MOD_3_0FC7_REG_7.
-
-2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (PREFIX_MANDATORY_REPZ): Removed.
-       (PREFIX_MANDATORY_REPNZ): Likewise.
-       (PREFIX_MANDATORY_DATA): Likewise.
-       (PREFIX_MANDATORY_ADDR): Likewise.
-       (PREFIX_MANDATORY_LOCK): Likewise.
-       (PREFIX_MANDATORY): Likewise.
-       (PREFIX_UD_SHIFT): Set to 8
-       (PREFIX_UD_REPZ): Updated.
-       (PREFIX_UD_REPNZ): Likewise.
-       (PREFIX_UD_DATA): Likewise.
-       (PREFIX_UD_ADDR): Likewise.
-       (PREFIX_UD_LOCK): Likewise.
-       (PREFIX_IGNORED_SHIFT): New.
-       (PREFIX_IGNORED_REPZ): Likewise.
-       (PREFIX_IGNORED_REPNZ): Likewise.
-       (PREFIX_IGNORED_DATA): Likewise.
-       (PREFIX_IGNORED_ADDR): Likewise.
-       (PREFIX_IGNORED_LOCK): Likewise.
-       (PREFIX_OPCODE): Likewise.
-       (PREFIX_IGNORED): Likewise.
-       (Bad_Opcode): Replace PREFIX_MANDATORY with 0.
-       (dis386_twobyte): Replace PREFIX_MANDATORY with PREFIX_OPCODE.
-       (three_byte_table): Likewise.
-       (mod_table): Likewise.
-       (mandatory_prefix): Renamed to ...
-       (prefix_requirement): This.
-       (prefix_table): Replace PREFIX_MANDATORY with PREFIX_OPCODE.
-       Update PREFIX_90 entry.
-       (get_valid_dis386): Check prefix_requirement to see if a prefix
-       should be ignored.
-       (print_insn): Replace mandatory_prefix with prefix_requirement.
-
-2015-04-15  Renlin Li  <renlin.li@arm.com>
-
-       * arm-dis.c (thumb32_opcodes): Define 'D' format control code,
-       use it for ssat and ssat16.
-       (print_insn_thumb32): Add handle case for 'D' control code.
-
-2015-04-06  Ilya Tocar  <ilya.tocar@intel.com>
-           H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis-evex.h (evex_table): Fill prefix_requirement field.
-       * i386-dis.c (PREFIX_MANDATORY_REPZ, PREFIX_MANDATORY_REPNZ,
-       PREFIX_MANDATORY_DATA, PREFIX_MANDATORY_ADDR, PREFIX_MANDATORY_LOCK,
-       PREFIX_UD_SHIFT, PREFIX_UD_REPZ, REFIX_UD_REPNZ, PREFIX_UD_DATA,
-       PREFIX_UD_ADDR, PREFIX_UD_LOCK, PREFIX_MANDATORY): Define.
-       (Bad_Opcode, FLOAT, DIS386, DIS386_PREFIX, THREE_BYTE_TABLE_PREFIX):
-       Fill prefix_requirement field.
-       (struct dis386): Add prefix_requirement field.
-       (dis386): Fill prefix_requirement field.
-       (dis386_twobyte): Ditto.
-       (twobyte_has_mandatory_prefix_: Remove.
-       (reg_table): Fill prefix_requirement field.
-       (prefix_table): Ditto.
-       (x86_64_table): Ditto.
-       (three_byte_table): Ditto.
-       (xop_table): Ditto.
-       (vex_table): Ditto.
-       (vex_len_table): Ditto.
-       (vex_w_table): Ditto.
-       (mod_table): Ditto.
-       (bad_opcode): Ditto.
-       (print_insn): Use prefix_requirement.
-       (FGRPd9_2, FGRPd9_4, FGRPd9_5, FGRPd9_6, FGRPd9_7, FGRPda_5, FGRPdb_4,
-       FGRPde_3, FGRPdf_4): Fill prefix_requirement field.
-       (float_reg): Ditto.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v-opc.c (d10v_reg_name_cnt): Convert old style prototype.
-
-2015-03-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.in: Regenerated.
-
-2015-03-25  Anton Blanchard  <anton@samba.org>
-
-       * ppc-dis.c (disassemble_init_powerpc): Only initialise
-       powerpc_opcd_indices and vle_opcd_indices once.
-
-2015-03-25  Anton Blanchard  <anton@samba.org>
-
-       * ppc-opc.c (powerpc_opcodes): Add slbfee.
-
-2015-03-24  Terry Guo  <terry.guo@arm.com>
-
-       * arm-dis.c (opcode32): Updated to use new arm feature struct.
-       (opcode16): Likewise.
-       (coprocessor_opcodes): Replace bit with feature struct.
-       (neon_opcodes): Likewise.
-       (arm_opcodes): Likewise.
-       (thumb_opcodes): Likewise.
-       (thumb32_opcodes): Likewise.
-       (print_insn_coprocessor): Likewise.
-       (print_insn_arm): Likewise.
-       (select_arm_features): Follow new feature struct.
-
-2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
-
-       * i386-dis.c (rm_table): Add clzero.
-       * i386-gen.c (cpu_flag_init): Add new CPU_ZNVER1_FLAGS.
-       Add CPU_CLZERO_FLAGS.
-       (cpu_flags): Add CpuCLZERO.
-       * i386-opc.h: Add CpuCLZERO.
-       * i386-opc.tbl: Add clzero.
-       * i386-init.h: Re-generated.
-       * i386-tbl.h: Re-generated.
-
-2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * mips-opc.c (decode_mips_operand): Fix constraint issues
-       with u and y operands.
-
-2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
-
-       * mips-opc.c (mips_builtin_opcodes): Add evp and dvp instructions.
-
-2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * s390-opc.c: Add new IBM z13 instructions.
-       * s390-opc.txt: Likewise.
-
-2015-03-10  Renlin Li  <renlin.li@arm.com>
-
-       * aarch64-tbl.h (aarch64_opcode_table): Remove strub, ldurb, ldursb,
-       stur, ldur, sturh, ldurh, ldursh, ldursw, prfum F_HAS_ALIAS flag and
-       related alias.
-       * aarch64-asm-2.c: Regenerate.
-       * aarch64-dis-2.c: Likewise.
-       * aarch64-opc-2.c: Likewise.
-
-2015-03-03  Jiong Wang  <jiong.wang@arm.com>
-
-       * arm-dis.c (arm_symbol_is_valid): Skip ARM private symbols.
-
-2015-02-25  Oleg Endo  <olegendo@gcc.gnu.org>
-
-       * sh-opc.h (clrs, sets): Mark as arch_sh3_nommu_up instead of
-       arch_sh_up.
-       (pref): Mark as arch_sh2a_nofpu_or_sh3_nommu_up instead of
-       arch_sh2a_nofpu_or_sh4_nommu_nofpu_up.
-
-2015-02-23  Vinay  <Vinay.G@kpit.com>
-
-       * rl78-decode.opc (MOV): Added space between two operands for
-       'mov' instruction in index addressing mode.
-       * rl78-decode.c: Regenerate.
-
-2015-02-19  Pedro Alves  <palves@redhat.com>
-
-       * microblaze-dis.h [__cplusplus]: Wrap in extern "C".
-
-2015-02-10  Pedro Alves  <palves@redhat.com>
-           Tom Tromey  <tromey@redhat.com>
-
-       * microblaze-opcm.h (or, and, xor): Rename to microblaze_or,
-       microblaze_and, microblaze_xor.
-       * microblaze-opc.h (opcodes): Adjust.
-
-2015-01-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * Makefile.am: Add FT32 files.
-       * configure.ac: Handle FT32.
-       * disassemble.c (disassembler): Call print_insn_ft32.
-       * ft32-dis.c: New file.
-       * ft32-opc.c: New file.
-       * Makefile.in: Regenerate.
-       * configure: Regenerate.
-       * po/POTFILES.in: Regenerate.
-
-2015-01-28 Kuan-Lin Chen <kuanlinchentw@gmail.com>
-
-       * nds32-asm.c (keyword_sr): Add new system registers.
-
-2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
-
-       * s390-dis.c (s390_extract_operand): Support vector register
-       operands.
-       (s390_print_insn_with_opcode): Support new operands types and add
-       new handling of optional operands.
-       * s390-mkopc.c (s390_opcode_mode_val, s390_opcode_cpu_val): Remove
-       and include opcode/s390.h instead.
-       (struct op_struct): New field `flags'.
-       (insertOpcode, insertExpandedMnemonic): New parameter `flags'.
-       (dumpTable): Dump flags.
-       (main): Parse flags from the s390-opc.txt file.  Add z13 as cpu
-       string.
-       * s390-opc.c: Add new operands types, instruction formats, and
-       instruction masks.
-       (s390_opformats): Add new formats for .insn.
-       * s390-opc.txt: Add new instructions.
-
-2015-01-01  Alan Modra  <amodra@gmail.com>
-
-       Update year range in copyright notice of all files.
-
-For older changes see ChangeLog-2014
-\f
-Copyright (C) 2015 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/opcodes/ChangeLog-2015 b/opcodes/ChangeLog-2015
new file mode 100644 (file)
index 0000000..e5f1202
--- /dev/null
@@ -0,0 +1,1185 @@
+2015-12-31  Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
+           Andrew Burgess <andrew.burgess@embecosm.com>
+
+       * arc-tbl.h (dmb): Add a no operand version of dmb.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm-dis.c (arm_opcodes): Guard movw, movt cbz, cbnz, clrex, ldrex,
+       ldrexb, ldrexh, strex, strexb, strexh shared by ARMv6T2 and ARMv8-M by
+       ARM_EXT2_V6T2_V8M instead of ARM_EXT_V6T2.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm-dis.c (arm_opcodes): Guard lda, ldab, ldaex, ldaexb, ldaexh, stl,
+       stlb, stlh, stlex, stlexb and stlexh by ARM_EXT2_ATOMICS instead of
+       ARM_EXT_V8.
+       (thumb32_opcodes): Add entries for wide ARMv8-M instructions.
+
+2015-12-22  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * rx-decode.opc (movco): Use uniqe id.
+       (movli): Likewise.
+       (stnz): Condition fix.
+       (mvtacgu): Destination fix.
+       * rx-decode.c: Regenerate.
+
+2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * rx-deocde.opc: Add new instructions pattern.
+       * rx-deocde.c: Regenerate.
+       * rx-dis.c (register_name): Add new register.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_SSHIFT_H): New.
+       (aarch64_opcode_table): Add fp16 versions of scvtf, fcvtzs, ucvtf
+       and fcvtzu to the Adv.SIMD scalar shift by immediate group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_VSHIFT_H): New.
+       (aarch64_opcode_table): Add fp16 versions of scvtf, fcvtzs, ucvtf
+       and fcvtzu to the Adv.SIMD shift by immediate group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_SISD_PAIR_H): New.
+       (aarch64_opcode_table): Add fp16 versions of fmaxnmp, faddp,
+       fmaxp, fminnmp, fminp to the Adv.SIMD scalar pairwise group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.coM>
+
+       * aarch64-dis.c (get_vreg_qualifier_from_value): Update comment
+       and adjust calculation to ignore qualifier for type 2H.
+       * aarch64-opc.c (aarch64_opnd_qualifier): Add "2H".
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_SIMD_IMM_H): New.
+       (aarch64_opcode_table): Add fp16 version of fmov to the Adv.SIMD
+       modified immediate group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_XLANES_FP_H): New.
+       (aarch64_opcode_table): Add fp16 versions of fmaxnmv, fmaxv,
+       fminnmv, fminv to the Adv.SIMD across lanes group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (aarch64_opcode_table): Add fp16 versions of fmla,
+       fmls, fmul and fmulx to the scalar indexed element group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_ELEMENT_FP_H): New.
+       (aarch64_opcode_table): Add fp16 versions of fmla, fmls, fmul and
+       fmulx to the vector indexed element group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_SISD_FCMP_H_0): new.
+       (QL_S_2SAMEH): New.
+       (aarch64_opcode_table): Add fp16 versions of fcvtns, fcvtms,
+       fcvtas, scvtf, fcmgt, fcmeq, fcmlt, fcvtps, fcvtzs, frecpe,
+       frecpx, fcvtnu, fcvtmu, fcvtau, ucvtf, fcmge, fcmle, fcvtpu,
+       fcvtzu and frsqrte to the scalar two register misc. group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_V2SAMEH): New.
+       (aarch64_opcode_table): Add fp16 versions of frintn, frintm,
+       fcvtns, fcvtms, fcvtas, scvtf, fcmgt, fcmeq, fcmlt, fabs, frintp,
+       frintz, fcvtps, fcvtzs, frecpe, frinta, frintx, fcvtnu, fcvtmu,
+       fcvtau, ucvtf, fcmge, fcmle, fneg, frinti, fcvtpu, fcvtzu, frsqrte
+       and fsqrt to the vector register misc. group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (aarch64_opcode_table): Add fp16 versions of
+       fmulx, fcmeq, frecps, frsqrts, fcmge, facge, fabd, fcmgt and facgt
+       to the scalar three same group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_V3SAMEH): New.
+       (aarch64_opcode_table): Add fp16 versions of fmaxnm, fmla, fadd,
+       fmulx, fcmeq, fmax, frecps, fminnm, fmls, fsub, fmin, frsqrts,
+       fmaxnmp, faddp, fmul, fcmge, facge, fmaxp, fdiv, fminnmp, fabd,
+       fcmgt, facgt and fminp to the vector three same group.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-tbl.h (aarch64_feature_simd_f16): New.
+       (SIMD_F16): New.
+
+2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_reg_supported_p): Add mistakenly
+       removed statement.
+       (aarch64_pstatefield_supported_p): Move feature checks for AT
+       registers ..
+       (aarch64_sys_ins_reg_supported_p): .. to here.
+
+2015-12-12  Alan Modra  <amodra@gmail.com>
+
+       PR 19359
+       * ppc-opc.c (insert_fxm): Remove "ignored" from error message.
+       (powerpc_opcodes): Remove single-operand mfcr.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm.c (aarch64_ins_hint): New.
+       * aarch64-asm.h (aarch64_ins_hint): Declare.
+       * aarch64-dis.c (aarch64_ext_hint): New.
+       * aarch64-dis.h (aarch64_ext_hint): Declare.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-opc.c (aarch64_hint_options): New.
+       * aarch64-tbl.h (AARCH64_OPERANDS): Fix typos.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-gen.c (find_alias_opcode): Set max_num_aliases to 16.
+
+2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_reg): Add pbmlimitr_el1, pmbptr_el1,
+       pmbsr_el1, pmbidr_el1, pmscr_el1, pmsicr_el1, pmsirr_el1,
+       pmsfcr_el1, pmsevfr_el1, pmslatfr_el1, pmsidr_el1, pmscr_el2 and
+       pmscr_el2.
+       (aarch64_sys_reg_supported_p): Add architecture feature tests for
+       the new registers.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_regs_at): Add "s1e1rp" and "s1e1wp".
+       (aarch64_sys_ins_reg_supported_p): Add ARMv8.2 system register
+       feature test for "s1e1rp" and "s1e1wp".
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_regs_dc): Add "cvap".
+       (aarch64_sys_ins_reg_supported_p): New.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-dis.c (aarch64_ext_regrt_sysins): Replace use of has_xt
+       with aarch64_sys_ins_reg_has_xt.
+       (aarch64_ext_sysins_op): Likewise.
+       * aarch64-opc.c (operand_general_constraint_met_p): Likewise.
+       (F_HASXT): New.
+       (aarch64_sys_regs_ic): Update for changes to aarch64_sys_ins_reg.
+       (aarch64_sys_regs_dc): Likewise.
+       (aarch64_sys_regs_at): Likewise.
+       (aarch64_sys_regs_tlbi): Likewise.
+       (aarch64_sys_ins_reg_has_xt): New.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_regs): Add "uao".
+       (aarch64_sys_reg_supported_p): Add comment.  Add checks for "uao".
+       (aarch64_pstatefields): Add "uao".
+       (aarch64_pstatefield_supported_p): Add checks for "uao".
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_regs): Add "vsesr_el2", "erridr_el1",
+       "errselr_el1", "erxfr_el1", "erxctlr", "erxaddr_el1",
+       "erxmisc0_el1", "erxmisc1_el1", "disr_el1" and "vdisr_el2".
+       (aarch64_sys_reg_supported_p): Add architecture feature tests for
+       new registers.
+
+2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-tbl.h (aarch64_feature_ras): New.
+       (RAS): New.
+       (aarch64_opcode_table): Add "esb".
+
+2015-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (MOD_0F01_REG_5): New.
+       (RM_0F01_REG_5): Likewise.
+       (reg_table): Use MOD_0F01_REG_5.
+       (mod_table): Add MOD_0F01_REG_5.
+       (rm_table): Add RM_0F01_REG_5.
+       * i386-gen.c (cpu_flag_init): Add CPU_OSPKE_FLAGS.
+       (cpu_flags): Add CpuOSPKE.
+       * i386-opc.h (CpuOSPKE): New.
+       (i386_cpu_flags): Add cpuospke.
+       * i386-opc.tbl: Add rdpkru and wrpkru instructions.
+       * i386-init.h: Regenerated.
+       * i386-tbl.h: Likewise.
+
+2015-12-07  DJ Delorie  <dj@redhat.com>
+
+       * rl78-decode.opc: Enable MULU for all ISAs.
+       * rl78-decode.c: Regenerate.
+
+2015-12-07  Alan Modra  <amodra@gmail.com>
+
+       * ppc-opc.c (powerpc_opcodes): Sort power9 insns by
+       major opcode/xop.
+
+2015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * arc-dis.c (special_flag_p): Match full mnemonic.
+       * arc-opc.c (print_insn_arc): Check section size to read
+       appropriate number of bytes. Fix printing.
+       * arc-tbl.h: Fix instruction table. Allow clri/seti instruction without
+       arguments.
+
+2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * arm-dis.c (arm_opcodes): <ldaexh>: Fix typo...
+       <ldah>: ... to this.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (QL_FIX2FP_H, QL_FP2FIX_H): New.
+       (QL_INT2FP_H, QL_FP2INT_H): New.
+       (QL_FP2_H, QL_FP3_H, QL_FP4_H): New
+       (QL_DST_H): New.
+       (QL_FCCMP_H): New.
+       (aarch64_opcode_table): Add 16-bit variants of scvt, ucvtf,
+       fcvtzs, fcvtzu, fcvtns, fcvtnu, scvtf, ucvtf, fcvtas, fcvtau,
+       fmov, fcvtpos, fcvtpu, fcvtms, fcvtmu, fcvtzs, fcvtzu, fccmp,
+       fccmpe, fcmp, fcmpe, fabs, fneg, fsqrt, frintn, frintp, frintm,
+       frintz, frinta, frintx, frinti, fmul, fdiv, fadd, fsub, fmax,
+       fmin, fmaxnm, fminnm, fnmul, fmadd, fmsub, fnmadd, fnmsub and
+       fcsel.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (half_conv_t): New.
+       (expand_fp_imm): Replace is_dp flag with the parameter size to
+       specify the number of bytes for the required expansion.  Treat
+       a 16-bit expansion like a 32-bit expansion.  Add check for an
+       unsupported size request.  Update comment.
+       (aarch64_print_operand): Update to support 16-bit floating point
+       values.  Update for changes to expand_fp_imm.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-tbl.h (aarch64_feature_fp_f16): New.
+       (FP_F16): New.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-tbl.h (aarchr64_opcode_table): Update "rev", add
+       "rev64".
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-asm.c (convert_bfc_to_bfm): New.
+       (convert_to_real): Add case for OP_BFC.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-dis.c: (convert_bfm_to_bfc): New.
+       (convert_to_alias): Add case for OP_BFC.
+       * aarch64-opc-2.c: Regenerate.
+       * aarch64-opc.c (operand_general_constraint_met_p): Weaken assert
+       to allow width operand in three-operand instructions.
+       * aarch64-tbl.h (QL_BF1): New.
+       (aarch64_feature_v8_2): New.
+       (ARMV8_2): New.
+       (aarch64_opcode_table): Add "bfc".
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-dis.c: Weaken assert.
+       * aarch64-gen.c: Include the instruction in the list of its
+       possible aliases.
+
+2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_regs): Add "id_aa64mmfr2_el1".
+       (aarch64_sys_reg_supported_p): Add ARMv8.2 system register
+       feature test.
+
+2015-11-23  Tristan Gingold  <gingold@adacore.com>
+
+       * arm-dis.c (print_insn): Also set is_thumb for Mach-O.
+
+2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (aarch64_sys_regs): Add spsr_el12, elr_el12,
+       sctlr_el12, cpacr_el12, ttbr1_el2, ttbr0_el12, ttbr1_el12,
+       tcr_el12, afsr0_el12, afsr1_el12, esr_el12, far_el12, mair_el12,
+       amair_el12, vbar_el12, contextidr_el2, contextidr_el12,
+       cntkctl_el12, cntp_tval_el02, cntp_ctl_el02, cntp_cval_el02,
+       cntv_tval_el02, cntv_ctl_el02, cntv_cval_el02, cnthv_tval_el2,
+       cnthv_ctl_el2, cnthv_cval_el2.
+       (aarch64_sys_reg_supported_p): Update for the new system
+       registers.
+
+2015-11-20  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/19224
+       * h8300-dis.c (bfd_h8_disassemble): Remove redundant if clause.
+
+2015-11-20  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated simplified Chinese translation.
+
+2015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (operand_general_constraint_met_p): Check validity
+       of MSR PAN immediate operand.
+
+2015-11-16  Nick Clifton  <nickc@redhat.com>
+
+       * rx-dis.c (condition_names): Replace always and never with
+       invalid, since the always/never conditions can never be legal.
+
+2015-11-13  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2015-11-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner <bergner@vnet.ibm.com>
+
+       * ppc-dis.c (ppc_opts): Add "power9" and "pwr9" entries.
+       Add PPC_OPCODE_VSX3 to the vsx entry.
+       (powerpc_init_dialect): Set default dialect to power9.
+       * ppc-opc.c (insert_dcmxs, extract_dcmxs, insert_dxd, extract_dxd,
+       insert_dxdn, extract_dxdn, insert_l0, extract_l0, insert_l1,
+       extract_l1 insert_xtq6, extract_xtq6): New static functions.
+       (insert_esync): Test for illegal L operand value.
+       (DCMX, DCMXS, DXD, NDXD, L0, L1, RC, FC, UIM6, X_R, RIC, PRS, XSQ6,
+       XTQ6, LRAND, IMM8, DQX, DQX_MASK, DX, DX_MASK, VXVAPS_MASK, VXVA,XVA,
+       XX2VA, XVARC, XBF_MASK, XX2UIM4_MASK, XX2BFD_MASK, XX2DCMXS_MASK,
+       XVA_MASK, XRLA_MASK, XBFRARB_MASK, XLRAND_MASK, POWER9, PPCVEC3,
+       PPCVSX3): New defines.
+       (powerpc_opcodes) <ps_cmpu0, ps_cmpo0, ps_cmpu1, ps_cmpo1, fcmpu,
+       fcmpo, ftdiv, ftsqrt>: Use XBF_MASK.
+       <mcrxr>: Use XBFRARB_MASK.
+       <addpcis, bcdcfn., bcdcfsq., bcdcfz., bcdcpsgn., bcdctn., bcdctsq.,
+       bcdctz., bcds., bcdsetsgn., bcdsr., bcdtrunc., bcdus., bcdutrunc.,
+       cmpeqb, cmprb, cnttzd, cnttzd., cnttzw, cnttzw., copy, copy_first,
+       cp_abort, darn, dtstsfi, dtstsfiq, extswsli, extswsli., ldat, ldmx,
+       lwat, lxsd, lxsibzx, lxsihzx, lxssp, lxv, lxvb16x, lxvh8x, lxvl, lxvll,
+       lxvwsx, lxvx, maddhd, maddhdu, maddld, mcrxrx, mfvsrld, modsd, modsw,
+       modud, moduw, msgsync, mtvsrdd, mtvsrws, paste, paste., paste_last,
+       rmieg, setb, slbieg, slbsync, stdat, stop, stwat, stxsd, stxsibx,
+       stxsihx, stxssp, stxv, stxvb16x, stxvh8x, stxvl, stxvll, stxvx,
+       subpcis, urfid, vbpermd, vclzlsbb, vcmpneb, vcmpneb., vcmpneh,
+       vcmpneh., vcmpnew, vcmpnew., vcmpnezb, vcmpnezb., vcmpnezh, vcmpnezh.,
+       vcmpnezw, vcmpnezw., vctzb, vctzd, vctzh, vctzlsbb, vctzw, vextractd,
+       vextractub, vextractuh, vextractuw, vextsb2d, vextsb2w, vextsh2d,
+       vextsh2w, vextsw2d, vextublx, vextubrx, vextuhlx, vextuhrx, vextuwlx,
+       vextuwrx, vinsertb, vinsertd, vinserth, vinsertw, vmul10cuq,
+       vmul10ecuq, vmul10euq, vmul10uq, vnegd, vnegw, vpermr, vprtybd,
+       vprtybq, vprtybw, vrldmi, vrldnm, vrlwmi, vrlwnm, vslv, vsrv, wait,
+       xsabsqp, xsaddqp, xsaddqpo, xscmpeqdp, xscmpexpdp, xscmpexpqp,
+       xscmpgedp, xscmpgtdp, xscmpnedp, xscmpoqp, xscmpuqp, xscpsgnqp,
+       xscvdphp, xscvdpqp, xscvhpdp, xscvqpdp, xscvqpdpo, xscvqpsdz,
+       xscvqpswz, xscvqpudz, xscvqpuwz, xscvsdqp, xscvudqp, xsdivqp,
+       xsdivqpo, xsiexpdp, xsiexpqp, xsmaddqp, xsmaddqpo, xsmaxcdp,
+       xsmaxjdp, xsmincdp, xsminjdp, xsmsubqp, xsmsubqpo, xsmulqp, xsmulqpo,
+       xsnabsqp, xsnegqp, xsnmaddqp, xsnmaddqpo, xsnmsubqp, xsnmsubqpo,
+       xsrqpi, xsrqpix, xsrqpxp, xssqrtqp, xssqrtqpo, xssubqp, xssubqpo,
+       xststdcdp, xststdcqp, xststdcsp, xsxexpdp, xsxexpqp, xsxsigdp,
+       xsxsigqp, xvcmpnedp, xvcmpnedp., xvcmpnesp, xvcmpnesp., xvcvhpsp,
+       xvcvsphp, xviexpdp, xviexpsp, xvtstdcdp, xvtstdcsp, xvxexpdp,
+       xvxexpsp, xvxsigdp, xvxsigsp, xxbrd, xxbrh, xxbrq, xxbrw, xxextractuw,
+       xxinsertw, xxperm, xxpermr, xxspltib>: New instructions.
+       <doze, nap, sleep, rvwinkle, waitasec, lxvx, stxvx>: Disable on POWER9.
+       <tlbiel, tlbie, sync, slbmfev, slbmfee>: Add additional operands.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * rx-decode.opc (rx_decode_opcode): Decode extra NOP
+       instructions.
+       * rx-decode.c: Regenerate.
+
+2015-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * rx-decode.opc (rx_disp): If the displacement is zero, set the
+       type to RX_Operand_Zero_Indirect.
+       * rx-decode.c: Regenerate.
+       * rx-dis (print_insn): Handle RX_Operand_Zero_Indirect.
+
+2015-10-28  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-dis.c (aarch64_decode_insn): Add one argument
+       noaliases_p.  Update comments.  Pass noaliases_p rather than
+       no_aliases to aarch64_opcode_decode.
+       (print_insn_aarch64_word): Pass no_aliases to
+       aarch64_decode_insn.
+
+2015-10-27  Vinay  <Vinay.G@kpit.com>
+
+       PR binutils/19159
+       * rl78-decode.opc (MOV): Added offset to DE register in index
+       addressing mode.
+       * rl78-decode.c: Regenerate.
+
+2015-10-27  Vinay Kumar  <vinay.g@kpit.com>
+
+       PR binutils/19158
+       * rl78-decode.opc: Add 's' print operator to instructions that
+       access system registers.
+       * rl78-decode.c: Regenerate.
+       * rl78-dis.c (print_insn_rl78_common): Decode all system
+       registers.
+
+2015-10-27  Vinay Kumar  <vinay.g@kpit.com>
+
+       PR binutils/19157
+       * rl78-decode.opc: Add 'a' print operator to mov instructions
+       using stack pointer plus index addressing.
+       * rl78-decode.c: Regenerate.
+
+2015-10-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390-opc.c: Fix comment.
+       * s390-opc.txt: Change instruction type for troo, trot, trto, and
+       trtt to RRF_U0RER since the second parameter does not need to be a
+       register pair.
+
+2015-10-08  Nick Clifton  <nickc@redhat.com>
+
+       * arc-dis.c (print_insn_arc): Initiallise insn array.
+
+2015-10-07  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-dis.c (aarch64_ext_sysins_op): Access field
+       'name' rather than 'template'.
+       * aarch64-opc.c (aarch64_print_operand): Likewise.
+
+2015-10-07  Claudiu Zissulescu <claziss@synopsys.com>
+
+       * arc-dis.c: Revamped file for ARC support
+       * arc-dis.h: Likewise.
+       * arc-ext.c: Likewise.
+       * arc-ext.h: Likewise.
+       * arc-opc.c: Likewise.
+       * arc-fxi.h: New file.
+       * arc-regs.h: Likewise.
+       * arc-tbl.h: Likewise.
+
+2015-10-02  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-dis.c (disas_aarch64_insn): Remove static.  Change
+       argument insn type to aarch64_insn.  Rename to ...
+       (aarch64_decode_insn): ... it.
+       (print_insn_aarch64_word): Caller updated.
+
+2015-10-02  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-dis.c (disas_aarch64_insn): Remove argument PC.
+       (print_insn_aarch64_word): Caller updated.
+
+2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * s390-mkopc.c (main): Parse htm and vx flag.
+       * s390-opc.txt: Mark instructions from the hardware transactional
+       memory and vector facilities with the "htm"/"vx" flag.
+
+2015-09-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/de.po: Updated German translation.
+
+2015-09-28  Tom Rix  <tom@bumblecow.com>
+
+       * ppc-opc.c (PPC500): Mark some opcodes as invalid
+
+2015-09-23  Nick Clifton  <nickc@redhat.com>
+
+       * bfin-dis.c (fmtconst): Remove unnecessary call to the abs
+       function.
+       * tic30-dis.c (print_branch): Likewise.
+       * cgen-asm.c (cgen_parse_signed_integer): Cast integer to signed
+       value before left shifting.
+       * fr30-ibld.c (fr30_cgen_extract_operand): Likewise.
+       * hppa-dis.c (print_insn_hppa): Likewise.
+       * mips-dis.c (mips_cp0sel_names_mipsr5900): Delete unused static
+       array.
+       * msp430-dis.c (msp430_singleoperand): Likewise.
+       (msp430_doubleoperand): Likewise.
+       (print_insn_msp430): Likewise.
+       * nds32-asm.c (parse_operand): Likewise.
+       * sh-opc.h (MASK): Likewise.
+       * v850-dis.c (get_operand_value): Likewise.
+
+2015-09-22  Nick Clifton  <nickc@redhat.com>
+
+       * rx-decode.opc (bwl): Use RX_Bad_Size.
+       (sbwl): Likewise.
+       (ubwl): Likewise.  Rename to ubw.
+       (uBWL): Rename to uBW.
+       Replace all references to uBWL with uBW.
+       * rx-decode.c: Regenerate.
+       * rx-dis.c (size_names): Add entry for RX_Bad_Size.
+       (opsize_names): Likewise.
+       (print_insn_rx): Detect and report RX_Bad_Size.
+
+2015-09-22  Anton Blanchard  <anton@samba.org>
+
+       * ppc-opc.c (powerpc_opcodes): Add mfdscr, mfctrl, mtdscr and mtctrl.
+
+2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc-dis.c (print_insn_sparc): Handle the privileged register
+       %pmcdper.
+
+2015-08-24  Jan Stancek  <jstancek@redhat.com>
+
+       * i386-dis.c (print_insn): Fix decoding of three byte operands.
+
+2015-08-21  Alexander Fomin  <alexander.fomin@intel.com>
+
+       PR binutils/18257
+       * i386-dis.c: Use MOD_TABLE for most of mask instructions.
+       (MOD enum): Add MOD_VEX_W_0_0F41_P_0_LEN_1,
+       MOD_VEX_W_1_0F41_P_0_LEN_1, MOD_VEX_W_0_0F41_P_2_LEN_1,
+       MOD_VEX_W_1_0F41_P_2_LEN_1, MOD_VEX_W_0_0F42_P_0_LEN_1,
+       MOD_VEX_W_1_0F42_P_0_LEN_1, MOD_VEX_W_0_0F42_P_2_LEN_1,
+       MOD_VEX_W_1_0F42_P_2_LEN_1, MOD_VEX_W_0_0F44_P_0_LEN_1,
+       MOD_VEX_W_1_0F44_P_0_LEN_1, MOD_VEX_W_0_0F44_P_2_LEN_1,
+       MOD_VEX_W_1_0F44_P_2_LEN_1, MOD_VEX_W_0_0F45_P_0_LEN_1,
+       MOD_VEX_W_1_0F45_P_0_LEN_1, MOD_VEX_W_0_0F45_P_2_LEN_1,
+       MOD_VEX_W_1_0F45_P_2_LEN_1, MOD_VEX_W_0_0F46_P_0_LEN_1,
+       MOD_VEX_W_1_0F46_P_0_LEN_1, MOD_VEX_W_0_0F46_P_2_LEN_1,
+       MOD_VEX_W_1_0F46_P_2_LEN_1, MOD_VEX_W_0_0F47_P_0_LEN_1,
+       MOD_VEX_W_1_0F47_P_0_LEN_1, MOD_VEX_W_0_0F47_P_2_LEN_1,
+       MOD_VEX_W_1_0F47_P_2_LEN_1, MOD_VEX_W_0_0F4A_P_0_LEN_1,
+       MOD_VEX_W_1_0F4A_P_0_LEN_1, MOD_VEX_W_0_0F4A_P_2_LEN_1,
+       MOD_VEX_W_1_0F4A_P_2_LEN_1, MOD_VEX_W_0_0F4B_P_0_LEN_1,
+       MOD_VEX_W_1_0F4B_P_0_LEN_1, MOD_VEX_W_0_0F4B_P_2_LEN_1,
+       MOD_VEX_W_0_0F91_P_0_LEN_0, MOD_VEX_W_1_0F91_P_0_LEN_0,
+       MOD_VEX_W_0_0F91_P_2_LEN_0, MOD_VEX_W_1_0F91_P_2_LEN_0,
+       MOD_VEX_W_0_0F92_P_0_LEN_0, MOD_VEX_W_0_0F92_P_2_LEN_0,
+       MOD_VEX_W_0_0F92_P_3_LEN_0, MOD_VEX_W_1_0F92_P_3_LEN_0,
+       MOD_VEX_W_0_0F93_P_0_LEN_0, MOD_VEX_W_0_0F93_P_2_LEN_0,
+       MOD_VEX_W_0_0F93_P_3_LEN_0, MOD_VEX_W_1_0F93_P_3_LEN_0,
+       MOD_VEX_W_0_0F98_P_0_LEN_0, MOD_VEX_W_1_0F98_P_0_LEN_0,
+       MOD_VEX_W_0_0F98_P_2_LEN_0, MOD_VEX_W_1_0F98_P_2_LEN_0,
+       MOD_VEX_W_0_0F99_P_0_LEN_0, MOD_VEX_W_1_0F99_P_0_LEN_0,
+       MOD_VEX_W_0_0F99_P_2_LEN_0, MOD_VEX_W_1_0F99_P_2_LEN_0,
+       MOD_VEX_W_0_0F3A30_P_2_LEN_0, MOD_VEX_W_1_0F3A30_P_2_LEN_0,
+       MOD_VEX_W_0_0F3A31_P_2_LEN_0, MOD_VEX_W_1_0F3A31_P_2_LEN_0,
+       MOD_VEX_W_0_0F3A32_P_2_LEN_0, MOD_VEX_W_1_0F3A32_P_2_LEN_0,
+       MOD_VEX_W_0_0F3A33_P_2_LEN_0, MOD_VEX_W_1_0F3A33_P_2_LEN_0.
+       (vex_w_table): Replace terminals with MOD_TABLE entries for
+       most of mask instructions.
+
+2015-08-17  Alan Modra  <amodra@gmail.com>
+
+       * cgen.sh: Trim trailing space from cgen output.
+       * ia64-gen.c (print_dependency_table): Don't generate trailing space.
+       (print_dis_table): Likewise.
+       * opc2c.c (dump_lines): Likewise.
+       (orig_filename): Warning fix.
+       * ia64-asmtab.c: Regenerate.
+
+2015-08-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * arm-dis.c (print_insn_arm): Disassembling for all targets V6
+       and higher with ARM instruction set will now mark the 26-bit
+       versions of teq,tst,cmn and cmp as UNPREDICTABLE.
+       (arm_opcodes): Fix for unpredictable nop being recognized as a
+       teq.
+
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * micromips-opc.c (micromips_opcodes): Re-order table so that move
+       based on 'or' is first.
+       * mips-opc.c (mips_builtin_opcodes): Ditto.
+
+2015-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 18800
+       * aarch64-tbl.h (aarch64_opcode_table): Fix mask for SIMD EXT
+       instruction.
+
+2015-08-10  Robert Suchanek  <robert.suchanek@imgtec.com>
+
+       * mips-opc.c (mips_builtin_opcodes): Add "sigrie".
+
+2015-08-07  Amit Pawar <Amit.Pawar@amd.com>
+
+       * i386-gen.c: Remove CpuFMA4 from CPU_ZNVER1_FLAGS.
+       * i386-init.h: Regenerated.
+
+2015-07-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/13571
+       * i386-dis.c (MOD_0FC3): New.
+       (PREFIX_0FC3): Renamed to ...
+       (PREFIX_MOD_0_0FC3): This.
+       (dis386_twobyte): Replace PREFIX_0FC3 with MOD_0FC3.
+       (prefix_table): Replace Ma with Ev on movntiS.
+       (mod_table): Add MOD_0FC3.
+
+2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-23  Alan Modra  <amodra@gmail.com>
+
+       PR 18708
+       * i386-dis.c (get64): Avoid signed integer overflow.
+
+2015-07-22  Alexander Fomin  <alexander.fomin@intel.com>
+
+       PR binutils/18631
+       * i386-dis-evex.h (EVEX_W_0F78_P_2): Replace "EXxmmq" with
+       "EXEvexHalfBcstXmmq" for the second operand.
+       (EVEX_W_0F79_P_2): Likewise.
+       (EVEX_W_0F7A_P_2): Likewise.
+       (EVEX_W_0F7B_P_2): Likewise.
+
+2015-07-16  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
+
+       * arm-dis.c (print_insn_coprocessor): Added support for quarter
+       float bitfield format.
+       (coprocessor_opcodes): Changed VFP vmov reg,immediate to use new
+       quarter float bitfield format.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-07-03  Alan Modra  <amodra@gmail.com>
+
+       * ppc-opc.c (PPC750, PPC7450, PPC860): Define using PPC_OPCODE_*.
+       * ppc-dis.c (ppc_opts): Add 821, 850 and 860 entries.  Add
+       PPC_OPCODE_7450 to 7450 entry.  Add PPC_OPCODE_750 to 750cl entry.
+
+2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+
+       * nios2-dis.c (nios2_extract_opcode): New.
+       (nios2_disassembler_state): New.
+       (nios2_find_opcode_hash): Use mach parameter to select correct
+       disassembler state.
+       (nios2_print_insn_arg): Extend to support new R2 argument letters
+       and formats.
+       (print_insn_nios2): Check for 16-bit instruction at end of memory.
+       * nios2-opc.c (nios2_builtin_regs): Add R2 register attributes.
+       (NIOS2_NUM_OPCODES): Rename to...
+       (NIOS2_NUM_R1_OPCODES): This.
+       (nios2_r2_opcodes): New.
+       (NIOS2_NUM_R2_OPCODES): New.
+       (nios2_num_r2_opcodes): New.
+       (nios2_r2_asi_n_mappings, nios2_num_r2_asi_n_mappings): New.
+       (nios2_r2_shi_n_mappings, nios2_num_r2_shi_n_mappings): New.
+       (nios2_r2_andi_n_mappings, nios2_num_r2_andi_n_mappings): New.
+       (nios2_r2_reg3_mappings, nios2_num_r2_reg3_mappings): New.
+       (nios2_r2_reg_range_mappings, nios2_num_r2_reg_range_mappings): New.
+
+2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
+
+       * i386-dis.c (OP_Mwaitx): New.
+       (rm_table): Add monitorx/mwaitx.
+       * i386-gen.c (cpu_flag_init): Add CpuMWAITX to CPU_BDVER4_FLAGS
+       and CPU_ZNVER1_FLAGS.  Add CPU_MWAITX_FLAGS.
+       (operand_type_init): Add CpuMWAITX.
+       * i386-opc.h (CpuMWAITX): New.
+       (i386_cpu_flags): Add cpumwaitx.
+       * i386-opc.tbl: Add monitorx and mwaitx.
+       * i386-init.h: Regenerated.
+       * i386-tbl.h: Likewise.
+
+2015-06-22  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-opc.c (insert_ls): Test for invalid LS operands.
+       (insert_esync): New function.
+       (LS, WC): Use insert_ls.
+       (ESYNC): Use insert_esync.
+
+2015-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * dis-buf.c (buffer_read_memory): Fail is stop_vma is set and the
+       requested region lies beyond it.
+       * bfin-dis.c (print_insn_bfin): Ignore sysop instructions when
+       looking for 32-bit insns.
+       * mcore-dis.c (print_insn_mcore): Disable stop_vma when reading
+       data.
+       * sh-dis.c (print_insn_sh): Likewise.
+       * tic6x-dis.c (print_insn_tic6x): Disable stop_vma when reading
+       blocks of instructions.
+       * vax-dis.c (print_insn_vax): Check that the requested address
+       does not clash with the stop_vma.
+
+2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-dis.h (skip_optional_operands): Use ppc_optional_operand_value.
+       * ppc-opc.c (FXM4): Add non-zero optional value.
+       (TBR): Likewise.
+       (SXL): Likewise.
+       (insert_fxm): Handle new default operand value.
+       (extract_fxm): Likewise.
+       (insert_tbr): Likewise.
+       (extract_tbr): Likewise.
+
+2015-06-16  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arch64-opc.c (aarch64_sys_regs): Add "id_mmfr4_el1".
+
+2015-06-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * arm-dis.c (print_insn_coprocessor): Avoid negative shift.
+
+2015-06-12  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-opc.c: Add comment accidentally removed by old commit.
+       (MTMSRD_L): Delete.
+
+2015-06-04  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-opc.c: (powerpc_opcodes) <hwsync>: New extended mnemonic.
+
+2015-06-04  Nick Clifton  <nickc@redhat.com>
+
+       PR 18474
+       * msp430-dis.c (msp430_nooperands): Fix check for emulated insns.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm-dis.c (arm_opcodes): Add "setpan".
+       (thumb_opcodes): Add "setpan".
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * arm-dis.c (select_arm_features): Rework to avoid used of redefined
+       macros.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-tbl.h (aarch64_feature_rdma): New.
+       (RDMA): New.
+       (aarch64_opcode_table): Add "sqrmlah" and "sqrdmlsh" instructions.
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+
+2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-tbl.h (aarch64_feature_lor): New.
+       (LOR): New.
+       (aarch64_opdocde_table): Add "ldlar", "ldlarb", "ldlarh", "stllr",
+       "stllrb", "stllrh".
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Regenerate.
+       * aarch64-opc-2.c: Regenerate.
+
+2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64-opc.c (F_ARCHEXT): New.
+       (aarch64_sys_regs): Add "pan".
+       (aarch64_sys_reg_supported_p): New.
+       (aarch64_pstatefields): Add "pan".
+       (aarch64_pstatefield_supported_p): New.
+
+2015-06-01  Jan Beulich  <jbeulich@suse.com>
+
+       * i386-tbl.h: Regenerate.
+
+2015-06-01  Jan Beulich  <jbeulich@suse.com>
+
+       * i386-dis.c (print_insn): Swap rounding mode specifier and
+       general purpose register in Intel mode.
+
+2015-06-01  Jan Beulich  <jbeulich@suse.com>
+
+       * i386-opc.tbl: New IntelSyntax entries for vcvt{,u}si2s{d,s}.
+       * i386-tbl.h: Regenerate.
+
+2015-05-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-opc.tbl: Remove Disp32 from AMD64 direct call/jmp.
+       * i386-init.h: Regenerated.
+
+2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * i386-dis.c: Add comments for '@'.
+       (x86_64_table): Use '@' on call/jmp for X86_64_E8/X86_64_E9.
+       (enum x86_64_isa): New.
+       (isa64): Likewise.
+       (print_i386_disassembler_options): Add amd64 and intel64.
+       (print_insn): Handle amd64 and intel64.
+       (putop): Handle '@'.
+       (OP_J): Don't ignore the operand size prefix for AMD64 in 64-bit.
+       * i386-gen.c (cpu_flags): Add CpuAMD64 and CpuIntel64.
+       * i386-opc.h (AMD64): New.
+       (CpuIntel64): Likewise.
+       (i386_cpu_flags): Add cpuamd64 and cpuintel64.
+       * i386-opc.tbl: Add direct call/jmp with Disp16|Disp32 for AMD64.
+       Mark direct call/jmp without Disp16|Disp32 as Intel64.
+       * i386-init.h: Regenerated.
+       * i386-tbl.h: Likewise.
+
+2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-opc.c (IH) New define.
+       (powerpc_opcodes) <wait>: Do not enable for POWER7.
+       <tlbie>: Add RS operand for POWER7.
+       <slbia>: Add IH operand for POWER6.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-opc.tbl (call): Remove Disp16|Disp32 from 64-bit
+       direct branch.
+       (jmp): Likewise.
+       * i386-tbl.h: Regenerated.
+
+2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Support bfd_iamcu_arch.
+       * disassemble.c (disassembler): Support bfd_iamcu_arch.
+       * i386-gen.c (cpu_flag_init): Add CPU_IAMCU_FLAGS and
+       CPU_IAMCU_COMPAT_FLAGS.
+       (cpu_flags): Add CpuIAMCU.
+       * i386-opc.h (CpuIAMCU): New.
+       (i386_cpu_flags): Add cpuiamcu.
+       * configure: Regenerated.
+       * i386-init.h: Likewise.
+       * i386-tbl.h: Likewise.
+
+2015-05-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * i386-dis.c (X86_64_E8): New.
+       (X86_64_E9): Likewise.
+       Update comments on 'T', 'U', 'V'.  Add comments for '^'.
+       (dis386): Replace callT/jmpT with X86_64_E8/X86_64_E9.
+       (x86_64_table): Add X86_64_E8 and X86_64_E9.
+       (mod_table): Replace {T|} with ^ on Jcall/Jmp.
+       (putop): Handle '^'.
+       (OP_J): Ignore the operand size prefix in 64-bit.  Don't check
+       REX_W.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * disassemble.c (disassembler): Choose suitable disassembler based
+       on E_ABI.
+       * rl78-decode.opc (rl78_decode_opcode): Take ISA parameter.  Use
+       it to decode mul/div insns.
+       * rl78-decode.c: Regenerate.
+       * rl78-dis.c (print_insn_rl78): Rename to...
+       (print_insn_rl78_common): ...this, take ISA parameter.
+       (print_insn_rl78): New.
+       (print_insn_rl78_g10): New.
+       (print_insn_rl78_g13): New.
+       (print_insn_rl78_g14): New.
+       (rl78_get_disassembler): New.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-opc.c (DCBT_EO): New define.
+       (powerpc_opcodes) <lbarx>: Enable for POWER8 and later.
+       <lharx>: Likewise.
+       <stbcx.>: Likewise.
+       <sthcx.>: Likewise.
+       <waitrsv>: Do not enable for POWER7 and later.
+       <waitimpl>: Likewise.
+       <dcbt>: Default to the two operand form of the instruction for all
+       "old" cpus.  For "new" cpus, use the operand ordering that matches
+       whether the cpu is server or embedded.
+       <dcbtst>: Likewise.
+
+2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390-opc.c: New instruction type VV0UU2.
+       * s390-opc.txt: Fix instruction types for VFCE, VLDE, VFSQ, WFK,
+       and WFC.
+
+2015-04-23  Jan Beulich  <jbeulich@suse.com>
+
+       * i386-dis.c (putop): Extend "XY" handling to AVX512. Handle "XZ".
+       * i386-dis-evex.h.c (vcvtpd2ps, vcvtqq2ps, vcvttpd2udq,
+       vcvtpd2udq, vcvtuqq2ps, vcvttpd2dq, vcvtpd2dq): Add %XY.
+       (vfpclasspd, vfpclassps): Add %XZ.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (PREFIX_UD_SHIFT): Removed.
+       (PREFIX_UD_REPZ): Likewise.
+       (PREFIX_UD_REPNZ): Likewise.
+       (PREFIX_UD_DATA): Likewise.
+       (PREFIX_UD_ADDR): Likewise.
+       (PREFIX_UD_LOCK): Likewise.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (prefix_requirement): Removed.
+       (print_insn): Don't set prefix_requirement.  Check
+       dp->prefix_requirement instead of prefix_requirement.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/17898
+       * i386-dis.c (PREFIX_0FC7_REG_6): Renamed to ...
+       (PREFIX_MOD_0_0FC7_REG_6): This.
+       (PREFIX_MOD_3_0FC7_REG_6): New.
+       (PREFIX_MOD_3_0FC7_REG_7): Likewise.
+       (prefix_table): Replace PREFIX_0FC7_REG_6 with
+       PREFIX_MOD_0_0FC7_REG_6.  Add PREFIX_MOD_3_0FC7_REG_6 and
+       PREFIX_MOD_3_0FC7_REG_7.
+       (mod_table): Replace PREFIX_0FC7_REG_6 with
+       PREFIX_MOD_0_0FC7_REG_6.  Use PREFIX_MOD_3_0FC7_REG_6 and
+       PREFIX_MOD_3_0FC7_REG_7.
+
+2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (PREFIX_MANDATORY_REPZ): Removed.
+       (PREFIX_MANDATORY_REPNZ): Likewise.
+       (PREFIX_MANDATORY_DATA): Likewise.
+       (PREFIX_MANDATORY_ADDR): Likewise.
+       (PREFIX_MANDATORY_LOCK): Likewise.
+       (PREFIX_MANDATORY): Likewise.
+       (PREFIX_UD_SHIFT): Set to 8
+       (PREFIX_UD_REPZ): Updated.
+       (PREFIX_UD_REPNZ): Likewise.
+       (PREFIX_UD_DATA): Likewise.
+       (PREFIX_UD_ADDR): Likewise.
+       (PREFIX_UD_LOCK): Likewise.
+       (PREFIX_IGNORED_SHIFT): New.
+       (PREFIX_IGNORED_REPZ): Likewise.
+       (PREFIX_IGNORED_REPNZ): Likewise.
+       (PREFIX_IGNORED_DATA): Likewise.
+       (PREFIX_IGNORED_ADDR): Likewise.
+       (PREFIX_IGNORED_LOCK): Likewise.
+       (PREFIX_OPCODE): Likewise.
+       (PREFIX_IGNORED): Likewise.
+       (Bad_Opcode): Replace PREFIX_MANDATORY with 0.
+       (dis386_twobyte): Replace PREFIX_MANDATORY with PREFIX_OPCODE.
+       (three_byte_table): Likewise.
+       (mod_table): Likewise.
+       (mandatory_prefix): Renamed to ...
+       (prefix_requirement): This.
+       (prefix_table): Replace PREFIX_MANDATORY with PREFIX_OPCODE.
+       Update PREFIX_90 entry.
+       (get_valid_dis386): Check prefix_requirement to see if a prefix
+       should be ignored.
+       (print_insn): Replace mandatory_prefix with prefix_requirement.
+
+2015-04-15  Renlin Li  <renlin.li@arm.com>
+
+       * arm-dis.c (thumb32_opcodes): Define 'D' format control code,
+       use it for ssat and ssat16.
+       (print_insn_thumb32): Add handle case for 'D' control code.
+
+2015-04-06  Ilya Tocar  <ilya.tocar@intel.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis-evex.h (evex_table): Fill prefix_requirement field.
+       * i386-dis.c (PREFIX_MANDATORY_REPZ, PREFIX_MANDATORY_REPNZ,
+       PREFIX_MANDATORY_DATA, PREFIX_MANDATORY_ADDR, PREFIX_MANDATORY_LOCK,
+       PREFIX_UD_SHIFT, PREFIX_UD_REPZ, REFIX_UD_REPNZ, PREFIX_UD_DATA,
+       PREFIX_UD_ADDR, PREFIX_UD_LOCK, PREFIX_MANDATORY): Define.
+       (Bad_Opcode, FLOAT, DIS386, DIS386_PREFIX, THREE_BYTE_TABLE_PREFIX):
+       Fill prefix_requirement field.
+       (struct dis386): Add prefix_requirement field.
+       (dis386): Fill prefix_requirement field.
+       (dis386_twobyte): Ditto.
+       (twobyte_has_mandatory_prefix_: Remove.
+       (reg_table): Fill prefix_requirement field.
+       (prefix_table): Ditto.
+       (x86_64_table): Ditto.
+       (three_byte_table): Ditto.
+       (xop_table): Ditto.
+       (vex_table): Ditto.
+       (vex_len_table): Ditto.
+       (vex_w_table): Ditto.
+       (mod_table): Ditto.
+       (bad_opcode): Ditto.
+       (print_insn): Use prefix_requirement.
+       (FGRPd9_2, FGRPd9_4, FGRPd9_5, FGRPd9_6, FGRPd9_7, FGRPda_5, FGRPdb_4,
+       FGRPde_3, FGRPdf_4): Fill prefix_requirement field.
+       (float_reg): Ditto.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v-opc.c (d10v_reg_name_cnt): Convert old style prototype.
+
+2015-03-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in: Regenerated.
+
+2015-03-25  Anton Blanchard  <anton@samba.org>
+
+       * ppc-dis.c (disassemble_init_powerpc): Only initialise
+       powerpc_opcd_indices and vle_opcd_indices once.
+
+2015-03-25  Anton Blanchard  <anton@samba.org>
+
+       * ppc-opc.c (powerpc_opcodes): Add slbfee.
+
+2015-03-24  Terry Guo  <terry.guo@arm.com>
+
+       * arm-dis.c (opcode32): Updated to use new arm feature struct.
+       (opcode16): Likewise.
+       (coprocessor_opcodes): Replace bit with feature struct.
+       (neon_opcodes): Likewise.
+       (arm_opcodes): Likewise.
+       (thumb_opcodes): Likewise.
+       (thumb32_opcodes): Likewise.
+       (print_insn_coprocessor): Likewise.
+       (print_insn_arm): Likewise.
+       (select_arm_features): Follow new feature struct.
+
+2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
+
+       * i386-dis.c (rm_table): Add clzero.
+       * i386-gen.c (cpu_flag_init): Add new CPU_ZNVER1_FLAGS.
+       Add CPU_CLZERO_FLAGS.
+       (cpu_flags): Add CpuCLZERO.
+       * i386-opc.h: Add CpuCLZERO.
+       * i386-opc.tbl: Add clzero.
+       * i386-init.h: Re-generated.
+       * i386-tbl.h: Re-generated.
+
+2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * mips-opc.c (decode_mips_operand): Fix constraint issues
+       with u and y operands.
+
+2015-03-13  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * mips-opc.c (mips_builtin_opcodes): Add evp and dvp instructions.
+
+2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390-opc.c: Add new IBM z13 instructions.
+       * s390-opc.txt: Likewise.
+
+2015-03-10  Renlin Li  <renlin.li@arm.com>
+
+       * aarch64-tbl.h (aarch64_opcode_table): Remove strub, ldurb, ldursb,
+       stur, ldur, sturh, ldurh, ldursh, ldursw, prfum F_HAS_ALIAS flag and
+       related alias.
+       * aarch64-asm-2.c: Regenerate.
+       * aarch64-dis-2.c: Likewise.
+       * aarch64-opc-2.c: Likewise.
+
+2015-03-03  Jiong Wang  <jiong.wang@arm.com>
+
+       * arm-dis.c (arm_symbol_is_valid): Skip ARM private symbols.
+
+2015-02-25  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * sh-opc.h (clrs, sets): Mark as arch_sh3_nommu_up instead of
+       arch_sh_up.
+       (pref): Mark as arch_sh2a_nofpu_or_sh3_nommu_up instead of
+       arch_sh2a_nofpu_or_sh4_nommu_nofpu_up.
+
+2015-02-23  Vinay  <Vinay.G@kpit.com>
+
+       * rl78-decode.opc (MOV): Added space between two operands for
+       'mov' instruction in index addressing mode.
+       * rl78-decode.c: Regenerate.
+
+2015-02-19  Pedro Alves  <palves@redhat.com>
+
+       * microblaze-dis.h [__cplusplus]: Wrap in extern "C".
+
+2015-02-10  Pedro Alves  <palves@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * microblaze-opcm.h (or, and, xor): Rename to microblaze_or,
+       microblaze_and, microblaze_xor.
+       * microblaze-opc.h (opcodes): Adjust.
+
+2015-01-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * Makefile.am: Add FT32 files.
+       * configure.ac: Handle FT32.
+       * disassemble.c (disassembler): Call print_insn_ft32.
+       * ft32-dis.c: New file.
+       * ft32-opc.c: New file.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2015-01-28 Kuan-Lin Chen <kuanlinchentw@gmail.com>
+
+       * nds32-asm.c (keyword_sr): Add new system registers.
+
+2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390-dis.c (s390_extract_operand): Support vector register
+       operands.
+       (s390_print_insn_with_opcode): Support new operands types and add
+       new handling of optional operands.
+       * s390-mkopc.c (s390_opcode_mode_val, s390_opcode_cpu_val): Remove
+       and include opcode/s390.h instead.
+       (struct op_struct): New field `flags'.
+       (insertOpcode, insertExpandedMnemonic): New parameter `flags'.
+       (dumpTable): Dump flags.
+       (main): Parse flags from the s390-opc.txt file.  Add z13 as cpu
+       string.
+       * s390-opc.c: Add new operands types, instruction formats, and
+       instruction masks.
+       (s390_opformats): Add new formats for .insn.
+       * s390-opc.txt: Add new instructions.
+
+2015-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2014
+\f
+Copyright (C) 2015 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End: