OSDN Git Service

Move 2006 ChangeLog entries to ChangeLog-2006.
authorH.J. Lu <hjl@lucon.org>
Tue, 9 Jan 2007 14:29:31 +0000 (14:29 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 9 Jan 2007 14:29:31 +0000 (14:29 +0000)
bfd/ChangeLog
bfd/ChangeLog-2006 [new file with mode: 0644]
binutils/ChangeLog
binutils/ChangeLog-2006 [new file with mode: 0644]
ld/ChangeLog
ld/ChangeLog-2006 [new file with mode: 0644]
opcodes/ChangeLog
opcodes/ChangeLog-2006 [new file with mode: 0644]

index 6bbe72a..0db2a5e 100644 (file)
        * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
        SEC_EXCLUDE on zero size .eh_frame.
 
-2006-12-31  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
-       to allocate elf_segment_map.
-
-2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elflink.c (elf_link_add_object_symbols): Remember the symbol
-       size only if it is defined.
-
-2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
-
-       * archures.c (bfd_mach_cpu32_fido): New.
-       (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
-       bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
-       bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
-       bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
-       bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
-       bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
-       bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
-       bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
-       Increment the defined values.
-       * bfd-in2.h: Regenerate.
-       * cpu-m68k.c (arch_info_struct): Add en entry for
-       bfd_mach_cpu32_fido.
-       * elf32-m68k.c (elf32_m68k_object_p): Handle
-       EF_M68K_CPU32_FIDO_A.
-       (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
-       (elf32_m68k_print_private_bfd_data): Handle
-       EF_M68K_CPU32_FIDO_A.
-
-2006-12-25  Mei Ligang  <ligang@sunnorth.com.cn>
-       
-       * elf32-score.c (score_elf_got_lo16_reloc): Change some variables
-       type from unsigned to signed.
-       (score_elf_final_link_relocate): Fix bugs of handling relocation
-       type R_SCORE_GOT15, R_SCORE_GOT_LO16, and R_SCORE_REL32.
-       (_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16
-       specially.
-
-2006-12-23  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
-       * elfxx-target.h (elf_backend_as_needed_cleanup): Define.
-       (elfNN_bed): Add as_needed_cleanup hook.
-       * elflink.c (elf_link_add_object_symbols): Call it when reverting
-       hash table changes for unneeded --as-needed input.
-       * elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
-       (ppc64_elf_as_needed_cleanup): New function.
-
-2006-12-19  Kazu Hirata  <kazu@codesourcery.com>
-
-       * elf32-m68k.c (elf32_m68k_object_p,
-       elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
-       extract architecture mask.
-
-2006-12-19  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
-       by p_vaddr_offset.  Copy alignment & use if it is valid.
-       (rewrite_elf_program_headers): Cope with leading padding in a
-       segment that does not contain file or program headers.
-       (copy_elf_program_header): Likewise.
-
-2006-12-15  Mark Kettenis  <kettenis@gnu.org>
-
-       * config.bfd: (sh*-*-openbsd*): Add target. 
-       * configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
-       * configure: Regenerate.
-
-2006-12-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * opncls.c (bfd_openr_iovec): Add "stat" parameter.
-       (struct opncls): Add "stat" field.
-       (opncls_bstat): Call vec->stat.
-       * bfd-in2.h: Regenerate.
-       * elf32-spu.c (spu_elf_open_builtin_lib): Adjust.
-
-2006-12-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
-       and next_in_group usage.
-
-2006-12-14  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 3704
-       * bfdio.c (bfd_bread): Don't read past end of archive elements.
-
-2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * doc/Makefile.am (bfd_TEXINFOS): Set.
-       (bfd.info bfd.dvi bfd.html): Delete rule.
-       * doc/Makefile.in: Regenerated.
-
-2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure.in: Define GENINSRC_NEVER.
-       * doc/Makefile.am (bfd.info): Remove srcdir prefix.
-       (MAINTAINERCLEANFILES): Add info file.
-       (DISTCLEANFILES): Pretend to add info file.
-       * po/Make-in (.po.gmo): Put gmo files in objdir.
-       * configure, Makefile.in, doc/Makefile.in: Regenerated.
-
-2006-12-11  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * elflink.c (bfd_elf_gc_sections): Also search for corresponding
-       sections with .gnu.linkonce.t. prefix.
-
-2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
-
-       * elf32-m68k.c: Update uses of EF_M68K_*.
-
-2006-12-07  H.J. Lu <hjl@gnu.org>
-
-       PR ld/3666
-       * elflink.c (elf_link_add_object_symbols): Keep symbol
-       visibility for symbols from discarded section.
-
-2006-12-06  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-alpha.c (elf64_alpha_merge_symbol_attribute): New function.
-       (elf_backend_merge_symbol_attribute): Define.
-
-2006-12-04  Jan Beulich  <jbeulich@novell.com>
-
-       * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
-       .eh_frame_hdr section from here anymore.
-       (bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr
-       a little earlier.
-
-2006-12-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3609
-       * elf.c (rewrite_elf_program_header): Preserve segment physical
-       address in the output segment if the first section in the
-       corresponding input segment is null.
-
-2006-12-01  Nick Clifton  <nickc@redhat.com>
-
-       PR 3609
-       * elf.c (rewrite_elf_program_header): Do not use the first_section
-       pointer if it is null.
-
-2006-11-29  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
-       section is present.
-       (allocate_dynrelocs): Only add export stub for symbols defined in
-       this object.
-
-2006-11-29  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
-       section is present.
-       (allocate_dynrelocs): Only add export stub for symbols defined in
-       this object.
-
-2006-11-29  Paul Brook  <paul@codesourcery.com>
-       Julian Brown  <julian@codesourcery.com>
-
-       * elf32-arm.c (copy_eabi_attributes): Correct starting offset.
-       (elf32_arm_merge_eabi_attributes): Mark output as initialized.
-       Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute
-       is present.
-
-2006-11-27  Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info.
-
-2006-11-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (IS_SECTION_IN_INPUT_SEGMENT): New.
-       (INCLUDE_SECTION_IN_SEGMENT): Use IS_SECTION_IN_INPUT_SEGMENT.
-       (rewrite_elf_program_header): Don't preserve segment physical
-       address in the output segment if the first section in the
-       corresponding input segment is removed.
-
-2006-11-22  Alan Modra  <amodra@bigpond.net.au>
-
-       * pef.c (bfd_pef_make_empty_symbol): Delete function.  Define instead.
-       * xsym.c (bfd_sym_make_empty_symbol): Likewise.
-       * xsym.h (bfd_sym_make_empty_symbol): Delete.
-
-2006-11-21  Greg McGary  <greg@mcgary.org>
-
-       * elf32-ppc.c (ppc_elf_relocate_section): Fixup D field
-       at proper offset in little-endian mode.
-       * elf64-ppc.c (ppc_elf_relocate_section): Likewise.
-
-2006-11-21  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf-eh-frame.c (struct cie): New type.
-       (cie_compare): Removed.
-       (cie_eq, cie_hash, cie_compute_hash): New functions.
-       (_bfd_elf_discard_section_eh_frame): Rewrite not to rely on FDEs
-       pointing only to last CIE and allow merging of any duplicate CIEs,
-       not just duplicate consecutive CIEs.
-       (_bfd_elf_discard_section_eh_frame_hdr): Delete cies hash table.
-       * elf-bfd.h (struct cie_header, struct cie): Removed.
-       (struct eh_frame_sec_info): Remove alloced field.
-       (struct eh_frame_hdr_info): Remove last_cie, last_cie_sec
-       and last_cie_inf fields.  Add cies field.
-
-2006-11-20  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfd-in.h (struct stat): Don't typedef.
-       * bfdio.c (bfd_get_size): Return a file_ptr.
-       * cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread.
-       * mmo.c (mmo_scan): Use file_ptr for curpos.
-       * trad-core.c (trad_unix_core): Don't cast statbuf.st_size to
-       unsigned long.
-       * bfd-in2.h: Regenerate.
-
-2006-11-20  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 3532
-       * bfd-in.h (struct bfd_hash_table): Reorganize.  Add "frozen".
-       * hash.c (bfd_hash_table_init_n): Init frozen.
-       (bfd_hash_lookup): Don't grow if frozen.
-       (bfd_hash_traverse): Freeze hash table during traversal.
-       * bfd-in2.h: Regenerate.
-
-2006-11-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * elflink.c (_bfd_elf_check_kept_section): Test for kept group
-       section.  Save result of checks in kept_section.
-       (_bfd_elf_section_already_linked): Tidy.  Correct comments.
-       Ignore all group member sections.  Handle special matching of
-       single-member groups against linkonce sections via their group
-       section.  When such a match is found, set kept_section to the
-       group member section rather than to the group.
-
-2006-11-14  Phil Lello  <phil.lello@homecall.co.uk>
-
-       * peXXigen.c: Updates for PE/COFF V8.0, and clarification
-       (dir_names): Added CLR Runtime Header to dir_names[].
-       (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX
-       subsystem names
-       (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
-       (pe_print_idata, pe_print_edata)
-       (_bfd_XX_bfd_copy_private_bfd_data_common)
-       (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into
-       DataDirectory.
-
-2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
-       prototype.
-       (bfd_elf32_arm_set_byteswap_code): New prototype.
-       * bfd-in2.h: Regenerate.
-       * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Don't take
-       byteswap_code as an argument.  Revert 2006-11-01 change.
-       (bfd_elf32_arm_set_byteswap_code): New.
-       (elf32_arm_size_dynamic_sections): Call
-       bfd_elf32_arm_process_before_allocation.
-
-2006-11-10  Thiemo Seufer  <ths@mips.com>
-
-       * config.bfd (mips*el-sde-elf*, mips*-sde-elf*): Drop ECOFF support
-       for SDE configs.
-
-2006-11-10  Nick Clifton  <nickc@redhat.com>
-
-       * config.bfd: Move previously obsoleted targets to the REMOVED
-       list.
-       Add maxq-*-coff to the obsolete list.
-
-2006-11-10  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".
-       * pei-arm-wince.c (LOCAL_LABEL_PREFIX): Likewise.
-       * coff-arm.c (LOCAL_LABEL_PREFIX): Only define if not defined before.
-
-2006-11-07  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set it
-       on error.
-       (find_arm_glue): Likewise.
-       (elf32_thumb_to_arm_stub, elf32_arm_create_thumb_stub)
-       (elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate): Add
-       ERROR_MESSAGE argument and pass it through.
-       (elf32_arm_to_thumb_export_stub): Update.
-       (elf32_arm_relocate_section): Use ERROR_MESSAGE and reloc_dangerous.
-
-2006-11-07  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (enum _ppc64_sec_type): New.
-       (struct _ppc64_elf_section_data): Move "t_symndx" into opd union,
-       and rename fields.  Add sec_type and has_14bit_branch.
-       (struct ppc_link_hash_table): Remove has_14bit_branch.
-       (get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust.
-       (ppc64_elf_relocate_section): Likewise.
-       (ppc64_elf_check_relocs): Likewise.  Set per-section has_14bit_branch.
-       (ppc64_elf_size_stubs): Don't set default group size here.
-       (group_sections): Instead do so here, and group sections using
-       their individual requirements.
-
-2006-11-07  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"
-       and union.
-       (struct ppc_link_hash_entry): Add "next_dot_sym".
-       (struct ppc_link_hash_table): Add "dot_syms".
-       (link_hash_newfunc): Make list of syms starting with a dot.
-       (ppc_get_stub_entry, adjust_opd_syms): Adjust.
-       (ppc64_elf_add_symbol_hook): Don't set has_dotsym.
-       (struct add_symbol_adjust_data): Delete.
-       (add_symbol_adjust): Simplify params and return.
-       (ppc64_elf_check_directives): Just process the "dot_syms" lists,
-       not all syms.
-
-2006-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * libbfd-in.h (_bfd_clear_contents): New prototype.
-       * reloc.c (_bfd_clear_contents): New.
-       * libbfd.h: Regenerated.
-
-       * elf32-arm.c (elf32_arm_final_link_relocate): Use
-       _bfd_clear_contents.
-       * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
-       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
-       * elf32-i386.c (elf_i386_relocate_section): Likewise.
-       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
-       * elf32-s390.c (elf_s390_relocate_section): Likewise.
-       * elf32-sh.c (sh_elf_relocate_section): Likewise.
-       * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
-       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
-       * elf64-s390.c (elf_s390_relocate_section): Likewise.
-       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
-
-       * elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to
-       zero for discarded symbols.
-       * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
-
-2006-11-01  Thiemo Seufer  <ths@mips.com>
-            David Ung  <davidu@mips.com>
-
-       * elf-bfd.h (local_call_stubs): New member.
-       * elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros.
-       (mips_elf_calculate_relocation): Handle local mips16 call stubs.
-       (mips16_stub_section_p): Rename from mips_elf_stub_section_p, use
-       the new stub macros.
-       (_bfd_mips_elf_check_relocs): Handle call stubs for code which
-       mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark
-       used stubs with SEC_KEEP. Use the new stub macros.
-
-2006-11-01  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Correct
-       check for PLT usage.
-
-2006-11-01  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * elfxx-mips.c (mips_elf_merge_gots): Always use maxcnt.
-
-2006-10-31  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (elfcore_write_note): Pad note descriptor to 4-byte
-       boundary.  Tidy.  Comment.
-
-2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3111
-       * elf-bfd.h (elf_obj_tdata): Add symbuf.
-       (_bfd_elf_section_already_linked): Add struct bfd_link_info *.
-       (_bfd_elf_check_kept_section): Likewise.
-       (bfd_elf_match_symbols_in_sections): Likewise.
-
-       * elf.c (assign_section_numbers): Updated to add
-       struct bfd_link_info *.
-       (bfd_elf_match_symbols_in_sections): Updated. Cache symbol
-       buffer if info->reduce_memory_overheads is false.
-
-       * elflink.c (match_group_member): Updated to add
-       struct bfd_link_info *.
-       (_bfd_elf_check_kept_section): Likewise.
-       (elf_link_input_bfd): Likewise.
-       (_bfd_elf_section_already_linked): Likewise.
-       (bfd_elf_final_link): Free symbol buffer if
-       info->reduce_memory_overheads is false.
-
-       * libbfd-in.h (_bfd_nolink_section_already_linked): Add
-       struct bfd_link_info *.
-       (_bfd_generic_section_already_linked): Likewise.
-       * libbfd.h: Regenerated.
-
-       * linker.c (bfd_section_already_linked): Add
-       struct bfd_link_info *.
-       (_bfd_generic_section_already_linked): Likewise.
-       * targets.c (bfd_target): Add struct bfd_link_info * to
-       _section_already_linked.
-       * bfd-in2.h: Regenerated.
-
-2006-10-30  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfd.c (bfd_error_type): Add bfd_error_on_input.
-       (input_bfd, input_error): New static vars.
-       (bfd_set_error): Handle bfd_error_on_input.
-       (bfd_errmsg): Likewise.
-       (bfd_perror): Simplify.
-       * archive.c (_bfd_write_archive_contents): Report errors on input.
-       * bfd-in2.h: Regenerate.
-
-2006-10-30  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (elfcore_write_note): Pad to 4-byte boundary.
-
-2006-10-28  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
-       * elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
-       (elf_mips_howto_table_rela): Likewise.
-       * elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
-       (mips_elf64_howto_table_rela): Likewise.
-
-2006-10-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (_bfd_elf_init_private_section_data): Assert output
-       section ELF type instead of check if it is SHT_NULL.  Copy
-       OS/PROC specific flags from input section to output section.
-
-2006-10-27  Alan Modra  <amodra@bigpond.net.au>
-
-       * section.c (SEC_KEEP): Update comment.
-       * bfd-in2.h: Regenerate.
-       * elflink.c (bfd_elf_gc_sections): Ignore SEC_EXCLUDE sections.
-       * merge.c (_bfd_merge_sections): Set SEC_KEEP on excluded sections.
-       * stabs.c (_bfd_discard_section_stabs): Likewise.
-       (_bfd_link_section_stabs): Likewise.  Simplify abs_section check.
-
-2006-10-26  Ben Elliston  <bje@au.ibm.com>
-
-       * reloc.c (_bfd_relocate_contents): Remove explicit case 0.
-
-       * elf.c (bfd_section_from_shdr): Remove extraneous breaks.
-       * targets.c (find_target): Remove extraneous break.
-
-2006-10-26  Ben Elliston  <bje@au.ibm.com>
-
-       * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
-       (struct maxq_reloc_map): Unused; remove.
-       (maxq_reloc_map): Likewise.
-       (maxq_reloc_type_lookup): Remove loop over maxq_reloc_map.
-
-2006-10-26  Ben Elliston  <bje@au.ibm.com>
-
-       * elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
-       from int to enum dynamic_lib_link_class lib_class.
-       * bfd-in.h (bfd_elf_set_dyn_lib_class): Likewise.
-       * bfd-in2.h: Regenerate.
-
-2006-10-25  Alan Modra  <amodra@bigpond.net.au>
-           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>
-
-       * cpu-spu.c: New file.
-       * elf32-spu.c: New file.
-       * elf32-spu.h: New file.
-       * archures.c: Add SPU support.
-       * config.bfd: Likewise.
-       * configure.in: Likewise.
-       * reloc.c: Likewise.
-       * targets.c: Likewise.
-       * Makefile.am: Likewise.  Run "make dep-am".
-       * libbfd.h: Regenerate.
-       * bfd-in2.h: Regenerate.
-       * Makefile.in: Regenerate.
-       * configure: Regenerate.
-       * po/SRC-POTFILES.in: Regenerate.
-
-2006-10-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
-
-2006-10-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-score.c: Formatting.
-       (elf_backend_omit_section_dynsym): Define.
-       (score_elf_create_dynamic_relocation): Remove code copied from mips.
-       Don't use section syms in dynamic relocs.  Remove unused param.
-       (score_elf_final_link_relocate): Remove unused param.
-
-2006-10-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * linker.c (fix_syms): Choose best of previous and next
-       section based on section flags and vma.
-
-2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-
-       * elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
-       only when the non visibility part of st_other is non-zero.
-       * elf64-sh64.c (sh64_elf64_merge_symbol_attribute): Likewise.
-
-2006-10-20  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend
-       PT_DYNAMIC on GNU/Linux targets.
-
-2006-10-20  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the
-       size of .rel.dyn reflect the value of DT_RELSZ.
-
-2006-10-20  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
-       a PT_NULL header for dynamic objects.
-       (_bfd_mips_elf_modify_segment_map): Add it.
-
-2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * elf32-score.c (score_elf_rel_dyn_section): Replace
-       bfd_make_section with bfd_make_section_with_flags.
-       (_bfd_score_elf_create_dynamic_sections): Ditto.
-       (score_elf_create_got_section): Ditto.
-       (score_elf_final_link_relocate): Delete referrence to
-       EF_SCORE_HASENTRY.
-
-2006-10-19  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the
-       same symbol by increasing r_offset.
-       (sort_dynamic_relocs_64): Likewise.  Fix comparisons between very
-       large and very small symbol indexes.
-
-2006-10-19  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
-       and DT_MIPS_RLD_MAP tags for position-independent executables.
-       Do not add DT_DEBUG to shared libraries for any MIPS target.
-
-2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3290
-       * elflink.c (elf_link_add_object_symbols): Hide definitions in
-       debug sections.
-
-2006-10-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check,
-       don't set, glue section size.
-       (record_arm_to_thumb_glue): Set glue section size here.
-       (record_thumb_to_arm_glue): Likewise.
-       (bfd_elf32_arm_add_glue_sections_to_bfd): Formatting.
-       (bfd_elf32_arm_process_before_allocation): Ignore exluded sections.
-
-2006-10-18  Roy Marples  <uberlord@gentoo.org>
-
-       * elf64-sparc.c: Add FreeBSD support.
-       (elf64_sparc_fbsd_post_process_headers): New function.
-       * targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
-       * config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
-       * configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
-       * configure: Regenerate.
-
-2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
-       R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
-       R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
-       R_ARM_THM_MOVT_BREL relocations.
-
-2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_howto_table_1): Change offset for
-       R_THM_CALL to 25 and remove FIXME comment.
-       (using_thumb2): New function.
-       (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
-
-2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
-       for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
-       (elf32_arm_gc_sweep_hook): Likewise.
-       (elf32_arm_check_relocs): Likewise.
-       (allocate_dynrelocs): Likewise.
-
-2006-10-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
-       text_index_section and data_index_section.
-       (struct elf_backend_data): Add elf_backend_init_index_section.
-       (_bfd_elf_init_1_index_section): Declare.
-       (_bfd_elf_init_2_index_sections): Declare.
-       * elfxx-target.h (elf_backend_init_index_section): Define.
-       (elfNN_bed): Init new field.
-       * elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
-       section and text_index_section plus data_index_section.
-       (_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
-       (_bfd_elf_init_1_index_section): New function.
-       (_bfd_elf_init_2_index_sections): New function.
-       (bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
-       (elf_link_input_bfd): When emitting relocs, use text_index_section
-       and data_index_section for removed sections.
-       * elf-m10300.c (elf_backend_omit_section_dynsym): Define.
-       * elf32-i386.c: Likewise.
-       * elf32-m32r.c: Likewise.
-       * elf32-sh.c: Likewise.
-       * elf32-xstormy16.c: Likewise.
-       * elf32-xtensa.c: Likewise.
-       * elf64-alpha.c: Likewise.
-       * elf64-hppa.c: Likewise.
-       * elf64-mmix.c: Likewise.
-       * elf64-sh64.c: Likewise.
-       * elfxx-ia64.c: Likewise.
-       * elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
-       and data_index_section sym for relocs against sections with no dynamic
-       section sym.
-       (elf_backend_init_index_section): Define.
-       * elf32-cris.c: Similarly.
-       * elf32-hppa.c: Similarly.
-       * elf32-i370.c: Similarly.
-       * elf32-m68k.c: Similarly.
-       * elf32-mips.c: Similarly.
-       * elf32-ppc.c: Similarly.
-       * elf32-s390.c: Similarly.
-       * elf32-sparc.c: Similarly.
-       * elf32-vax.c: Similarly.
-       * elf64-mips.c: Similarly.
-       * elf64-ppc.c: Similarly.
-       * elf64-s390.c: Similarly.
-       * elf64-sparc.c: Similarly.
-       * elf64-x86-64.c: Similarly.
-       * elfn32-mips.c: Similarly.
-       * elfxx-mips.c: Similarly.
-       * elfxx-sparc.c: Similarly.
-       * linker.c (fix_syms): Base symbols in removed sections on
-       previous section in preference to using absolute section.
-
-2006-10-16  Andreas Schwab  <schwab@suse.de>
-
-       * elfxx-ia64.c (addend_compare): Properly compute return value.
-
-2006-10-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3314
-       * elf.c (assign_file_positions_for_non_load_sections): Don't
-       page align empty SHF_ALLOC sections.
-
-2006-10-13  Jakub Jelinek  <jakub@redhat.com>
-
-       * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
-       .plt sh_entsize to 0 if plt header size isn't multiple of
-       plt entry size or for 32-bit which adds a nop insn at the
-       end of the .plt section.
-
-2006-10-12  Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (elf_xtensa_action_discarded): New.
-       (elf_backend_action_discarded): Define.
-
-2006-10-11  Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (elf_xtensa_relocate_section): Return after
-       unresolvable relocation error.
-       (elf_xtensa_finish_dynamic_symbol): Set value of undefined, weak
-       symbols to zero.
-
-2006-10-10  Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Add DT_DEBUG
-       for PIE executables.
-
-2006-10-03  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
-       * elf-eh-frame.c (skip_cfa_op): Fix handling of DW_CFA_advance_loc.
-       Handle DW_CFA_{remember,restore}_state, DW_CFA_GNU_window_save,
-       DW_CFA_val_{offset{,_sf},expression}.
-       (skip_non_nops): Record number of DW_CFA_set_loc ops.
-       (_bfd_elf_discard_section_eh_frame): Require skip_non_nops recognizes
-       all ops.  If there are any DW_CFA_set_loc ops and they are pcrel
-       or going to be pcrel, compute set_loc array.
-       (_bfd_elf_eh_frame_section_offset): If make_relative, kill relocations
-       against DW_CFA_set_loc operands.
-       (_bfd_elf_write_section_eh_frame): Handle DW_CFA_set_loc adjusting.
-
-2006-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
-       symbols from the --just-syms file.
-
-2006-10-01  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
-       existence of PLT.
-
-2006-09-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3283
-       * elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore
-       relocation overflow on branches to undefweaks.
-
-2006-09-29  Alan Modra  <amodra@bigpond.net.au>
-
-       * po/BLD-POTFILES.in: Regenerate.
-       * po/SRC-POTFILES.in: Regenerate.
-
-2006-09-29  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       PR 3276
-       * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
-       alignment for .data$, .rdata$ and .text$ sections so that sse
-       and sse2 code will work for linkonce sections too.
-       * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
-
-2006-09-28  Alan Modra  <amodra@bigpond.net.au>
-
-       * elflink.c (_bfd_elf_gc_mark_hook): New function.
-       * elf-bfd.h (_bfd_elf_gc_mark_hook): Declare.
-       * elfxx-target.h (elf_backend_gc_mark_hook): Default to above.
-       * elf-m10300.c (mn10300_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       * elf32-arm.c (elf32_arm_gc_mark_hook): Likewise.
-       * elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
-       * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
-       * elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
-       * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
-       * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
-       * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
-       * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
-       * elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
-       * elf32-score.c (_bfd_score_elf_gc_mark_hook): Likewise.
-       * elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
-       * elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
-       * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Likewise.
-       * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
-       * elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
-       * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
-       * elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Likewise.
-       * elf32-bfin.c (bfin_gc_mark_hook): Likewise.
-       (bfinfdpic_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define for elf32-bfinfdpic.
-       * elf32-d10v.c (elf32_d10v_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       (elf32_d10v_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-fr30.c (fr30_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       (fr30_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-frv.c (elf32_frv_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       (elf32_frv_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-iq2000.c (iq2000_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       (iq2000_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Use
-       _bfd_elf_gc_mark_hook.
-       (openrisc_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-v850.c (v850_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       (v850_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Use
-       _bfd_elf_gc_mark_hook.
-       (xstormy16_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf64-sh64.c (sh_elf64_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
-       (sh_elf64_gc_sweep_hook): Delete.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-avr.c (elf32_avr_gc_mark_hook): Delete.
-       (elf32_avr_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-cr16c.c (elf32_cr16c_gc_mark_hook): Delete.
-       (elf32_cr16c_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-crx.c (elf32_crx_gc_mark_hook): Delete.
-       (elf32_crx_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-h8300.c (elf32_h8_gc_mark_hook): Delete.
-       (elf32_h8_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-ip2k.c (ip2k_elf_gc_mark_hook): Delete.
-       (ip2k_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-m32c.c (m32c_elf_gc_mark_hook, m32c_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-m68hc11.c (elf_backend_gc_mark_hook): Don't define.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-m68hc12.c (elf_backend_gc_mark_hook): Don't define.
-       (elf_backend_gc_sweep_hook): Don't define.
-       * elf32-m68hc1x.c (elf32_m68hc11_gc_mark_hook): Delete.
-       (elf32_m68hc11_gc_sweep_hook): Delete.
-       * elf32-m68hc1x.h (elf32_m68hc11_gc_mark_hook): Delete.
-       (elf32_m68hc11_gc_sweep_hook): Delete.
-       * elf32-msp430.c (elf32_msp430_gc_mark_hook): Delete.
-       (elf32_msp430_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-       * elf32-mt.c (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook): Delete.
-       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
-
-2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
-
-       * bfd-in.h (CONST_STRNCPY) : Delete.
-       (LITSTRCPY) : New.
-       (LITMEMCPY) : New.
-       * bfd-in2.h : Regenerate.
-       * elflink.c  (bfd_elf_gc_sections) : Use LITMEMCPY. Don't manually
-       calculate string lengths.
-       * nlmcode.h (nlm_swap_auxiliary_headers_in) : Use LITMEMCPY.
-
-2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3223
-       PR ld/3267
-       * elf.c (assign_file_positions_for_non_load_sections): Don't
-       warn zero size allocated sections.
-
-2006-09-27  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-score.c (_bfd_score_elf_relocate_section): Move assignment
-       to "name" so that compiler realizes it is never uninitialized.
-       Use bfd_elf_sym_name.
-
-2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3262
-       * elf.c (rewrite_elf_program_header): Use bfd_zalloc instead of
-       bfd_alloc to allocate segment map.
-       (copy_elf_program_header): Likewise.
-
-2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-           Ian Lance Taylor  <ian@wasabisystems.com>
-           Ben Elliston  <bje@wasabisystems.com>
-
-       * archures.c: Add definition for bfd_mach_arm_iWMMXt2.
-       * cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
-       (arch_info_struct, bfd_arm_update_notes): Likewise.
-       (architectures): Likewise.
-       (bfd_arm_merge_machines): Check for iWMMXt2.
-       * bfd-in2.h: Rebuild.
-
-2006-09-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure: Regenerated.
-
-2006-09-22  Alan Modra  <amodra@bigpond.net.au>
-
-       * elfcode.h (elf_swap_symbol_in): Return bfd_boolean.  Don't abort
-       on error.
-       * elf-bfd.h (elf_size_info <swap_symbol_in>): Adjust decl.
-       (bfd_elf32_swap_symbol_in, bfd_elf64_swap_symbol_in): Likewise.
-       * elf.c (bfd_elf_get_elf_syms): Test return of swap_symbol_in,
-       and report error.
-       * elf32-arm.c (elf32_arm_swap_symbol_in): Return bfd_boolean.
-
-2006-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
-
-       * elf32-s390.c (elf_s390_relocate_section): Remove check for code
-       section in LD to LE linker relaxation for R_390_TLS_LDO32.
-       * elf64-s390.c (elf_s390_relocate_section): Likewise for
-       R_390_TLS_LDO64.
-
-2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
-
-       * configure.in: Added new target-vectors x86_64coff_vec,
-       x86_64pe_vec, and x86_64pei_vec.
-       * configure: Regenerate.
-       * config.bfd: Adjusted x86_64 target architecture detection.
-       * bfd.c: Add for new target "coff-x86-64"
-       (bfd_get_sign_extend): Add target vector idents for pe-x86-64. and pei-x86-64.
-       * coff-x86_64.c: Add new file for x86_64 (AMD64) coff support.
-       * libpei.h: Adjustments for COFF_WITH_pex64.
-       * coffcode.h: Add for new target machine, architecture, signature, and internal
-       signature handler.
-       * Makefile.am: Add new files to target-all and define make-rule for pex64igen.c
-       * Makefile.in: Regenerate.
-       * pe-x86_64.c: Add for new target "pe-x86-64".
-       * pei-x86_64.c: Add for new target "pei-x86-64".
-       * peicode.h: Adjusts for new targets.
-       (coff_swap_filehdr_out): Set for this target to
-       _bfd_pex64_only_swap_filehdr_out.
-       (SIZEOF_IDATA4): Define it as 8 byte size for this target.
-       (SIZEOF_IDATA5): Define it as 8 byte size for this target.
-       (jump_table jtab): Add for AMD64MAGIC.
-       (pe_ILF_build_a_bfd): Adjusts for new size of SIZEOF_IDATA4 and SIZE_IDATA5.
-       (pe_ILF_object_p): Add coff image-file signature to internal
-       signature translation.
-       * peXXigen.c: Adjust proper include of target coff-header and
-       introduced target specific code
-       (COFF_WITH_pex64): New macro for this target.
-       (pe_print_idata): New dumping method for import section of PE+ files.
-       * targets.c: Add new target vectors declarations for x86_64 coff targets.
-       * coffcode.h: Support code to support the x86_64 PE magic number.
-       * coff-x86_64.c: New file.
-
-2006-09-17  Hans-Peter Nilsson  <hp@axis.com>
-
-       * elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
-       for .stabstr entry, explain why.
-
-2006-09-17  Anton Blanchard  <anton@samba.org>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       * dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir table
-       entry isn't absolute.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * cpu-score.c: New file.
-       * elf32-score.c: New file.
-       * config.bfd: Add Score target.
-       * Makefile.am: Add Score files.
-       * Makefile.in: Regenerate.
-       * archures.c: Add Score architecture.
-       * reloc.c: Add Score relocs.
-       * targets.c: Add Score target vectors.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * configure.in: Add Score target.
-       * configure: Regenerate.
-
-2006-09-16  Nick Clifton  <nickc@redhat.com>
-           Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * bfd-in.h (STRING_COMMA_LEN): New macro.  Takes one constant
-       string as its argument and emits the string followed by a comma
-       and then the length of the string.
-       (CONST_STRNEQ): New macro.  Checks to see if a variable string
-       has a constant string as its initial characters.
-       (CONST_STRNCPY): New macro.  Copies a constant string to the start
-       of a variable string.
-       * bfd-in2.h: Regenerate.
-       * archive.c: Make use of the new macros.
-       * archive64.c: Likewise.
-       * bfd.c: Likewise.
-       * coff-ppc.c: Likewise.
-       * coff-stgo32.c: Likewise.
-       * coffcode.h: Likewise.
-       * cofflink.c: Likewise.
-       * cpu-i960.c: Likewise.
-       * dwarf2.c: Likewise.
-       * ecoff.c: Likewise.
-       * elf-m10300.c: Likewise.
-       * elf.c: Likewise.
-       * elf32-arm.c: Likewise.
-       * elf32-bfin.c: Likewise.
-       * elf32-cris.c: Likewise.
-       * elf32-hppa.c: Likewise.
-       * elf32-i370.c: Likewise.
-       * elf32-i386.c: Likewise.
-       * elf32-iq2000.c: Likewise.
-       * elf32-m32r.c: Likewise.
-       * elf32-m68hc11.c: Likewise.
-       * elf32-m68hc12.c: Likewise.
-       * elf32-m68k.c: Likewise.
-       * elf32-mcore.c: Likewise.
-       * elf32-ppc.c: Likewise.
-       * elf32-s390.c: Likewise.
-       * elf32-sh-symbian.c: Likewise.
-       * elf32-sh.c: Likewise.
-       * elf32-sh64.c: Likewise.
-       * elf32-v850.c: Likewise.
-       * elf32-vax.c: Likewise.
-       * elf32-xtensa.c: Likewise.
-       * elf64-alpha.c: Likewise.
-       * elf64-hppa.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.
-       * elfxx-ia64.c: Likewise.
-       * elfxx-mips.c: Likewise.
-       * elfxx-sparc.c: Likewise.
-       * hpux-core.c: Likewise.
-       * i386linux.c: Likewise.
-       * ieee.c: Likewise.
-       * libpei.h: Likewise.
-       * linker.c: Likewise.
-       * m68klinux.c: Likewise.
-       * mmo.c: Likewise.
-       * nlmcode.h: Likewise.
-       * osf-core.c: Likewise.
-       * pef.c: Likewise.
-       * som.c: Likewise.
-       * sparclinux.c: Likewise.
-       * vms-hdr.c: Likewise.
-
-2006-09-14  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 3181
-       * elf.c (_bfd_elf_copy_private_header_data): Fix group members
-       that have had their SHT_GROUP section removed.
-
-2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3197
-       * elflink.c (elf_link_output_extsym): Compute bucket only if
-       needed.
-
-2006-09-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3186
-       * elf.c (_bfd_elf_make_section_from_shdr): Correct length of
-       "gnu.linkonce.wi.".
-
-2006-09-08  Vladimir Prus  <vladimir@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_swap_symbol_out): Remove
-       unconditional setting of low bit for Thumb symbol
-       mistakenly left behind after check for external
-       symbols was added.  Fix comment typo.
-
-2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf-bfd.h (elf_link_hash_entry): Add a dynamic field.
-       (bfd_elf_link_mark_dynamic_symbol): New.
-       (SYMBOLIC_BIND): New.
-
-       * elf32-i386.c (elf_i386_check_relocs): Replace info->symbolic
-       with SYMBOLIC_BIND (info, h).
-       (elf_i386_relocate_section): Likewise.
-       * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
-       (elf64_x86_64_relocate_section): Likewise.
-       * elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.
-
-       * elflink.c (bfd_elf_link_mark_dynamic_symbol): New.
-       (bfd_elf_record_link_assignment): Call
-       bfd_elf_link_mark_dynamic_symbol on new entry.
-       (_bfd_elf_merge_symbol): Likewise.
-       (_bfd_elf_export_symbol): Return if the symbol isn't exported.
-       (_bfd_elf_fix_symbol_flags): Replace info->symbolic with
-       SYMBOLIC_BIND (info, h).
-       (_bfd_elf_dynamic_symbol_p): Likewise.
-       (_bfd_elf_symbol_refs_local_p): Likewise.
-       (bfd_elf_size_dynamic_sections): Updated.
-
-2006-09-05  Bibo Mao  <bibo.mao@intel.com>
-
-       PR binutils/3171
-       * coffcode.h (coff_write_object_contents): Set the optional
-       header magic number to PE32PMAGIC instead of ZMAGIC for ia64.
-
-2006-09-04  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
-       R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
-       (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
-       and R_ARM_THM_PC12 relocations.
-
-2006-08-24  Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (xtensa_get_property_section_name): Delete.
-       (xtensa_get_property_section): New.
-       (xtensa_read_table_entries): Use xtensa_get_property_section.
-       (relax_property_section, xtensa_get_property_predef_flags): Handle
-       group name suffixes in property section names.
-       (match_section_group): New.
-
-2006-08-23  Frediano Ziglio  <Frediano.Ziglio@vodafone.com>
-
-       * archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt"
-       variable.
-
-2006-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_copy_indirect_symbol): Only copy
-       plt_thumb_refcount from indirect symbols.
-
-2006-08-22  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-ppc.c (ppc_elf_relocate_section): Correct GOT and PLT HA
-       reloc handling.
-       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
-
-2006-08-21  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
-       comment for target1_is_rel.
-
-2006-08-21  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * Makefile.am: Add rules to build pe-arm-wince.lo
-       and pei-arm-wince.lo objects.
-       * Makefile.in: Regenerate.
-       * pe-arm-wince.c: New file.
-       * pei-arm-wince.c: New file.
-       * pei-arm.c: Remove ARM_WINCE block.
-       * pe-arm.c: Remove ARM_WINCE block. Rename
-       bfd_arm_pe_allocate_interworking_sections,
-       bfd_arm_pe_get_bfd_for_interworking, and
-       bfd_arm_pe_process_before_allocation to
-       bfd_armpe_allocate_interworking_sections,
-       bfd_armpe_get_bfd_for_interworking, and
-       bfd_armpe_process_before_allocation. Move them before
-       including bfd.h.
-       * bfd.c: ARM wince bfd format names were renamed. Adjust.
-       * coff-arm.c [ARM_WINCE]: Adjust so Windows CE doesn't end up
-       with unexpected/conflicting relocs.
-       * targets.c: The arm-wince-pe target got its own new vector.
-       Adjust.
-       * config.bfd: Likewise.
-       * configure.in: Likewise.
-       * configure: Regenerate.
-
-2006-08-18  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
-       (elf32_arm_link_hash_newfunc): Initialize export_glue.
-       (record_arm_to_thumb_glue): Return stub symbol.
-       (elf32_arm_create_thumb_stub): New function.
-       (elf32_arm_to_thumb_stub): Use it.
-       (elf32_arm_to_thumb_export_stub): New function.
-       (elf32_arm_begin_write_processing): New function.
-       (allocate_dynrelocs): Allocate Arm stubs.
-       (elf_backend_begin_write_processing): Define.
-       (elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
-       Call elf32_arm_begin_write_processing.
-
-2006-08-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (create_linkage_sections): Align .glink to 8 bytes.
-       (ppc64_elf_build_stubs): Use new lazy linking stub.
-
-2006-08-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
-
-2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3015
-       * elf.c (get_program_header_size): Add a PT_GNU_RELRO segment
-       only if there is a PT_DYNAMIC segment.
-       (_bfd_elf_map_sections_to_segments): Likewise.
-       (assign_file_positions_for_load_sections): Set PT_GNU_RELRO
-       segment alignment to 1.
-
-2006-08-15  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * elf32-mips.c, elf64-mips.c, elfn32-mips.c
-       (elf_backend_merge_symbol_attribute): Define.
-       * elflink.c (elf_link_add_object_symbols): Merge only the ELF
-       visibility flags.
-       * elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function.
-
-2006-08-15  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * config.bfd: Add configurations for mips*el-sde-elf* and
-       mips*-sde-elf*.
-
-2006-08-14  DJ Delorie  <dj@redhat.com>
-
-       * elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.
-       (elf32_mn10300_count_hash_table_entries): New.
-       (elf32_mn10300_list_hash_table_entries): New.
-       (sort_by_value): New.
-       (mn10300_elf_relax_section): Don't skip data sections; restrict
-       code-specific tests to code-specific areas so that potential
-       indirect calls can be detected.  Check for multiple local symbols
-       at the same address and merge their flags.
-       (elf32_mn10300_link_hash_newfunc): Initialize value.
-
-2006-08-14  Thiemo Seufer  <ths@mips.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_symbol_processing,
-       _bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS
-       symbols in .scommon.
-
-2006-08-11  Thiemo Seufer  <ths@mips.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
-       sh_entsize only when sgot was already initialized.
-
-2006-08-08  DJ Delorie  <dj@redhat.com>
-
-       * elf32-sh.c (sh_elf_relax_section): Allow for branches across
-       non-moving .align directives.  Preserve any DIR32 offset when
-       converting bsr's to jsr's.
-
-2006-08-08  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
-       after stubs have been built.
-
-2006-08-07  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-sh.c (vxworks_object_p): Only check for vxworks target
-       vectors if they are going to be created.
-
-2006-08-07  Nick Clifton  <nickc@redhat.com>
-
-       * configure.in (bfd_elf32_shnbsd_vec): Fix typo.
-       * configure: Regenerate.
-
-2006-08-07  Nick Clifton  <nickc@redhat.com>
-
-       * coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL
-       relocation types if the target is ARM_WINCE.
-
-2006-08-05  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little
-       and pei-arm-little.
-       * coff-arm.c (coff_arm_rtype_to_howto) [COFF_WITH_PE]: Handle
-       ARM_SECREL.
-       (coff_arm_reloc_type_lookup): Map BFD_RELOC_32_SECREL to
-       ARM_SECREL.
-       * pe-arm.c [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
-       * pei-arm.c [TARGET_UNDERSCORE]: Define for ARM_WINCE like in
-       pe-arm.c.
-       [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
-
-2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
-
-       * elflink.c (elf_gc_sweep): If info.print_gc_sections is true,
-       list removed sections to stderr.
-
-2006-08-04  Richard Sandiford  <richard@codesourcery.com>
-           Kazu Hirata  <kazu@codesourcery.com>
-           Phil Edwards  <phil@codesourcery.com>
-           Nathan Sidwell  <nathan@codesourcery.com>
-
-       * config.bfd (sh-*-vxworks): Use bfd_elf32_shvxworks_vec and
-       bfd_elf32_shlvxworks_vec.
-       * configure.in (bfd_elf32_sh64_vec): Add elf-vxworks.lo.
-       (bfd_elf32_sh64l_vec, bfd_elf32_sh64lin_vec): Likewise.
-       (bfd_elf32_sh64blin_vec, bfd_elf32_sh64lnbsd_vec): Likewise.
-       (bfd_elf32_sh64nbsd_vec, bfd_elf32_sh_vec): Likewise.
-       (bfd_elf32_shblin_vec, bfd_elf32_shl_vec): Likewise.
-       (bfd_elf32_shl_symbian_vec, bfd_elf32_shlin_vec): Likewise.
-       (bfd_elf32_shlnbsd_vec, bfd_elf32_shnbsd_vec): Likewise.
-       (bfd_elf32_shlvxworks_vec, bfd_elf32_shvxworks_vec): New stanzas.
-       * configure: Regenerate.
-       * Makefile.am: Regenerate dependencies.
-       * Makefile.in: Regenerate.
-       * elf-vxworks.c (elf_vxworks_gott_symbol_p): New function.
-       (elf_vxworks_add_symbol_hook): Use it.
-       (elf_vxworks_link_output_symbol_hook): Likewise.  Use the hash
-       table entry to check for weak undefined symbols and to obtain
-       the original bfd.
-       (elf_vxworks_emit_relocs): Use target_index instead of this_idx.
-       * elf32-sh-relocs.h: New file, split from elf32-sh.c.
-       (R_SH_DIR32): Use SH_PARTIAL32 for the partial_inplace field,
-       SH_SRC_MASK32 for the src_mask field, and SH_ELF_RELOC for the
-       special_function field.
-       (R_SH_REL32): Use SH_PARTIAL32 and SH_SRC_MASK32 here too.
-       (R_SH_REL32, R_SH_TLS_GD_32, R_SH_TLS_LD_32): Likewise.
-       (R_SH_TLS_LDO_32, R_SH_TLS_IE_32, R_SH_TLS_LE_32): Likewise.
-       (R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32, R_SH_TLS_TPOFF32): Likewise.
-       (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT): Likewise.
-       (R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Likewise.
-       (SH_PARTIAL32, SH_SRC_MASK32, SH_ELF_RELOC): Undefine at end of file.
-       * elf32-sh.c: Include elf32-vxworks.h.
-       (MINUS_ONE): Define.
-       (sh_elf_howto_table): Include elf32-sh-relocs.h with SH_PARTIAL32
-       set to TRUE, SH_SRC_MASK32 set to 0xffffffff, and SH_ELF_RELOC set
-       to sh_elf_reloc.
-       (sh_vxworks_howto_table): New variable.  Include elf32-sh-relocs.h
-       with SH_PARTIAL32 set to FALSE, SH_SRC_MASK32 set to 0, and
-       SH_ELF_RELOC set to bfd_elf_generic_reloc.
-       (vxworks_object_p, get_howto_table): New functions.
-       (sh_elf_reloc_type_lookup): Fix typo.  Use get_howto_table.
-       (sh_elf_info_to_howto): Use get_howto_table.
-       (sh_elf_relax_section): Honor the partial_inplace field of the
-       R_SH_DIR32 howto.
-       (sh_elf_relax_delete_bytes): Likewise.
-       (elf_sh_plt_info): New structure.
-       (PLT_ENTRY_SIZE): Replace both definitions with...
-       (ELF_PLT_ENTRY_SIZE): ...this new macro, with separate definitions for
-       INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
-       (elf_sh_plt0_entry_be): Update sizes of both definitions accordingly.
-       (elf_sh_plt0_entry_le): Likewise.
-       (elf_sh_plt_entry_be, elf_sh_plt_entry_le): Likewise.
-       (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): Likewise.
-       (elf_sh_plts): New structure, with separate definitions for
-       INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
-       (elf_sh_plt0_entry): Delete both definitions.
-       (elf_sh_plt_entry, elf_sh_pic_plt_entry): Likewise.
-       (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset): Likewise.
-       (elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset): Likewise.
-       (elf_sh_plt_reloc_offset): Likewise.
-       (movi_shori_putval): Delete in favor of...
-       (install_plt_field): ...this new function, with separate definitions
-       for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
-       (get_plt_info): New function, with separate definitions
-       for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
-       (elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset): Delete.
-       (VXWORKS_PLT_HEADER_SIZE, VXWORKS_PLT_ENTRY_SIZE): New macros.
-       (vxworks_sh_plt0_entry_be, vxworks_sh_plt0_entry_le): New constants.
-       (vxworks_sh_plt_entry_be, vxworks_sh_plt_entry_le): Likewise.
-       (vxworks_sh_pic_plt_entry_be, vxworks_sh_pic_plt_entry_le): Likewise.
-       (get_plt_index, get_plt_offset): New functions.
-       (elf_sh_link_hash_table): Add srelplt2, plt_info and vxworks_p fields.
-       (sh_elf_link_hash_table_create): Initialize them.
-       (sh_elf_create_dynamic_sections): Call
-       elf_vxworks_create_dynamic_sections for VxWorks.
-       (allocate_dynrelocs): Use htab->plt_info to get the size of PLT
-       entries.  Allocate relocation entries in .rela.plt.unloaded if
-       generating a VxWorks executable.
-       (sh_elf_always_size_sections): New function.
-       (sh_elf_size_dynamic_sections): Extend .rela.plt handling to
-       .rela.plt.unloaded.
-       (sh_elf_relocate_section): Use get_howto_table.  Honor
-       partial_inplace when calculating the addend for dynamic
-       relocations.  Use get_plt_index.
-       (sh_elf_finish_dynamic_symbol): Use get_plt_index, install_plt_field
-       and htab->plt_info.  Fill in the bra .plt offset for VxWorks
-       executables.  Populate .rela.plt.unloaded.  Do not make
-       _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
-       (sh_elf_finish_dynamic_sections): Use install_plt_field and
-       htab->plt_info.  Handle cases where there is no special PLT header.
-       Populate the first relocation in .rela.plt.unloaded and fix up
-       the remaining entries.
-       (sh_elf_plt_sym_val): Use get_plt_info.
-       (elf_backend_always_size_sections): Define.
-       (TARGET_BIG_SYM, TARGET_BIG_NAME): Override for VxWorks.
-       (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
-       (elf32_bed, elf_backend_want_plt_sym): Likewise.
-       (elf_symbol_leading_char, elf_backend_want_got_underscore): Likewise.
-       (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Likewise.
-       (elf_backend_add_symbol_hook): Likewise.
-       (elf_backend_link_output_symbol_hook): Likewise.
-       (elf_backend_emit_relocs): Likewise.
-       (elf_backend_final_write_processing): Likewise.
-       (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Likewise.
-       * targets.c (bfd_elf32_shlvxworks_vec): Declare.
-       (bfd_elf32_shvxworks_vec): Likewise.
-       (_bfd_target_vector): Include bfd_elf32_shlvxworks_vec and
-       bfd_elf32_shvxworks_vec.
-
-2006-08-02  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure.in (arm-*-openbsd*): Set COREFILE to netbsd-core.lo.
-       * configure: Regenerate.
-
-2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
-
-       PR binutils/2983
-       * elf64-x86-64.c: Add FreeBSD support.
-       (elf64_x86_64_fbsd_post_process_headers): New function.
-       * targets.c (_bfd_target_vector): Add bfd_elf64_x86_64_freebsd_vec.
-       * config.bfd (x64_64-*-freebsd*): Add bfd_elf64_x86_64_freebsd_vec
-       to the targ_selvecs.
-       * configure.in: Add entry for bfd_elf64_x86_64_freebsd_vec.
-       * configure: Regenerate.
-
-2006-07-26  Andreas Schwab  <schwab@suse.de>
-
-       * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
-
-2006-07-26  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
-       * elf32-xtensa.c (elf_xtensa_modify_segment_map): Delete.
-       (define elf_backend_modify_segment_map): Don't define.
-
-2006-07-25  Thiemo Seufer  <ths@networkno.de>
-
-       * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Allow
-       linking of objects for compatible machine types.
-
-2006-07-25  Thiemo Seufer  <ths@networkno.de>
-
-       * elfxx-mips.c (mips_elf_next_relocation): Tighten check to test
-       also for same symbol.
-
-2006-07-25  Thiemo Seufer  <ths@mips.com>
-
-       * elfxx-mips.c (mips_elf_calculate_relocation): Remove magic constant.
-
-2006-07-24  Michael Wetherell  <mike.wetherell@ntlworld.com>
-
-       * elf.c (bfd_section_from_shdr): Reject unrecognised OS-specific
-       sections only if the SHF_OS_NONCONFORMING flag is present.
-
-2006-07-24  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/2729
-       * peXXigen.c (_bfd_XXi_final_link_postscript): Check for the
-       existance of output sections before putting their entries into the
-       DataDictionary.
-
-2006-07-20  Thiemo Seufer  <ths@mips.com>
-
-       * elf32-mips.c (mips16_jump_reloc): Remove function.
-       (elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
-       instead of mips16_jump_reloc.
-       * elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
-       (elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
-       _bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.
-
-2006-07-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfd-in.h (enum notice_asneeded_action): Define.
-       * bfd-in2.h: Regenerate.
-       * elflink.c (elf_link_add_object_symbols): Call linker "notice"
-       function with NULL name for as-needed handling.
-
-2006-07-18  Paul Brook  <paul@codesourcery.com>
-
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.
-
-2006-07-18  Nick Clifton  <nickc@redhat.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
-       Consider SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as being common
-       sections.
-       * elfxx-mips.h  (_bfd_mips_elf_common_definition): Prototype.
-
-2006-07-14  Jakub Jelinek  <jakub@redhat.com>
-
-       * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
-
-2006-07-14  Mark Kettenis  <kettenis@gnu.org>
-
-       * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
-       to the start of a block.
-
-2006-07-13  Nick Clifton  <nickc@redhat.com>
-
-       * coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info()
-       returning a NULL value.
-
-2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2884
-       * elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from
-       the old versioned dynamic definition to the new one with
-       non-default visibility.  Hide the symbol if it is hidden or
-       internal.
-
-2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>
-
-       * cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
-
-2006-07-10  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
-       (bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
-       Handle SHT_GNU_HASH.
-       (special_sections_g): Include .gnu.hash section.
-       (bfd_elf_gnu_hash): New function.
-       * elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
-       (struct elf_backend_data): Add elf_hash_symbol method.
-       * elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
-       only if info->emit_hash, create .gnu.hash section if
-       info->emit_gnu_hash.
-       (struct collect_gnu_hash_codes): New type.
-       (elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
-       _bfd_elf_hash_symbol): New functions.
-       (compute_bucket_count): Don't compute HASHCODES array, instead add
-       that and NSYMS as arguments.  Use bed->s->sizeof_hash_entry
-       instead of bed->s->arch_size / 8.  Fix .hash size estimation.
-       When not optimizing, use the number of hashed symbols rather than
-       dynsymcount.
-       (bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
-       and ADD DT_GNU_HASH if info->emit_gnu_hash.
-       (bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
-       adjust compute_bucket_count caller.  Create and populate .gnu.hash
-       section if info->emit_gnu_hash.
-       (elf_link_output_extsym): Only populate .hash section if
-       finfo->hash_sec != NULL.
-       (bfd_elf_final_link): Adjust assertion.  Handle DT_GNU_HASH.
-       * elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
-       (elfNN_bed): Add elf_backend_hash_symbol.
-       * elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
-       (elf_backend_hash_symbol): Define.
-       * elf32-i386.c (elf_i386_hash_symbol): New function.
-       (elf_backend_hash_symbol): Define.
-
-2006-07-05  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/2659
-       * cofflink.c (_bfd_coff_link_input_bfd): Fix selection of aux
-       entry when multiple definitions of a symbol are encountered.
-
-2006-06-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf32-i386.c (elf_i386_relocate_section): Use xchg %ax,%ax
-       instead of 2 nops.
-       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
-       (elf64_x86_64_plt0_entry): Use nopl 0(%rax) instead of 4 nops.
-
-2006-06-29  Jakub Jelinek  <jakub@redhat.com>
-
-       PR ld/2513
-       * elf32-i386.c (GOT_TLS_MASK, GOT_TLS_IE_IE, GOT_TLS_IE_GD,
-       GOT_TLS_IE_MASK, elf_i386_check_relocs, allocate_dynrelocs): Revert
-       2006-04-08 changes.
-       (elf_i386_relocate_section): Likewise.  For GD->IE transition
-       change subl into addl whenever tls_type is GOT_TLS_IE_POS.
-
-2006-06-23  Alan Modra  <amodra@bigpond.net.au>
-
-       PR ld/2754
-       * elf.c (bfd_elf_mkobject): Don't alloc if already done.  Set
-       program_header_size to -1.
-       (_bfd_elf_map_sections_to_segments): Adjust program_header_size check.
-       (assign_file_positions_for_load_sections ): Likewise.
-       (_bfd_elf_sizeof_headers): Use saved program_header_size if
-       available.
-       * elf32-arm.c (elf32_arm_mkobject): Call bfd_elf_mkobject, don't
-       alloc if already done.
-       * elf32-i386.c (elf_i386_mkobject): Likewise.
-       * elf32-ppc.c (ppc_elf_mkobject): Likewise.
-       * elf32-s390.c (elf_s390_mkobject): Likewise.
-       * elf32-sh.c (sh_elf_mkobject): Likewise.
-       * elf64-alpha.c (elf64_alpha_mkobject): Likewise.
-       * elf64-ppc.c (ppc64_elf_mkobject): Likewise.
-       * elf64-s390.c (elf_s390_mkobject): Likewise.
-       * elf64-x86-64.c (elf64_x86_64_mkobject): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Likewise.
-
-2006-06-20  Jakub Jelinek  <jakub@redhat.com>
-
-       * elflink.c (elf_link_add_object_symbols): Don't create .tcommon
-       section for relocatable link.
-
-2006-06-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf-bfd.h (struct elf_backend_data): Add
-       elf_backend_modify_program_headers.
-       * elfxx-target.h (elf_backend_modify_program_headers): Define.
-       (elfNN_bed): Init new field.
-       * elf.c (elf_modify_segment_map): Remove comment.
-       (assign_file_positions_for_load_sections): Only call
-       elf_modify_segment_map for objcopy/strip.
-       (assign_file_positions_except_relocs): Call
-       elf_backend_modify_program_headers.
-       * elf32-frv.c (elf32_frvfdpic_always_size_sections): Don't make
-       .stack section.
-       (elf32_frvfdpic_modify_segment_map): Delete.
-       (elf32_frvfdpic_modify_program_headers): New.
-       (elf_backend_modify_segment_map): Don't define.
-       (elf_backend_modify_program_headers): Define.
-       * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Don't make
-       .stack section.
-       (elf32_bfinfdpic_modify_segment_map): Delete.
-       (elf32_bfinfdpic_modify_program_headers): New.
-       (elf_backend_modify_segment_map): Don't define.
-       (elf_backend_modify_program_headers): Define.
-       * elfxx-ia64.c (elfNN_ia64_modify_program_headers): New function.
-       Split out from..
-       (elfNN_ia64_modify_segment_map): ..here.
-       (elf_backend_modify_program_headers): Define.
-
-2006-06-20  Jakub Jelinek  <jakub@redhat.com>
-
-       * bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
-       * elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.
-
-2006-06-20  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf-bfd.h: Formatting.
-       (_bfd_elf_map_sections_to_segments): Declare.
-       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame_hdr): Don't
-       clear program_header_size.
-       * elf.c (get_program_header_size): Move.  Don't use or set saved
-       program_header_size here.
-       (elf_modify_segment_map): New function.  Split out from..
-       (assign_file_positions_for_load_sections): ..here.  Assert
-       header size is correct.  Remove dead code.
-       (_bfd_elf_map_sections_to_segments): Rename from
-       map_sections_to_segments.  Make global.  Use get_program_header_size
-       when we need estimate of header size.  Call elf_modify_segment_map.
-       Set program_header_size.
-       (print_segment_map): Delete.
-       (_bfd_elf_sizeof_headers): If segment_map available, get the
-       actual size.
-       * elf32-arm.c (elf32_arm_symbian_modify_segment_map): Make safe
-       for calling more than once.
-       * elf32-bfin.c (elf32_bfinfdpic_modify_segment_map): Likewise.
-       * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Likewise.
-       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
-       * elf32-i370.c (elf_backend_add_symbol_hook): Delete.
-       (elf_backend_additional_program_headers): Delete.
-       (elf_backend_modify_segment_map): Delete.
-       * elf64-hppa.c (elf64_hppa_modify_segment_map): Convert to ISO C.
-       * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
-       * doc/bfdint.texi: Delete SIZEOF_HEADERS difficulties.
-
-2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
-       bit for undefined symbols.
-
-2006-06-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf-bfd.h (struct elf_backend_data): Add bfd_link_info pointer
-       parameter.
-       (_bfd_elf_sizeof_headers): Replace bfd_boolean param with
-       bfd_link_info pointer.
-       * targets.c (struct bfd_target <_bfd_sizeof_headers>): Likewise.
-       * bfd.c (bfd_sizeof_headers): Tweak param name.
-       * aout-adobe.c (aout_adobe_sizeof_headers): Adjust.
-       * aoutx.h (NAME (aout, sizeof_headers)): Adjust.
-       * binary.c (binary_sizeof_headers): Adjust.
-       * bout.c (b_out_sizeof_headers): Adjust.
-       * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust.
-       * coff64-rs6000.c (xcoff64_sizeof_headers): Adjust.
-       * coffgen.c (coff_sizeof_headers): Adjust.
-       * ecoff.c (_bfd_ecoff_sizeof_headers): Adjust.
-       (ecoff_compute_section_file_positions): Adjust.
-       (_bfd_ecoff_write_object_contents): Adjust.
-       * elf.c (get_program_header_size, _bfd_elf_sizeof_headers): Adjust.
-       * elf32-arm.c (elf32_arm_additional_program_headers): Adjust.
-       * elf32-i370.c (elf_backend_additional_program_headers): Adjust.
-       * elf32-ppc.c (ppc_elf_additional_program_headers): Adjust.
-       * elf64-hppa.c (elf64_hppa_additional_program_headers): Adjust.
-       * elf64-x86-64.c (elf64_x86_64_additional_program_headers): Adjust.
-       * elfxx-ia64.c (elfNN_ia64_additional_program_headers): Adjust.
-       * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Adjust.
-       * elfxx-mips.h (_bfd_mips_elf_additional_program_headers): Adjust.
-       * i386msdos.c: Convert to ISO C.
-       (msdos_sizeof_headers): Adjust.
-       * i386os9k.c: Convert to ISO C.
-       (os9k_sizeof_headers): Adjust.
-       * ieee.c (ieee_sizeof_headers): Adjust.
-       * ihex.c (ihex_sizeof_headers): Adjust.
-       * libaout.h (NAME (aout, sizeof_headers)): Adjust.
-       * libbfd-in.h (_bfd_nolink_sizeof_headers): Adjust.
-       * libcoff-in.h (coff_sizeof_headers): Adjust.
-       * libecoff.h (_bfd_ecoff_sizeof_headers): Adjust.
-       * mach-o.c (bfd_mach_o_sizeof_headers): Adjust.
-       * mmo.c (mmo_sizeof_headers): Adjust.
-       * oasys.c (oasys_sizeof_headers): Adjust.
-       * pdp11.c (NAME (aout, sizeof_headers)): Adjust.
-       * pef.c (bfd_pef_sizeof_headers): Adjust.
-       * ppcboot.c (ppcboot_sizeof_headers): Adjust.
-       * som.c (som_sizeof_headers): Adjust.
-       * srec.c (srec_sizeof_headers): Adjust.
-       * tekhex.c (tekhex_sizeof_headers): Adjust.
-       * versados.c (versados_sizeof_headers): Adjust.
-       * vms.c (vms_sizeof_headers): Adjust.
-       * xcoff-target.h (_bfd_xcoff_sizeof_headers): Adjust.
-       * xsym.c (bfd_sym_sizeof_headers): Adjust.
-       * xsym.h (bfd_sym_sizeof_headers): Adjust.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * libcoff.h: Regenerate.
-
-2006-06-15  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * bfd-in2.h: Regenerate.
-       * elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
-       R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
-       R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
-       R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
-       R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
-       R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
-       R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
-       R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
-       R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
-       R_ARM_LDC_SB_G2): New relocation types.
-       (R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
-       adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
-       and friends.
-       (elf32_arm_howto_table_3): Delete; contents merged into
-       elf32_arm_howto_table_2.
-       (elf32_arm_howto_from_type): Adjust correspondingly.
-       (elf32_arm_reloc_map): Extend with the above relocations.
-       (calculate_group_reloc_mask): New function.
-       (identify_add_or_sub): New function.
-       (elf32_arm_final_link_relocate): Support for the above
-       relocations.
-       * reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
-       codes to correspond to the above relocations.
-
-2006-06-14  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-m68k.c (elf_m68k_plt_info): New structure.
-       (elf_m68k_plt0_entry): Add R_68K_PC32-style in-place addends.
-       (elf_m68k_plt_entry): Likewise.
-       (elf_m68k_plt_info): New table.
-       (CFV4E_PLT_ENTRY_SIZE): Rename to...
-       (ISAB_PLT_ENTRY_SIZE): ...this.
-       (CFV4E_FLAG): Delete.
-       (elf_cfv4e_plt0_entry): Rename to...
-       (elf_isab_plt0_entry): ...this.  Adjust comments.  Use (-6,%pc,%d0)
-       for the second instruction too.
-       (elf_cfv4e_plt_entry): Rename to...
-       (elf_isab_plt_entry): ...this.  Adjust comments and use (-6,%pc,%d0).
-       (elf_isab_plt_info): New table.
-       (CPU32_FLAG): Delete.
-       (PLT_CPU32_ENTRY_SIZE): Rename to...
-       (CPU32_PLT_ENTRY_SIZE): ...this.
-       (elf_cpu32_plt0_entry): Update bounds accordingly.  Add R_68K_PC32-
-       style in-place addends.
-       (elf_cpu32_plt_entry): Likewise.
-       (elf_cpu32_plt_info): New table.
-       (elf_m68k_link_hash_table): Add a plt_info field.
-       (elf_m68k_link_hash_table_create): Initialize it.
-       (elf_m68k_get_plt_info): New function.
-       (elf_m68k_always_size_sections): Likewise.
-       (elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
-       (elf_m68k_install_pc32): New function.
-       (elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
-       elf_m68k_install_pc32.
-       (elf_m68k_finish_dynamic_sections): Likewise.
-       (elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
-       (elf_backend_always_size_sections): Define.
-
-2006-06-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * elflink.c (elf_link_add_object_symbols): Save and restore
-       struct bfd_hash_table table, size and count fields for
-       as-needed libs.
-
-2006-06-12  Thiemo Seufer  <ths@mips.com>
-
-       * elf32-mips.c: Expand comment about ABI-mandated pagesize values.
-       (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): define in a more obvious way.
-       * elf64-mips.c, elfn32-mips.c (ELF_MAXPAGESIZE): Fix value for IRIX6.
-       Delete old comments.
-       (ELF_COMMONPAGESIZE): Define in a more obvious way.
-
-2006-06-12  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/2735
-       * elflink.c (elf_link_add_object_symbols): Fix the warning message
-       about mismatched alignments to allow for the case where the common
-       alignment has been deduced from the section alignment.
-       * bfd.c (_bfd_default_error_handler): Update comment to explain
-       why bfd and asection varargs are out of order.  Explicitly catch
-       and abort on NULL bfd and asection arguments.
-
-2006-06-11  Richard Sandiford  <richard@codesourcery.com>
-           Thiemo Seufer  <ths@mips.com>
-
-       * elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size.
-       (STUB_ORI): New macro.
-       (STUB_LI16U): Fix formatting.
-       (MIPS_FUNCTION_STUB_SIZE): Delete.
-       (MIPS_FUNCTION_STUB_MAX_SIZE): Likewise.
-       (MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro.
-       (MIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
-       (_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size
-       instead of MIPS_FUNCTION_STUB_SIZE.
-       (count_section_dynsyms): New function, split out from
-       _bfd_mips_elf_final_link.
-       (_bfd_mips_elf_always_size_sections): Get a worst-case estimate
-       of the number of dynamic symbols needed and use it to set up
-       function_stub_size.  Use function_stub_size rather than
-       MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section.
-       Use 16-byte stubs for 0x10000 dynamic symbols.
-       (_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size
-       instead of MIPS_FUNCTION_STUB_SIZE.  Fix formatting.
-       (_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Change the
-       size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to
-       MIPS_FUNCTION_STUB_BIG_SIZE.  Tweak the check for unhandled dynindxes.
-       Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20.
-       Use STUB_ORI rather than STUB_LI16U for big stubs.
-       (_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size.
-       (_bfd_mips_elf_final_link): Use count_section_dynsyms.
-
-2006-06-09  David Ung  <davidu@mips.com>
-
-       * bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
-       calling relocations.
-
-2006-06-08  David Daney  <ddaney@avtrex.com>
-
-       * elfxx-mips.c (STUB_LI16): Removed.
-       (STUB_LUI): New macro.
-       (STUB_LI16U): Ditto.
-       (STUB_LI16S): Ditto.
-       (MIPS_FUNCTION_STUB_SIZE): Rewrote to take info parameter.
-       (_bfd_mips_elf_adjust_dynamic_symbol): Pass info parameter to
-       MIPS_FUNCTION_STUB_SIZE.
-       (_bfd_mips_elf_always_size_sections): Ditto.
-       (_bfd_mips_elf_size_dynamic_sections): Ditto.
-       (_bfd_mips_elf_finish_dynamic_sections): Ditto.
-       (_bfd_mips_elf_finish_dynamic_symbol): Rewrote stub generation
-       to allow larger symbol table indexes.
-
-2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * po/Make-in (pdf, ps): New dummy targets.
-
-2006-06-06  Alan Modra  <amodra@bigpond.net.au>
-
-       * hash.c (bfd_hash_lookup): Correct stray line.
-
-       * elf.c (_bfd_elf_init_private_section_data): Comment typo.
-       (elfcore_grok_nto_status): Use long instead of pid_t.
-       (elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/Make-in (top_builddir): Define.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
-       * config.in: Regenerate.
-
-2006-06-02  Alan Modra  <amodra@bigpond.net.au>
-           H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2723
-       * elflink.c (bfd_elf_final_link): Don't output section symbols
-       for special ELF sections.
-
-2006-06-01  Alan Modra  <amodra@bigpond.net.au>
-
-       * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags
-       instead of bfd_make_section*.
-       * aix386-core.c: Likewise.
-       * aix5ppc-core.c: Likewise.
-       * aout-adobe.c: Likewise.
-       * aoutf1.h: Likewise.
-       * binary.c: Likewise.
-       * cisco-core.c: Likewise.
-       * coff-arm.c: Likewise.
-       * coff-h8300.c: Likewise.
-       * elf.c: Likewise.
-       * elf32-bfin.c: Likewise.
-       * elf32-m32c.c: Likewise.
-       * hppabsd-core.c: Likewise.
-       * hpux-core.c: Likewise.
-       * i386linux.c: Likewise.
-       * ieee.c: Likewise.
-       * ihex.c: Likewise.
-       * irix-core.c: Likewise.
-       * lynx-core.c: Likewise.
-       * m68klinux.c: Likewise.
-       * mach-o.c: Likewise.
-       * netbsd-core.c: Likewise.
-       * nlmcode.h: Likewise.
-       * opncls.c: Likewise.
-       * osf-core.c: Likewise.
-       * peXXigen.c: Likewise.
-       * ppcboot.c: Likewise.
-       * ptrace-core.c: Likewise.
-       * rs6000-core.c: Likewise.
-       * sco5-core.c: Likewise.
-       * sparclinux.c: Likewise.
-       * srec.c: Likewise.
-       * sunos.c: Likewise.
-       * trad-core.c: Likewise.
-       * xcofflink.c: Likewise.
-       * xsym.c: Likewise.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am (INCLUDES): Use @INCINTL@.
-       * acinclude.m4: Include new gettext macros.
-       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
-       Manually substitute POFILES and GMOFILES.
-       * Makefile.in, aclocal.m4, configure, doc/Makefile.in: Regenerated.
-
-2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * bfd.c (bfd_emul_get_maxpagesize): New.
-       (bfd_elf_set_pagesize): Likewise.
-       (bfd_emul_set_maxpagesize): Likewise.
-       (bfd_emul_get_commonpagesize): Likewise.
-       (bfd_emul_set_commonpagesize): Likewise.
-       * bfd-in2.h: Regenerated.
-
-       * elf-bfd.h (elf_backend_data): Add commonpagesize.
-       (xvec_get_elf_backend_data): New.
-       (get_elf_backend_data): Use xvec_get_elf_backend_data.
-
-       * elf32-arm.c (elf32_arm_vxworks_bed): Remove const.
-       * elfxx-target.h (elfNN_bed): Likewise.
-
-       * elf32-arm.c (ELF_COMMONPAGESIZE): Defined.
-       * elf32-mips.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf32-ppc.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf32-sh.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf32-sh64.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf32-sparc.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf64-alpha.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf64-sparc.c (ELF_COMMONPAGESIZE): Likewise.
-       * elf64-x86-64.c (ELF_COMMONPAGESIZE): Likewise.
-       * elfn32-mips.c (ELF_COMMONPAGESIZE): Likewise.
-       * elfxx-ia64.c (ELF_COMMONPAGESIZE): Likewise.
-
-       * elfxx-target.h (ELF_COMMONPAGESIZE): Define if not defined.
-       (elfNN_bed): Initialize commonpagesize with ELF_COMMONPAGESIZE.
-
-       * targets.c (bfd_find_target): Support NULL abfd.
-
-2006-05-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2006-05-27  Alan Modra  <amodra@bigpond.net.au>
-           H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (assign_file_positions_for_load_sections): Retrieve
-       maxpagesize from m->p_align if it is valid.  Set p_vaddr,
-       p_paddr and p_align earlier.  Revert 2006-05-19 change to p_align.
-       (copy_elf_program_header): Copy p_align.  Set p_align_valid.
-
-2006-05-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c (ELF_MINPAGESIZE): Changed to 0x1000.
-
-2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c (ELF_MINPAGESIZE): Set to 0x100000.
-
-2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf64-x86-64.c (ELF_MAXPAGESIZE): Updated to 0x200000.
-
-2006-05-26  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (sym_is_global): Return a bfd_boolean.
-       (ignore_section_sym): New function.
-       (elf_map_symbols): Use ignore_section_sym to discard some syms.
-       (_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
-       bfd before using elf_section_syms.
-
-2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * config.bfd: (sh-*-linux*): Treat as 64bit target.
-       (sh*l*-*-netbsdelf*): Likewise.
-       (sh-*-netbsdelf*): Likewise.
-       (shl*-*-elf*): Likewise.
-       (sh[1234]l*-*-elf*): Likewise.
-       (sh3el*-*-elf*): Likewise.
-       (shl*-*-kaos*): Likewise.
-       (sh-*-elf*): Likewise.
-       (sh[1234]*-elf*): Likewise.
-       (sh-*-rtems*): Likewise.
-       (sh-*-kaos*): Likewise.
-
-2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/1485
-       * config.bfd: Set want64 to true if 64bit bfd is used.
-       (sh-*-linux*): Use targ64_selvecs for 64bit targets.
-       (sh*l*-*-netbsdelf*): Likewise.
-       (sh-*-netbsdelf*): Likewise.
-       (shl*-*-elf*): Likewise.
-       (sh[1234]l*-*-elf*): Likewise.
-       (sh3el*-*-elf*): Likewise.
-       (shl*-*-kaos*): Likewise.
-       (sh-*-elf*): Likewise.
-       (sh[1234]*-elf*): Likewise.
-       (sh-*-rtems*): Likewise.
-       (sh-*-kaos*): Likewise.
-
-2006-05-24  Paul Brook  <paul@codesourcery.com>
-
-       * elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms
-       * elf32-arm.c (output_arch_syminfo): Define.
-       (elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
-       elf32_arm_output_arch_local_syms): New functions.
-       (elf_backend_output_arch_local_syms): Define.
-       * elflink.c (bfd_elf_final_link): Call
-       elf_backend_output_arch_local_syms.
-       * elfxx-target.h (elf_backend_output_arch_local_syms): Provide default
-       definition.
-       (elfNN_bed): Add elf_backend_output_arch_local_syms.
-
-2006-05-24  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (put_arm_insn, put_thumb_insn): New functions.
-       (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
-       elf32_arm_finish_dynamic_symbol): Use them.
-
-2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
-           Randolph Chung  <tausq@debian.org>
-
-       * elf-hppa.h (reloc_hppa_howto_table): Check bitfield for
-       TPREL21L/TPREL14R relocations. Handle LTOFF_TP14R relocations.
-       Add handling for TLS relocations.
-       (elf_hpp_reloc_final_type): Handle TLS relocs.
-       * elf32-hppa.c: Add authors for cleanup and TLS support.
-       (hppa_elf_local_got_tls_type, hh_name, eh_name): Define.
-       (elf32_hppa_link_hash_entry): Add tls_type.
-       (elf32_hppa_link_hash_table): Add tld_ldm_got.
-       (hppa_link_has_newfunc): Set tls_type.
-       (elf32_hppa_link_hash_table_create): Set tls_ldm_got refcount.
-       (hppa_stub_name): Use hh_name macro.
-       (elf32_hppa_copy_indirect_symbol): Copy TLS information.
-       (elf32_hppa_check_relocs): Call elf32_hppa_optimized_tls_reloc.
-       Handle TLS relocs.
-       (elf32_hppa_gc_sweep_hook): Likewise.
-       (allocate_dynrelocs): Handle TLS relocs.
-       (elf32_hppa_size_dynamic_sections): Count space required by TLS
-       relocs. Use hh_name macro.
-       (dtpoff_base): New function.
-       (tpoff): Likewise.
-       (elf32_hppa_optimized_tls_reloc): Likewise.
-       (final_link_relocate): Handle TLS relocs.
-       (elf32_hppa_relocate_section): Handle TLS relocs. Use eh_name
-       and hh_name macros.
-       (elf32_hppa_finish_dynamic_symbol): Setup TLS got entries. Use
-       hh_name and eh_name macros.
-       (elf32_hppa_reloc_type_clas): Handle TLS relocs.
-
-2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * archures.c: Add bfd_mach_avr6.
-       * cpu-avr.c: Likewise.
-       * reloc.c (BFD_RELOC_AVR_LO8_LDI_GS, BFD_RELOC_AVR_HI8_LDI_GS):
-       New relocations.
-       * libbfd.h: Regenerate.
-       * bfd-in2.h:Regenerate.
-       * elf32-avr.h: New file.  Protoypes for functions accessed from ld.
-       * elf32-avr.c: Add elf32-avr.h to include list.
-       (elf32_avr_stub_hash_entry): New function.
-       (elf32_avr_link_hash_table): New struct.
-       (avr_link_hash_table): Likewise.
-       (avr_stub_hash_entry): Likewise.
-       (avr_stub_hash_lookup): New function.
-       (stub_hash_newfunc): New function.
-       (elf32_avr_link_hash_table_create): New function.
-       (elf32_avr_link_hash_table_free): New function.
-       (avr_get_stub_addr): New function.
-       (debug_relax, debug_stubs): Add new global variables controlling
-       debugging printout to stdout.
-       (avr_pc_wrap_around): Change the type to bfd_vma.
-       (avr_replace_call_ret_sequences): Add a new variable controling
-       linkrelax optimizations.
-       (avr_stub_is_required_for_16_bit_reloc): New function.
-       (avr_final_link_relocate):
-       Add linker hash table to parameter list. Use stub addr. if necessary.
-       (elf32_avr_relocate_section):
-       Add linker hashtable to parameter list of avr_final_link_relocate.
-       (bfd_elf_avr_final_write_processing): Add support for bfd_mach_avr6.
-       (elf32_avr_object_p): Add support for E_AVR_MACH_AVR6.
-       (elf32_avr_relax_delete_bytes):
-       Iterate over all sections of a bfd when adjusting relocs addends.
-       (elf32_avr_relax_section):
-       Evaluate avr_replace_call_ret_sequences and recalculate the size of
-       stub section.
-       (avr_stub_name): New function.
-       (avr_get_stub_entry): New function.
-       (avr_add_stub): New function.
-       (avr_build_one_stub): New function.
-       (avr_size_one_stub): New function.
-       (elf32_avr_setup_params): New function.
-       (elf32_avr_setup_section_lists): New function.
-       (get_local_syms): New function.
-       (elf32_avr_size_stubs): New function.
-       (bfd_elf32_bfd_link_hash_table_create): New function.
-       (bfd_elf32_bfd_link_hash_table_free): New function.
-
-2006-05-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2655
-       PR ld/2657
-       * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Properly
-       update CIE/FDE length.  Don't pad to the section alignment.
-
-2006-05-23  Jie Zhang  <jie.zhang@analog.com>
-
-       * elf32-bfin.c (bfinfdpic_relocate_section): Clear reloc for
-       deteted entries in .eh_frame section.
-
-2006-05-23  Jie Zhang  <jie.zhang@analog.com>
-
-       * elf32-bfin.c (bfin_check_relocs): Use __GLOBAL_OFFSET_TABLE_
-       instead of _GLOBAL_OFFSET_TABLE_.
-       (bfin_relocate_section): Ditto.
-       (_bfin_create_got_section): Ditto.
-       (elf32_bfinfdpic_create_dynamic_sections): Use
-       __PROCEDURE_LINKAGE_TABLE_ instead of _PROCEDURE_LINKAGE_TABLE_.
-       (bfin_finish_dynamic_symbol): Use __DYNAMIC instead of _DYNAMIC.
-
-2006-05-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (compare_symbols): Prefer strong dynamic global
-       function syms over other syms.
-
-2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
-       check.
-       (bfd_elf_final_link): Add a late DT_TEXTREL check.
-       * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
-       (mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
-       (_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
-       Use MIPS_ELF_READONLY_SECTION.
-       (_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
-       creating DT_TEXTREL.
-       (_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
-       if no text relocations were generated.
-
-2006-05-19  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfxx-ia64.c (ELF_MAXPAGESIZE): Fix a typo in comment.
-
-2006-05-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (elf_fake_sections): Formatting.
-       (assign_file_positions_for_load_sections): Only add SEC_ALLOC
-       sections to p_memsz.  Remove hack for PT_NOTE sections.  Allow
-       section alignment to increase p_align for PT_LOAD.
-       (assign_file_positions_for_non_load_sections): Remove ARM BPABI
-       hack for PT_DYNAMIC.  Instead, set p_filesz for all segments
-       other than PT_LOAD, and PT_NOTE in core.
-
-2006-05-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (assign_file_positions_for_segments): Split into..
-       (assign_file_positions_for_load_sections): ..this, and..
-       (assign_file_positions_for_non_load_sections): ..this new function,..
-       (assign_file_positions_except_relocs): ..writing program headers here.
-
-2006-05-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
-       non-load sections if they have relocs.
-
-2006-05-15  Paul Brook  <paul@codesourcery.com>
-
-       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
-       (bfd_is_arm_special_symbol_name): ... to this.  Add type argument.
-       Check symbol name is of specified type.
-       * elf32-arm.c (elf32_arm_is_target_special_symbol,
-       arm_elf_find_function, elf32_arm_output_symbol_hook): Use
-       bfd_is_arm_special_symbol_name.
-       * bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
-       BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
-       BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
-       (bfd_is_arm_mapping_symbol_name): Remove prototype.
-       (bfd_is_arm_special_symbol_name): Add prototype.
-       * bfd-in2.h: Regenerate.
-
-2006-05-15  David Heine  <dlheine@tensilica.com>
-           Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (check_loop_aligned): Fix reversed check for
-       undefined opcode.  Clean up assertions.
-       (narrow_instruction, widen_instruction): Remove "do_it" parameters.
-       Factor most of the code into separate functions....
-       (can_narrow_instruction, can_widen_instruction): New.
-       (prev_instr_is_a_loop): New.
-       (compute_ebb_proposed_actions): Combine error handling code for
-       decode errors.  Replace call to insn_decode_len with inline code.
-       Use can_narrow_instruction and can_widen_instruction.  Handle errors
-       from call to xtensa_opcode_is_loop.
-       (relax_section): Adjust calls to narrow_instruction and
-       widen_instruction.
-
-2006-05-15  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 2658
-       * elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
-       -shared link.
-
-2006-05-11  Michael Matz  <matz@suse.de>
-
-       * elflink.c (match_group_member): Correctly iterate group
-       members.
-
-2006-05-11  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
-       (elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
-       (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
-       * reloc.c: Ditto.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * libcoff.h: Regenerate.
-
-2006-05-11  Mike Bland  <mbland@google.com>
-
-       * elf.c (_bfd_elf_init_private_section_data): Don't change
-       section type if already set.
-
-2006-05-10  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/2607
-       * elfcode.h (valid_section_index_p): New function: Checks for a
-       valid section index.  Allows indicies in the range SHN_LOPROC to
-       SHN_HIOS.
-       (elf_object_p): Use valid_section_index_p.
-
-2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * coff-arm.c (ARM_26D, ARM_32, ARM_RVA_32, ARM_SECTION,
-       ARM_SECREL): Mark WinCE versions of these relocs as partial
-       inplace.
-       (coff_arm_relocate_section): Adjust addend for WinCE.
-
-2006-05-10  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 2342
-       * elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
-
-2006-05-09  Nick Clifton  <nickc@redhat.com>
-
-       * coffcode.h (coff_write_relocs): Produce an error message if a an
-       out-of-range symbol index is detected in a reloc.
-
-2006-05-09  Ben Elliston  <bje@au.ibm.com>
-
-       * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
-       local variable `dynobj'.
-
-2006-05-05  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all
-       of the bfd's sections for the reloc-addend adjustments.
-
-2006-05-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
-
-       * elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
-       (elf_s390_relocate_section): Add code to do the GD->LE and
-       LD->LE TLS linker optimizations if a brasl instruction is used
-       for the __tls_get_offset function call.
-       * elf64-s390.c (invalid_tls_insn): Call bfd_set_error.
-
-2006-05-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
-       R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
-       the .toc and referenced by a TLS code sequence.
-       (ppc64_elf_edit_toc): Cater for the unlikely situation that
-       .toc is the first section in a file.
-
-2006-05-04  Andreas Schwab  <schwab@suse.de>
-
-       * aoutf1.h (struct external_sparc_core): Declare c_regs as struct
-       regs instead of an array of int.
-       (struct external_solaris_bcp_core): Likewise.
-       (swapcore_sun3): Use offsetof instead of computing the offset
-       manually.
-       (swapcore_sparc): Likewise.  Simplify reference to c_regs.
-       (swapcore_solaris_bcp): Likewise.
-
-2006-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
-       for missing GOTs.
-
-2006-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
-       mapping symbols.
-
-2006-05-04  Ben Elliston  <bje@au.ibm.com>
-
-       * coff-or32.c (bfd_section_from_shdr): Remove unused local
-       variable `ptr'.
-       * cofflink.c (process_embedded_commands): Remove unused local
-       variables `had_read' and `had_shared'.
-       * ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local
-       variable `fdr_adr'.
-       * ihex.c (ihex_read_section): Remove unused local variable `addr'.
-
-2006-05-03  Alan Modra  <amodra@bigpond.net.au>
-
-       * libbfd-in.h (_bfd_generic_new_section_hook): Declare.
-       * section.c (bfd_abs_symbol, bfd_com_symbol): Delete.
-       (bfd_und_symbol, bfd_ind_symbol): Delete.
-       (BFD_FAKE_SECTION): Remove SYM_PTR param, set symbol_ptr_ptr to
-       &SEC.symbol.
-       (STD_SECTION): Adjust.
-       (_bfd_generic_new_section_hook): New function, extracted from..
-       (bfd_section_init): ..here.
-       (bfd_make_section_old_way): Call new_section_hook for abs, com,
-       und and ind sections.
-       * elf.c (_bfd_elf_large_com_section): Adjust.
-       * aoutx.h (new_section_hook): Call _bfd_generic_new_section_hook.
-       * pdp11.c (new_section_hook): Likewise.
-       * coffcode.h (coff_new_section_hook): Likewise.
-       * ecoff.c (_bfd_ecoff_new_section_hook): Likewise.
-       * elf.c (_bfd_elf_new_section_hook): Likewise.
-       * vms.c (vms_new_section_hook): Likwise.
-       * elf32-arm.c (elf32_arm_new_section_hook): Check used_by_bfd isn't
-       already set.
-       * elf32-sh64.c (sh64_elf_new_section_hook): Likewise.
-       * elf32-xtensa.c (elf_xtensa_new_section_hook): Likewise.
-       * elf64-mmix.c (mmix_elf_new_section_hook): Likewise.
-       * elf64-ppc.c (ppc64_elf_new_section_hook): Likewise.
-       * elfxx-mips.c (_bfd_mips_elf_new_section_hook): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_new_section_hook): Likewise.
-       * ieee.c (ieee_new_section_hook): Likewise.  Call
-       _bfd_generic_new_section_hook too.
-       * mmo.c (mmo_new_section_hook): Likewise.
-       * oasys.c (oasys_new_section_hook): Likewise.
-       * som.c (som_new_section_hook): Likewise.
-       * coff-w65.c (reloc_processing): Don't use bfd_abs_symbol.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-
-2006-05-03  Alan Modra  <amodra@bigpond.net.au>
-
-       * hash.c (DEFAULT_SIZE): Revert last change.
-       (higher_prime_number): Correct test for no larger prime.  Don't
-       abort on error, instead return 0.  Depopulate primes[].
-       (bfd_hash_lookup): If we overflow size, refuse to grow table.
-
-2006-05-02  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
-       for R_ARM_REL32.
-
-2006-05-02  Ben Elliston  <bje@au.ibm.com>
-
-       * archive.c (bfd_generic_archive_p): Remove unused local variable
-       `fail'.
-       * dwarf2.c (decode_line_info): Remove unused local variable
-       `basic_block'.
-       * elfcode.h (elf_slurp_reloc_table_from_section): Remove unused
-       local variable `s'.
-       * tekhex.c (tekhex_write_object_contents): Remove unused local
-       variable `bytes_written'.
-       * aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
-       variable `r_addend'.
-       * elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
-       * elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
-       (_bfd_ns32k_relocate_contents): Remove break after return.
-       * elf.c (bfd_section_from_shdr): Remove breaks after returns.
-
-2006-05-02  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-sh-symbian.c: Rename local define DEBUG to SYMBIAN_DEBUG
-       in order to avoid conflicts with the global DEBUG define.
-
-2006-05-02  Alan Modra  <amodra@bigpond.net.au>
-
-       * dwarf2.c: Formatting.
-       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify
-       output section check.
-       * elf32-i370.c: Warning fixes inside #ifdef DEBUG.
-       * elf32-m32c.c: Similarly.
-       * elf32-ppc.c: Similarly.
-       * elf32-v850.c: Similarly.
-       * nlm32-sparc.c: Similarly.
-       * elfcode.h: Similarly.
-       (elf_symbol_flags): Delete.
-       * elflink.c (elf_link_input_bfd): Comment typo.
-
-2006-05-01  DJ Delorie  <dj@redhat.com>
-
-       * bfd-in.h (bfd_hash_table): Add count field.
-       * bfd-in2.h: Regenerate.
-       * hash.c (higher_prime_number): New.
-       (bfd_hash_table_inint_n): Init count field.
-       (bfd_hash_lookup): Grow table as needed.
-
-2006-04-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-
-       PR binutils/2584
-       * tekhex.c (getvalue): Change return type to bfd_boolean and
-       add the new parameter.  Return false if the unexpected character
-       is found.
-       (getsym): Likewise.
-       (first_phase): Change return type to bfd_boolean and return
-       false if the unexpected character is found.  Replace abort
-       with returning false.
-       (pass_over): Change return type to bfd_boolean and the type of
-       the second argument to bfd_boolean (*) (bfd *, int, char *).
-       Return false if FUNC returns false.
-       (tekhex_object_p): Return NULL if pass_over fails.
-
-2006-04-27  Alan Modra  <amodra@bigpond.net.au>
-
-       * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
-
-2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2593
-       * elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
-       and flags if its BFD flags have been set.
-       (_bfd_elf_init_private_section_data): Don't copy the output ELF
-       section type from input if it has been set to something
-       different.
-
-2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2467
-       * elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
-       is NULL first.
-
-       * elf32-arm.c (elf32_arm_close_and_cleanup): Check if
-       abfd->sections is NULL.
-       (elf32_arm_bfd_free_cached_info): New.
-       (bfd_elf32_bfd_free_cached_info): Defined.
-
-       * elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
-       to _bfd_free_cached_info.
-
-       * libbfd-in.h (_bfd_free_cached_info): New.
-       * libbfd: Regenerated.
-
-       * opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
-       (_bfd_free_cached_info): New.
-
-2006-04-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf.c (assign_file_positions_except_relocs): Move code setting
-       file position of non-loaded sections..
-       (assign_file_positions_for_segments): ..to here.
-
-2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2537
-       * elf.c (bfd_section_from_shdr): Allow sections reserved for
-       applications. Issue an error on sections we don't know how
-       to handle.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * warning.m4 (--enable-werror): Format help message.
-       (--enable-build-warnings): Likewise.
-       * configure: Regenerate.
-
-2006-04-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 2257
-       * elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
-       fields to still be handled as ELF files.
-
-2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/SRC-POTFILES.in: Regenerated.
-
-2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure.in: Update version to 2.17.50.
-       * configure: Regenerated.
-
-2006-04-14  David Heine  <dlheine@tensilica.com>
-
-       * elf32-xtensa.c (build_reloc_opcodes): New.
-       (compute_text_actions): Use it to decode opcodes outside inner loop.
-       (check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
-       it is set, use it to get the opcodes for relocations.
-       (move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
-
-2006-04-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2513
-       * elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
-       (GOT_TLS_IE_IE): Likewise.
-       (GOT_TLS_IE_GD): Likewise.
-       (GOT_TLS_IE_MASK): Likewise.
-       (elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
-       and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
-       respectively.
-       (allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
-       are set, treat tls_type as GOT_TLS_IE_BOTH.
-       (elf_i386_relocate_section): Likewise.
-
-2006-04-07  Randolph Chung  <tausq@debian.org>
-
-       * elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
-       (elf64_hppa_grok_psinfo): Likewise.
-       (elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
-
-2006-04-06  DJ Delorie  <dj@redhat.com>
-
-       * elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
-       each plt entry we create.
-
-2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * po/Make-in: Add install-html target.
-       * Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
-       htmldir. Add install-html and install-html-recursive targets.
-       * Makefile.in: Regenerate.
-       * configure.in: AC_SUBST for datarootdir, docdir and htmldir.
-       * configure: Regenerate.
-
-2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
-       with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
-       section structure.
-
-2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       * elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
-       eliminate warnings.
-
-2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
-           James E Wilson  <wilson@specifixinc.com>
-
-       PR ld/2442
-       * elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
-       (elfNN_ia64_local_hash_entry): Add count, sorted_count and
-       size.
-       (elfNN_ia64_link_hash_entry): Likewise.
-       (elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
-       and size.
-       (elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
-       processing.
-       (elfNN_ia64_hash_hide_symbol): Likewise.
-       (elfNN_ia64_global_dyn_sym_thunk): Likewise.
-       (elfNN_ia64_local_dyn_sym_thunk): Likewise.
-       (elfNN_ia64_global_dyn_info_free): New function.
-       (elfNN_ia64_local_dyn_info_free): Likewise.
-       (elfNN_ia64_hash_table_free): Free local and global
-       elfNN_ia64_dyn_sym_info.
-       (addend_compare): New function.
-       (sort_dyn_sym_info): Likewise.
-       (get_dyn_sym_info): Updated to use binary search for addend.
-       (elfNN_ia64_check_relocs): Scan relocations to create dynamic
-       relocation arrays first.
-
-2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       * elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
-       symbol.
-
-2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2411
-       * elflink.c (check_dynsym): New.
-       (elf_link_output_extsym): Use it.
-       (bfd_elf_final_link): Likewise.
-
-2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2404
-       * elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
-       symbol from the dynamic definition with the default version if
-       its type and the type of existing regular definition mismatch.
-
-2006-04-05  Richard Sandiford  <richard@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * config.bfd (sparc-*-vxworks*): New stanza.
-       * configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
-       (bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
-       * configure: Regenerate.
-       * elf32-sparc.c: Include elf-vxworks.h.
-       (elf32_sparc_vxworks_link_hash_table_create: New.
-       (elf32_sparc_vxworks_final_write_processing): New.
-       (TARGET_BIG_SYM): Override for VxWorks.
-       (TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
-       (bfd_elf32_bfd_link_hash_table_create): Likewise.
-       (elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
-       (elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
-       (elf_backend_link_output_symbol_hook): Likewise.
-       (elf_backend_emit_relocs): Likewise.
-       (elf_backend_final_write_processing, elf32_bed): Likewise.
-       * elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
-       (sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
-       (sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
-       (_bfd_sparc_elf_link_hash_table_create): Don't initialize
-       build_plt_entry here.
-       (create_got_section): Initialize sgotplt for VxWorks.
-       (_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
-       plt_header_size and plt_entry_size, with new VxWorks-specific settings.
-       Call elf_vxworks_create_dynamic_sections for VxWorks.
-       (allocate_dynrelocs): Use plt_header_size and plt_entry_size.
-       Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
-       (_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
-       for VxWorks.  Check for the .got.plt section.
-       (sparc_vxworks_build_plt_entry): New function.
-       (_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
-       Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
-       absolute on VxWorks.
-       (sparc32_finish_dyn): Add special handling for DT_RELASZ
-       and DT_PLTGOT on VxWorks.
-       (sparc_vxworks_finish_exec_plt): New.
-       (sparc_vxworks_finish_shared_plt): New.
-       (_bfd_sparc_elf_finish_dynamic_sections): Call them.
-       Use plt_header_size and plt_entry_size.
-       * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
-       srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
-       * Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
-       (elf32-sparc.lo): Likewise.
-       * Makefile.in: Regenerate.
-       * targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
-       (_bfd_target_vector): Add a pointer to it.
-
-2006-03-30  Ben Elliston  <bje@au.ibm.com>
-
-       PR ld/2267
-       * elflink.c (elf_fixup_link_order): Ensure `elfsec' is not a
-       special section number that exceeds the number of ELF sections
-       (eg. SHN_MIPS_SCOMMON).
-
-2006-03-27  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (mips_got_entry): Add more commentary.
-       (mips_elf_local_got_index): Use the hash table entry to record
-       the GOT index of forced-local symbols.
-       (mips_elf_initialize_tls_index): Rearrange code.  Store the index
-       in either the hash table entry or the mips_got_entry, not both.
-       Add more commentary.
-       (mips_elf_multi_got): Make sure the g->next is nonnull when calling
-       mips_elf_initialize_tls_index.
-
-2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       * elf32-bfin.c (bfd_const_reloc, bfd_oper_reloc, bfin_push_reloc,
-       RELOC_STACK_SIZE, reloc_stack, reloc_stack_tos, is_reloc_stack_empty,
-       reloc_stack_push, reloc_stack_pop, reloc_stack_operate,
-       bfin_areloc_howto_table): Delete.  All
-       uses deleted as well.
-       (bfin_reloc_map): Delete all stack relocs.
-       (bfin_info_to_howto, bfin_bfd_reloc_type_lookup,
-       bfin_reloc_type_lookup): Don't support them.
-       (bfin_relocate_section): Don't try to handle them.
-
-       * config.bfd (bfin-*-*): Add bfd_elf32_bfinfdpic_vec.
-       * configure.in: Likewise.
-       * configure: Regenerate.
-       * elf32-bfin.c: Include "elf/dwarf2.h" and "hashtab.h".
-       (BFIN_RELOC_MAX): Now 0x21.
-       (bfin_howto_table, bfin_reloc_map): Add FD-PIC relocs.
-       (bfd_elf32_bfinfdpic_vec): Declare.
-       (IS_FDPIC): New macro.
-       (struct bfinfdpic_elf_link_hash_table): New struct.
-       (bfinfdpic_hash_table, bfinfdpic_got_section,
-       bfinfdpic_gotrel_section, bfinfdpic_gotfixup_section,
-       bfinfdpic_plt_setion, bfinfdpic_pltrel_section,
-       bfinfdpic_relocs_info, bfinfdpic_got_initial_offset,
-       bfinfdpic_plt_initial_offset): Accessor macros for it.
-       (BFINFDPIC_SYM_LOCAL, BFINFDPIC_FUNCDESC_LOCAL): New macros.
-       (struct bfinfdpic_relocs_info): New struct.
-       (LZPLT_RESOLVER_EXTRA, LZPLT_NORMAL_SIZE, LZPLT_ENTRIES,
-       BFINFDPIC_LZPLT_BLOCK_SIZE, BFINFDPIC_LZPLT_RESOLV_LOC,
-       DEFAULT_STACK_SIZE): New macros.
-       (bfinfdpic_elf_link_hash_table_create, bfinfdpic_relocs_info_hash,
-       bfinfdpic_relocs_info_eq, bfinfdpics_relocs_info_find,
-       bfinfdpic_relocs_info_for_global, bfinfdpic_relocs_info_for_local,
-       bfinfdpic_pic_merge_early_relocs_info, _bfinfdpic_add_dyn_reloc,
-       _bfinfdpic_add_rofixup, _bfinfdpic_osec_to_segment,
-       _bfinfdpic_osec_readonly_p, bfinfdpic_relocate_section,
-       bfinfdpic_check_relocs, bfinfdpic_gc_sweep_hook,
-       _bfinfdpic_link_omit_section_dynsym, _bfin_create_got_section,
-       elf32_bfinfdpic_create_dynamic_sections, _bfinfdpic_get_fd_entry,
-       _bfinfdpic_compute_got_alloc_data, _bfinfdpic_get_got_entry,
-       _bfinfdpic_assign_got_entries, _bfinfdpic_assign_plt_entries,
-       _bfinfdpic_resolve_final_relocs_info,
-       elf32_bfinfdpic_size_dynamic_sections,
-       elf32_bfinfdpic_always_size_sections,
-       elf32_bfinfdpic_modify_segment_map,
-       _bfinfdpic_count_got_plt_entries,
-       elf32_bfinfdpic_finish_dynamic_sections,
-       elf32_bfinfdpic_adjust_dynamic_symbol,
-       elf32_bfinfdpic_finish_dynamic_symbol,
-       elf32_bfinfdpic_elf_use_relative_eh_frame,
-       elf32_bfinfdpic_elf_encode_eh_address,
-       elf32_bfin_object_p, bfin_elf_copy_private_bfd_data,
-       elf32_bfinfdpic_copy_private_bfd_data,
-       (struct _bfinfdpic_dynamic_got_info,
-       struct _bfinfdpic_dynamic_got_plt_info): New structs.
-       (elf32_bfin_print_private_bfd_data): Print PIC flags.
-       (elf32_bfin_merge_private_bfd_data): Extend to support FD-PIC.
-       (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, elf32_bed,
-       elf_backend_got_header_size, bfd_elf32_bfd_link_hash_table_create,
-       elf_backend_always_size_sectinos, elf_backend_modify_segment_map,
-       bfd_elf32_bfd_copy_private_bfd_data,
-       elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
-       elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol,
-       elf_backend_finish_dynamic_sections, elf_backend_relocate_section,
-       elf_backend_can_make_relative_eh_frame, elf_backend_check_relocs,
-       elf_backend_can_make_ldsa_relative_eh_frame, elf_backend_may_use_rel_p,
-       elf_backend_may_use_rela_p, elf_backend_default_use_rela_p,
-       elf_backend_omit_section_dynsym): Redefine these macros and include
-       "elf32-target.h" again to create the elf32-bfinfdpic target.
-       * reloc.c (BFD_RELOC_BFIN_GOT17M4, BFD_RELOC_BFIN_GOTHI,
-       BFD_RELOC_BFIN_GOTLO, BFD_RELOC_BFIN_FUNCDESC,
-       BFD_RELOC_BFIN_FUNCDESC_GOT17M4, BFD_RELOC_BFIN_FUNCDESC_GOTHI,
-       BFD_RELOC_BFIN_FUNCDESC_GOTLO, BFD_RELOC_BFIN_FUNCDESC_VALUE,
-       BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4, BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI,
-       BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO, BFD_RELOC_BFIN_GOTOFFHI,
-       BFD_RELOC_BFIN_GOTOFFLO): New.
-       * targets.c (bfd_elf32_bfinfdpic_vec): New bfd_target.
-       (_bfd_target_vector): Add it.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-
-2006-03-25  Richard Sandiford  <richard@codesourcery.com>
-
-       * cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as
-       incompatible.  Likewise MAC and EMAC code.
-       * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use
-       bfd_get_compatible to set the new bfd architecture.  Rely on it
-       to detect incompatibilities.
-
-2006-03-23  Michael Matz  <matz@suse.de>
-
-       * reloc.c: Add BFD_RELOC_X86_64_GOT64, BFD_RELOC_X86_64_GOTPCREL64,
-       BFD_RELOC_X86_64_GOTPC64, BFD_RELOC_X86_64_GOTPLT64,
-       BFD_RELOC_X86_64_PLTOFF64.
-       * bfd-in2.h: Regenerated.
-       * libbfd.h: Regenerated.
-       * elf64-x86-64.c (x86_64_elf_howto_table): Correct comment.
-       Add howtos for above relocs.
-       (x86_64_reloc_map): Add mappings for new relocs.
-       (elf64_x86_64_check_relocs): R_X86_64_GOT64, R_X86_64_GOTPCREL64,
-       R_X86_64_GOTPLT64 need a got entry.  R_X86_64_GOTPLT64 also a PLT
-       entry.  R_X86_64_GOTPC64 needs a .got section.  R_X86_64_PLTOFF64
-       needs a PLT entry.
-       (elf64_x86_64_gc_sweep_hook): Reflect changes from
-       elf64_x86_64_check_relocs for the new relocs.
-       (elf64_x86_64_relocate_section): Handle new relocs.
-
-2006-03-22  Bob Wilson  <bob.wilson@acm.org>
-
-       * elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
-       rel->r_addend is zero.
-
-2006-03-22  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
-       of "loc".
-
-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>
-
-       * bfd-in2.h: Regenerate.
-       * config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
-       * configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
-       (bfd_elf32_littlemips_vxworks_vec): Likewise.
-       (bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
-       (bfd_elf32_littlemips_vec): Likewise.
-       (bfd_elf32_nbigmips_vec): Likewise.
-       (bfd_elf32_nlittlemips_vec): Likewise.
-       (bfd_elf32_ntradbigmips_vec): Likewise.
-       (bfd_elf32_ntradlittlemips_vec): Likewise.
-       (bfd_elf32_tradbigmips_vec): Likewise.
-       (bfd_elf32_tradlittlemips_vec): Likewise.
-       (bfd_elf64_bigmips_vec): Likewise.
-       (bfd_elf64_littlemips_vec): Likewise.
-       (bfd_elf64_tradbigmips_vec): Likewise.
-       (bfd_elf64_tradlittlemips_vec): Likewise.
-       * elf32-mips.c: Include elf-vxworks.h.
-       (mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
-       instead of calling mips_elf32_rtype_to_howto directly.
-       (mips_vxworks_copy_howto_rela): New reloc howto.
-       (mips_vxworks_jump_slot_howto_rela): Likewise.
-       (mips_vxworks_bfd_reloc_type_lookup): New function.
-       (mips_vxworks_rtype_to_howto): Likewise.
-       (mips_vxworks_final_write_processing): Likewise.
-       (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
-       (TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
-       (elf_backend_want_got_plt): Likewise.
-       (elf_backend_want_plt_sym): Likewise.
-       (elf_backend_got_symbol_offset): Likewise.
-       (elf_backend_want_dynbss): Likewise.
-       (elf_backend_may_use_rel_p): Likewise.
-       (elf_backend_may_use_rela_p): Likewise.
-       (elf_backend_default_use_rela_p): Likewise.
-       (elf_backend_got_header_size: Likewise.
-       (elf_backend_plt_readonly): Likewise.
-       (bfd_elf32_bfd_reloc_type_lookup): Likewise.
-       (elf_backend_mips_rtype_to_howto): Likewise.
-       (elf_backend_adjust_dynamic_symbol): Likewise.
-       (elf_backend_finish_dynamic_symbol): Likewise.
-       (bfd_elf32_bfd_link_hash_table_create): Likewise.
-       (elf_backend_add_symbol_hook): Likewise.
-       (elf_backend_link_output_symbol_hook): Likewise.
-       (elf_backend_emit_relocs): Likewise.
-       (elf_backend_final_write_processing: Likewise.
-       (elf_backend_additional_program_headers): Likewise.
-       (elf_backend_modify_segment_map): Likewise.
-       (elf_backend_symbol_processing): Likewise.
-       * elfxx-mips.c: Include elf-vxworks.h.
-       (mips_elf_link_hash_entry): Add is_relocation_target and
-       is_branch_target fields.
-       (mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
-       srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
-       (MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
-       (MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
-       Return 3 for VxWorks.
-       (ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
-       mips_elf_link_hash_table.  Return 0 for VxWorks.
-       (MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
-       mips_elf_link_hash_table.  Update the call to ELF_MIPS_GP_OFFSET.
-       (mips_vxworks_exec_plt0_entry): New variable.
-       (mips_vxworks_exec_plt_entry): Likewise.
-       (mips_vxworks_shared_plt0_entry): Likewise.
-       (mips_vxworks_shared_plt_entry): Likewise.
-       (mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
-       (mips_elf_rel_dyn_section): Change the bfd argument to a
-       mips_elf_link_hash_table.  Use MIPS_ELF_REL_DYN_NAME to get
-       the name of the section.
-       (mips_elf_initialize_tls_slots): Update the call to
-       mips_elf_rel_dyn_section.
-       (mips_elf_gotplt_index): New function.
-       (mips_elf_local_got_index): Add an input_section argument.
-       Update the call to mips_elf_create_local_got_entry.
-       (mips_elf_got_page): Likewise.
-       (mips_elf_got16_entry): Likewise.
-       (mips_elf_create_local_got_entry): Add bfd_link_info and input_section
-       arguments.  Create dynamic relocations for each entry on VxWorks.
-       (mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
-       (mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
-       and MIPS_RESERVED_GOTNO.
-       (mips_elf_create_got_section): Update the uses of
-       MIPS_ELF_GOT_MAX_SIZE.  Create .got.plt on VxWorks.
-       (is_gott_symbol): New function.
-       (mips_elf_calculate_relocation): Use a dynobj local variable.
-       Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
-       mips_elf_got_page_entry.  Set G to the .got.plt entry when calculating
-       VxWorks R_MIPS_CALL* relocations.  Calculate and use G for all GOT
-       relocations on VxWorks.  Add dynamic relocations for references
-       to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Don't
-       create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
-       in VxWorks executables.
-       (mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
-       Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
-       Don't allocate a null entry on VxWorks.
-       (mips_elf_create_dynamic_relocation): Update the call to
-       mips_elf_rel_dyn_section.  Use absolute rather than relative
-       relocations for VxWorks, and make them RELA rather than REL.
-       (_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
-       read-only on VxWorks.  Update the call to mips_elf_rel_dyn_section.
-       Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
-       VxWorks.  Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
-       Call elf_vxworks_create_dynamic_sections for VxWorks and
-       initialize the plt_header_size and plt_entry_size fields.
-       (_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
-       used in VxWorks executables.  Don't allocate dynamic relocations
-       for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
-       Set is_relocation_target for each symbol referenced by a relocation.
-       Allocate .rela.dyn entries for relocations against the special
-       VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Create GOT
-       entries for all VxWorks R_MIPS_GOT16 relocations.  Don't allocate
-       a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
-       R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations.  Update the calls
-       to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
-       Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
-       relocations.  Don't set no_fn_stub on VxWorks.
-       (_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
-       mips_elf_allocate_dynamic_relocations.
-       (_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
-       (_bfd_mips_elf_always_size_sections): Do not allocate GOT page
-       entries for VxWorks, and do not create multiple GOTs.
-       (_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
-       Handle .got specially for VxWorks.  Update the uses of
-       MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
-       Check for sgotplt and splt.  Allocate the .rel(a).dyn contents last,
-       once its final size is known.  Set DF_TEXTREL for VxWorks.  Add
-       DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
-       tags on VxWorks.  Do not add the MIPS-specific tags for VxWorks.
-       (_bfd_mips_vxworks_finish_dynamic_symbol): New function.
-       (mips_vxworks_finish_exec_plt): Likewise.
-       (mips_vxworks_finish_shared_plt): Likewise.
-       (_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
-       to mips_elf_rel_dyn_section.  Use a VxWorks-specific value of
-       DT_PLTGOT.  Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
-       DT_PLTRELSZ and DT_JMPREL.  Update the uses of MIPS_RESERVED_GOTNO
-       and mips_elf_rel_dyn_section.  Use a different GOT header for
-       VxWorks.  Don't sort .rela.dyn on VxWorks.  Finish the PLT on VxWorks.
-       (_bfd_mips_elf_link_hash_table_create): Initialize the new
-       mips_elf_link_hash_table fields.
-       (_bfd_mips_vxworks_link_hash_table_create): New function.
-       (_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
-       on VxWorks.  Update the call to ELF_MIPS_GP_OFFSET.
-       * elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
-       (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
-       (_bfd_mips_vxworks_link_hash_table_create): Likewise.
-       * libbfd.h: Regenerate.
-       * Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
-       (elf32-mips.lo): Likewise.
-       * Makefile.in: Regenerate.
-       * reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
-       * targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
-       (bfd_elf32_littlemips_vxworks_vec): Likewise.
-       (_bfd_target_vector): Add entries for them.
-
-2006-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * elf64-hppa.c (elf64_hppa_special_sections): Change flags for .tbss
-       section from SHF_PARISC_WEAKORDER to SHF_HP_TLS.
-       (elf_backend_special_sections): Remove #undef.
-
-2006-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-       * elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
-       for undefined weak symbols.
-
-2006-03-17  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       PR ld/2462
-       * elflink.c (bfd_elf_final_link): Remove
-       bed->elf_backend_emit_relocs from emit_relocs.
-
-2006-03-17  Alexandre Oliva  <aoliva@redhat.com>
-
-       * elf32-ppc.c (ppc_elf_relocate_section): Copy addend from
-       first relocation to the second when relaxing TLS GD to LE;
-       zero it out when relaxing to IE.
-
-2006-03-17  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 2434
-       * elflink.c (elf_link_add_object_symbols): Save and restore
-       warning sym's linked sym.
-
-2006-03-16  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 2434
-       * elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete.
-       (elf_link_add_object_symbols): Delete unnecessary locals.  Rename
-       hash_table -> htab.  Formatting.  Save entire symbol table
-       before loading as-needed syms, and restore afterwards if lib not
-       needed.  Use bfd_hash_allocate rather than bfd_alloc for sym
-       name.  Free some buffers earlier.
-       * bfd-in.h (struct bfd_hash_table): Add entsize.
-       (bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype.
-       * elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise
-       * hash.c (bfd_hash_table_init_n): Add entsize param, save to
-       hash table.
-       (bfd_hash_table_init): Add param, adjust calls.
-       * aoutx.h: Adjust all hash_table_init functions and calls.
-       * bfd.c: Likewise.
-       * coff-arm.c: Likewise.
-       * coff-h8300.c: Likewise.
-       * coff-ppc.c: Likewise.
-       * cofflink.c: Likewise.
-       * ecoff.c: Likewise.
-       * ecofflink.c: Likewise.
-       * elf-m10300.c: Likewise.
-       * elf-strtab.c: Likewise.
-       * elf.c: Likewise.
-       * elf32-arm.c: Likewise.
-       * elf32-bfin.c: Likewise.
-       * elf32-cris.c: Likewise.
-       * elf32-frv.c: Likewise.
-       * elf32-hppa.c: Likewise.
-       * elf32-i386.c: Likewise.
-       * elf32-m32r.c: Likewise.
-       * elf32-m68hc1x.c: Likewise.
-       * elf32-m68k.c: Likewise.
-       * elf32-ppc.c: Likewise.
-       * elf32-s390.c: Likewise.
-       * elf32-sh.c: Likewise.
-       * elf32-vax.c: Likewise.
-       * elf64-alpha.c: Likewise.
-       * elf64-hppa.c: Likewise.
-       * elf64-ppc.c: Likewise.
-       * elf64-s390.c: Likewise.
-       * elf64-sh64.c: Likewise.
-       * elf64-x86-64.c: Likewise.
-       * elfxx-ia64.c: Likewise.
-       * elfxx-mips.c: Likewise.
-       * elfxx-sparc.c: Likewise.
-       * i386linux.c: Likewise.
-       * libaout.h: Likewise.
-       * libbfd-in.h: Likewise.
-       * libcoff-in.h: Likewise.
-       * linker.c: Likewise.
-       * m68klinux.c: Likewise.
-       * merge.c: Likewise.
-       * opncls.c: Likewise.
-       * pdp11.c: Likewise.
-       * sparclinux.c: Likewise.
-       * stabs.c: Likewise.
-       * sunos.c: Likewise.
-       * vms.c: Likewise.
-       * xcofflink.c: Likewise.
-       * section.c (struct section_hash_entry): Move to..
-       * libbfd-in.h: ..here.
-       * Makefile.am: Run "make dep-am"
-       * Makefile.in: Regenerate.
-       * bfd-in2.h: Regenerate.
-       * libbfd.h: Regenerate.
-       * libcoff.h: Regenerate.
-
-2006-03-16  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
-       against __GLOBAL_OFFSET_TABLE__ need never be dynamic.  Tweak
-       last change to REL32 relocs so that they are counted as
-       possibly dynamic as per REL24 and REL14.
-
-2006-03-16  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
-       checks from REL32.
-
-2006-03-15  Ben Elliston  <bje@au.ibm.com>
-
-       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
-       in_list elements, not just the first.
-
-2006-03-14  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
-       out from...
-       (_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
-       for final links too.
-
-2006-03-13  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
-
-2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2443
-       * dwarf2.c (concat_filename): Don't issue an error if file is 0.
-
-2006-03-10  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
-       (elf32_arm_print_private_bfd_data): Ditto.
-
-2006-03-09  Paul Brook  <paul@codesourcery.com>
-
-       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
-       mapping symbols.
-
-2006-03-09  Khem Raj  <khem@mvista.com>
-
-       * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
-       char type.
-
-2006-03-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
-
-2006-03-07  Richard Sandiford  <richard@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Zack Weinberg  <zack@codesourcery.com>
-           Nathan Sidwell  <nathan@codesourcery.com>
-           Paul Brook  <paul@codesourcery.com>
-           Ricardo Anguiano  <anguiano@codesourcery.com>
-           Phil Edwards  <phil@codesourcery.com>
-
-       * configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
-       (bfd_elf32_bigarm_symbian_vec): Likewise.
-       (bfd_elf32_bigarm_vxworks_vec): Likewise.
-       (bfd_elf32_littlearm_vec): Likewise.
-       (bfd_elf32_littlearm_symbian_vec): Likewise.
-       (bfd_elf32_littlearm_vxworks_vec): Likewise.
-       * configure: Regenerate.
-       * elf32-arm.c: Include libiberty.h and elf-vxworks.h.
-       (RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
-       (elf32_arm_vxworks_bed): Add forward declaration.
-       (elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
-       (elf32_arm_vxworks_exec_plt0_entry): New table.
-       (elf32_arm_vxworks_exec_plt_entry): Likewise.
-       (elf32_arm_vxworks_shared_plt_entry): Likewise.
-       (elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
-       (reloc_section_p): New function.
-       (create_got_section): Use RELOC_SECTION.
-       (elf32_arm_create_dynamic_sections): Likewise.  Call
-       elf_vxworks_create_dynamic_sections for VxWorks targets.
-       Choose between the two possible values of plt_header_size
-       and plt_entry_size.
-       (elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
-       (elf32_arm_abs12_reloc): New function.
-       (elf32_arm_final_link_relocate): Call it.  Allow the creation of
-       dynamic R_ARM_ABS12 relocs on VxWorks.  Use reloc_section_p,
-       RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION.  Initialize the
-       r_addend fields of relocs.  On rela targets, skip any code that
-       adjusts in-place addends.  When using _bfd_link_final_relocate
-       to perform a final relocation, pass rel->r_addend as the addend
-       argument.
-       (elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
-       object, ignore flags that are not standard on VxWorks.
-       (elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
-       relocs on VxWorks.  Use reloc_section_p.
-       (elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
-       (allocate_dynrelocs): Use RELOC_SIZE.  Account for the size of
-       .rela.plt.unloaded relocs on VxWorks targets.
-       (elf32_arm_size_dynamic_sections): Use RELOC_SIZE.  Check for
-       .rela.plt.unloaded as well as .rel(a).plt.  Add DT_RELA* tags
-       instead of DT_REL* tags on RELA targets.
-       (elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
-       and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle VxWorks
-       PLT entries.  Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
-       (elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
-       and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle DT_RELASZ
-       like DT_RELSZ.  Handle the VxWorks form of initial PLT entry.
-       Correct the .rela.plt.unreloaded symbol indexes.
-       (elf32_arm_output_symbol_hook): Call the VxWorks version of this
-       hook on VxWorks targets.
-       (elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
-       Minor formatting tweak.
-       (elf32_arm_vxworks_final_write_processing): New function.
-       (elf_backend_add_symbol_hook): Override for VxWorks and reset
-       for Symbian.
-       (elf_backend_final_write_processing): Likewise.
-       (elf_backend_emit_relocs): Likewise.
-       (elf_backend_want_plt_sym): Likewise.
-       (ELF_MAXPAGESIZE): Likewise.
-       (elf_backend_may_use_rel_p): Minor formatting tweak.
-       (elf_backend_may_use_rela_p): Likewise.
-       (elf_backend_default_use_rela_p): Likewise.
-       (elf_backend_rela_normal): Likewise.
-       * Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
-
-2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
-       New.  Adjust other variants.
-       (bfd_default_scan): Update.
-       * bfd-in2.h: Rebuilt.
-       * cpu-m68k.c: Adjust.
-       (bfd_m68k_compatible): New. Use it for architectures.
-       * elf32-m68k.c (elf32_m68k_object_p): Adjust.
-       (elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
-       mismatch.
-       (elf32_m68k_print_private_bfd_data): Adjust.
-       * ieee.c (ieee_write_processor): Adjust.
-
-2006-03-06  Alan Modra  <amodra@bigpond.net.au>
-
-       * dwarf2.c: Formatting.
-       (add_line_info): Remove outer loop.
-
-2006-03-05  H.J. Lu  <hongjiu.lu@intel.com>
-           Alan Modra  <amodra@bigpond.net.au>
-
-       PR binutils/2338
-       * dwarf2.c (loadable_section): New struct.
-       (dwarf2_debug): Add loadable_section_count and
-       loadable_sections.
-       (new_line_sorts_after): New.
-       (add_line_info): Use new_line_sorts_after to compare line
-       addresses.
-       (check_function_name): Removed.
-       (unset_sections): New.
-       (place_sections): New.
-       (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
-       and unset_sections on relocatable files.
-       (_bfd_dwarf2_find_line): Likewise.
-
-2006-03-03  Nick Clifton  <nickc@redhat.com>
-
-       * cpu-avr.c: Update to ISO-C90 formatting.
-       * elf32-avr.c: Likewise.
-
-2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
-       and R_AVR_MS8_LDI
-       (bfd_elf_avr_final_write_processing): Set
-       EF_AVR_LINKRELAX_PREPARED in e_flags field.
-       (elf32_avr_relax_section): New function.
-       (elf32_avr_relax_delete_bytes): New function.
-       (elf32_avr_get_relocated_section_contents): New function.
-       (avr_pc_wrap_around): New function.
-       (avr_relative_distance_considering_wrap_around): New function.
-       (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
-       * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
-       * libbfd.h: Regenerate.
-       * bfd-in2.h: Regenerate.
-
-2006-03-02  DJ Delorie  <dj@redhat.com>
-
-       * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
-       calculations.
-
-2006-03-02  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-ppc.c (is_ppc_elf_target): Return true if the target is
-       bfd_elf32_powerpc_vxworks_vec.
-
-2006-03-02  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
-
-2006-03-02  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-i386.c (elf_i386_create_dynamic_sections): Use
-       elf_vxworks_create_dynamic_sections.
-       (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
-       symbol handling.
-       * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
-       elf_vxworks_create_dynamic_sections.
-       (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
-       symbol handling.
-       * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
-       * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
-
-2006-03-02  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
-       (elf_backend_link_output_symbol_hook): Use
-       elf_vxworks_link_output_symbol_hook instead.
-       * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
-       (elf_backend_link_output_symbol_hook): Use
-       elf_vxworks_link_output_symbol_hook instead.
-       * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
-       same interface as elf_backend_link_output_symbol_hook.
-       * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
-       prototype accordingly.
-
-2006-03-02  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-ppc.c (ppc_elf_plt_type): New enumeration.
-       (ppc_elf_link_hash_table): Replace old_got and new_got with
-       plt_type and can_use_new_plt.
-       (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
-       SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
-       (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
-       Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
-       (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
-       either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
-       this function should not be called for VxWorks targets.
-       (ppc_elf_tls_setup): Use plt_type instead of old_got.
-       (allocate_got): Likewise.  Rearrange so that max_before_header
-       is only used for PLT_OLD and PLT_NEW.
-       (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
-       (ppc_elf_size_dynamic_sections): Likewise.
-       (ppc_elf_relax_section): Likewise.
-       (ppc_elf_relocate_section): Likewise.
-       (ppc_elf_finish_dynamic_symbol): Likewise.
-       (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
-
-2006-02-28  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
-       (elf_i386_link_hash_table_create): Initialize it.
-       (elf_i386_compute_jump_table_size): Use it instead of
-       srelplt->reloc_count.
-       (allocate_dynrelocs): Likewise.
-       (elf_i386_size_dynamic_sections): Likewise.
-       (elf_i386_relocate_section): Likewise.
-
-2006-02-27  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
-       (_bfd_elf_write_section_eh_frame): Likewise.
-
-2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * po/Make-in: Add html target.
-
-2006-02-27  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
-       cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
-       * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
-       * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
-       * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
-       * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
-       * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
-       * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
-       * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
-       * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
-       * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
-       * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
-       * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
-       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
-       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
-       * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.  Also use
-       the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
-       * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
-       * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
-       * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
-       * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
-
-2006-02-25  Richard Sandiford  <richard@codesourcery.com>
-
-       * elf-bfd.h (elf_link_hash_table): Add hplt field.
-       * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
-       * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
-       * elf32-frv.c (_frv_create_got_section): Likewise.
-       * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
-       * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
-       * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
-       * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
-       * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
-       (elf_i386_link_hash_table_create): Don't initialize them.
-       (elf_i386_size_dynamic_sections): Use the generic ELF hplt and
-       hgot fields.
-       (elf_i386_finish_dynamic_symbol): Likewise.
-       * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
-       (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
-       (ppc_elf_finish_dynamic_symbol): Likewise.
-
-2006-02-24  DJ Delorie  <dj@redhat.com>
-
-       * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
-       (m32c_elf_relocate_section): Don't relocate them.
-       (compare_reloc): New.
-       (relax_reloc): Remove.
-       (m32c_offset_for_reloc): New.
-       (m16c_addr_encodings): New.
-       (m16c_jmpaddr_encodings): New.
-       (m32c_addr_encodings): New.
-       (m32c_elf_relax_section): Relax jumps and address displacements.
-       (m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
-       short jumps.
-
-       * reloc.c: Add m32c relax relocs.
-       * libbfd.h: Regenerate.
-       * bfd-in2.h: Regenerate.
-
-2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2218
-       * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
-       (_bfd_elf_link_hash_fixup_symbol): New.
-
-       * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
-       (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
-       it isn't NULL.
-
-       * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
-
-       * elfxx-target.h (elf_backend_fixup_symbol): New.
-       (elfNN_bed): Initialize elf_backend_fixup_symbol.
-
-2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * cpu-ia64-opc.c (ins_immu5b): New.
-       (ext_immu5b): Likewise.
-       (elf64_ia64_operands): Add IMMU5b.
-
-2006-02-21  Alan Modra  <amodra@bigpond.net.au>
-
-       PR ld/2218
-       * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
-       is dynamic.
-       * elf32-hppa.c (allocate_dynrelocs): Likewise.
-       * elf32-i386.c (allocate_dynrelocs): Likewise.
-       * elf32-s390.c (allocate_dynrelocs): Likewise.
-       * elf32-sh.c (allocate_dynrelocs): Likewise.
-       * elf64-s390.c (allocate_dynrelocs): Likewise.
-       * elf64-x86-64.c (allocate_dynrelocs): Likewise.
-       * elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
-       on undef weak with non-default visibility too.
-       * elfxx-sparc.c (allocate_dynrelocs): Ditto.
-
-2006-02-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * bfd.c: (_bfd_default_error_handler): Don't call abort on
-       error, instead call _exit.
-       (_bfd_abort): Call _exit not xexit.
-
-2006-02-17  Kevin Buettner  <kevinb@redhat.com>
-
-       * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
-       New functions.
-       * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
-
-2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-           Anil Paranjape  <anilp1@kpitcummins.com>
-           Shilin Shakti  <shilins@kpitcummins.com>
-
-       * Makefile.am: Add xc16x related entry
-       * Makefile.in: Regenerate
-       * archures.c: Add bfd_xc16x_arch
-       * bfd-in2.h: Regenerate
-       * config.bfd: Add xc16x-*-elf
-       * configure.in: Add bfd_elf32_xc16x_vec
-       * configure: Regenerate.
-       * targets.c: Added xc16x related information
-       * cpu-xc16x.c: New file
-       * reloc.c: Add new relocations specific to xc16x:
-       BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
-       BFD_RELOC_XC16X_SOF
-       * elf32-xc16x.c: New file.
-
-2006-02-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
-       * elf64-ppc.c (allocate_dynrelocs): Likewise.
-
-2006-02-17  Alan Modra  <amodra@bigpond.net.au>
-
-       PR ld/2218
-       * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
-       dynamic.
-       (ppc64_elf_relocate_section): Check output reloc section size.
-       * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
-
-2006-02-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2322
-       * elf.c (get_segment_type): New function.
-       (_bfd_elf_print_private_bfd_data): Use it.
-       (print_segment_map): New function.
-       (assign_file_positions_for_segments): Call print_segment_map
-       when there are not enough room for program headers.
-
-2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
-
-       * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
-       traditional MIPS ELF targets.
-
-2006-02-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2338
-       * dwarf2.c (check_function_name): New function.
-       (_bfd_dwarf2_find_nearest_line): Use check_function_name to
-       check if function is correct.
-
-2006-02-16  Alan Modra  <amodra@bigpond.net.au>
-
-       * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
-       debug sections.
-       (elf_link_input_bfd): Adjust comments.
-
-2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elf.c (copy_private_bfd_data): Minor update.
-
-2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2258
-       * elf.c (copy_private_bfd_data): Renamed to ...
-       (rewrite_elf_program_header): This.
-       (copy_elf_program_header): New function.
-       (copy_private_bfd_data): Likewise.
-
-2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
-       bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
-       bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249,
-       bfd_mach_mcf547x, bfd_mach_mcf548x): Remove.
-       (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div,
-       bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac,
-       bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
-       bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp,
-       bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac,
-       bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac,
-       bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac,
-       bfd_mach_mcf_isa_b_usp_float_emac): New.
-       (bfd_default_scan): Update coldfire mapping.
-       * bfd-in.h (bfd_m68k_mach_to_features,
-       bfd_m68k_features_to_mach): Declare.
-       * bfd-in2.h: Rebuilt.
-       * cpu-m68k.c (arch_info_struct): Add new coldfire machines,
-       adjust legacy names.
-       (m68k_arch_features): New.
-       (bfd_m68k_mach_to_features,
-       bfd_m68k_features_to_mach): Define.
-       * elf32-m68k.c (elf32_m68k_object_p): New.
-       (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags.
-       (elf32_m68k_print_private_bfd_data): Print the CF EF flags.
-       (elf_backend_object_p): Define.
-       * ieee.c (ieee_write_processor): Update coldfire machines.
-       * libbfd.h: Rebuilt.
-
-2006-02-06  Steve Ellcey  <sje@cup.hp.com>
-
-       * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
-       if SHF_TLS is set.
-
-2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
-
-       * coff-z80.c (r_imm24): New howto.
-       (rtype2howto): New case R_IMM24.
-       (coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
-       (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
-
-2006-02-04  Richard Sandiford  <richard@codesourcery.com>
-
-       * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
-       has already been assigned a GOT index, copy that index to the
-       current hash table entry.
-
-2006-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
-
-       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
-       for call-to-undefweak reloc overflow.
-
-2006-01-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
-
-       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
-       for 32-bit relocs overflow.
-
-2006-01-27  Paul Brook  <paul@codesourcery.com>
-
-       * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
-       objects.
-
-2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
-
-       Introduce TLS descriptors for i386 and x86_64.
-       * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
-       BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
-       BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
-       * libbfd.h, bfd-in2.h: Rebuilt.
-       * elf32-i386.c (elf_howto_table): New relocations.
-       (R_386_tls): Adjust.
-       (elf_i386_reloc_type_lookup): Map new relocations.
-       (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
-       (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
-       (struct elf_i386_link_hash_entry): Add tlsdesc_got field.
-       (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
-       (elf_i386_local_tlsdesc_gotent): New macro.
-       (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
-       (elf_i386_compute_jump_table_size): New macro.
-       (link_hash_newfunc): Initialize tlsdesc_got.
-       (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
-       (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
-       R_386_TLS_DESC_CALL.
-       (elf_i386_check_relocs): Likewise.  Allocate space for
-       local_tlsdesc_gotent.
-       (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
-       R_386_TLS_DESC_CALL.
-       (allocate_dynrelocs): Count function PLT relocations.  Reserve
-       space for TLS descriptors and relocations.
-       (elf_i386_size_dynamic_sections): Reserve space for TLS
-       descriptors and relocations.  Set up sgotplt_jump_table_size.
-       Don't zero reloc_count in srelplt.
-       (elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
-       (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
-       R_386_TLS_DESC_CALL.
-       (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
-       (elf_backend_always_size_sections): Define.
-       * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
-       R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
-       (R_X86_64_standard): Adjust.
-       (x86_64_reloc_map): Map new relocs.
-       (elf64_x86_64_rtype_to_howto): New, split out of...
-       (elf64_x86_64_info_to_howto): ... this function, and...
-       (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
-       (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
-       (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
-       (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
-       (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
-       (elf64_x86_64_local_tlsdesc_gotent): New macro.
-       (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
-       tlsdesc_got and sgotplt_jump_table_size fields.
-       (elf64_x86_64_compute_jump_table_size): New macro.
-       (link_hash_newfunc): Initialize tlsdesc_got.
-       (elf64_x86_64_link_hash_table_create): Initialize new fields.
-       (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
-       R_X86_64_TLSDESC_CALL.
-       (elf64_x86_64_check_relocs): Likewise.  Allocate space for
-       local_tlsdesc_gotent.
-       (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
-       R_X86_64_TLSDESC_CALL.
-       (allocate_dynrelocs): Count function PLT relocations.  Reserve
-       space for TLS descriptors and relocations.
-       (elf64_x86_64_size_dynamic_sections): Reserve space for TLS
-       descriptors and relocations.  Set up sgotplt_jump_table_size,
-       tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
-       reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
-       and DT_TLSDESC_GOT.
-       (elf64_x86_64_always_size_sections): New.  Set up
-       _TLS_MODULE_BASE_.
-       (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
-       R_386_TLS_DESC_CALL.
-       (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
-       (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
-       DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
-       (elf_backend_always_size_sections): Define.
-
-2006-01-17  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2096
-       * dwarf2.c (comp_unit_contains_address): Update comment.
-       (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
-       lma.  Return TRUE only if both comp_unit_contains_address and
-       comp_unit_find_nearest_line return TRUE.
-       (_bfd_dwarf2_find_line): Use section's vma, instead of lma.
-
-2006-01-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
-       (bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
-       * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
-       elf_gc_mark_dynamic_ref_symbol.  Make global.
-       (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
-       * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
-       (elfNN_bed): Init new field.
-       * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
-       (ppc64_elf_gc_mark_dynamic_ref): New function.
-
-2006-01-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
-
-2006-01-17  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/2159
-       * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
-       parameters.
-
-2006-01-11  Nick Clifton  <nickc@redhat.com>
-
-       * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
-       into the newly (re)allocated map array.
-
-2006-01-09  Alexis Wilke  <alexis_wilke@yahoo.com>
-
-       * peXXigen.c (tbl): Add comma after "HIGH3ADJ".
-
-2006-01-01  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf64-ppc.c (ppc64_elf_action_discarded): Return 0
-       for .toc1 section.
-
-For older changes see ChangeLog-2005
+For older changes see ChangeLog-2006
 \f
 Local Variables:
 mode: change-log
diff --git a/bfd/ChangeLog-2006 b/bfd/ChangeLog-2006
new file mode 100644 (file)
index 0000000..82216d6
--- /dev/null
@@ -0,0 +1,3601 @@
+2006-12-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
+       to allocate elf_segment_map.
+
+2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_link_add_object_symbols): Remember the symbol
+       size only if it is defined.
+
+2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
+
+       * archures.c (bfd_mach_cpu32_fido): New.
+       (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
+       bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
+       bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
+       bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
+       bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
+       bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
+       bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
+       bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
+       Increment the defined values.
+       * bfd-in2.h: Regenerate.
+       * cpu-m68k.c (arch_info_struct): Add en entry for
+       bfd_mach_cpu32_fido.
+       * elf32-m68k.c (elf32_m68k_object_p): Handle
+       EF_M68K_CPU32_FIDO_A.
+       (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
+       (elf32_m68k_print_private_bfd_data): Handle
+       EF_M68K_CPU32_FIDO_A.
+
+2006-12-25  Mei Ligang  <ligang@sunnorth.com.cn>
+       
+       * elf32-score.c (score_elf_got_lo16_reloc): Change some variables
+       type from unsigned to signed.
+       (score_elf_final_link_relocate): Fix bugs of handling relocation
+       type R_SCORE_GOT15, R_SCORE_GOT_LO16, and R_SCORE_REL32.
+       (_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16
+       specially.
+
+2006-12-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
+       * elfxx-target.h (elf_backend_as_needed_cleanup): Define.
+       (elfNN_bed): Add as_needed_cleanup hook.
+       * elflink.c (elf_link_add_object_symbols): Call it when reverting
+       hash table changes for unneeded --as-needed input.
+       * elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
+       (ppc64_elf_as_needed_cleanup): New function.
+
+2006-12-19  Kazu Hirata  <kazu@codesourcery.com>
+
+       * elf32-m68k.c (elf32_m68k_object_p,
+       elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
+       extract architecture mask.
+
+2006-12-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
+       by p_vaddr_offset.  Copy alignment & use if it is valid.
+       (rewrite_elf_program_headers): Cope with leading padding in a
+       segment that does not contain file or program headers.
+       (copy_elf_program_header): Likewise.
+
+2006-12-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * config.bfd: (sh*-*-openbsd*): Add target. 
+       * configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
+       * configure: Regenerate.
+
+2006-12-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * opncls.c (bfd_openr_iovec): Add "stat" parameter.
+       (struct opncls): Add "stat" field.
+       (opncls_bstat): Call vec->stat.
+       * bfd-in2.h: Regenerate.
+       * elf32-spu.c (spu_elf_open_builtin_lib): Adjust.
+
+2006-12-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
+       and next_in_group usage.
+
+2006-12-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3704
+       * bfdio.c (bfd_bread): Don't read past end of archive elements.
+
+2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/Makefile.am (bfd_TEXINFOS): Set.
+       (bfd.info bfd.dvi bfd.html): Delete rule.
+       * doc/Makefile.in: Regenerated.
+
+2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Define GENINSRC_NEVER.
+       * doc/Makefile.am (bfd.info): Remove srcdir prefix.
+       (MAINTAINERCLEANFILES): Add info file.
+       (DISTCLEANFILES): Pretend to add info file.
+       * po/Make-in (.po.gmo): Put gmo files in objdir.
+       * configure, Makefile.in, doc/Makefile.in: Regenerated.
+
+2006-12-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * elflink.c (bfd_elf_gc_sections): Also search for corresponding
+       sections with .gnu.linkonce.t. prefix.
+
+2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
+
+       * elf32-m68k.c: Update uses of EF_M68K_*.
+
+2006-12-07  H.J. Lu <hjl@gnu.org>
+
+       PR ld/3666
+       * elflink.c (elf_link_add_object_symbols): Keep symbol
+       visibility for symbols from discarded section.
+
+2006-12-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-alpha.c (elf64_alpha_merge_symbol_attribute): New function.
+       (elf_backend_merge_symbol_attribute): Define.
+
+2006-12-04  Jan Beulich  <jbeulich@novell.com>
+
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
+       .eh_frame_hdr section from here anymore.
+       (bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr
+       a little earlier.
+
+2006-12-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3609
+       * elf.c (rewrite_elf_program_header): Preserve segment physical
+       address in the output segment if the first section in the
+       corresponding input segment is null.
+
+2006-12-01  Nick Clifton  <nickc@redhat.com>
+
+       PR 3609
+       * elf.c (rewrite_elf_program_header): Do not use the first_section
+       pointer if it is null.
+
+2006-11-29  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
+       section is present.
+       (allocate_dynrelocs): Only add export stub for symbols defined in
+       this object.
+
+2006-11-29  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
+       section is present.
+       (allocate_dynrelocs): Only add export stub for symbols defined in
+       this object.
+
+2006-11-29  Paul Brook  <paul@codesourcery.com>
+       Julian Brown  <julian@codesourcery.com>
+
+       * elf32-arm.c (copy_eabi_attributes): Correct starting offset.
+       (elf32_arm_merge_eabi_attributes): Mark output as initialized.
+       Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute
+       is present.
+
+2006-11-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info.
+
+2006-11-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (IS_SECTION_IN_INPUT_SEGMENT): New.
+       (INCLUDE_SECTION_IN_SEGMENT): Use IS_SECTION_IN_INPUT_SEGMENT.
+       (rewrite_elf_program_header): Don't preserve segment physical
+       address in the output segment if the first section in the
+       corresponding input segment is removed.
+
+2006-11-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * pef.c (bfd_pef_make_empty_symbol): Delete function.  Define instead.
+       * xsym.c (bfd_sym_make_empty_symbol): Likewise.
+       * xsym.h (bfd_sym_make_empty_symbol): Delete.
+
+2006-11-21  Greg McGary  <greg@mcgary.org>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Fixup D field
+       at proper offset in little-endian mode.
+       * elf64-ppc.c (ppc_elf_relocate_section): Likewise.
+
+2006-11-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-eh-frame.c (struct cie): New type.
+       (cie_compare): Removed.
+       (cie_eq, cie_hash, cie_compute_hash): New functions.
+       (_bfd_elf_discard_section_eh_frame): Rewrite not to rely on FDEs
+       pointing only to last CIE and allow merging of any duplicate CIEs,
+       not just duplicate consecutive CIEs.
+       (_bfd_elf_discard_section_eh_frame_hdr): Delete cies hash table.
+       * elf-bfd.h (struct cie_header, struct cie): Removed.
+       (struct eh_frame_sec_info): Remove alloced field.
+       (struct eh_frame_hdr_info): Remove last_cie, last_cie_sec
+       and last_cie_inf fields.  Add cies field.
+
+2006-11-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (struct stat): Don't typedef.
+       * bfdio.c (bfd_get_size): Return a file_ptr.
+       * cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread.
+       * mmo.c (mmo_scan): Use file_ptr for curpos.
+       * trad-core.c (trad_unix_core): Don't cast statbuf.st_size to
+       unsigned long.
+       * bfd-in2.h: Regenerate.
+
+2006-11-20  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3532
+       * bfd-in.h (struct bfd_hash_table): Reorganize.  Add "frozen".
+       * hash.c (bfd_hash_table_init_n): Init frozen.
+       (bfd_hash_lookup): Don't grow if frozen.
+       (bfd_hash_traverse): Freeze hash table during traversal.
+       * bfd-in2.h: Regenerate.
+
+2006-11-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_check_kept_section): Test for kept group
+       section.  Save result of checks in kept_section.
+       (_bfd_elf_section_already_linked): Tidy.  Correct comments.
+       Ignore all group member sections.  Handle special matching of
+       single-member groups against linkonce sections via their group
+       section.  When such a match is found, set kept_section to the
+       group member section rather than to the group.
+
+2006-11-14  Phil Lello  <phil.lello@homecall.co.uk>
+
+       * peXXigen.c: Updates for PE/COFF V8.0, and clarification
+       (dir_names): Added CLR Runtime Header to dir_names[].
+       (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX
+       subsystem names
+       (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
+       (pe_print_idata, pe_print_edata)
+       (_bfd_XX_bfd_copy_private_bfd_data_common)
+       (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into
+       DataDirectory.
+
+2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
+       prototype.
+       (bfd_elf32_arm_set_byteswap_code): New prototype.
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Don't take
+       byteswap_code as an argument.  Revert 2006-11-01 change.
+       (bfd_elf32_arm_set_byteswap_code): New.
+       (elf32_arm_size_dynamic_sections): Call
+       bfd_elf32_arm_process_before_allocation.
+
+2006-11-10  Thiemo Seufer  <ths@mips.com>
+
+       * config.bfd (mips*el-sde-elf*, mips*-sde-elf*): Drop ECOFF support
+       for SDE configs.
+
+2006-11-10  Nick Clifton  <nickc@redhat.com>
+
+       * config.bfd: Move previously obsoleted targets to the REMOVED
+       list.
+       Add maxq-*-coff to the obsolete list.
+
+2006-11-10  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".
+       * pei-arm-wince.c (LOCAL_LABEL_PREFIX): Likewise.
+       * coff-arm.c (LOCAL_LABEL_PREFIX): Only define if not defined before.
+
+2006-11-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set it
+       on error.
+       (find_arm_glue): Likewise.
+       (elf32_thumb_to_arm_stub, elf32_arm_create_thumb_stub)
+       (elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate): Add
+       ERROR_MESSAGE argument and pass it through.
+       (elf32_arm_to_thumb_export_stub): Update.
+       (elf32_arm_relocate_section): Use ERROR_MESSAGE and reloc_dangerous.
+
+2006-11-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (enum _ppc64_sec_type): New.
+       (struct _ppc64_elf_section_data): Move "t_symndx" into opd union,
+       and rename fields.  Add sec_type and has_14bit_branch.
+       (struct ppc_link_hash_table): Remove has_14bit_branch.
+       (get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust.
+       (ppc64_elf_relocate_section): Likewise.
+       (ppc64_elf_check_relocs): Likewise.  Set per-section has_14bit_branch.
+       (ppc64_elf_size_stubs): Don't set default group size here.
+       (group_sections): Instead do so here, and group sections using
+       their individual requirements.
+
+2006-11-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"
+       and union.
+       (struct ppc_link_hash_entry): Add "next_dot_sym".
+       (struct ppc_link_hash_table): Add "dot_syms".
+       (link_hash_newfunc): Make list of syms starting with a dot.
+       (ppc_get_stub_entry, adjust_opd_syms): Adjust.
+       (ppc64_elf_add_symbol_hook): Don't set has_dotsym.
+       (struct add_symbol_adjust_data): Delete.
+       (add_symbol_adjust): Simplify params and return.
+       (ppc64_elf_check_directives): Just process the "dot_syms" lists,
+       not all syms.
+
+2006-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * libbfd-in.h (_bfd_clear_contents): New prototype.
+       * reloc.c (_bfd_clear_contents): New.
+       * libbfd.h: Regenerated.
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Use
+       _bfd_clear_contents.
+       * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-s390.c (elf_s390_relocate_section): Likewise.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
+
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to
+       zero for discarded symbols.
+       * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
+
+2006-11-01  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * elf-bfd.h (local_call_stubs): New member.
+       * elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros.
+       (mips_elf_calculate_relocation): Handle local mips16 call stubs.
+       (mips16_stub_section_p): Rename from mips_elf_stub_section_p, use
+       the new stub macros.
+       (_bfd_mips_elf_check_relocs): Handle call stubs for code which
+       mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark
+       used stubs with SEC_KEEP. Use the new stub macros.
+
+2006-11-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Correct
+       check for PLT usage.
+
+2006-11-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_merge_gots): Always use maxcnt.
+
+2006-10-31  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elfcore_write_note): Pad note descriptor to 4-byte
+       boundary.  Tidy.  Comment.
+
+2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3111
+       * elf-bfd.h (elf_obj_tdata): Add symbuf.
+       (_bfd_elf_section_already_linked): Add struct bfd_link_info *.
+       (_bfd_elf_check_kept_section): Likewise.
+       (bfd_elf_match_symbols_in_sections): Likewise.
+
+       * elf.c (assign_section_numbers): Updated to add
+       struct bfd_link_info *.
+       (bfd_elf_match_symbols_in_sections): Updated. Cache symbol
+       buffer if info->reduce_memory_overheads is false.
+
+       * elflink.c (match_group_member): Updated to add
+       struct bfd_link_info *.
+       (_bfd_elf_check_kept_section): Likewise.
+       (elf_link_input_bfd): Likewise.
+       (_bfd_elf_section_already_linked): Likewise.
+       (bfd_elf_final_link): Free symbol buffer if
+       info->reduce_memory_overheads is false.
+
+       * libbfd-in.h (_bfd_nolink_section_already_linked): Add
+       struct bfd_link_info *.
+       (_bfd_generic_section_already_linked): Likewise.
+       * libbfd.h: Regenerated.
+
+       * linker.c (bfd_section_already_linked): Add
+       struct bfd_link_info *.
+       (_bfd_generic_section_already_linked): Likewise.
+       * targets.c (bfd_target): Add struct bfd_link_info * to
+       _section_already_linked.
+       * bfd-in2.h: Regenerated.
+
+2006-10-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (bfd_error_type): Add bfd_error_on_input.
+       (input_bfd, input_error): New static vars.
+       (bfd_set_error): Handle bfd_error_on_input.
+       (bfd_errmsg): Likewise.
+       (bfd_perror): Simplify.
+       * archive.c (_bfd_write_archive_contents): Report errors on input.
+       * bfd-in2.h: Regenerate.
+
+2006-10-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elfcore_write_note): Pad to 4-byte boundary.
+
+2006-10-28  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
+       * elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
+       (elf_mips_howto_table_rela): Likewise.
+       * elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
+       (mips_elf64_howto_table_rela): Likewise.
+
+2006-10-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_init_private_section_data): Assert output
+       section ELF type instead of check if it is SHT_NULL.  Copy
+       OS/PROC specific flags from input section to output section.
+
+2006-10-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * section.c (SEC_KEEP): Update comment.
+       * bfd-in2.h: Regenerate.
+       * elflink.c (bfd_elf_gc_sections): Ignore SEC_EXCLUDE sections.
+       * merge.c (_bfd_merge_sections): Set SEC_KEEP on excluded sections.
+       * stabs.c (_bfd_discard_section_stabs): Likewise.
+       (_bfd_link_section_stabs): Likewise.  Simplify abs_section check.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * reloc.c (_bfd_relocate_contents): Remove explicit case 0.
+
+       * elf.c (bfd_section_from_shdr): Remove extraneous breaks.
+       * targets.c (find_target): Remove extraneous break.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
+       (struct maxq_reloc_map): Unused; remove.
+       (maxq_reloc_map): Likewise.
+       (maxq_reloc_type_lookup): Remove loop over maxq_reloc_map.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
+       from int to enum dynamic_lib_link_class lib_class.
+       * bfd-in.h (bfd_elf_set_dyn_lib_class): Likewise.
+       * bfd-in2.h: Regenerate.
+
+2006-10-25  Alan Modra  <amodra@bigpond.net.au>
+           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>
+
+       * cpu-spu.c: New file.
+       * elf32-spu.c: New file.
+       * elf32-spu.h: New file.
+       * archures.c: Add SPU support.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * reloc.c: Likewise.
+       * targets.c: Likewise.
+       * Makefile.am: Likewise.  Run "make dep-am".
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-score.c: Formatting.
+       (elf_backend_omit_section_dynsym): Define.
+       (score_elf_create_dynamic_relocation): Remove code copied from mips.
+       Don't use section syms in dynamic relocs.  Remove unused param.
+       (score_elf_final_link_relocate): Remove unused param.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * linker.c (fix_syms): Choose best of previous and next
+       section based on section flags and vma.
+
+2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
+       only when the non visibility part of st_other is non-zero.
+       * elf64-sh64.c (sh64_elf64_merge_symbol_attribute): Likewise.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend
+       PT_DYNAMIC on GNU/Linux targets.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the
+       size of .rel.dyn reflect the value of DT_RELSZ.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
+       a PT_NULL header for dynamic objects.
+       (_bfd_mips_elf_modify_segment_map): Add it.
+
+2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * elf32-score.c (score_elf_rel_dyn_section): Replace
+       bfd_make_section with bfd_make_section_with_flags.
+       (_bfd_score_elf_create_dynamic_sections): Ditto.
+       (score_elf_create_got_section): Ditto.
+       (score_elf_final_link_relocate): Delete referrence to
+       EF_SCORE_HASENTRY.
+
+2006-10-19  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the
+       same symbol by increasing r_offset.
+       (sort_dynamic_relocs_64): Likewise.  Fix comparisons between very
+       large and very small symbol indexes.
+
+2006-10-19  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
+       and DT_MIPS_RLD_MAP tags for position-independent executables.
+       Do not add DT_DEBUG to shared libraries for any MIPS target.
+
+2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3290
+       * elflink.c (elf_link_add_object_symbols): Hide definitions in
+       debug sections.
+
+2006-10-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check,
+       don't set, glue section size.
+       (record_arm_to_thumb_glue): Set glue section size here.
+       (record_thumb_to_arm_glue): Likewise.
+       (bfd_elf32_arm_add_glue_sections_to_bfd): Formatting.
+       (bfd_elf32_arm_process_before_allocation): Ignore exluded sections.
+
+2006-10-18  Roy Marples  <uberlord@gentoo.org>
+
+       * elf64-sparc.c: Add FreeBSD support.
+       (elf64_sparc_fbsd_post_process_headers): New function.
+       * targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
+       * config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
+       * configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
+       * configure: Regenerate.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
+       R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
+       R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
+       R_ARM_THM_MOVT_BREL relocations.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_howto_table_1): Change offset for
+       R_THM_CALL to 25 and remove FIXME comment.
+       (using_thumb2): New function.
+       (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
+       for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
+       (elf32_arm_gc_sweep_hook): Likewise.
+       (elf32_arm_check_relocs): Likewise.
+       (allocate_dynrelocs): Likewise.
+
+2006-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
+       text_index_section and data_index_section.
+       (struct elf_backend_data): Add elf_backend_init_index_section.
+       (_bfd_elf_init_1_index_section): Declare.
+       (_bfd_elf_init_2_index_sections): Declare.
+       * elfxx-target.h (elf_backend_init_index_section): Define.
+       (elfNN_bed): Init new field.
+       * elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
+       section and text_index_section plus data_index_section.
+       (_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
+       (_bfd_elf_init_1_index_section): New function.
+       (_bfd_elf_init_2_index_sections): New function.
+       (bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
+       (elf_link_input_bfd): When emitting relocs, use text_index_section
+       and data_index_section for removed sections.
+       * elf-m10300.c (elf_backend_omit_section_dynsym): Define.
+       * elf32-i386.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-xstormy16.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-mmix.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
+       and data_index_section sym for relocs against sections with no dynamic
+       section sym.
+       (elf_backend_init_index_section): Define.
+       * elf32-cris.c: Similarly.
+       * elf32-hppa.c: Similarly.
+       * elf32-i370.c: Similarly.
+       * elf32-m68k.c: Similarly.
+       * elf32-mips.c: Similarly.
+       * elf32-ppc.c: Similarly.
+       * elf32-s390.c: Similarly.
+       * elf32-sparc.c: Similarly.
+       * elf32-vax.c: Similarly.
+       * elf64-mips.c: Similarly.
+       * elf64-ppc.c: Similarly.
+       * elf64-s390.c: Similarly.
+       * elf64-sparc.c: Similarly.
+       * elf64-x86-64.c: Similarly.
+       * elfn32-mips.c: Similarly.
+       * elfxx-mips.c: Similarly.
+       * elfxx-sparc.c: Similarly.
+       * linker.c (fix_syms): Base symbols in removed sections on
+       previous section in preference to using absolute section.
+
+2006-10-16  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-ia64.c (addend_compare): Properly compute return value.
+
+2006-10-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3314
+       * elf.c (assign_file_positions_for_non_load_sections): Don't
+       page align empty SHF_ALLOC sections.
+
+2006-10-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
+       .plt sh_entsize to 0 if plt header size isn't multiple of
+       plt entry size or for 32-bit which adds a nop insn at the
+       end of the .plt section.
+
+2006-10-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_action_discarded): New.
+       (elf_backend_action_discarded): Define.
+
+2006-10-11  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Return after
+       unresolvable relocation error.
+       (elf_xtensa_finish_dynamic_symbol): Set value of undefined, weak
+       symbols to zero.
+
+2006-10-10  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Add DT_DEBUG
+       for PIE executables.
+
+2006-10-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
+       * elf-eh-frame.c (skip_cfa_op): Fix handling of DW_CFA_advance_loc.
+       Handle DW_CFA_{remember,restore}_state, DW_CFA_GNU_window_save,
+       DW_CFA_val_{offset{,_sf},expression}.
+       (skip_non_nops): Record number of DW_CFA_set_loc ops.
+       (_bfd_elf_discard_section_eh_frame): Require skip_non_nops recognizes
+       all ops.  If there are any DW_CFA_set_loc ops and they are pcrel
+       or going to be pcrel, compute set_loc array.
+       (_bfd_elf_eh_frame_section_offset): If make_relative, kill relocations
+       against DW_CFA_set_loc operands.
+       (_bfd_elf_write_section_eh_frame): Handle DW_CFA_set_loc adjusting.
+
+2006-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
+       symbols from the --just-syms file.
+
+2006-10-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
+       existence of PLT.
+
+2006-09-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3283
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore
+       relocation overflow on branches to undefweaks.
+
+2006-09-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/BLD-POTFILES.in: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2006-09-29  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR 3276
+       * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
+       alignment for .data$, .rdata$ and .text$ sections so that sse
+       and sse2 code will work for linkonce sections too.
+       * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
+
+2006-09-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_gc_mark_hook): New function.
+       * elf-bfd.h (_bfd_elf_gc_mark_hook): Declare.
+       * elfxx-target.h (elf_backend_gc_mark_hook): Default to above.
+       * elf-m10300.c (mn10300_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       * elf32-arm.c (elf32_arm_gc_mark_hook): Likewise.
+       * elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
+       * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
+       * elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
+       * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
+       * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
+       * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
+       * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
+       * elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
+       * elf32-score.c (_bfd_score_elf_gc_mark_hook): Likewise.
+       * elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
+       * elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
+       * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Likewise.
+       * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
+       * elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Likewise.
+       * elf32-bfin.c (bfin_gc_mark_hook): Likewise.
+       (bfinfdpic_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define for elf32-bfinfdpic.
+       * elf32-d10v.c (elf32_d10v_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       (elf32_d10v_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-fr30.c (fr30_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       (fr30_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-frv.c (elf32_frv_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       (elf32_frv_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-iq2000.c (iq2000_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       (iq2000_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Use
+       _bfd_elf_gc_mark_hook.
+       (openrisc_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-v850.c (v850_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       (v850_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Use
+       _bfd_elf_gc_mark_hook.
+       (xstormy16_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf64-sh64.c (sh_elf64_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
+       (sh_elf64_gc_sweep_hook): Delete.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-avr.c (elf32_avr_gc_mark_hook): Delete.
+       (elf32_avr_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-cr16c.c (elf32_cr16c_gc_mark_hook): Delete.
+       (elf32_cr16c_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-crx.c (elf32_crx_gc_mark_hook): Delete.
+       (elf32_crx_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-h8300.c (elf32_h8_gc_mark_hook): Delete.
+       (elf32_h8_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-ip2k.c (ip2k_elf_gc_mark_hook): Delete.
+       (ip2k_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-m32c.c (m32c_elf_gc_mark_hook, m32c_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-m68hc11.c (elf_backend_gc_mark_hook): Don't define.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-m68hc12.c (elf_backend_gc_mark_hook): Don't define.
+       (elf_backend_gc_sweep_hook): Don't define.
+       * elf32-m68hc1x.c (elf32_m68hc11_gc_mark_hook): Delete.
+       (elf32_m68hc11_gc_sweep_hook): Delete.
+       * elf32-m68hc1x.h (elf32_m68hc11_gc_mark_hook): Delete.
+       (elf32_m68hc11_gc_sweep_hook): Delete.
+       * elf32-msp430.c (elf32_msp430_gc_mark_hook): Delete.
+       (elf32_msp430_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+       * elf32-mt.c (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook): Delete.
+       (elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
+
+2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
+
+       * bfd-in.h (CONST_STRNCPY) : Delete.
+       (LITSTRCPY) : New.
+       (LITMEMCPY) : New.
+       * bfd-in2.h : Regenerate.
+       * elflink.c  (bfd_elf_gc_sections) : Use LITMEMCPY. Don't manually
+       calculate string lengths.
+       * nlmcode.h (nlm_swap_auxiliary_headers_in) : Use LITMEMCPY.
+
+2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3223
+       PR ld/3267
+       * elf.c (assign_file_positions_for_non_load_sections): Don't
+       warn zero size allocated sections.
+
+2006-09-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-score.c (_bfd_score_elf_relocate_section): Move assignment
+       to "name" so that compiler realizes it is never uninitialized.
+       Use bfd_elf_sym_name.
+
+2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3262
+       * elf.c (rewrite_elf_program_header): Use bfd_zalloc instead of
+       bfd_alloc to allocate segment map.
+       (copy_elf_program_header): Likewise.
+
+2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+           Ian Lance Taylor  <ian@wasabisystems.com>
+           Ben Elliston  <bje@wasabisystems.com>
+
+       * archures.c: Add definition for bfd_mach_arm_iWMMXt2.
+       * cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
+       (arch_info_struct, bfd_arm_update_notes): Likewise.
+       (architectures): Likewise.
+       (bfd_arm_merge_machines): Check for iWMMXt2.
+       * bfd-in2.h: Rebuild.
+
+2006-09-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2006-09-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfcode.h (elf_swap_symbol_in): Return bfd_boolean.  Don't abort
+       on error.
+       * elf-bfd.h (elf_size_info <swap_symbol_in>): Adjust decl.
+       (bfd_elf32_swap_symbol_in, bfd_elf64_swap_symbol_in): Likewise.
+       * elf.c (bfd_elf_get_elf_syms): Test return of swap_symbol_in,
+       and report error.
+       * elf32-arm.c (elf32_arm_swap_symbol_in): Return bfd_boolean.
+
+2006-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (elf_s390_relocate_section): Remove check for code
+       section in LD to LE linker relaxation for R_390_TLS_LDO32.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise for
+       R_390_TLS_LDO64.
+
+2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
+
+       * configure.in: Added new target-vectors x86_64coff_vec,
+       x86_64pe_vec, and x86_64pei_vec.
+       * configure: Regenerate.
+       * config.bfd: Adjusted x86_64 target architecture detection.
+       * bfd.c: Add for new target "coff-x86-64"
+       (bfd_get_sign_extend): Add target vector idents for pe-x86-64. and pei-x86-64.
+       * coff-x86_64.c: Add new file for x86_64 (AMD64) coff support.
+       * libpei.h: Adjustments for COFF_WITH_pex64.
+       * coffcode.h: Add for new target machine, architecture, signature, and internal
+       signature handler.
+       * Makefile.am: Add new files to target-all and define make-rule for pex64igen.c
+       * Makefile.in: Regenerate.
+       * pe-x86_64.c: Add for new target "pe-x86-64".
+       * pei-x86_64.c: Add for new target "pei-x86-64".
+       * peicode.h: Adjusts for new targets.
+       (coff_swap_filehdr_out): Set for this target to
+       _bfd_pex64_only_swap_filehdr_out.
+       (SIZEOF_IDATA4): Define it as 8 byte size for this target.
+       (SIZEOF_IDATA5): Define it as 8 byte size for this target.
+       (jump_table jtab): Add for AMD64MAGIC.
+       (pe_ILF_build_a_bfd): Adjusts for new size of SIZEOF_IDATA4 and SIZE_IDATA5.
+       (pe_ILF_object_p): Add coff image-file signature to internal
+       signature translation.
+       * peXXigen.c: Adjust proper include of target coff-header and
+       introduced target specific code
+       (COFF_WITH_pex64): New macro for this target.
+       (pe_print_idata): New dumping method for import section of PE+ files.
+       * targets.c: Add new target vectors declarations for x86_64 coff targets.
+       * coffcode.h: Support code to support the x86_64 PE magic number.
+       * coff-x86_64.c: New file.
+
+2006-09-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
+       for .stabstr entry, explain why.
+
+2006-09-17  Anton Blanchard  <anton@samba.org>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir table
+       entry isn't absolute.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * cpu-score.c: New file.
+       * elf32-score.c: New file.
+       * config.bfd: Add Score target.
+       * Makefile.am: Add Score files.
+       * Makefile.in: Regenerate.
+       * archures.c: Add Score architecture.
+       * reloc.c: Add Score relocs.
+       * targets.c: Add Score target vectors.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * configure.in: Add Score target.
+       * configure: Regenerate.
+
+2006-09-16  Nick Clifton  <nickc@redhat.com>
+           Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * bfd-in.h (STRING_COMMA_LEN): New macro.  Takes one constant
+       string as its argument and emits the string followed by a comma
+       and then the length of the string.
+       (CONST_STRNEQ): New macro.  Checks to see if a variable string
+       has a constant string as its initial characters.
+       (CONST_STRNCPY): New macro.  Copies a constant string to the start
+       of a variable string.
+       * bfd-in2.h: Regenerate.
+       * archive.c: Make use of the new macros.
+       * archive64.c: Likewise.
+       * bfd.c: Likewise.
+       * coff-ppc.c: Likewise.
+       * coff-stgo32.c: Likewise.
+       * coffcode.h: Likewise.
+       * cofflink.c: Likewise.
+       * cpu-i960.c: Likewise.
+       * dwarf2.c: Likewise.
+       * ecoff.c: Likewise.
+       * elf-m10300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-arm.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-iq2000.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc12.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh-symbian.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.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.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * hpux-core.c: Likewise.
+       * i386linux.c: Likewise.
+       * ieee.c: Likewise.
+       * libpei.h: Likewise.
+       * linker.c: Likewise.
+       * m68klinux.c: Likewise.
+       * mmo.c: Likewise.
+       * nlmcode.h: Likewise.
+       * osf-core.c: Likewise.
+       * pef.c: Likewise.
+       * som.c: Likewise.
+       * sparclinux.c: Likewise.
+       * vms-hdr.c: Likewise.
+
+2006-09-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3181
+       * elf.c (_bfd_elf_copy_private_header_data): Fix group members
+       that have had their SHT_GROUP section removed.
+
+2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3197
+       * elflink.c (elf_link_output_extsym): Compute bucket only if
+       needed.
+
+2006-09-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3186
+       * elf.c (_bfd_elf_make_section_from_shdr): Correct length of
+       "gnu.linkonce.wi.".
+
+2006-09-08  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_swap_symbol_out): Remove
+       unconditional setting of low bit for Thumb symbol
+       mistakenly left behind after check for external
+       symbols was added.  Fix comment typo.
+
+2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_link_hash_entry): Add a dynamic field.
+       (bfd_elf_link_mark_dynamic_symbol): New.
+       (SYMBOLIC_BIND): New.
+
+       * elf32-i386.c (elf_i386_check_relocs): Replace info->symbolic
+       with SYMBOLIC_BIND (info, h).
+       (elf_i386_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+       (elf64_x86_64_relocate_section): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.
+
+       * elflink.c (bfd_elf_link_mark_dynamic_symbol): New.
+       (bfd_elf_record_link_assignment): Call
+       bfd_elf_link_mark_dynamic_symbol on new entry.
+       (_bfd_elf_merge_symbol): Likewise.
+       (_bfd_elf_export_symbol): Return if the symbol isn't exported.
+       (_bfd_elf_fix_symbol_flags): Replace info->symbolic with
+       SYMBOLIC_BIND (info, h).
+       (_bfd_elf_dynamic_symbol_p): Likewise.
+       (_bfd_elf_symbol_refs_local_p): Likewise.
+       (bfd_elf_size_dynamic_sections): Updated.
+
+2006-09-05  Bibo Mao  <bibo.mao@intel.com>
+
+       PR binutils/3171
+       * coffcode.h (coff_write_object_contents): Set the optional
+       header magic number to PE32PMAGIC instead of ZMAGIC for ia64.
+
+2006-09-04  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
+       R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
+       (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
+       and R_ARM_THM_PC12 relocations.
+
+2006-08-24  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_get_property_section_name): Delete.
+       (xtensa_get_property_section): New.
+       (xtensa_read_table_entries): Use xtensa_get_property_section.
+       (relax_property_section, xtensa_get_property_predef_flags): Handle
+       group name suffixes in property section names.
+       (match_section_group): New.
+
+2006-08-23  Frediano Ziglio  <Frediano.Ziglio@vodafone.com>
+
+       * archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt"
+       variable.
+
+2006-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_copy_indirect_symbol): Only copy
+       plt_thumb_refcount from indirect symbols.
+
+2006-08-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Correct GOT and PLT HA
+       reloc handling.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+
+2006-08-21  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
+       comment for target1_is_rel.
+
+2006-08-21  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * Makefile.am: Add rules to build pe-arm-wince.lo
+       and pei-arm-wince.lo objects.
+       * Makefile.in: Regenerate.
+       * pe-arm-wince.c: New file.
+       * pei-arm-wince.c: New file.
+       * pei-arm.c: Remove ARM_WINCE block.
+       * pe-arm.c: Remove ARM_WINCE block. Rename
+       bfd_arm_pe_allocate_interworking_sections,
+       bfd_arm_pe_get_bfd_for_interworking, and
+       bfd_arm_pe_process_before_allocation to
+       bfd_armpe_allocate_interworking_sections,
+       bfd_armpe_get_bfd_for_interworking, and
+       bfd_armpe_process_before_allocation. Move them before
+       including bfd.h.
+       * bfd.c: ARM wince bfd format names were renamed. Adjust.
+       * coff-arm.c [ARM_WINCE]: Adjust so Windows CE doesn't end up
+       with unexpected/conflicting relocs.
+       * targets.c: The arm-wince-pe target got its own new vector.
+       Adjust.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * configure: Regenerate.
+
+2006-08-18  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
+       (elf32_arm_link_hash_newfunc): Initialize export_glue.
+       (record_arm_to_thumb_glue): Return stub symbol.
+       (elf32_arm_create_thumb_stub): New function.
+       (elf32_arm_to_thumb_stub): Use it.
+       (elf32_arm_to_thumb_export_stub): New function.
+       (elf32_arm_begin_write_processing): New function.
+       (allocate_dynrelocs): Allocate Arm stubs.
+       (elf_backend_begin_write_processing): Define.
+       (elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
+       Call elf32_arm_begin_write_processing.
+
+2006-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (create_linkage_sections): Align .glink to 8 bytes.
+       (ppc64_elf_build_stubs): Use new lazy linking stub.
+
+2006-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
+
+2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3015
+       * elf.c (get_program_header_size): Add a PT_GNU_RELRO segment
+       only if there is a PT_DYNAMIC segment.
+       (_bfd_elf_map_sections_to_segments): Likewise.
+       (assign_file_positions_for_load_sections): Set PT_GNU_RELRO
+       segment alignment to 1.
+
+2006-08-15  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * elf32-mips.c, elf64-mips.c, elfn32-mips.c
+       (elf_backend_merge_symbol_attribute): Define.
+       * elflink.c (elf_link_add_object_symbols): Merge only the ELF
+       visibility flags.
+       * elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function.
+
+2006-08-15  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * config.bfd: Add configurations for mips*el-sde-elf* and
+       mips*-sde-elf*.
+
+2006-08-14  DJ Delorie  <dj@redhat.com>
+
+       * elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.
+       (elf32_mn10300_count_hash_table_entries): New.
+       (elf32_mn10300_list_hash_table_entries): New.
+       (sort_by_value): New.
+       (mn10300_elf_relax_section): Don't skip data sections; restrict
+       code-specific tests to code-specific areas so that potential
+       indirect calls can be detected.  Check for multiple local symbols
+       at the same address and merge their flags.
+       (elf32_mn10300_link_hash_newfunc): Initialize value.
+
+2006-08-14  Thiemo Seufer  <ths@mips.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_symbol_processing,
+       _bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS
+       symbols in .scommon.
+
+2006-08-11  Thiemo Seufer  <ths@mips.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
+       sh_entsize only when sgot was already initialized.
+
+2006-08-08  DJ Delorie  <dj@redhat.com>
+
+       * elf32-sh.c (sh_elf_relax_section): Allow for branches across
+       non-moving .align directives.  Preserve any DIR32 offset when
+       converting bsr's to jsr's.
+
+2006-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
+       after stubs have been built.
+
+2006-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-sh.c (vxworks_object_p): Only check for vxworks target
+       vectors if they are going to be created.
+
+2006-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (bfd_elf32_shnbsd_vec): Fix typo.
+       * configure: Regenerate.
+
+2006-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL
+       relocation types if the target is ARM_WINCE.
+
+2006-08-05  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little
+       and pei-arm-little.
+       * coff-arm.c (coff_arm_rtype_to_howto) [COFF_WITH_PE]: Handle
+       ARM_SECREL.
+       (coff_arm_reloc_type_lookup): Map BFD_RELOC_32_SECREL to
+       ARM_SECREL.
+       * pe-arm.c [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
+       * pei-arm.c [TARGET_UNDERSCORE]: Define for ARM_WINCE like in
+       pe-arm.c.
+       [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
+
+2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
+
+       * elflink.c (elf_gc_sweep): If info.print_gc_sections is true,
+       list removed sections to stderr.
+
+2006-08-04  Richard Sandiford  <richard@codesourcery.com>
+           Kazu Hirata  <kazu@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config.bfd (sh-*-vxworks): Use bfd_elf32_shvxworks_vec and
+       bfd_elf32_shlvxworks_vec.
+       * configure.in (bfd_elf32_sh64_vec): Add elf-vxworks.lo.
+       (bfd_elf32_sh64l_vec, bfd_elf32_sh64lin_vec): Likewise.
+       (bfd_elf32_sh64blin_vec, bfd_elf32_sh64lnbsd_vec): Likewise.
+       (bfd_elf32_sh64nbsd_vec, bfd_elf32_sh_vec): Likewise.
+       (bfd_elf32_shblin_vec, bfd_elf32_shl_vec): Likewise.
+       (bfd_elf32_shl_symbian_vec, bfd_elf32_shlin_vec): Likewise.
+       (bfd_elf32_shlnbsd_vec, bfd_elf32_shnbsd_vec): Likewise.
+       (bfd_elf32_shlvxworks_vec, bfd_elf32_shvxworks_vec): New stanzas.
+       * configure: Regenerate.
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+       * elf-vxworks.c (elf_vxworks_gott_symbol_p): New function.
+       (elf_vxworks_add_symbol_hook): Use it.
+       (elf_vxworks_link_output_symbol_hook): Likewise.  Use the hash
+       table entry to check for weak undefined symbols and to obtain
+       the original bfd.
+       (elf_vxworks_emit_relocs): Use target_index instead of this_idx.
+       * elf32-sh-relocs.h: New file, split from elf32-sh.c.
+       (R_SH_DIR32): Use SH_PARTIAL32 for the partial_inplace field,
+       SH_SRC_MASK32 for the src_mask field, and SH_ELF_RELOC for the
+       special_function field.
+       (R_SH_REL32): Use SH_PARTIAL32 and SH_SRC_MASK32 here too.
+       (R_SH_REL32, R_SH_TLS_GD_32, R_SH_TLS_LD_32): Likewise.
+       (R_SH_TLS_LDO_32, R_SH_TLS_IE_32, R_SH_TLS_LE_32): Likewise.
+       (R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32, R_SH_TLS_TPOFF32): Likewise.
+       (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT): Likewise.
+       (R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Likewise.
+       (SH_PARTIAL32, SH_SRC_MASK32, SH_ELF_RELOC): Undefine at end of file.
+       * elf32-sh.c: Include elf32-vxworks.h.
+       (MINUS_ONE): Define.
+       (sh_elf_howto_table): Include elf32-sh-relocs.h with SH_PARTIAL32
+       set to TRUE, SH_SRC_MASK32 set to 0xffffffff, and SH_ELF_RELOC set
+       to sh_elf_reloc.
+       (sh_vxworks_howto_table): New variable.  Include elf32-sh-relocs.h
+       with SH_PARTIAL32 set to FALSE, SH_SRC_MASK32 set to 0, and
+       SH_ELF_RELOC set to bfd_elf_generic_reloc.
+       (vxworks_object_p, get_howto_table): New functions.
+       (sh_elf_reloc_type_lookup): Fix typo.  Use get_howto_table.
+       (sh_elf_info_to_howto): Use get_howto_table.
+       (sh_elf_relax_section): Honor the partial_inplace field of the
+       R_SH_DIR32 howto.
+       (sh_elf_relax_delete_bytes): Likewise.
+       (elf_sh_plt_info): New structure.
+       (PLT_ENTRY_SIZE): Replace both definitions with...
+       (ELF_PLT_ENTRY_SIZE): ...this new macro, with separate definitions for
+       INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
+       (elf_sh_plt0_entry_be): Update sizes of both definitions accordingly.
+       (elf_sh_plt0_entry_le): Likewise.
+       (elf_sh_plt_entry_be, elf_sh_plt_entry_le): Likewise.
+       (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): Likewise.
+       (elf_sh_plts): New structure, with separate definitions for
+       INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
+       (elf_sh_plt0_entry): Delete both definitions.
+       (elf_sh_plt_entry, elf_sh_pic_plt_entry): Likewise.
+       (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset): Likewise.
+       (elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset): Likewise.
+       (elf_sh_plt_reloc_offset): Likewise.
+       (movi_shori_putval): Delete in favor of...
+       (install_plt_field): ...this new function, with separate definitions
+       for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
+       (get_plt_info): New function, with separate definitions
+       for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
+       (elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset): Delete.
+       (VXWORKS_PLT_HEADER_SIZE, VXWORKS_PLT_ENTRY_SIZE): New macros.
+       (vxworks_sh_plt0_entry_be, vxworks_sh_plt0_entry_le): New constants.
+       (vxworks_sh_plt_entry_be, vxworks_sh_plt_entry_le): Likewise.
+       (vxworks_sh_pic_plt_entry_be, vxworks_sh_pic_plt_entry_le): Likewise.
+       (get_plt_index, get_plt_offset): New functions.
+       (elf_sh_link_hash_table): Add srelplt2, plt_info and vxworks_p fields.
+       (sh_elf_link_hash_table_create): Initialize them.
+       (sh_elf_create_dynamic_sections): Call
+       elf_vxworks_create_dynamic_sections for VxWorks.
+       (allocate_dynrelocs): Use htab->plt_info to get the size of PLT
+       entries.  Allocate relocation entries in .rela.plt.unloaded if
+       generating a VxWorks executable.
+       (sh_elf_always_size_sections): New function.
+       (sh_elf_size_dynamic_sections): Extend .rela.plt handling to
+       .rela.plt.unloaded.
+       (sh_elf_relocate_section): Use get_howto_table.  Honor
+       partial_inplace when calculating the addend for dynamic
+       relocations.  Use get_plt_index.
+       (sh_elf_finish_dynamic_symbol): Use get_plt_index, install_plt_field
+       and htab->plt_info.  Fill in the bra .plt offset for VxWorks
+       executables.  Populate .rela.plt.unloaded.  Do not make
+       _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
+       (sh_elf_finish_dynamic_sections): Use install_plt_field and
+       htab->plt_info.  Handle cases where there is no special PLT header.
+       Populate the first relocation in .rela.plt.unloaded and fix up
+       the remaining entries.
+       (sh_elf_plt_sym_val): Use get_plt_info.
+       (elf_backend_always_size_sections): Define.
+       (TARGET_BIG_SYM, TARGET_BIG_NAME): Override for VxWorks.
+       (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
+       (elf32_bed, elf_backend_want_plt_sym): Likewise.
+       (elf_symbol_leading_char, elf_backend_want_got_underscore): Likewise.
+       (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Likewise.
+       (elf_backend_add_symbol_hook): Likewise.
+       (elf_backend_link_output_symbol_hook): Likewise.
+       (elf_backend_emit_relocs): Likewise.
+       (elf_backend_final_write_processing): Likewise.
+       (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Likewise.
+       * targets.c (bfd_elf32_shlvxworks_vec): Declare.
+       (bfd_elf32_shvxworks_vec): Likewise.
+       (_bfd_target_vector): Include bfd_elf32_shlvxworks_vec and
+       bfd_elf32_shvxworks_vec.
+
+2006-08-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in (arm-*-openbsd*): Set COREFILE to netbsd-core.lo.
+       * configure: Regenerate.
+
+2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       PR binutils/2983
+       * elf64-x86-64.c: Add FreeBSD support.
+       (elf64_x86_64_fbsd_post_process_headers): New function.
+       * targets.c (_bfd_target_vector): Add bfd_elf64_x86_64_freebsd_vec.
+       * config.bfd (x64_64-*-freebsd*): Add bfd_elf64_x86_64_freebsd_vec
+       to the targ_selvecs.
+       * configure.in: Add entry for bfd_elf64_x86_64_freebsd_vec.
+       * configure: Regenerate.
+
+2006-07-26  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
+
+2006-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
+       * elf32-xtensa.c (elf_xtensa_modify_segment_map): Delete.
+       (define elf_backend_modify_segment_map): Don't define.
+
+2006-07-25  Thiemo Seufer  <ths@networkno.de>
+
+       * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Allow
+       linking of objects for compatible machine types.
+
+2006-07-25  Thiemo Seufer  <ths@networkno.de>
+
+       * elfxx-mips.c (mips_elf_next_relocation): Tighten check to test
+       also for same symbol.
+
+2006-07-25  Thiemo Seufer  <ths@mips.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Remove magic constant.
+
+2006-07-24  Michael Wetherell  <mike.wetherell@ntlworld.com>
+
+       * elf.c (bfd_section_from_shdr): Reject unrecognised OS-specific
+       sections only if the SHF_OS_NONCONFORMING flag is present.
+
+2006-07-24  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2729
+       * peXXigen.c (_bfd_XXi_final_link_postscript): Check for the
+       existance of output sections before putting their entries into the
+       DataDictionary.
+
+2006-07-20  Thiemo Seufer  <ths@mips.com>
+
+       * elf32-mips.c (mips16_jump_reloc): Remove function.
+       (elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
+       instead of mips16_jump_reloc.
+       * elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
+       (elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
+       _bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.
+
+2006-07-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (enum notice_asneeded_action): Define.
+       * bfd-in2.h: Regenerate.
+       * elflink.c (elf_link_add_object_symbols): Call linker "notice"
+       function with NULL name for as-needed handling.
+
+2006-07-18  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.
+
+2006-07-18  Nick Clifton  <nickc@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
+       Consider SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as being common
+       sections.
+       * elfxx-mips.h  (_bfd_mips_elf_common_definition): Prototype.
+
+2006-07-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
+
+2006-07-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
+       to the start of a block.
+
+2006-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info()
+       returning a NULL value.
+
+2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2884
+       * elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from
+       the old versioned dynamic definition to the new one with
+       non-default visibility.  Hide the symbol if it is hidden or
+       internal.
+
+2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>
+
+       * cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
+
+2006-07-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
+       (bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
+       Handle SHT_GNU_HASH.
+       (special_sections_g): Include .gnu.hash section.
+       (bfd_elf_gnu_hash): New function.
+       * elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
+       (struct elf_backend_data): Add elf_hash_symbol method.
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
+       only if info->emit_hash, create .gnu.hash section if
+       info->emit_gnu_hash.
+       (struct collect_gnu_hash_codes): New type.
+       (elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
+       _bfd_elf_hash_symbol): New functions.
+       (compute_bucket_count): Don't compute HASHCODES array, instead add
+       that and NSYMS as arguments.  Use bed->s->sizeof_hash_entry
+       instead of bed->s->arch_size / 8.  Fix .hash size estimation.
+       When not optimizing, use the number of hashed symbols rather than
+       dynsymcount.
+       (bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
+       and ADD DT_GNU_HASH if info->emit_gnu_hash.
+       (bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
+       adjust compute_bucket_count caller.  Create and populate .gnu.hash
+       section if info->emit_gnu_hash.
+       (elf_link_output_extsym): Only populate .hash section if
+       finfo->hash_sec != NULL.
+       (bfd_elf_final_link): Adjust assertion.  Handle DT_GNU_HASH.
+       * elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
+       (elfNN_bed): Add elf_backend_hash_symbol.
+       * elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
+       (elf_backend_hash_symbol): Define.
+       * elf32-i386.c (elf_i386_hash_symbol): New function.
+       (elf_backend_hash_symbol): Define.
+
+2006-07-05  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2659
+       * cofflink.c (_bfd_coff_link_input_bfd): Fix selection of aux
+       entry when multiple definitions of a symbol are encountered.
+
+2006-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Use xchg %ax,%ax
+       instead of 2 nops.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+       (elf64_x86_64_plt0_entry): Use nopl 0(%rax) instead of 4 nops.
+
+2006-06-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR ld/2513
+       * elf32-i386.c (GOT_TLS_MASK, GOT_TLS_IE_IE, GOT_TLS_IE_GD,
+       GOT_TLS_IE_MASK, elf_i386_check_relocs, allocate_dynrelocs): Revert
+       2006-04-08 changes.
+       (elf_i386_relocate_section): Likewise.  For GD->IE transition
+       change subl into addl whenever tls_type is GOT_TLS_IE_POS.
+
+2006-06-23  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/2754
+       * elf.c (bfd_elf_mkobject): Don't alloc if already done.  Set
+       program_header_size to -1.
+       (_bfd_elf_map_sections_to_segments): Adjust program_header_size check.
+       (assign_file_positions_for_load_sections ): Likewise.
+       (_bfd_elf_sizeof_headers): Use saved program_header_size if
+       available.
+       * elf32-arm.c (elf32_arm_mkobject): Call bfd_elf_mkobject, don't
+       alloc if already done.
+       * elf32-i386.c (elf_i386_mkobject): Likewise.
+       * elf32-ppc.c (ppc_elf_mkobject): Likewise.
+       * elf32-s390.c (elf_s390_mkobject): Likewise.
+       * elf32-sh.c (sh_elf_mkobject): Likewise.
+       * elf64-alpha.c (elf64_alpha_mkobject): Likewise.
+       * elf64-ppc.c (ppc64_elf_mkobject): Likewise.
+       * elf64-s390.c (elf_s390_mkobject): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_mkobject): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Likewise.
+
+2006-06-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.c (elf_link_add_object_symbols): Don't create .tcommon
+       section for relocatable link.
+
+2006-06-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_backend_data): Add
+       elf_backend_modify_program_headers.
+       * elfxx-target.h (elf_backend_modify_program_headers): Define.
+       (elfNN_bed): Init new field.
+       * elf.c (elf_modify_segment_map): Remove comment.
+       (assign_file_positions_for_load_sections): Only call
+       elf_modify_segment_map for objcopy/strip.
+       (assign_file_positions_except_relocs): Call
+       elf_backend_modify_program_headers.
+       * elf32-frv.c (elf32_frvfdpic_always_size_sections): Don't make
+       .stack section.
+       (elf32_frvfdpic_modify_segment_map): Delete.
+       (elf32_frvfdpic_modify_program_headers): New.
+       (elf_backend_modify_segment_map): Don't define.
+       (elf_backend_modify_program_headers): Define.
+       * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Don't make
+       .stack section.
+       (elf32_bfinfdpic_modify_segment_map): Delete.
+       (elf32_bfinfdpic_modify_program_headers): New.
+       (elf_backend_modify_segment_map): Don't define.
+       (elf_backend_modify_program_headers): Define.
+       * elfxx-ia64.c (elfNN_ia64_modify_program_headers): New function.
+       Split out from..
+       (elfNN_ia64_modify_segment_map): ..here.
+       (elf_backend_modify_program_headers): Define.
+
+2006-06-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
+       * elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.
+
+2006-06-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h: Formatting.
+       (_bfd_elf_map_sections_to_segments): Declare.
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame_hdr): Don't
+       clear program_header_size.
+       * elf.c (get_program_header_size): Move.  Don't use or set saved
+       program_header_size here.
+       (elf_modify_segment_map): New function.  Split out from..
+       (assign_file_positions_for_load_sections): ..here.  Assert
+       header size is correct.  Remove dead code.
+       (_bfd_elf_map_sections_to_segments): Rename from
+       map_sections_to_segments.  Make global.  Use get_program_header_size
+       when we need estimate of header size.  Call elf_modify_segment_map.
+       Set program_header_size.
+       (print_segment_map): Delete.
+       (_bfd_elf_sizeof_headers): If segment_map available, get the
+       actual size.
+       * elf32-arm.c (elf32_arm_symbian_modify_segment_map): Make safe
+       for calling more than once.
+       * elf32-bfin.c (elf32_bfinfdpic_modify_segment_map): Likewise.
+       * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
+       * elf32-i370.c (elf_backend_add_symbol_hook): Delete.
+       (elf_backend_additional_program_headers): Delete.
+       (elf_backend_modify_segment_map): Delete.
+       * elf64-hppa.c (elf64_hppa_modify_segment_map): Convert to ISO C.
+       * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
+       * doc/bfdint.texi: Delete SIZEOF_HEADERS difficulties.
+
+2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
+       bit for undefined symbols.
+
+2006-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_backend_data): Add bfd_link_info pointer
+       parameter.
+       (_bfd_elf_sizeof_headers): Replace bfd_boolean param with
+       bfd_link_info pointer.
+       * targets.c (struct bfd_target <_bfd_sizeof_headers>): Likewise.
+       * bfd.c (bfd_sizeof_headers): Tweak param name.
+       * aout-adobe.c (aout_adobe_sizeof_headers): Adjust.
+       * aoutx.h (NAME (aout, sizeof_headers)): Adjust.
+       * binary.c (binary_sizeof_headers): Adjust.
+       * bout.c (b_out_sizeof_headers): Adjust.
+       * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust.
+       * coff64-rs6000.c (xcoff64_sizeof_headers): Adjust.
+       * coffgen.c (coff_sizeof_headers): Adjust.
+       * ecoff.c (_bfd_ecoff_sizeof_headers): Adjust.
+       (ecoff_compute_section_file_positions): Adjust.
+       (_bfd_ecoff_write_object_contents): Adjust.
+       * elf.c (get_program_header_size, _bfd_elf_sizeof_headers): Adjust.
+       * elf32-arm.c (elf32_arm_additional_program_headers): Adjust.
+       * elf32-i370.c (elf_backend_additional_program_headers): Adjust.
+       * elf32-ppc.c (ppc_elf_additional_program_headers): Adjust.
+       * elf64-hppa.c (elf64_hppa_additional_program_headers): Adjust.
+       * elf64-x86-64.c (elf64_x86_64_additional_program_headers): Adjust.
+       * elfxx-ia64.c (elfNN_ia64_additional_program_headers): Adjust.
+       * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Adjust.
+       * elfxx-mips.h (_bfd_mips_elf_additional_program_headers): Adjust.
+       * i386msdos.c: Convert to ISO C.
+       (msdos_sizeof_headers): Adjust.
+       * i386os9k.c: Convert to ISO C.
+       (os9k_sizeof_headers): Adjust.
+       * ieee.c (ieee_sizeof_headers): Adjust.
+       * ihex.c (ihex_sizeof_headers): Adjust.
+       * libaout.h (NAME (aout, sizeof_headers)): Adjust.
+       * libbfd-in.h (_bfd_nolink_sizeof_headers): Adjust.
+       * libcoff-in.h (coff_sizeof_headers): Adjust.
+       * libecoff.h (_bfd_ecoff_sizeof_headers): Adjust.
+       * mach-o.c (bfd_mach_o_sizeof_headers): Adjust.
+       * mmo.c (mmo_sizeof_headers): Adjust.
+       * oasys.c (oasys_sizeof_headers): Adjust.
+       * pdp11.c (NAME (aout, sizeof_headers)): Adjust.
+       * pef.c (bfd_pef_sizeof_headers): Adjust.
+       * ppcboot.c (ppcboot_sizeof_headers): Adjust.
+       * som.c (som_sizeof_headers): Adjust.
+       * srec.c (srec_sizeof_headers): Adjust.
+       * tekhex.c (tekhex_sizeof_headers): Adjust.
+       * versados.c (versados_sizeof_headers): Adjust.
+       * vms.c (vms_sizeof_headers): Adjust.
+       * xcoff-target.h (_bfd_xcoff_sizeof_headers): Adjust.
+       * xsym.c (bfd_sym_sizeof_headers): Adjust.
+       * xsym.h (bfd_sym_sizeof_headers): Adjust.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+
+2006-06-15  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
+       R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
+       R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
+       R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
+       R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
+       R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
+       R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
+       R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
+       R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
+       R_ARM_LDC_SB_G2): New relocation types.
+       (R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
+       adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
+       and friends.
+       (elf32_arm_howto_table_3): Delete; contents merged into
+       elf32_arm_howto_table_2.
+       (elf32_arm_howto_from_type): Adjust correspondingly.
+       (elf32_arm_reloc_map): Extend with the above relocations.
+       (calculate_group_reloc_mask): New function.
+       (identify_add_or_sub): New function.
+       (elf32_arm_final_link_relocate): Support for the above
+       relocations.
+       * reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
+       codes to correspond to the above relocations.
+
+2006-06-14  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-m68k.c (elf_m68k_plt_info): New structure.
+       (elf_m68k_plt0_entry): Add R_68K_PC32-style in-place addends.
+       (elf_m68k_plt_entry): Likewise.
+       (elf_m68k_plt_info): New table.
+       (CFV4E_PLT_ENTRY_SIZE): Rename to...
+       (ISAB_PLT_ENTRY_SIZE): ...this.
+       (CFV4E_FLAG): Delete.
+       (elf_cfv4e_plt0_entry): Rename to...
+       (elf_isab_plt0_entry): ...this.  Adjust comments.  Use (-6,%pc,%d0)
+       for the second instruction too.
+       (elf_cfv4e_plt_entry): Rename to...
+       (elf_isab_plt_entry): ...this.  Adjust comments and use (-6,%pc,%d0).
+       (elf_isab_plt_info): New table.
+       (CPU32_FLAG): Delete.
+       (PLT_CPU32_ENTRY_SIZE): Rename to...
+       (CPU32_PLT_ENTRY_SIZE): ...this.
+       (elf_cpu32_plt0_entry): Update bounds accordingly.  Add R_68K_PC32-
+       style in-place addends.
+       (elf_cpu32_plt_entry): Likewise.
+       (elf_cpu32_plt_info): New table.
+       (elf_m68k_link_hash_table): Add a plt_info field.
+       (elf_m68k_link_hash_table_create): Initialize it.
+       (elf_m68k_get_plt_info): New function.
+       (elf_m68k_always_size_sections): Likewise.
+       (elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
+       (elf_m68k_install_pc32): New function.
+       (elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
+       elf_m68k_install_pc32.
+       (elf_m68k_finish_dynamic_sections): Likewise.
+       (elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
+       (elf_backend_always_size_sections): Define.
+
+2006-06-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_link_add_object_symbols): Save and restore
+       struct bfd_hash_table table, size and count fields for
+       as-needed libs.
+
+2006-06-12  Thiemo Seufer  <ths@mips.com>
+
+       * elf32-mips.c: Expand comment about ABI-mandated pagesize values.
+       (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): define in a more obvious way.
+       * elf64-mips.c, elfn32-mips.c (ELF_MAXPAGESIZE): Fix value for IRIX6.
+       Delete old comments.
+       (ELF_COMMONPAGESIZE): Define in a more obvious way.
+
+2006-06-12  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/2735
+       * elflink.c (elf_link_add_object_symbols): Fix the warning message
+       about mismatched alignments to allow for the case where the common
+       alignment has been deduced from the section alignment.
+       * bfd.c (_bfd_default_error_handler): Update comment to explain
+       why bfd and asection varargs are out of order.  Explicitly catch
+       and abort on NULL bfd and asection arguments.
+
+2006-06-11  Richard Sandiford  <richard@codesourcery.com>
+           Thiemo Seufer  <ths@mips.com>
+
+       * elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size.
+       (STUB_ORI): New macro.
+       (STUB_LI16U): Fix formatting.
+       (MIPS_FUNCTION_STUB_SIZE): Delete.
+       (MIPS_FUNCTION_STUB_MAX_SIZE): Likewise.
+       (MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro.
+       (MIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size
+       instead of MIPS_FUNCTION_STUB_SIZE.
+       (count_section_dynsyms): New function, split out from
+       _bfd_mips_elf_final_link.
+       (_bfd_mips_elf_always_size_sections): Get a worst-case estimate
+       of the number of dynamic symbols needed and use it to set up
+       function_stub_size.  Use function_stub_size rather than
+       MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section.
+       Use 16-byte stubs for 0x10000 dynamic symbols.
+       (_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size
+       instead of MIPS_FUNCTION_STUB_SIZE.  Fix formatting.
+       (_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Change the
+       size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to
+       MIPS_FUNCTION_STUB_BIG_SIZE.  Tweak the check for unhandled dynindxes.
+       Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20.
+       Use STUB_ORI rather than STUB_LI16U for big stubs.
+       (_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size.
+       (_bfd_mips_elf_final_link): Use count_section_dynsyms.
+
+2006-06-09  David Ung  <davidu@mips.com>
+
+       * bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
+       calling relocations.
+
+2006-06-08  David Daney  <ddaney@avtrex.com>
+
+       * elfxx-mips.c (STUB_LI16): Removed.
+       (STUB_LUI): New macro.
+       (STUB_LI16U): Ditto.
+       (STUB_LI16S): Ditto.
+       (MIPS_FUNCTION_STUB_SIZE): Rewrote to take info parameter.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Pass info parameter to
+       MIPS_FUNCTION_STUB_SIZE.
+       (_bfd_mips_elf_always_size_sections): Ditto.
+       (_bfd_mips_elf_size_dynamic_sections): Ditto.
+       (_bfd_mips_elf_finish_dynamic_sections): Ditto.
+       (_bfd_mips_elf_finish_dynamic_symbol): Rewrote stub generation
+       to allow larger symbol table indexes.
+
+2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * po/Make-in (pdf, ps): New dummy targets.
+
+2006-06-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * hash.c (bfd_hash_lookup): Correct stray line.
+
+       * elf.c (_bfd_elf_init_private_section_data): Comment typo.
+       (elfcore_grok_nto_status): Use long instead of pid_t.
+       (elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/Make-in (top_builddir): Define.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+
+2006-06-02  Alan Modra  <amodra@bigpond.net.au>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2723
+       * elflink.c (bfd_elf_final_link): Don't output section symbols
+       for special ELF sections.
+
+2006-06-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags
+       instead of bfd_make_section*.
+       * aix386-core.c: Likewise.
+       * aix5ppc-core.c: Likewise.
+       * aout-adobe.c: Likewise.
+       * aoutf1.h: Likewise.
+       * binary.c: Likewise.
+       * cisco-core.c: Likewise.
+       * coff-arm.c: Likewise.
+       * coff-h8300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-m32c.c: Likewise.
+       * hppabsd-core.c: Likewise.
+       * hpux-core.c: Likewise.
+       * i386linux.c: Likewise.
+       * ieee.c: Likewise.
+       * ihex.c: Likewise.
+       * irix-core.c: Likewise.
+       * lynx-core.c: Likewise.
+       * m68klinux.c: Likewise.
+       * mach-o.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * nlmcode.h: Likewise.
+       * opncls.c: Likewise.
+       * osf-core.c: Likewise.
+       * peXXigen.c: Likewise.
+       * ppcboot.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * rs6000-core.c: Likewise.
+       * sco5-core.c: Likewise.
+       * sparclinux.c: Likewise.
+       * srec.c: Likewise.
+       * sunos.c: Likewise.
+       * trad-core.c: Likewise.
+       * xcofflink.c: Likewise.
+       * xsym.c: Likewise.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (INCLUDES): Use @INCINTL@.
+       * acinclude.m4: Include new gettext macros.
+       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
+       Manually substitute POFILES and GMOFILES.
+       * Makefile.in, aclocal.m4, configure, doc/Makefile.in: Regenerated.
+
+2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd_emul_get_maxpagesize): New.
+       (bfd_elf_set_pagesize): Likewise.
+       (bfd_emul_set_maxpagesize): Likewise.
+       (bfd_emul_get_commonpagesize): Likewise.
+       (bfd_emul_set_commonpagesize): Likewise.
+       * bfd-in2.h: Regenerated.
+
+       * elf-bfd.h (elf_backend_data): Add commonpagesize.
+       (xvec_get_elf_backend_data): New.
+       (get_elf_backend_data): Use xvec_get_elf_backend_data.
+
+       * elf32-arm.c (elf32_arm_vxworks_bed): Remove const.
+       * elfxx-target.h (elfNN_bed): Likewise.
+
+       * elf32-arm.c (ELF_COMMONPAGESIZE): Defined.
+       * elf32-mips.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf32-ppc.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf32-sh.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf32-sh64.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf32-sparc.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf64-alpha.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf64-sparc.c (ELF_COMMONPAGESIZE): Likewise.
+       * elf64-x86-64.c (ELF_COMMONPAGESIZE): Likewise.
+       * elfn32-mips.c (ELF_COMMONPAGESIZE): Likewise.
+       * elfxx-ia64.c (ELF_COMMONPAGESIZE): Likewise.
+
+       * elfxx-target.h (ELF_COMMONPAGESIZE): Define if not defined.
+       (elfNN_bed): Initialize commonpagesize with ELF_COMMONPAGESIZE.
+
+       * targets.c (bfd_find_target): Support NULL abfd.
+
+2006-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2006-05-27  Alan Modra  <amodra@bigpond.net.au>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_file_positions_for_load_sections): Retrieve
+       maxpagesize from m->p_align if it is valid.  Set p_vaddr,
+       p_paddr and p_align earlier.  Revert 2006-05-19 change to p_align.
+       (copy_elf_program_header): Copy p_align.  Set p_align_valid.
+
+2006-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (ELF_MINPAGESIZE): Changed to 0x1000.
+
+2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (ELF_MINPAGESIZE): Set to 0x100000.
+
+2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (ELF_MAXPAGESIZE): Updated to 0x200000.
+
+2006-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (sym_is_global): Return a bfd_boolean.
+       (ignore_section_sym): New function.
+       (elf_map_symbols): Use ignore_section_sym to discard some syms.
+       (_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
+       bfd before using elf_section_syms.
+
+2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config.bfd: (sh-*-linux*): Treat as 64bit target.
+       (sh*l*-*-netbsdelf*): Likewise.
+       (sh-*-netbsdelf*): Likewise.
+       (shl*-*-elf*): Likewise.
+       (sh[1234]l*-*-elf*): Likewise.
+       (sh3el*-*-elf*): Likewise.
+       (shl*-*-kaos*): Likewise.
+       (sh-*-elf*): Likewise.
+       (sh[1234]*-elf*): Likewise.
+       (sh-*-rtems*): Likewise.
+       (sh-*-kaos*): Likewise.
+
+2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/1485
+       * config.bfd: Set want64 to true if 64bit bfd is used.
+       (sh-*-linux*): Use targ64_selvecs for 64bit targets.
+       (sh*l*-*-netbsdelf*): Likewise.
+       (sh-*-netbsdelf*): Likewise.
+       (shl*-*-elf*): Likewise.
+       (sh[1234]l*-*-elf*): Likewise.
+       (sh3el*-*-elf*): Likewise.
+       (shl*-*-kaos*): Likewise.
+       (sh-*-elf*): Likewise.
+       (sh[1234]*-elf*): Likewise.
+       (sh-*-rtems*): Likewise.
+       (sh-*-kaos*): Likewise.
+
+2006-05-24  Paul Brook  <paul@codesourcery.com>
+
+       * elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms
+       * elf32-arm.c (output_arch_syminfo): Define.
+       (elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
+       elf32_arm_output_arch_local_syms): New functions.
+       (elf_backend_output_arch_local_syms): Define.
+       * elflink.c (bfd_elf_final_link): Call
+       elf_backend_output_arch_local_syms.
+       * elfxx-target.h (elf_backend_output_arch_local_syms): Provide default
+       definition.
+       (elfNN_bed): Add elf_backend_output_arch_local_syms.
+
+2006-05-24  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (put_arm_insn, put_thumb_insn): New functions.
+       (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
+       elf32_arm_finish_dynamic_symbol): Use them.
+
+2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
+           Randolph Chung  <tausq@debian.org>
+
+       * elf-hppa.h (reloc_hppa_howto_table): Check bitfield for
+       TPREL21L/TPREL14R relocations. Handle LTOFF_TP14R relocations.
+       Add handling for TLS relocations.
+       (elf_hpp_reloc_final_type): Handle TLS relocs.
+       * elf32-hppa.c: Add authors for cleanup and TLS support.
+       (hppa_elf_local_got_tls_type, hh_name, eh_name): Define.
+       (elf32_hppa_link_hash_entry): Add tls_type.
+       (elf32_hppa_link_hash_table): Add tld_ldm_got.
+       (hppa_link_has_newfunc): Set tls_type.
+       (elf32_hppa_link_hash_table_create): Set tls_ldm_got refcount.
+       (hppa_stub_name): Use hh_name macro.
+       (elf32_hppa_copy_indirect_symbol): Copy TLS information.
+       (elf32_hppa_check_relocs): Call elf32_hppa_optimized_tls_reloc.
+       Handle TLS relocs.
+       (elf32_hppa_gc_sweep_hook): Likewise.
+       (allocate_dynrelocs): Handle TLS relocs.
+       (elf32_hppa_size_dynamic_sections): Count space required by TLS
+       relocs. Use hh_name macro.
+       (dtpoff_base): New function.
+       (tpoff): Likewise.
+       (elf32_hppa_optimized_tls_reloc): Likewise.
+       (final_link_relocate): Handle TLS relocs.
+       (elf32_hppa_relocate_section): Handle TLS relocs. Use eh_name
+       and hh_name macros.
+       (elf32_hppa_finish_dynamic_symbol): Setup TLS got entries. Use
+       hh_name and eh_name macros.
+       (elf32_hppa_reloc_type_clas): Handle TLS relocs.
+
+2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * archures.c: Add bfd_mach_avr6.
+       * cpu-avr.c: Likewise.
+       * reloc.c (BFD_RELOC_AVR_LO8_LDI_GS, BFD_RELOC_AVR_HI8_LDI_GS):
+       New relocations.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h:Regenerate.
+       * elf32-avr.h: New file.  Protoypes for functions accessed from ld.
+       * elf32-avr.c: Add elf32-avr.h to include list.
+       (elf32_avr_stub_hash_entry): New function.
+       (elf32_avr_link_hash_table): New struct.
+       (avr_link_hash_table): Likewise.
+       (avr_stub_hash_entry): Likewise.
+       (avr_stub_hash_lookup): New function.
+       (stub_hash_newfunc): New function.
+       (elf32_avr_link_hash_table_create): New function.
+       (elf32_avr_link_hash_table_free): New function.
+       (avr_get_stub_addr): New function.
+       (debug_relax, debug_stubs): Add new global variables controlling
+       debugging printout to stdout.
+       (avr_pc_wrap_around): Change the type to bfd_vma.
+       (avr_replace_call_ret_sequences): Add a new variable controling
+       linkrelax optimizations.
+       (avr_stub_is_required_for_16_bit_reloc): New function.
+       (avr_final_link_relocate):
+       Add linker hash table to parameter list. Use stub addr. if necessary.
+       (elf32_avr_relocate_section):
+       Add linker hashtable to parameter list of avr_final_link_relocate.
+       (bfd_elf_avr_final_write_processing): Add support for bfd_mach_avr6.
+       (elf32_avr_object_p): Add support for E_AVR_MACH_AVR6.
+       (elf32_avr_relax_delete_bytes):
+       Iterate over all sections of a bfd when adjusting relocs addends.
+       (elf32_avr_relax_section):
+       Evaluate avr_replace_call_ret_sequences and recalculate the size of
+       stub section.
+       (avr_stub_name): New function.
+       (avr_get_stub_entry): New function.
+       (avr_add_stub): New function.
+       (avr_build_one_stub): New function.
+       (avr_size_one_stub): New function.
+       (elf32_avr_setup_params): New function.
+       (elf32_avr_setup_section_lists): New function.
+       (get_local_syms): New function.
+       (elf32_avr_size_stubs): New function.
+       (bfd_elf32_bfd_link_hash_table_create): New function.
+       (bfd_elf32_bfd_link_hash_table_free): New function.
+
+2006-05-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2655
+       PR ld/2657
+       * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Properly
+       update CIE/FDE length.  Don't pad to the section alignment.
+
+2006-05-23  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf32-bfin.c (bfinfdpic_relocate_section): Clear reloc for
+       deteted entries in .eh_frame section.
+
+2006-05-23  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf32-bfin.c (bfin_check_relocs): Use __GLOBAL_OFFSET_TABLE_
+       instead of _GLOBAL_OFFSET_TABLE_.
+       (bfin_relocate_section): Ditto.
+       (_bfin_create_got_section): Ditto.
+       (elf32_bfinfdpic_create_dynamic_sections): Use
+       __PROCEDURE_LINKAGE_TABLE_ instead of _PROCEDURE_LINKAGE_TABLE_.
+       (bfin_finish_dynamic_symbol): Use __DYNAMIC instead of _DYNAMIC.
+
+2006-05-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (compare_symbols): Prefer strong dynamic global
+       function syms over other syms.
+
+2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
+       check.
+       (bfd_elf_final_link): Add a late DT_TEXTREL check.
+       * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
+       (mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
+       (_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
+       Use MIPS_ELF_READONLY_SECTION.
+       (_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
+       creating DT_TEXTREL.
+       (_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
+       if no text relocations were generated.
+
+2006-05-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (ELF_MAXPAGESIZE): Fix a typo in comment.
+
+2006-05-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elf_fake_sections): Formatting.
+       (assign_file_positions_for_load_sections): Only add SEC_ALLOC
+       sections to p_memsz.  Remove hack for PT_NOTE sections.  Allow
+       section alignment to increase p_align for PT_LOAD.
+       (assign_file_positions_for_non_load_sections): Remove ARM BPABI
+       hack for PT_DYNAMIC.  Instead, set p_filesz for all segments
+       other than PT_LOAD, and PT_NOTE in core.
+
+2006-05-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_for_segments): Split into..
+       (assign_file_positions_for_load_sections): ..this, and..
+       (assign_file_positions_for_non_load_sections): ..this new function,..
+       (assign_file_positions_except_relocs): ..writing program headers here.
+
+2006-05-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
+       non-load sections if they have relocs.
+
+2006-05-15  Paul Brook  <paul@codesourcery.com>
+
+       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
+       (bfd_is_arm_special_symbol_name): ... to this.  Add type argument.
+       Check symbol name is of specified type.
+       * elf32-arm.c (elf32_arm_is_target_special_symbol,
+       arm_elf_find_function, elf32_arm_output_symbol_hook): Use
+       bfd_is_arm_special_symbol_name.
+       * bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
+       BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
+       BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
+       (bfd_is_arm_mapping_symbol_name): Remove prototype.
+       (bfd_is_arm_special_symbol_name): Add prototype.
+       * bfd-in2.h: Regenerate.
+
+2006-05-15  David Heine  <dlheine@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (check_loop_aligned): Fix reversed check for
+       undefined opcode.  Clean up assertions.
+       (narrow_instruction, widen_instruction): Remove "do_it" parameters.
+       Factor most of the code into separate functions....
+       (can_narrow_instruction, can_widen_instruction): New.
+       (prev_instr_is_a_loop): New.
+       (compute_ebb_proposed_actions): Combine error handling code for
+       decode errors.  Replace call to insn_decode_len with inline code.
+       Use can_narrow_instruction and can_widen_instruction.  Handle errors
+       from call to xtensa_opcode_is_loop.
+       (relax_section): Adjust calls to narrow_instruction and
+       widen_instruction.
+
+2006-05-15  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2658
+       * elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
+       -shared link.
+
+2006-05-11  Michael Matz  <matz@suse.de>
+
+       * elflink.c (match_group_member): Correctly iterate group
+       members.
+
+2006-05-11  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
+       (elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
+       (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
+       * reloc.c: Ditto.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+
+2006-05-11  Mike Bland  <mbland@google.com>
+
+       * elf.c (_bfd_elf_init_private_section_data): Don't change
+       section type if already set.
+
+2006-05-10  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2607
+       * elfcode.h (valid_section_index_p): New function: Checks for a
+       valid section index.  Allows indicies in the range SHN_LOPROC to
+       SHN_HIOS.
+       (elf_object_p): Use valid_section_index_p.
+
+2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * coff-arm.c (ARM_26D, ARM_32, ARM_RVA_32, ARM_SECTION,
+       ARM_SECREL): Mark WinCE versions of these relocs as partial
+       inplace.
+       (coff_arm_relocate_section): Adjust addend for WinCE.
+
+2006-05-10  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2342
+       * elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
+
+2006-05-09  Nick Clifton  <nickc@redhat.com>
+
+       * coffcode.h (coff_write_relocs): Produce an error message if a an
+       out-of-range symbol index is detected in a reloc.
+
+2006-05-09  Ben Elliston  <bje@au.ibm.com>
+
+       * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
+       local variable `dynobj'.
+
+2006-05-05  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all
+       of the bfd's sections for the reloc-addend adjustments.
+
+2006-05-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
+       (elf_s390_relocate_section): Add code to do the GD->LE and
+       LD->LE TLS linker optimizations if a brasl instruction is used
+       for the __tls_get_offset function call.
+       * elf64-s390.c (invalid_tls_insn): Call bfd_set_error.
+
+2006-05-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
+       R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
+       the .toc and referenced by a TLS code sequence.
+       (ppc64_elf_edit_toc): Cater for the unlikely situation that
+       .toc is the first section in a file.
+
+2006-05-04  Andreas Schwab  <schwab@suse.de>
+
+       * aoutf1.h (struct external_sparc_core): Declare c_regs as struct
+       regs instead of an array of int.
+       (struct external_solaris_bcp_core): Likewise.
+       (swapcore_sun3): Use offsetof instead of computing the offset
+       manually.
+       (swapcore_sparc): Likewise.  Simplify reference to c_regs.
+       (swapcore_solaris_bcp): Likewise.
+
+2006-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
+       for missing GOTs.
+
+2006-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
+       mapping symbols.
+
+2006-05-04  Ben Elliston  <bje@au.ibm.com>
+
+       * coff-or32.c (bfd_section_from_shdr): Remove unused local
+       variable `ptr'.
+       * cofflink.c (process_embedded_commands): Remove unused local
+       variables `had_read' and `had_shared'.
+       * ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local
+       variable `fdr_adr'.
+       * ihex.c (ihex_read_section): Remove unused local variable `addr'.
+
+2006-05-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * libbfd-in.h (_bfd_generic_new_section_hook): Declare.
+       * section.c (bfd_abs_symbol, bfd_com_symbol): Delete.
+       (bfd_und_symbol, bfd_ind_symbol): Delete.
+       (BFD_FAKE_SECTION): Remove SYM_PTR param, set symbol_ptr_ptr to
+       &SEC.symbol.
+       (STD_SECTION): Adjust.
+       (_bfd_generic_new_section_hook): New function, extracted from..
+       (bfd_section_init): ..here.
+       (bfd_make_section_old_way): Call new_section_hook for abs, com,
+       und and ind sections.
+       * elf.c (_bfd_elf_large_com_section): Adjust.
+       * aoutx.h (new_section_hook): Call _bfd_generic_new_section_hook.
+       * pdp11.c (new_section_hook): Likewise.
+       * coffcode.h (coff_new_section_hook): Likewise.
+       * ecoff.c (_bfd_ecoff_new_section_hook): Likewise.
+       * elf.c (_bfd_elf_new_section_hook): Likewise.
+       * vms.c (vms_new_section_hook): Likwise.
+       * elf32-arm.c (elf32_arm_new_section_hook): Check used_by_bfd isn't
+       already set.
+       * elf32-sh64.c (sh64_elf_new_section_hook): Likewise.
+       * elf32-xtensa.c (elf_xtensa_new_section_hook): Likewise.
+       * elf64-mmix.c (mmix_elf_new_section_hook): Likewise.
+       * elf64-ppc.c (ppc64_elf_new_section_hook): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_new_section_hook): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_new_section_hook): Likewise.
+       * ieee.c (ieee_new_section_hook): Likewise.  Call
+       _bfd_generic_new_section_hook too.
+       * mmo.c (mmo_new_section_hook): Likewise.
+       * oasys.c (oasys_new_section_hook): Likewise.
+       * som.c (som_new_section_hook): Likewise.
+       * coff-w65.c (reloc_processing): Don't use bfd_abs_symbol.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2006-05-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * hash.c (DEFAULT_SIZE): Revert last change.
+       (higher_prime_number): Correct test for no larger prime.  Don't
+       abort on error, instead return 0.  Depopulate primes[].
+       (bfd_hash_lookup): If we overflow size, refuse to grow table.
+
+2006-05-02  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
+       for R_ARM_REL32.
+
+2006-05-02  Ben Elliston  <bje@au.ibm.com>
+
+       * archive.c (bfd_generic_archive_p): Remove unused local variable
+       `fail'.
+       * dwarf2.c (decode_line_info): Remove unused local variable
+       `basic_block'.
+       * elfcode.h (elf_slurp_reloc_table_from_section): Remove unused
+       local variable `s'.
+       * tekhex.c (tekhex_write_object_contents): Remove unused local
+       variable `bytes_written'.
+       * aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
+       variable `r_addend'.
+       * elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
+       * elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
+       (_bfd_ns32k_relocate_contents): Remove break after return.
+       * elf.c (bfd_section_from_shdr): Remove breaks after returns.
+
+2006-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-sh-symbian.c: Rename local define DEBUG to SYMBIAN_DEBUG
+       in order to avoid conflicts with the global DEBUG define.
+
+2006-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c: Formatting.
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify
+       output section check.
+       * elf32-i370.c: Warning fixes inside #ifdef DEBUG.
+       * elf32-m32c.c: Similarly.
+       * elf32-ppc.c: Similarly.
+       * elf32-v850.c: Similarly.
+       * nlm32-sparc.c: Similarly.
+       * elfcode.h: Similarly.
+       (elf_symbol_flags): Delete.
+       * elflink.c (elf_link_input_bfd): Comment typo.
+
+2006-05-01  DJ Delorie  <dj@redhat.com>
+
+       * bfd-in.h (bfd_hash_table): Add count field.
+       * bfd-in2.h: Regenerate.
+       * hash.c (higher_prime_number): New.
+       (bfd_hash_table_inint_n): Init count field.
+       (bfd_hash_lookup): Grow table as needed.
+
+2006-04-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       PR binutils/2584
+       * tekhex.c (getvalue): Change return type to bfd_boolean and
+       add the new parameter.  Return false if the unexpected character
+       is found.
+       (getsym): Likewise.
+       (first_phase): Change return type to bfd_boolean and return
+       false if the unexpected character is found.  Replace abort
+       with returning false.
+       (pass_over): Change return type to bfd_boolean and the type of
+       the second argument to bfd_boolean (*) (bfd *, int, char *).
+       Return false if FUNC returns false.
+       (tekhex_object_p): Return NULL if pass_over fails.
+
+2006-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
+
+2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2593
+       * elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
+       and flags if its BFD flags have been set.
+       (_bfd_elf_init_private_section_data): Don't copy the output ELF
+       section type from input if it has been set to something
+       different.
+
+2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2467
+       * elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
+       is NULL first.
+
+       * elf32-arm.c (elf32_arm_close_and_cleanup): Check if
+       abfd->sections is NULL.
+       (elf32_arm_bfd_free_cached_info): New.
+       (bfd_elf32_bfd_free_cached_info): Defined.
+
+       * elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
+       to _bfd_free_cached_info.
+
+       * libbfd-in.h (_bfd_free_cached_info): New.
+       * libbfd: Regenerated.
+
+       * opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
+       (_bfd_free_cached_info): New.
+
+2006-04-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_except_relocs): Move code setting
+       file position of non-loaded sections..
+       (assign_file_positions_for_segments): ..to here.
+
+2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2537
+       * elf.c (bfd_section_from_shdr): Allow sections reserved for
+       applications. Issue an error on sections we don't know how
+       to handle.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * warning.m4 (--enable-werror): Format help message.
+       (--enable-build-warnings): Likewise.
+       * configure: Regenerate.
+
+2006-04-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 2257
+       * elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
+       fields to still be handled as ELF files.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/SRC-POTFILES.in: Regenerated.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Update version to 2.17.50.
+       * configure: Regenerated.
+
+2006-04-14  David Heine  <dlheine@tensilica.com>
+
+       * elf32-xtensa.c (build_reloc_opcodes): New.
+       (compute_text_actions): Use it to decode opcodes outside inner loop.
+       (check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
+       it is set, use it to get the opcodes for relocations.
+       (move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
+
+2006-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2513
+       * elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
+       (GOT_TLS_IE_IE): Likewise.
+       (GOT_TLS_IE_GD): Likewise.
+       (GOT_TLS_IE_MASK): Likewise.
+       (elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
+       and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
+       respectively.
+       (allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
+       are set, treat tls_type as GOT_TLS_IE_BOTH.
+       (elf_i386_relocate_section): Likewise.
+
+2006-04-07  Randolph Chung  <tausq@debian.org>
+
+       * elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
+       (elf64_hppa_grok_psinfo): Likewise.
+       (elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
+
+2006-04-06  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
+       each plt entry we create.
+
+2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add install-html target.
+       * Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
+       htmldir. Add install-html and install-html-recursive targets.
+       * Makefile.in: Regenerate.
+       * configure.in: AC_SUBST for datarootdir, docdir and htmldir.
+       * configure: Regenerate.
+
+2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
+       with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
+       section structure.
+
+2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
+       eliminate warnings.
+
+2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+           James E Wilson  <wilson@specifixinc.com>
+
+       PR ld/2442
+       * elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
+       (elfNN_ia64_local_hash_entry): Add count, sorted_count and
+       size.
+       (elfNN_ia64_link_hash_entry): Likewise.
+       (elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
+       and size.
+       (elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
+       processing.
+       (elfNN_ia64_hash_hide_symbol): Likewise.
+       (elfNN_ia64_global_dyn_sym_thunk): Likewise.
+       (elfNN_ia64_local_dyn_sym_thunk): Likewise.
+       (elfNN_ia64_global_dyn_info_free): New function.
+       (elfNN_ia64_local_dyn_info_free): Likewise.
+       (elfNN_ia64_hash_table_free): Free local and global
+       elfNN_ia64_dyn_sym_info.
+       (addend_compare): New function.
+       (sort_dyn_sym_info): Likewise.
+       (get_dyn_sym_info): Updated to use binary search for addend.
+       (elfNN_ia64_check_relocs): Scan relocations to create dynamic
+       relocation arrays first.
+
+2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
+       symbol.
+
+2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2411
+       * elflink.c (check_dynsym): New.
+       (elf_link_output_extsym): Use it.
+       (bfd_elf_final_link): Likewise.
+
+2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2404
+       * elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
+       symbol from the dynamic definition with the default version if
+       its type and the type of existing regular definition mismatch.
+
+2006-04-05  Richard Sandiford  <richard@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config.bfd (sparc-*-vxworks*): New stanza.
+       * configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
+       (bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
+       * configure: Regenerate.
+       * elf32-sparc.c: Include elf-vxworks.h.
+       (elf32_sparc_vxworks_link_hash_table_create: New.
+       (elf32_sparc_vxworks_final_write_processing): New.
+       (TARGET_BIG_SYM): Override for VxWorks.
+       (TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
+       (bfd_elf32_bfd_link_hash_table_create): Likewise.
+       (elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
+       (elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
+       (elf_backend_link_output_symbol_hook): Likewise.
+       (elf_backend_emit_relocs): Likewise.
+       (elf_backend_final_write_processing, elf32_bed): Likewise.
+       * elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
+       (sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
+       (sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
+       (_bfd_sparc_elf_link_hash_table_create): Don't initialize
+       build_plt_entry here.
+       (create_got_section): Initialize sgotplt for VxWorks.
+       (_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
+       plt_header_size and plt_entry_size, with new VxWorks-specific settings.
+       Call elf_vxworks_create_dynamic_sections for VxWorks.
+       (allocate_dynrelocs): Use plt_header_size and plt_entry_size.
+       Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
+       (_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
+       for VxWorks.  Check for the .got.plt section.
+       (sparc_vxworks_build_plt_entry): New function.
+       (_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
+       Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
+       absolute on VxWorks.
+       (sparc32_finish_dyn): Add special handling for DT_RELASZ
+       and DT_PLTGOT on VxWorks.
+       (sparc_vxworks_finish_exec_plt): New.
+       (sparc_vxworks_finish_shared_plt): New.
+       (_bfd_sparc_elf_finish_dynamic_sections): Call them.
+       Use plt_header_size and plt_entry_size.
+       * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
+       srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
+       * Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
+       (elf32-sparc.lo): Likewise.
+       * Makefile.in: Regenerate.
+       * targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
+       (_bfd_target_vector): Add a pointer to it.
+
+2006-03-30  Ben Elliston  <bje@au.ibm.com>
+
+       PR ld/2267
+       * elflink.c (elf_fixup_link_order): Ensure `elfsec' is not a
+       special section number that exceeds the number of ELF sections
+       (eg. SHN_MIPS_SCOMMON).
+
+2006-03-27  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_got_entry): Add more commentary.
+       (mips_elf_local_got_index): Use the hash table entry to record
+       the GOT index of forced-local symbols.
+       (mips_elf_initialize_tls_index): Rearrange code.  Store the index
+       in either the hash table entry or the mips_got_entry, not both.
+       Add more commentary.
+       (mips_elf_multi_got): Make sure the g->next is nonnull when calling
+       mips_elf_initialize_tls_index.
+
+2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * elf32-bfin.c (bfd_const_reloc, bfd_oper_reloc, bfin_push_reloc,
+       RELOC_STACK_SIZE, reloc_stack, reloc_stack_tos, is_reloc_stack_empty,
+       reloc_stack_push, reloc_stack_pop, reloc_stack_operate,
+       bfin_areloc_howto_table): Delete.  All
+       uses deleted as well.
+       (bfin_reloc_map): Delete all stack relocs.
+       (bfin_info_to_howto, bfin_bfd_reloc_type_lookup,
+       bfin_reloc_type_lookup): Don't support them.
+       (bfin_relocate_section): Don't try to handle them.
+
+       * config.bfd (bfin-*-*): Add bfd_elf32_bfinfdpic_vec.
+       * configure.in: Likewise.
+       * configure: Regenerate.
+       * elf32-bfin.c: Include "elf/dwarf2.h" and "hashtab.h".
+       (BFIN_RELOC_MAX): Now 0x21.
+       (bfin_howto_table, bfin_reloc_map): Add FD-PIC relocs.
+       (bfd_elf32_bfinfdpic_vec): Declare.
+       (IS_FDPIC): New macro.
+       (struct bfinfdpic_elf_link_hash_table): New struct.
+       (bfinfdpic_hash_table, bfinfdpic_got_section,
+       bfinfdpic_gotrel_section, bfinfdpic_gotfixup_section,
+       bfinfdpic_plt_setion, bfinfdpic_pltrel_section,
+       bfinfdpic_relocs_info, bfinfdpic_got_initial_offset,
+       bfinfdpic_plt_initial_offset): Accessor macros for it.
+       (BFINFDPIC_SYM_LOCAL, BFINFDPIC_FUNCDESC_LOCAL): New macros.
+       (struct bfinfdpic_relocs_info): New struct.
+       (LZPLT_RESOLVER_EXTRA, LZPLT_NORMAL_SIZE, LZPLT_ENTRIES,
+       BFINFDPIC_LZPLT_BLOCK_SIZE, BFINFDPIC_LZPLT_RESOLV_LOC,
+       DEFAULT_STACK_SIZE): New macros.
+       (bfinfdpic_elf_link_hash_table_create, bfinfdpic_relocs_info_hash,
+       bfinfdpic_relocs_info_eq, bfinfdpics_relocs_info_find,
+       bfinfdpic_relocs_info_for_global, bfinfdpic_relocs_info_for_local,
+       bfinfdpic_pic_merge_early_relocs_info, _bfinfdpic_add_dyn_reloc,
+       _bfinfdpic_add_rofixup, _bfinfdpic_osec_to_segment,
+       _bfinfdpic_osec_readonly_p, bfinfdpic_relocate_section,
+       bfinfdpic_check_relocs, bfinfdpic_gc_sweep_hook,
+       _bfinfdpic_link_omit_section_dynsym, _bfin_create_got_section,
+       elf32_bfinfdpic_create_dynamic_sections, _bfinfdpic_get_fd_entry,
+       _bfinfdpic_compute_got_alloc_data, _bfinfdpic_get_got_entry,
+       _bfinfdpic_assign_got_entries, _bfinfdpic_assign_plt_entries,
+       _bfinfdpic_resolve_final_relocs_info,
+       elf32_bfinfdpic_size_dynamic_sections,
+       elf32_bfinfdpic_always_size_sections,
+       elf32_bfinfdpic_modify_segment_map,
+       _bfinfdpic_count_got_plt_entries,
+       elf32_bfinfdpic_finish_dynamic_sections,
+       elf32_bfinfdpic_adjust_dynamic_symbol,
+       elf32_bfinfdpic_finish_dynamic_symbol,
+       elf32_bfinfdpic_elf_use_relative_eh_frame,
+       elf32_bfinfdpic_elf_encode_eh_address,
+       elf32_bfin_object_p, bfin_elf_copy_private_bfd_data,
+       elf32_bfinfdpic_copy_private_bfd_data,
+       (struct _bfinfdpic_dynamic_got_info,
+       struct _bfinfdpic_dynamic_got_plt_info): New structs.
+       (elf32_bfin_print_private_bfd_data): Print PIC flags.
+       (elf32_bfin_merge_private_bfd_data): Extend to support FD-PIC.
+       (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, elf32_bed,
+       elf_backend_got_header_size, bfd_elf32_bfd_link_hash_table_create,
+       elf_backend_always_size_sectinos, elf_backend_modify_segment_map,
+       bfd_elf32_bfd_copy_private_bfd_data,
+       elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
+       elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol,
+       elf_backend_finish_dynamic_sections, elf_backend_relocate_section,
+       elf_backend_can_make_relative_eh_frame, elf_backend_check_relocs,
+       elf_backend_can_make_ldsa_relative_eh_frame, elf_backend_may_use_rel_p,
+       elf_backend_may_use_rela_p, elf_backend_default_use_rela_p,
+       elf_backend_omit_section_dynsym): Redefine these macros and include
+       "elf32-target.h" again to create the elf32-bfinfdpic target.
+       * reloc.c (BFD_RELOC_BFIN_GOT17M4, BFD_RELOC_BFIN_GOTHI,
+       BFD_RELOC_BFIN_GOTLO, BFD_RELOC_BFIN_FUNCDESC,
+       BFD_RELOC_BFIN_FUNCDESC_GOT17M4, BFD_RELOC_BFIN_FUNCDESC_GOTHI,
+       BFD_RELOC_BFIN_FUNCDESC_GOTLO, BFD_RELOC_BFIN_FUNCDESC_VALUE,
+       BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4, BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI,
+       BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO, BFD_RELOC_BFIN_GOTOFFHI,
+       BFD_RELOC_BFIN_GOTOFFLO): New.
+       * targets.c (bfd_elf32_bfinfdpic_vec): New bfd_target.
+       (_bfd_target_vector): Add it.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2006-03-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as
+       incompatible.  Likewise MAC and EMAC code.
+       * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use
+       bfd_get_compatible to set the new bfd architecture.  Rely on it
+       to detect incompatibilities.
+
+2006-03-23  Michael Matz  <matz@suse.de>
+
+       * reloc.c: Add BFD_RELOC_X86_64_GOT64, BFD_RELOC_X86_64_GOTPCREL64,
+       BFD_RELOC_X86_64_GOTPC64, BFD_RELOC_X86_64_GOTPLT64,
+       BFD_RELOC_X86_64_PLTOFF64.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Regenerated.
+       * elf64-x86-64.c (x86_64_elf_howto_table): Correct comment.
+       Add howtos for above relocs.
+       (x86_64_reloc_map): Add mappings for new relocs.
+       (elf64_x86_64_check_relocs): R_X86_64_GOT64, R_X86_64_GOTPCREL64,
+       R_X86_64_GOTPLT64 need a got entry.  R_X86_64_GOTPLT64 also a PLT
+       entry.  R_X86_64_GOTPC64 needs a .got section.  R_X86_64_PLTOFF64
+       needs a PLT entry.
+       (elf64_x86_64_gc_sweep_hook): Reflect changes from
+       elf64_x86_64_check_relocs for the new relocs.
+       (elf64_x86_64_relocate_section): Handle new relocs.
+
+2006-03-22  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
+       rel->r_addend is zero.
+
+2006-03-22  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
+       of "loc".
+
+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>
+
+       * bfd-in2.h: Regenerate.
+       * config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
+       * configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
+       (bfd_elf32_littlemips_vxworks_vec): Likewise.
+       (bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
+       (bfd_elf32_littlemips_vec): Likewise.
+       (bfd_elf32_nbigmips_vec): Likewise.
+       (bfd_elf32_nlittlemips_vec): Likewise.
+       (bfd_elf32_ntradbigmips_vec): Likewise.
+       (bfd_elf32_ntradlittlemips_vec): Likewise.
+       (bfd_elf32_tradbigmips_vec): Likewise.
+       (bfd_elf32_tradlittlemips_vec): Likewise.
+       (bfd_elf64_bigmips_vec): Likewise.
+       (bfd_elf64_littlemips_vec): Likewise.
+       (bfd_elf64_tradbigmips_vec): Likewise.
+       (bfd_elf64_tradlittlemips_vec): Likewise.
+       * elf32-mips.c: Include elf-vxworks.h.
+       (mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
+       instead of calling mips_elf32_rtype_to_howto directly.
+       (mips_vxworks_copy_howto_rela): New reloc howto.
+       (mips_vxworks_jump_slot_howto_rela): Likewise.
+       (mips_vxworks_bfd_reloc_type_lookup): New function.
+       (mips_vxworks_rtype_to_howto): Likewise.
+       (mips_vxworks_final_write_processing): Likewise.
+       (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
+       (TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
+       (elf_backend_want_got_plt): Likewise.
+       (elf_backend_want_plt_sym): Likewise.
+       (elf_backend_got_symbol_offset): Likewise.
+       (elf_backend_want_dynbss): Likewise.
+       (elf_backend_may_use_rel_p): Likewise.
+       (elf_backend_may_use_rela_p): Likewise.
+       (elf_backend_default_use_rela_p): Likewise.
+       (elf_backend_got_header_size: Likewise.
+       (elf_backend_plt_readonly): Likewise.
+       (bfd_elf32_bfd_reloc_type_lookup): Likewise.
+       (elf_backend_mips_rtype_to_howto): Likewise.
+       (elf_backend_adjust_dynamic_symbol): Likewise.
+       (elf_backend_finish_dynamic_symbol): Likewise.
+       (bfd_elf32_bfd_link_hash_table_create): Likewise.
+       (elf_backend_add_symbol_hook): Likewise.
+       (elf_backend_link_output_symbol_hook): Likewise.
+       (elf_backend_emit_relocs): Likewise.
+       (elf_backend_final_write_processing: Likewise.
+       (elf_backend_additional_program_headers): Likewise.
+       (elf_backend_modify_segment_map): Likewise.
+       (elf_backend_symbol_processing): Likewise.
+       * elfxx-mips.c: Include elf-vxworks.h.
+       (mips_elf_link_hash_entry): Add is_relocation_target and
+       is_branch_target fields.
+       (mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
+       srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
+       (MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
+       (MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
+       Return 3 for VxWorks.
+       (ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
+       mips_elf_link_hash_table.  Return 0 for VxWorks.
+       (MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
+       mips_elf_link_hash_table.  Update the call to ELF_MIPS_GP_OFFSET.
+       (mips_vxworks_exec_plt0_entry): New variable.
+       (mips_vxworks_exec_plt_entry): Likewise.
+       (mips_vxworks_shared_plt0_entry): Likewise.
+       (mips_vxworks_shared_plt_entry): Likewise.
+       (mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
+       (mips_elf_rel_dyn_section): Change the bfd argument to a
+       mips_elf_link_hash_table.  Use MIPS_ELF_REL_DYN_NAME to get
+       the name of the section.
+       (mips_elf_initialize_tls_slots): Update the call to
+       mips_elf_rel_dyn_section.
+       (mips_elf_gotplt_index): New function.
+       (mips_elf_local_got_index): Add an input_section argument.
+       Update the call to mips_elf_create_local_got_entry.
+       (mips_elf_got_page): Likewise.
+       (mips_elf_got16_entry): Likewise.
+       (mips_elf_create_local_got_entry): Add bfd_link_info and input_section
+       arguments.  Create dynamic relocations for each entry on VxWorks.
+       (mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
+       (mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
+       and MIPS_RESERVED_GOTNO.
+       (mips_elf_create_got_section): Update the uses of
+       MIPS_ELF_GOT_MAX_SIZE.  Create .got.plt on VxWorks.
+       (is_gott_symbol): New function.
+       (mips_elf_calculate_relocation): Use a dynobj local variable.
+       Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
+       mips_elf_got_page_entry.  Set G to the .got.plt entry when calculating
+       VxWorks R_MIPS_CALL* relocations.  Calculate and use G for all GOT
+       relocations on VxWorks.  Add dynamic relocations for references
+       to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Don't
+       create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
+       in VxWorks executables.
+       (mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
+       Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
+       Don't allocate a null entry on VxWorks.
+       (mips_elf_create_dynamic_relocation): Update the call to
+       mips_elf_rel_dyn_section.  Use absolute rather than relative
+       relocations for VxWorks, and make them RELA rather than REL.
+       (_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
+       read-only on VxWorks.  Update the call to mips_elf_rel_dyn_section.
+       Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
+       VxWorks.  Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
+       Call elf_vxworks_create_dynamic_sections for VxWorks and
+       initialize the plt_header_size and plt_entry_size fields.
+       (_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
+       used in VxWorks executables.  Don't allocate dynamic relocations
+       for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
+       Set is_relocation_target for each symbol referenced by a relocation.
+       Allocate .rela.dyn entries for relocations against the special
+       VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Create GOT
+       entries for all VxWorks R_MIPS_GOT16 relocations.  Don't allocate
+       a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
+       R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations.  Update the calls
+       to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
+       Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
+       relocations.  Don't set no_fn_stub on VxWorks.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
+       mips_elf_allocate_dynamic_relocations.
+       (_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
+       (_bfd_mips_elf_always_size_sections): Do not allocate GOT page
+       entries for VxWorks, and do not create multiple GOTs.
+       (_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
+       Handle .got specially for VxWorks.  Update the uses of
+       MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
+       Check for sgotplt and splt.  Allocate the .rel(a).dyn contents last,
+       once its final size is known.  Set DF_TEXTREL for VxWorks.  Add
+       DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
+       tags on VxWorks.  Do not add the MIPS-specific tags for VxWorks.
+       (_bfd_mips_vxworks_finish_dynamic_symbol): New function.
+       (mips_vxworks_finish_exec_plt): Likewise.
+       (mips_vxworks_finish_shared_plt): Likewise.
+       (_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
+       to mips_elf_rel_dyn_section.  Use a VxWorks-specific value of
+       DT_PLTGOT.  Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
+       DT_PLTRELSZ and DT_JMPREL.  Update the uses of MIPS_RESERVED_GOTNO
+       and mips_elf_rel_dyn_section.  Use a different GOT header for
+       VxWorks.  Don't sort .rela.dyn on VxWorks.  Finish the PLT on VxWorks.
+       (_bfd_mips_elf_link_hash_table_create): Initialize the new
+       mips_elf_link_hash_table fields.
+       (_bfd_mips_vxworks_link_hash_table_create): New function.
+       (_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
+       on VxWorks.  Update the call to ELF_MIPS_GP_OFFSET.
+       * elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
+       (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
+       (_bfd_mips_vxworks_link_hash_table_create): Likewise.
+       * libbfd.h: Regenerate.
+       * Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
+       (elf32-mips.lo): Likewise.
+       * Makefile.in: Regenerate.
+       * reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
+       * targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
+       (bfd_elf32_littlemips_vxworks_vec): Likewise.
+       (_bfd_target_vector): Add entries for them.
+
+2006-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * elf64-hppa.c (elf64_hppa_special_sections): Change flags for .tbss
+       section from SHF_PARISC_WEAKORDER to SHF_HP_TLS.
+       (elf_backend_special_sections): Remove #undef.
+
+2006-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
+       for undefined weak symbols.
+
+2006-03-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR ld/2462
+       * elflink.c (bfd_elf_final_link): Remove
+       bed->elf_backend_emit_relocs from emit_relocs.
+
+2006-03-17  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Copy addend from
+       first relocation to the second when relaxing TLS GD to LE;
+       zero it out when relaxing to IE.
+
+2006-03-17  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2434
+       * elflink.c (elf_link_add_object_symbols): Save and restore
+       warning sym's linked sym.
+
+2006-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2434
+       * elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete.
+       (elf_link_add_object_symbols): Delete unnecessary locals.  Rename
+       hash_table -> htab.  Formatting.  Save entire symbol table
+       before loading as-needed syms, and restore afterwards if lib not
+       needed.  Use bfd_hash_allocate rather than bfd_alloc for sym
+       name.  Free some buffers earlier.
+       * bfd-in.h (struct bfd_hash_table): Add entsize.
+       (bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype.
+       * elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise
+       * hash.c (bfd_hash_table_init_n): Add entsize param, save to
+       hash table.
+       (bfd_hash_table_init): Add param, adjust calls.
+       * aoutx.h: Adjust all hash_table_init functions and calls.
+       * bfd.c: Likewise.
+       * coff-arm.c: Likewise.
+       * coff-h8300.c: Likewise.
+       * coff-ppc.c: Likewise.
+       * cofflink.c: Likewise.
+       * ecoff.c: Likewise.
+       * ecofflink.c: Likewise.
+       * elf-m10300.c: Likewise.
+       * elf-strtab.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-arm.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * i386linux.c: Likewise.
+       * libaout.h: Likewise.
+       * libbfd-in.h: Likewise.
+       * libcoff-in.h: Likewise.
+       * linker.c: Likewise.
+       * m68klinux.c: Likewise.
+       * merge.c: Likewise.
+       * opncls.c: Likewise.
+       * pdp11.c: Likewise.
+       * sparclinux.c: Likewise.
+       * stabs.c: Likewise.
+       * sunos.c: Likewise.
+       * vms.c: Likewise.
+       * xcofflink.c: Likewise.
+       * section.c (struct section_hash_entry): Move to..
+       * libbfd-in.h: ..here.
+       * Makefile.am: Run "make dep-am"
+       * Makefile.in: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+
+2006-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
+       against __GLOBAL_OFFSET_TABLE__ need never be dynamic.  Tweak
+       last change to REL32 relocs so that they are counted as
+       possibly dynamic as per REL24 and REL14.
+
+2006-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
+       checks from REL32.
+
+2006-03-15  Ben Elliston  <bje@au.ibm.com>
+
+       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
+       in_list elements, not just the first.
+
+2006-03-14  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
+       out from...
+       (_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
+       for final links too.
+
+2006-03-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
+
+2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2443
+       * dwarf2.c (concat_filename): Don't issue an error if file is 0.
+
+2006-03-10  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
+       (elf32_arm_print_private_bfd_data): Ditto.
+
+2006-03-09  Paul Brook  <paul@codesourcery.com>
+
+       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
+       mapping symbols.
+
+2006-03-09  Khem Raj  <khem@mvista.com>
+
+       * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
+       char type.
+
+2006-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
+
+2006-03-07  Richard Sandiford  <richard@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Zack Weinberg  <zack@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Paul Brook  <paul@codesourcery.com>
+           Ricardo Anguiano  <anguiano@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+
+       * configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
+       (bfd_elf32_bigarm_symbian_vec): Likewise.
+       (bfd_elf32_bigarm_vxworks_vec): Likewise.
+       (bfd_elf32_littlearm_vec): Likewise.
+       (bfd_elf32_littlearm_symbian_vec): Likewise.
+       (bfd_elf32_littlearm_vxworks_vec): Likewise.
+       * configure: Regenerate.
+       * elf32-arm.c: Include libiberty.h and elf-vxworks.h.
+       (RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
+       (elf32_arm_vxworks_bed): Add forward declaration.
+       (elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
+       (elf32_arm_vxworks_exec_plt0_entry): New table.
+       (elf32_arm_vxworks_exec_plt_entry): Likewise.
+       (elf32_arm_vxworks_shared_plt_entry): Likewise.
+       (elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
+       (reloc_section_p): New function.
+       (create_got_section): Use RELOC_SECTION.
+       (elf32_arm_create_dynamic_sections): Likewise.  Call
+       elf_vxworks_create_dynamic_sections for VxWorks targets.
+       Choose between the two possible values of plt_header_size
+       and plt_entry_size.
+       (elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
+       (elf32_arm_abs12_reloc): New function.
+       (elf32_arm_final_link_relocate): Call it.  Allow the creation of
+       dynamic R_ARM_ABS12 relocs on VxWorks.  Use reloc_section_p,
+       RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION.  Initialize the
+       r_addend fields of relocs.  On rela targets, skip any code that
+       adjusts in-place addends.  When using _bfd_link_final_relocate
+       to perform a final relocation, pass rel->r_addend as the addend
+       argument.
+       (elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
+       object, ignore flags that are not standard on VxWorks.
+       (elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
+       relocs on VxWorks.  Use reloc_section_p.
+       (elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
+       (allocate_dynrelocs): Use RELOC_SIZE.  Account for the size of
+       .rela.plt.unloaded relocs on VxWorks targets.
+       (elf32_arm_size_dynamic_sections): Use RELOC_SIZE.  Check for
+       .rela.plt.unloaded as well as .rel(a).plt.  Add DT_RELA* tags
+       instead of DT_REL* tags on RELA targets.
+       (elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
+       and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle VxWorks
+       PLT entries.  Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
+       (elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
+       and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle DT_RELASZ
+       like DT_RELSZ.  Handle the VxWorks form of initial PLT entry.
+       Correct the .rela.plt.unreloaded symbol indexes.
+       (elf32_arm_output_symbol_hook): Call the VxWorks version of this
+       hook on VxWorks targets.
+       (elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
+       Minor formatting tweak.
+       (elf32_arm_vxworks_final_write_processing): New function.
+       (elf_backend_add_symbol_hook): Override for VxWorks and reset
+       for Symbian.
+       (elf_backend_final_write_processing): Likewise.
+       (elf_backend_emit_relocs): Likewise.
+       (elf_backend_want_plt_sym): Likewise.
+       (ELF_MAXPAGESIZE): Likewise.
+       (elf_backend_may_use_rel_p): Minor formatting tweak.
+       (elf_backend_may_use_rela_p): Likewise.
+       (elf_backend_default_use_rela_p): Likewise.
+       (elf_backend_rela_normal): Likewise.
+       * Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
+
+2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
+       New.  Adjust other variants.
+       (bfd_default_scan): Update.
+       * bfd-in2.h: Rebuilt.
+       * cpu-m68k.c: Adjust.
+       (bfd_m68k_compatible): New. Use it for architectures.
+       * elf32-m68k.c (elf32_m68k_object_p): Adjust.
+       (elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
+       mismatch.
+       (elf32_m68k_print_private_bfd_data): Adjust.
+       * ieee.c (ieee_write_processor): Adjust.
+
+2006-03-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c: Formatting.
+       (add_line_info): Remove outer loop.
+
+2006-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       PR binutils/2338
+       * dwarf2.c (loadable_section): New struct.
+       (dwarf2_debug): Add loadable_section_count and
+       loadable_sections.
+       (new_line_sorts_after): New.
+       (add_line_info): Use new_line_sorts_after to compare line
+       addresses.
+       (check_function_name): Removed.
+       (unset_sections): New.
+       (place_sections): New.
+       (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
+       and unset_sections on relocatable files.
+       (_bfd_dwarf2_find_line): Likewise.
+
+2006-03-03  Nick Clifton  <nickc@redhat.com>
+
+       * cpu-avr.c: Update to ISO-C90 formatting.
+       * elf32-avr.c: Likewise.
+
+2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
+       and R_AVR_MS8_LDI
+       (bfd_elf_avr_final_write_processing): Set
+       EF_AVR_LINKRELAX_PREPARED in e_flags field.
+       (elf32_avr_relax_section): New function.
+       (elf32_avr_relax_delete_bytes): New function.
+       (elf32_avr_get_relocated_section_contents): New function.
+       (avr_pc_wrap_around): New function.
+       (avr_relative_distance_considering_wrap_around): New function.
+       (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
+       * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2006-03-02  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
+       calculations.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-ppc.c (is_ppc_elf_target): Return true if the target is
+       bfd_elf32_powerpc_vxworks_vec.
+
+2006-03-02  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Use
+       elf_vxworks_create_dynamic_sections.
+       (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
+       symbol handling.
+       * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
+       elf_vxworks_create_dynamic_sections.
+       (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
+       symbol handling.
+       * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
+       * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
+       (elf_backend_link_output_symbol_hook): Use
+       elf_vxworks_link_output_symbol_hook instead.
+       * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
+       (elf_backend_link_output_symbol_hook): Use
+       elf_vxworks_link_output_symbol_hook instead.
+       * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
+       same interface as elf_backend_link_output_symbol_hook.
+       * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
+       prototype accordingly.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-ppc.c (ppc_elf_plt_type): New enumeration.
+       (ppc_elf_link_hash_table): Replace old_got and new_got with
+       plt_type and can_use_new_plt.
+       (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
+       SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
+       (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
+       Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
+       (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
+       either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
+       this function should not be called for VxWorks targets.
+       (ppc_elf_tls_setup): Use plt_type instead of old_got.
+       (allocate_got): Likewise.  Rearrange so that max_before_header
+       is only used for PLT_OLD and PLT_NEW.
+       (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
+       (ppc_elf_size_dynamic_sections): Likewise.
+       (ppc_elf_relax_section): Likewise.
+       (ppc_elf_relocate_section): Likewise.
+       (ppc_elf_finish_dynamic_symbol): Likewise.
+       (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
+
+2006-02-28  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
+       (elf_i386_link_hash_table_create): Initialize it.
+       (elf_i386_compute_jump_table_size): Use it instead of
+       srelplt->reloc_count.
+       (allocate_dynrelocs): Likewise.
+       (elf_i386_size_dynamic_sections): Likewise.
+       (elf_i386_relocate_section): Likewise.
+
+2006-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
+       (_bfd_elf_write_section_eh_frame): Likewise.
+
+2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add html target.
+
+2006-02-27  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
+       cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
+       * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
+       * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
+       * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
+       * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
+       * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
+       * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
+       * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
+       * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
+       * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
+       * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
+       * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+       * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.  Also use
+       the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
+       * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
+       * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
+
+2006-02-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf-bfd.h (elf_link_hash_table): Add hplt field.
+       * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
+       * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
+       * elf32-frv.c (_frv_create_got_section): Likewise.
+       * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
+       * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
+       * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
+       * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
+       * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
+       (elf_i386_link_hash_table_create): Don't initialize them.
+       (elf_i386_size_dynamic_sections): Use the generic ELF hplt and
+       hgot fields.
+       (elf_i386_finish_dynamic_symbol): Likewise.
+       * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
+       (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
+       (ppc_elf_finish_dynamic_symbol): Likewise.
+
+2006-02-24  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
+       (m32c_elf_relocate_section): Don't relocate them.
+       (compare_reloc): New.
+       (relax_reloc): Remove.
+       (m32c_offset_for_reloc): New.
+       (m16c_addr_encodings): New.
+       (m16c_jmpaddr_encodings): New.
+       (m32c_addr_encodings): New.
+       (m32c_elf_relax_section): Relax jumps and address displacements.
+       (m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
+       short jumps.
+
+       * reloc.c: Add m32c relax relocs.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2218
+       * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
+       (_bfd_elf_link_hash_fixup_symbol): New.
+
+       * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
+       (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
+       it isn't NULL.
+
+       * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
+
+       * elfxx-target.h (elf_backend_fixup_symbol): New.
+       (elfNN_bed): Initialize elf_backend_fixup_symbol.
+
+2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * cpu-ia64-opc.c (ins_immu5b): New.
+       (ext_immu5b): Likewise.
+       (elf64_ia64_operands): Add IMMU5b.
+
+2006-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/2218
+       * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
+       is dynamic.
+       * elf32-hppa.c (allocate_dynrelocs): Likewise.
+       * elf32-i386.c (allocate_dynrelocs): Likewise.
+       * elf32-s390.c (allocate_dynrelocs): Likewise.
+       * elf32-sh.c (allocate_dynrelocs): Likewise.
+       * elf64-s390.c (allocate_dynrelocs): Likewise.
+       * elf64-x86-64.c (allocate_dynrelocs): Likewise.
+       * elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
+       on undef weak with non-default visibility too.
+       * elfxx-sparc.c (allocate_dynrelocs): Ditto.
+
+2006-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c: (_bfd_default_error_handler): Don't call abort on
+       error, instead call _exit.
+       (_bfd_abort): Call _exit not xexit.
+
+2006-02-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
+       New functions.
+       * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
+
+2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
+           Anil Paranjape  <anilp1@kpitcummins.com>
+           Shilin Shakti  <shilins@kpitcummins.com>
+
+       * Makefile.am: Add xc16x related entry
+       * Makefile.in: Regenerate
+       * archures.c: Add bfd_xc16x_arch
+       * bfd-in2.h: Regenerate
+       * config.bfd: Add xc16x-*-elf
+       * configure.in: Add bfd_elf32_xc16x_vec
+       * configure: Regenerate.
+       * targets.c: Added xc16x related information
+       * cpu-xc16x.c: New file
+       * reloc.c: Add new relocations specific to xc16x:
+       BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
+       BFD_RELOC_XC16X_SOF
+       * elf32-xc16x.c: New file.
+
+2006-02-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
+       * elf64-ppc.c (allocate_dynrelocs): Likewise.
+
+2006-02-17  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/2218
+       * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
+       dynamic.
+       (ppc64_elf_relocate_section): Check output reloc section size.
+       * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
+
+2006-02-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2322
+       * elf.c (get_segment_type): New function.
+       (_bfd_elf_print_private_bfd_data): Use it.
+       (print_segment_map): New function.
+       (assign_file_positions_for_segments): Call print_segment_map
+       when there are not enough room for program headers.
+
+2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
+
+       * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
+       traditional MIPS ELF targets.
+
+2006-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2338
+       * dwarf2.c (check_function_name): New function.
+       (_bfd_dwarf2_find_nearest_line): Use check_function_name to
+       check if function is correct.
+
+2006-02-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
+       debug sections.
+       (elf_link_input_bfd): Adjust comments.
+
+2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (copy_private_bfd_data): Minor update.
+
+2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2258
+       * elf.c (copy_private_bfd_data): Renamed to ...
+       (rewrite_elf_program_header): This.
+       (copy_elf_program_header): New function.
+       (copy_private_bfd_data): Likewise.
+
+2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
+       bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
+       bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249,
+       bfd_mach_mcf547x, bfd_mach_mcf548x): Remove.
+       (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div,
+       bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac,
+       bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
+       bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp,
+       bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac,
+       bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac,
+       bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac,
+       bfd_mach_mcf_isa_b_usp_float_emac): New.
+       (bfd_default_scan): Update coldfire mapping.
+       * bfd-in.h (bfd_m68k_mach_to_features,
+       bfd_m68k_features_to_mach): Declare.
+       * bfd-in2.h: Rebuilt.
+       * cpu-m68k.c (arch_info_struct): Add new coldfire machines,
+       adjust legacy names.
+       (m68k_arch_features): New.
+       (bfd_m68k_mach_to_features,
+       bfd_m68k_features_to_mach): Define.
+       * elf32-m68k.c (elf32_m68k_object_p): New.
+       (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags.
+       (elf32_m68k_print_private_bfd_data): Print the CF EF flags.
+       (elf_backend_object_p): Define.
+       * ieee.c (ieee_write_processor): Update coldfire machines.
+       * libbfd.h: Rebuilt.
+
+2006-02-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
+       if SHF_TLS is set.
+
+2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       * coff-z80.c (r_imm24): New howto.
+       (rtype2howto): New case R_IMM24.
+       (coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
+       (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
+
+2006-02-04  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
+       has already been assigned a GOT index, copy that index to the
+       current hash table entry.
+
+2006-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
+       for call-to-undefweak reloc overflow.
+
+2006-01-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
+       for 32-bit relocs overflow.
+
+2006-01-27  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
+       objects.
+
+2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       Introduce TLS descriptors for i386 and x86_64.
+       * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
+       BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
+       BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
+       * libbfd.h, bfd-in2.h: Rebuilt.
+       * elf32-i386.c (elf_howto_table): New relocations.
+       (R_386_tls): Adjust.
+       (elf_i386_reloc_type_lookup): Map new relocations.
+       (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
+       (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
+       (struct elf_i386_link_hash_entry): Add tlsdesc_got field.
+       (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
+       (elf_i386_local_tlsdesc_gotent): New macro.
+       (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
+       (elf_i386_compute_jump_table_size): New macro.
+       (link_hash_newfunc): Initialize tlsdesc_got.
+       (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
+       (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
+       R_386_TLS_DESC_CALL.
+       (elf_i386_check_relocs): Likewise.  Allocate space for
+       local_tlsdesc_gotent.
+       (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
+       R_386_TLS_DESC_CALL.
+       (allocate_dynrelocs): Count function PLT relocations.  Reserve
+       space for TLS descriptors and relocations.
+       (elf_i386_size_dynamic_sections): Reserve space for TLS
+       descriptors and relocations.  Set up sgotplt_jump_table_size.
+       Don't zero reloc_count in srelplt.
+       (elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
+       (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
+       R_386_TLS_DESC_CALL.
+       (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
+       (elf_backend_always_size_sections): Define.
+       * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
+       R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
+       (R_X86_64_standard): Adjust.
+       (x86_64_reloc_map): Map new relocs.
+       (elf64_x86_64_rtype_to_howto): New, split out of...
+       (elf64_x86_64_info_to_howto): ... this function, and...
+       (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
+       (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
+       (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
+       (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
+       (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
+       (elf64_x86_64_local_tlsdesc_gotent): New macro.
+       (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
+       tlsdesc_got and sgotplt_jump_table_size fields.
+       (elf64_x86_64_compute_jump_table_size): New macro.
+       (link_hash_newfunc): Initialize tlsdesc_got.
+       (elf64_x86_64_link_hash_table_create): Initialize new fields.
+       (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
+       R_X86_64_TLSDESC_CALL.
+       (elf64_x86_64_check_relocs): Likewise.  Allocate space for
+       local_tlsdesc_gotent.
+       (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
+       R_X86_64_TLSDESC_CALL.
+       (allocate_dynrelocs): Count function PLT relocations.  Reserve
+       space for TLS descriptors and relocations.
+       (elf64_x86_64_size_dynamic_sections): Reserve space for TLS
+       descriptors and relocations.  Set up sgotplt_jump_table_size,
+       tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
+       reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
+       and DT_TLSDESC_GOT.
+       (elf64_x86_64_always_size_sections): New.  Set up
+       _TLS_MODULE_BASE_.
+       (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
+       R_386_TLS_DESC_CALL.
+       (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
+       (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
+       DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
+       (elf_backend_always_size_sections): Define.
+
+2006-01-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2096
+       * dwarf2.c (comp_unit_contains_address): Update comment.
+       (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
+       lma.  Return TRUE only if both comp_unit_contains_address and
+       comp_unit_find_nearest_line return TRUE.
+       (_bfd_dwarf2_find_line): Use section's vma, instead of lma.
+
+2006-01-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
+       (bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
+       * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
+       elf_gc_mark_dynamic_ref_symbol.  Make global.
+       (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
+       * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
+       (elfNN_bed): Init new field.
+       * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
+       (ppc64_elf_gc_mark_dynamic_ref): New function.
+
+2006-01-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
+
+2006-01-17  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/2159
+       * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
+       parameters.
+
+2006-01-11  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
+       into the newly (re)allocated map array.
+
+2006-01-09  Alexis Wilke  <alexis_wilke@yahoo.com>
+
+       * peXXigen.c (tbl): Add comma after "HIGH3ADJ".
+
+2006-01-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-ppc.c (ppc64_elf_action_discarded): Return 0
+       for .toc1 section.
+
+For older changes see ChangeLog-2005
+\f
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
index 893c00b..be0122b 100644 (file)
        * readelf.c (dump_section): Don't print 32-bit values, which
        were done incorrectly for little-endian.  Instead print bytes.
 
-2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
-
-       * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.
-
-2006-12-11  J"orn Rennecke  <joern.rennecke@arc.com>
-
-       MAINTAINERS (SH): Remove my entry.
-
-2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure.in: Define GENINSRC_NEVER.
-       * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
-       (DISTCLEANFILES): Pretend to add info file.
-       * po/Make-in (.po.gmo): Put gmo files in objdir.
-       * configure, Makefile.in, doc/Makefile.in: Regenerated.
-
-2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
-
-       * readelf.c: Update uses of EF_M68K_*.
-
-2006-10-30  Paul Brook  <paul@codesourcery.com>
-
-       * objdump.c (disassemble_section): Set info->symtab_pos.
-       (disassemble_data): Set info->symtab and info->symtab_size.
-
-2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3384
-       * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
-       * configure: Regenerated.
-       * config.in: Likewise.
-
-       * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
-       (program_interpreter): Allocate PATH_MAX bytes instead of 64.
-       (process_program_headers): Don't assume that program interpreter
-       is shorter than 64 characters.
-
-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>
-
-       * readelf.c: Add SPU support.
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
-
-2006-10-13  Robert Connolly  <robert@linuxfromscratch.org>
-
-       PR binutils/2876
-       * configure.in: Check for the mkstemp and mkdtemp functions.
-       * configure: Regenerate.
-       * config.in (HAVE_MKDTEMP): New potential define.
-       (MAKE_MKSTEMP): Likewise.
-       * bucomm.c (make_tempname): Use mkstemp if it is available.
-       (make_tempdir): New function: Create a temporary directory using
-       mkdtemp, if it is available.
-       * bucomm.h (make_tempdir): New prototype.
-       * objcopy.c (copy_archive): Use make_tempdir if it is available.
-       (strip_main): Produce an warning message if a temporary file could
-       not be created.
-       (copy_main): Likewise.
-       * ar.c (write_archive): Likewise.
-
-2006-10-10  Andreas Schwab  <schwab@suse.de>
-
-       * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
-       there are no location lists.
-       (display_debug_ranges): Similar for range_lists.
-
-2006-10-04  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (debug_apply_rela_addends): Don't ignore relocation
-       against symbols without type.
-
-2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
-
-       * nlmconv.c (main) : Use LITMEMCPY.
-       * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
-
-2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3257
-       * strings.c (main): Handle "-T format".
-
-2006-09-26  Nick Clifton  <nickc@redhat.com>
-
-       * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
-
-2006-09-26  Thiemo Seufer  <ths@networkno.de>
-
-       * configure.in: Remove broken changequote lines.
-
-2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
-
-       * configure.in: Add new target x86_64-pc-mingw64.
-       * configure: Regenerate.
-       * dlltool.c: Adjust include for this target.
-       (DLLTOOL_MX86_64): Added macro to handle target specific code.
-       (mname): Added default target static as "i386:x86-64".
-       (MX86): Added macro for target ident.
-       (mtable): Added target specific definitions.
-       (rvaafter): Add handling of MX86.
-       (rvabefore): Add handling of MX86.
-       (asmprefix): Add handling of MX86.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * readelf.c: Add support for Score binaries.
-       * Makefile.am: Update readelf's dependencies.
-       * Makefile.in: Regenerate.
-
-2006-09-16  Nick Clifton  <nickc@redhat.com>
-           Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
-       macros defined in bfd.h.
-       * dlltool.c: Likewise.
-       * emul_aix.c: Likewise.
-       * nlmconv.c: Likewise.
-       * objdump.c: Likewise.
-       * prdbg.c: Likewise.
-       * stabs.c: Likewise.
-       * readelf.c (const_strneq): New macro.
-       (process_section_headers, slurp_ia64_unwind_table,
-       slurp_hppa_unwind_table, display_debug_section, process_notes,
-       process_archive): Use the new macro.
-
-2006-09-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3181
-       * objcopy.c (group_signature): Return proper group signature.
-
-2006-09-14  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 3181
-       * objcopy.c (group_signature): New function, split out from..
-       (setup_section): ..here.
-       (is_strip_section): Return true for SHT_GROUP sections that are
-       going to lose their group signature symbol.
-
-2006-09-14  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 3181
-       * objcopy.c (copy_object): Load symbols earlier.
-       (setup_section): Mark group signature symbols with BSF_KEEP.
-
-2006-09-09  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/3110
-       * objcopy.c (copy_archive): Add new parameter:
-       force_output_target.  If not true, then perserve the file formats
-       of each copied archive element, otherwise force them to be one
-       specific file format.
-       (copy_file): Compute force_output_target parameter to pass to
-       copy_archive. 
-
-2006-09-05  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/3166
-       * objcopy.c (is_strip_section): Do not treat group sections as
-       debugging sections.
-       * doc/binutils.texi (--only-keep-debug): Document that this switch
-       is only intended for use on fully linked files.
-
-2006-09-01  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/3146
-       * readelf.c (dump_relocations): Check for a NULL value in rtype
-       before using it.
-
-2006-08-21  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
-       with -DDLLTOOL_ARM_WINCE for Windows CE case.
-       * configure: Regenerate.
-       * dlltool.c: Add support for arm-wince.
-
-2006-08-15  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/3039
-       * wrstabs.c (stab_tag_type): Initialize 'size'.
-
-2006-08-10  J"orn Rennecke  <joern.rennecke@st.com>
-
-       PR binutils/3017
-       * doc/Makefile.am: Use single quotes inside backquotes for
-       date command while generating config.texi.
-       * doc/Makefile.in: Regenerate.
-
-2006-08-08  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/2768
-       * dwarf.c (display_debug_aranges): When the address size is
-       greater than 4 display addresses and lengths as 16 hex digits,
-       otherwise use 8 hex digits.
-
-2006-08-06  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/3001
-       * addr2line.c (process_file): Change function from void to
-       returning an int.  Return 0 upon success, 1 otherwise.
-       (main): Use return value from process_file as the exit value.
-       * ar.c (ranlib_only):  Change function from void to returning an
-       int.  Return 0 upon success, 1 otherwise.
-       (ranlib_touch): Likewise.
-       (main): Use return value from ranlib functions as exit value.
-       * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
-       fails.
-       (copy_file): Likewise.
-       (strip_main): Likewise.
-       (copy_main): Likewise.
-       * objdump.c (display_file): Set exit_status to 1 if get_file_size
-       fails.
-       * size.c (display_file): Set return_code to 1 if get_file_size
-       fails.
-
-2006-08-02  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-
-       * readelf.c (dump_relocations): Handle MIPS-specific
-       SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED. 
-       (get_symbol_index_type): Similarly.
-
-2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * doc/binutils.texinfo: Fix spelling mistakes.
-
-2006-07-10  Jakub Jelinek  <jakub@redhat.com>
-
-       * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
-       (get_section_type_name): Handle SHT_GNU_HASH.
-       (dynamic_info_DT_GNU_HASH): New variable.
-       (process_dynamic_section): Handle DT_GNU_HASH.
-       (process_symbol_table): Print also DT_GNU_HASH histogram.
-
-2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
-
-       PR binutils/2879
-       * doc/binutils.texi (Strings): Document -T shorthand for --target
-       switch.
-       * strings.c: Update comment to include -T option.
-
-       PR binutils/2875
-       * doc/binutils.texi (readelf): Fix spelling typo.
-
-2006-06-30  Nick Clifton  <nickc@redhat.com>
-
-       * dwarf.c (display_debug_frames): Catch a corrupt length field
-       generating an end of block address that is beyond the end of the
-       section.
-       When encountering a corrupt CIE pointer do not reset the start
-       pointer as more data still has to be read.
-       Do not warn about user defined call frame instructions.
-
-2006-06-29  DJ Delorie  <dj@redhat.com>
-
-       * readelf.c (process_section_headers): Add H8/300 support.
-
-2006-06-23  Richard Sandiford  <richard@codesourcery.com>
-
-       * objcopy.c (localize_hidden): New variable.
-       (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
-       (copy_options): Add --localize-hidden.
-       (copy_usage): Mention --localize-hidden.
-       (is_hidden_symbol): New function.
-       (filter_symbols): Handle localize_hidden.
-       (copy_object): Call filter_symbols if localize_hidden.
-       (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
-       * doc/binutils.texi (--localize-hidden): Document new option.
-
-2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
-       (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
-       * Makefile.in: Regenerate.
-
-2006-06-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
-       * Makefile.in: Regenerate.
-
-2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * po/Make-in (pdf, ps): New dummy targets.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/Make-in (top_builddir): Define.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * config.in: Regenerate.
-
-2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * doc/Makefile.am (TEXI2DVI): Define.
-       * doc/Makefile.in: Regenerate.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am: Replace INTLLIBS with LIBINTL everywhere.  Add
-       DEPENDENCIES variables for every program.
-       (INTLLIBS): Remove.
-       (INCLUDES): Use @INCINTL@.
-       * acinclude.m4: Include new gettext macros.
-       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
-       Remove local code for po/Makefile.
-       * Makefile.in, configure, doc/Makefile.in: Regenerated.
-
-2006-05-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2006-05-25  J"orn Rennecke <joern.rennecke@st.com>
-
-       * MAINTAINERS: Update my email address.
-
-2006-05-24  Nick Clifton  <nickc@redhat.com>
-
-       * po/fr.po: Updated French translation.
-
-2006-05-23  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: Updated Vietnamese translation.
-
-2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/ru.po: Updated translation.
-
-2006-05-19  Andreas Schwab  <schwab@suse.de>
-
-       * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
-       (ar.1): Likewise.
-       (dlltool.1): Likewise.
-       (nlmconv.1): Likewise.
-       (nm.1): Likewise.
-       (objcopy.1): Likewise.
-       (objdump.1): Likewise.
-       (ranlib.1): Likewise.
-       (readelf.1): Likewise.
-       (size.1): Likewise.
-       (strings.1): Likewise.
-       (strip.1): Likewise.
-       (windres.1): Likewise.
-       (cxxfilt.man): Likewise.
-       * doc/Makefile.in: Regenerated.
-
-2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * doc/binutils.texi: Use "Binutils Index" for index name.
-
-2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * dwarf.c (display_debug_frames): Don't return on ZERO
-       terminator.
-
-2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
-       (TEXI2POD): Use AM_MAKEINFOFLAGS.
-       (config.texi): Don't set top_srcdir.
-       * doc/binutils.texi: Don't use top_srcdir.
-       * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
-
-2006-04-26  Julian Brown  <julian@codesourcery.com>
-
-       * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * configure: Regenerate.
-
-2006-04-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 2257
-       * readelf.c (SECTION_NAME): Cope with a missing string table.
-       (process_file_header): Cope with a corrupt e_shstrndx field.
-       (process_section_headers): Correctly handle an e_shstrndx value of
-       SHF_UNDEF.
-
-2006-04-12  Nick Clifton  <nickc@redhat.com>
-
-       * objdump.c (objdump_symbol_at_address): Fix typo in comment.
-
-2006-04-10  Ben Elliston  <bje@gnu.org>
-
-       * MAINTAINERS (CGEN Maintainers): Remove myself.
-
-2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * po/Make-in: Add install-html target.
-       * Makefile.am: Add install-html and install-html-recursive targets.
-       * Makefile.in: Regenerate.
-       * configure.in: AC_SUBST datarootdir, docdir and htmldir.
-       * configure: Regenerate.
-       * doc/Makefile.am: Add install-html and install-html-am targets.
-       * doc/Makefile.in: Regenerate.
-
-2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * addr2line.c (long_options): Add new option 'section'.
-       (usage): Document new -j/--section option.
-       (find_offset_in_section): New function.
-       (translate_addresses): Add 'section' parameter.
-       If it is non-null, call find_offset_in_section on it.
-       (process_file): Add 'section_name' parameter.
-       If it is non-null, look for the section in the BFD object.
-       Pass the section to translate_addresses.
-       (main): Handle new -j option.
-       Pass the section name to process_file.
-       * doc/binutils.texi (addr2line): Document new -j/--section option.
-
-2006-03-29  Ben Elliston  <bje@au.ibm.com>
-
-       * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
-
-2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
-       binutils-csl-2_17-branch instead.
-
-2006-03-20  Paul Brook  <paul@codesourcery.com>
-
-       * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
-
-2006-03-16  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 2434
-       * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
-       * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
-
-2006-03-13  Ben Elliston  <bje@au.ibm.com>
-
-       * bucomm.c (display_target_list): Make local variable `a' to be of
-       type enum bfd_architecture.  Thus no need to cast enums to int.
-       (display_info_table): Likewise.
-
-2006-03-10  Paul Brook  <paul@codesourcery.com>
-
-       * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
-
-2006-03-10  Alan Modra  <amodra@bigpond.net.au>
-
-       * dwarf.c (process_extended_line_op): Remove pointer_size param.
-       Use length instead to determine address size.
-       (get_pointer_size_and_offset_of_comp_unit): Delete.
-       (display_debug_lines): Adjust for above.
-       (display_debug_aranges): Don't stop on finding two zeros.
-       (display_debug_frames): For warning, print offset not pointer.
-
-2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       * dlltool.c: Update copyright year.
-       * doc/binutils.texi: Likewise.
-
-2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       * dlltool.c (add_stdcall_underscore): New flag.
-       (xlate): Also add underscore to stdcall symbol if
-       add_stdcall_underscore set.
-       (usage): Document --add-stdcall-underscore option.
-       (OPTION_ADD_STDCALL_UNDERSCORE): New define.
-       (long_options): Use it for --add-stdcall-underscore option.
-       (main): Handle it.
-       * doc/binutils.texi: Document --add-stdcall-underscore option
-       and differentiate from --add-underscore.
-
-2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * readelf.c (get_machine_flags): Adjust.
-
-2006-03-03  Jakub Jelinek  <jakub@redhat.com>
-
-       * dwarf.c (frame_display_row, display_debug_frames): Handle
-       DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
-
-2006-02-28  Nick Clifton  <nickc@redhat.com>
-
-       * objcopy.c (use_alt_mach_code): Change type to unsigned long.
-       (copy_object):  If bfd_alt_mach_code fails emit a more helpful
-       message and if the target architecture is ELF use the alternative
-       as replacement value for the e_machine number.
-       (copy_main): Use strtoul to parse the number provided with the
-       --alt-mach-code switch.
-       * doc/binutils.texi (--alt-mach-code): Document that this switch
-       can now set the absolute e_machine value.
-
-2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * po/Make-in: Add html target.
-
-2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
-
-       * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
-
-2006-02-14  Jakub Jelinek  <jakub@redhat.com>
-
-       * config.in: Rebuilt.
-
-2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2258
-       * readelf.c (process_program_headers): Use
-       ELF_IS_SECTION_IN_SEGMENT_MEMORY.
-
-2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
-
-       * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
-       * configure: Regenerate.
-       * objdump.c (fprintf): Remove declaration.
-       * bucomm.h (fprintf): Declare if not already declared.
-       (snprintf): Likewise.
-       (vsnprintf): Likewise.
-
-2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (process_program_headers): Match PT_TLS segment
-       only with SHT_TLS sections.
-
-2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
-
-2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (process_program_headers): Undo the last change.
-
-2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (process_program_headers): Undo the change made on
-       2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
-       sections.
-
-2006-01-30  Nick Clifton  <nickc@redhat.com>
-
-       * objcopy.c (copy_object): Catch the case where an attempt is made
-       to add a section that already exists and produce a more helpful
-       warning message.
-
-2006-01-26  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: New Vietnamese translation.
-       * configure.in (ALL_LINGUAS): Add vi.
-       * configure: Regenerate.
-
-2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
-
-       Introduce TLS descriptors for i386 and x86_64.
-       * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
-       DT_TLSDESC_PLT.
-
-2006-01-18  Nick Clifton  <nickc@redhat.com>
-
-       PR binutils/1391
-       * objcopy.c (copy_object): For PE format targets set the VMA of a
-       newly created gnu_debuglink section to a non-zero, aligned,
-       contiguous value.
-       * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
-       * Makefile.in: Regenerate.
-
-2006-01-17  Andreas Schwab  <schwab@suse.de>
-
-       PR binutils/1486
-       * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
-       * configure: Regenerate.
-       * objdump.c (struct objdump_disasm_info): Don't check for
-       DISASSEMBLER_NEEDS_RELOCS.
-       (objdump_print_addr): Likewise.
-       (disassemble_bytes): Check disassembler_needs_relocs from
-       disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
-       at compile-time.
-       (disassemble_section): Likewise.
-       (disassemble_data): Initialize it.
-
-2006-01-11  Alan Modra  <amodra@bigpond.net.au>
-
-       * objcopy.c (copy_object): Fix thinko.
-
-       * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
-
-2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
-
-       * readelf.c (guess_is_rela): Add case for Nios/Nios II.
-       (get_machine_name): Likewise.
-
-For older changes see ChangeLog-2005
+For older changes see ChangeLog-2006
 \f
 Local Variables:
 mode: change-log
diff --git a/binutils/ChangeLog-2006 b/binutils/ChangeLog-2006
new file mode 100644 (file)
index 0000000..9961063
--- /dev/null
@@ -0,0 +1,599 @@
+2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
+
+       * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.
+
+2006-12-11  J"orn Rennecke  <joern.rennecke@arc.com>
+
+       MAINTAINERS (SH): Remove my entry.
+
+2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Define GENINSRC_NEVER.
+       * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
+       (DISTCLEANFILES): Pretend to add info file.
+       * po/Make-in (.po.gmo): Put gmo files in objdir.
+       * configure, Makefile.in, doc/Makefile.in: Regenerated.
+
+2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
+
+       * readelf.c: Update uses of EF_M68K_*.
+
+2006-10-30  Paul Brook  <paul@codesourcery.com>
+
+       * objdump.c (disassemble_section): Set info->symtab_pos.
+       (disassemble_data): Set info->symtab and info->symtab_size.
+
+2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3384
+       * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
+       * configure: Regenerated.
+       * config.in: Likewise.
+
+       * readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
+       (program_interpreter): Allocate PATH_MAX bytes instead of 64.
+       (process_program_headers): Don't assume that program interpreter
+       is shorter than 64 characters.
+
+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>
+
+       * readelf.c: Add SPU support.
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2006-10-13  Robert Connolly  <robert@linuxfromscratch.org>
+
+       PR binutils/2876
+       * configure.in: Check for the mkstemp and mkdtemp functions.
+       * configure: Regenerate.
+       * config.in (HAVE_MKDTEMP): New potential define.
+       (MAKE_MKSTEMP): Likewise.
+       * bucomm.c (make_tempname): Use mkstemp if it is available.
+       (make_tempdir): New function: Create a temporary directory using
+       mkdtemp, if it is available.
+       * bucomm.h (make_tempdir): New prototype.
+       * objcopy.c (copy_archive): Use make_tempdir if it is available.
+       (strip_main): Produce an warning message if a temporary file could
+       not be created.
+       (copy_main): Likewise.
+       * ar.c (write_archive): Likewise.
+
+2006-10-10  Andreas Schwab  <schwab@suse.de>
+
+       * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
+       there are no location lists.
+       (display_debug_ranges): Similar for range_lists.
+
+2006-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (debug_apply_rela_addends): Don't ignore relocation
+       against symbols without type.
+
+2006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
+
+       * nlmconv.c (main) : Use LITMEMCPY.
+       * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
+
+2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3257
+       * strings.c (main): Handle "-T format".
+
+2006-09-26  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
+
+2006-09-26  Thiemo Seufer  <ths@networkno.de>
+
+       * configure.in: Remove broken changequote lines.
+
+2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
+
+       * configure.in: Add new target x86_64-pc-mingw64.
+       * configure: Regenerate.
+       * dlltool.c: Adjust include for this target.
+       (DLLTOOL_MX86_64): Added macro to handle target specific code.
+       (mname): Added default target static as "i386:x86-64".
+       (MX86): Added macro for target ident.
+       (mtable): Added target specific definitions.
+       (rvaafter): Add handling of MX86.
+       (rvabefore): Add handling of MX86.
+       (asmprefix): Add handling of MX86.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * readelf.c: Add support for Score binaries.
+       * Makefile.am: Update readelf's dependencies.
+       * Makefile.in: Regenerate.
+
+2006-09-16  Nick Clifton  <nickc@redhat.com>
+           Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
+       macros defined in bfd.h.
+       * dlltool.c: Likewise.
+       * emul_aix.c: Likewise.
+       * nlmconv.c: Likewise.
+       * objdump.c: Likewise.
+       * prdbg.c: Likewise.
+       * stabs.c: Likewise.
+       * readelf.c (const_strneq): New macro.
+       (process_section_headers, slurp_ia64_unwind_table,
+       slurp_hppa_unwind_table, display_debug_section, process_notes,
+       process_archive): Use the new macro.
+
+2006-09-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3181
+       * objcopy.c (group_signature): Return proper group signature.
+
+2006-09-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3181
+       * objcopy.c (group_signature): New function, split out from..
+       (setup_section): ..here.
+       (is_strip_section): Return true for SHT_GROUP sections that are
+       going to lose their group signature symbol.
+
+2006-09-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3181
+       * objcopy.c (copy_object): Load symbols earlier.
+       (setup_section): Mark group signature symbols with BSF_KEEP.
+
+2006-09-09  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/3110
+       * objcopy.c (copy_archive): Add new parameter:
+       force_output_target.  If not true, then perserve the file formats
+       of each copied archive element, otherwise force them to be one
+       specific file format.
+       (copy_file): Compute force_output_target parameter to pass to
+       copy_archive. 
+
+2006-09-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/3166
+       * objcopy.c (is_strip_section): Do not treat group sections as
+       debugging sections.
+       * doc/binutils.texi (--only-keep-debug): Document that this switch
+       is only intended for use on fully linked files.
+
+2006-09-01  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/3146
+       * readelf.c (dump_relocations): Check for a NULL value in rtype
+       before using it.
+
+2006-08-21  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
+       with -DDLLTOOL_ARM_WINCE for Windows CE case.
+       * configure: Regenerate.
+       * dlltool.c: Add support for arm-wince.
+
+2006-08-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/3039
+       * wrstabs.c (stab_tag_type): Initialize 'size'.
+
+2006-08-10  J"orn Rennecke  <joern.rennecke@st.com>
+
+       PR binutils/3017
+       * doc/Makefile.am: Use single quotes inside backquotes for
+       date command while generating config.texi.
+       * doc/Makefile.in: Regenerate.
+
+2006-08-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/2768
+       * dwarf.c (display_debug_aranges): When the address size is
+       greater than 4 display addresses and lengths as 16 hex digits,
+       otherwise use 8 hex digits.
+
+2006-08-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/3001
+       * addr2line.c (process_file): Change function from void to
+       returning an int.  Return 0 upon success, 1 otherwise.
+       (main): Use return value from process_file as the exit value.
+       * ar.c (ranlib_only):  Change function from void to returning an
+       int.  Return 0 upon success, 1 otherwise.
+       (ranlib_touch): Likewise.
+       (main): Use return value from ranlib functions as exit value.
+       * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
+       fails.
+       (copy_file): Likewise.
+       (strip_main): Likewise.
+       (copy_main): Likewise.
+       * objdump.c (display_file): Set exit_status to 1 if get_file_size
+       fails.
+       * size.c (display_file): Set return_code to 1 if get_file_size
+       fails.
+
+2006-08-02  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       * readelf.c (dump_relocations): Handle MIPS-specific
+       SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED. 
+       (get_symbol_index_type): Similarly.
+
+2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/binutils.texinfo: Fix spelling mistakes.
+
+2006-07-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
+       (get_section_type_name): Handle SHT_GNU_HASH.
+       (dynamic_info_DT_GNU_HASH): New variable.
+       (process_dynamic_section): Handle DT_GNU_HASH.
+       (process_symbol_table): Print also DT_GNU_HASH histogram.
+
+2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
+
+       PR binutils/2879
+       * doc/binutils.texi (Strings): Document -T shorthand for --target
+       switch.
+       * strings.c: Update comment to include -T option.
+
+       PR binutils/2875
+       * doc/binutils.texi (readelf): Fix spelling typo.
+
+2006-06-30  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (display_debug_frames): Catch a corrupt length field
+       generating an end of block address that is beyond the end of the
+       section.
+       When encountering a corrupt CIE pointer do not reset the start
+       pointer as more data still has to be read.
+       Do not warn about user defined call frame instructions.
+
+2006-06-29  DJ Delorie  <dj@redhat.com>
+
+       * readelf.c (process_section_headers): Add H8/300 support.
+
+2006-06-23  Richard Sandiford  <richard@codesourcery.com>
+
+       * objcopy.c (localize_hidden): New variable.
+       (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
+       (copy_options): Add --localize-hidden.
+       (copy_usage): Mention --localize-hidden.
+       (is_hidden_symbol): New function.
+       (filter_symbols): Handle localize_hidden.
+       (copy_object): Call filter_symbols if localize_hidden.
+       (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
+       * doc/binutils.texi (--localize-hidden): Document new option.
+
+2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
+       (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
+       * Makefile.in: Regenerate.
+
+2006-06-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
+       * Makefile.in: Regenerate.
+
+2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * po/Make-in (pdf, ps): New dummy targets.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/Make-in (top_builddir): Define.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * config.in: Regenerate.
+
+2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/Makefile.am (TEXI2DVI): Define.
+       * doc/Makefile.in: Regenerate.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am: Replace INTLLIBS with LIBINTL everywhere.  Add
+       DEPENDENCIES variables for every program.
+       (INTLLIBS): Remove.
+       (INCLUDES): Use @INCINTL@.
+       * acinclude.m4: Include new gettext macros.
+       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
+       Remove local code for po/Makefile.
+       * Makefile.in, configure, doc/Makefile.in: Regenerated.
+
+2006-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2006-05-25  J"orn Rennecke <joern.rennecke@st.com>
+
+       * MAINTAINERS: Update my email address.
+
+2006-05-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2006-05-23  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: Updated Vietnamese translation.
+
+2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/ru.po: Updated translation.
+
+2006-05-19  Andreas Schwab  <schwab@suse.de>
+
+       * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
+       (ar.1): Likewise.
+       (dlltool.1): Likewise.
+       (nlmconv.1): Likewise.
+       (nm.1): Likewise.
+       (objcopy.1): Likewise.
+       (objdump.1): Likewise.
+       (ranlib.1): Likewise.
+       (readelf.1): Likewise.
+       (size.1): Likewise.
+       (strings.1): Likewise.
+       (strip.1): Likewise.
+       (windres.1): Likewise.
+       (cxxfilt.man): Likewise.
+       * doc/Makefile.in: Regenerated.
+
+2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * doc/binutils.texi: Use "Binutils Index" for index name.
+
+2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (display_debug_frames): Don't return on ZERO
+       terminator.
+
+2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
+       (TEXI2POD): Use AM_MAKEINFOFLAGS.
+       (config.texi): Don't set top_srcdir.
+       * doc/binutils.texi: Don't use top_srcdir.
+       * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
+
+2006-04-26  Julian Brown  <julian@codesourcery.com>
+
+       * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure: Regenerate.
+
+2006-04-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 2257
+       * readelf.c (SECTION_NAME): Cope with a missing string table.
+       (process_file_header): Cope with a corrupt e_shstrndx field.
+       (process_section_headers): Correctly handle an e_shstrndx value of
+       SHF_UNDEF.
+
+2006-04-12  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (objdump_symbol_at_address): Fix typo in comment.
+
+2006-04-10  Ben Elliston  <bje@gnu.org>
+
+       * MAINTAINERS (CGEN Maintainers): Remove myself.
+
+2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add install-html target.
+       * Makefile.am: Add install-html and install-html-recursive targets.
+       * Makefile.in: Regenerate.
+       * configure.in: AC_SUBST datarootdir, docdir and htmldir.
+       * configure: Regenerate.
+       * doc/Makefile.am: Add install-html and install-html-am targets.
+       * doc/Makefile.in: Regenerate.
+
+2006-04-05  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * addr2line.c (long_options): Add new option 'section'.
+       (usage): Document new -j/--section option.
+       (find_offset_in_section): New function.
+       (translate_addresses): Add 'section' parameter.
+       If it is non-null, call find_offset_in_section on it.
+       (process_file): Add 'section_name' parameter.
+       If it is non-null, look for the section in the BFD object.
+       Pass the section to translate_addresses.
+       (main): Handle new -j option.
+       Pass the section name to process_file.
+       * doc/binutils.texi (addr2line): Document new -j/--section option.
+
+2006-03-29  Ben Elliston  <bje@au.ibm.com>
+
+       * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
+
+2006-03-20  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * BRANCHES: Remove binutils-csl-arm-2006q1-branch.  Document
+       binutils-csl-2_17-branch instead.
+
+2006-03-20  Paul Brook  <paul@codesourcery.com>
+
+       * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
+
+2006-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2434
+       * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
+       * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
+
+2006-03-13  Ben Elliston  <bje@au.ibm.com>
+
+       * bucomm.c (display_target_list): Make local variable `a' to be of
+       type enum bfd_architecture.  Thus no need to cast enums to int.
+       (display_info_table): Likewise.
+
+2006-03-10  Paul Brook  <paul@codesourcery.com>
+
+       * readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
+
+2006-03-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf.c (process_extended_line_op): Remove pointer_size param.
+       Use length instead to determine address size.
+       (get_pointer_size_and_offset_of_comp_unit): Delete.
+       (display_debug_lines): Adjust for above.
+       (display_debug_aranges): Don't stop on finding two zeros.
+       (display_debug_frames): For warning, print offset not pointer.
+
+2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * dlltool.c: Update copyright year.
+       * doc/binutils.texi: Likewise.
+
+2006-03-09  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * dlltool.c (add_stdcall_underscore): New flag.
+       (xlate): Also add underscore to stdcall symbol if
+       add_stdcall_underscore set.
+       (usage): Document --add-stdcall-underscore option.
+       (OPTION_ADD_STDCALL_UNDERSCORE): New define.
+       (long_options): Use it for --add-stdcall-underscore option.
+       (main): Handle it.
+       * doc/binutils.texi: Document --add-stdcall-underscore option
+       and differentiate from --add-underscore.
+
+2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * readelf.c (get_machine_flags): Adjust.
+
+2006-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf.c (frame_display_row, display_debug_frames): Handle
+       DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
+
+2006-02-28  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (use_alt_mach_code): Change type to unsigned long.
+       (copy_object):  If bfd_alt_mach_code fails emit a more helpful
+       message and if the target architecture is ELF use the alternative
+       as replacement value for the e_machine number.
+       (copy_main): Use strtoul to parse the number provided with the
+       --alt-mach-code switch.
+       * doc/binutils.texi (--alt-mach-code): Document that this switch
+       can now set the absolute e_machine value.
+
+2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add html target.
+
+2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
+
+       * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
+
+2006-02-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * config.in: Rebuilt.
+
+2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2258
+       * readelf.c (process_program_headers): Use
+       ELF_IS_SECTION_IN_SEGMENT_MEMORY.
+
+2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
+       * configure: Regenerate.
+       * objdump.c (fprintf): Remove declaration.
+       * bucomm.h (fprintf): Declare if not already declared.
+       (snprintf): Likewise.
+       (vsnprintf): Likewise.
+
+2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (process_program_headers): Match PT_TLS segment
+       only with SHT_TLS sections.
+
+2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
+
+2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (process_program_headers): Undo the last change.
+
+2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (process_program_headers): Undo the change made on
+       2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
+       sections.
+
+2006-01-30  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (copy_object): Catch the case where an attempt is made
+       to add a section that already exists and produce a more helpful
+       warning message.
+
+2006-01-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: New Vietnamese translation.
+       * configure.in (ALL_LINGUAS): Add vi.
+       * configure: Regenerate.
+
+2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       Introduce TLS descriptors for i386 and x86_64.
+       * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
+       DT_TLSDESC_PLT.
+
+2006-01-18  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/1391
+       * objcopy.c (copy_object): For PE format targets set the VMA of a
+       newly created gnu_debuglink section to a non-zero, aligned,
+       contiguous value.
+       * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
+       * Makefile.in: Regenerate.
+
+2006-01-17  Andreas Schwab  <schwab@suse.de>
+
+       PR binutils/1486
+       * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
+       * configure: Regenerate.
+       * objdump.c (struct objdump_disasm_info): Don't check for
+       DISASSEMBLER_NEEDS_RELOCS.
+       (objdump_print_addr): Likewise.
+       (disassemble_bytes): Check disassembler_needs_relocs from
+       disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
+       at compile-time.
+       (disassemble_section): Likewise.
+       (disassemble_data): Initialize it.
+
+2006-01-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * objcopy.c (copy_object): Fix thinko.
+
+       * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
+
+2006-01-09  Mike Frysinger  <vapier@gentoo.org>:
+
+       * readelf.c (guess_is_rela): Add case for Nios/Nios II.
+       (get_machine_name): Likewise.
+
+For older changes see ChangeLog-2005
+\f
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
index 116c8aa..b3de4e6 100644 (file)
        * pe-dll.c: Include pe-dll.h.
        * pep-dll.c (pe_bfd_is_dll): Define.
 
-2006-12-23  Kazu Hirata  <kazu@codesourcery.com>
-
-       * configure.tgt: Recognize fido.
-
-2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c (pe_bfd_is_dll): New function.
-       * pe-dll.h (pe_bfd_is_dll): Declare.
-       * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
-       dlls using pe_bfd_is_dll instead of using the filename extension.
-
-2006-12-15  Ulrich Weigand  <uweigand@de.ibm.com>
-
-       * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
-
-2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am (ld_TEXINFOS): Set.
-       (ld.info ld.dvi ld.html): Delete rule.
-       * Makefile.in: Regenerated.
-
-2006-12-12  Ina Pandit  <inap@kpitcummins.com>
-
-       * ldlang.c (print_output_section_statement): Print load address
-       when lma differs from vma.
-
-2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure.in: Define GENINSRC_NEVER.
-       * doc/Makefile.am (ld.info): Remove srcdir prefix.
-       (MAINTAINERCLEANFILES): Add info file.
-       (DISTCLEANFILES): Pretend to add info file.
-       * po/Make-in (.po.gmo): Put gmo files in objdir.
-       * configure, Makefile.in: Regenerated.
-
-2006-12-04  Jan Beulich  <jbeulich@novell.com>
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
-       .eh_frame_hdr section here.
-
-2006-11-27  Ian Lance Taylor  <ian@airs.com>
-
-       * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
-       subdirectory.
-       * Makefile.in: Regenerate.
-
-2006-11-27  Bob Wilson  <bob.wilson@acm.org>
-
-       * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
-       (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
-       Delete redundant code to set sections flags and alignment.
-       (xt_config_info_unpack_and_check, check_xtensa_info): New.
-       (elf_xtensa_after_open): Iterate over input statements instead of
-       link_info.input_bfds.
-       (elf_xtensa_before_allocation): Likewise.  Call check_xtensa_info for
-       each input, and write a new .xtensa.info section in the output.
-
-2006-11-22  Nick Clifton  <nickc@redhat.com>
-
-       * configure.in (LINGUAS): Add ga.
-       * po/ga.po: New Irish translation.
-
-2006-11-20  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld.texinfo: Fix a typo.
-
-2006-11-20  Alan Modra  <amodra@bigpond.net.au>
-
-       * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
-
-2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * emultempl/armelf.em (arm_elf_before_allocation): Only call
-       bfd_elf32_arm_process_before_allocation if no dynamic sections.
-
-2006-11-08  Alan Modra  <amodra@bigpond.net.au>
-
-       * emultempl/elf32.em (gld*_before_allocation): Adjust output section
-       size for warning sections.
-
-2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>
-
-       * emultempl/elf32.em (gld*_before_allocation): Don't prepend
-       "warning" to the message.
-
-2006-10-31  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c (autofilter_entry_type): Change name to const.
-       (pe_details_type) : Change target_name, object_target and
-       autofilter_symbollist to const.
-       (autofilter_symbollist_generic): Change to const.
-       (autofilter_symbollist_i386, pe_detail_list, pe_details,
-       autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
-       autofilter_symbolsuffixlist): Likewise.
-       (is_import): Fix indentation.
-       (auto_export): Change afptr to const.  Move name declaration to
-       beginning of scope.
-       (make_tail): Clear undefined byte.
-       (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
-       to const.
-       (make_one): Change jmp_bytes to const.  Make idata$6 member size
-       arithmetic explicit and add comment.
-
-2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3111
-       * ld.h (args_type): Remove reduce_memory_overheads.
-
-       * ldlang.c (lang_map): Updated.
-       (section_already_linked): Likewise.
-       (print_input_section): Likewise.
-       * ldmain.c (main): Likewise.
-       * lexsup.c (parse_args): Likewise.
-
-2006-10-29  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
-
-2006-10-27  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
-       sections have been discarded.
-       (lang_do_version_exports_section): Set SEC_KEEP on export section.
-       * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
-       sections.
-
-2006-10-26  Joseph S. Myers  <joseph@codesourcery.com>
-            Mark Mitchell  <mark@codesourcery.com>
-
-       * configure.tgt (arm*linux*): Support both big- and little-endian.
-
-2006-10-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
-       (OTHER_BSS_SECTIONS): This.
-       * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
-       (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
-
-2006-10-25  Alan Modra  <amodra@bigpond.net.au>
-           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>
-
-       * emulparams/elf32_spu.sh: New file.
-       * emultempl/spu_inc.s: New file.
-       * emultempl/spu_ovl.S: New file.
-       * emultempl/spu_ovl.o: New file.
-       * emultempl/spuelf.em: New file.
-       * Makefile.am: Add SPU support.
-       * configure.tgt: Likewise.
-       * ldlang.c (load_symbols): Make global.
-       * ldlang.h (load_symbols): Declare.
-       * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
-       * Makefile.in: Regenerate.
-
-2006-10-24  Ben Elliston  <bje@au.ibm.com>
-
-       * lexsup.c (parse_args): Add a comment noting a fall-through.
-
-2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
-       * configure: Regenerated.
-       * config.in: Likewise.
-
-2006-10-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
-       set section address on a relocatable link.
-
-       * ld.texinfo (Output Section Discarding): Fix xref.
-
-2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-
-       * emulparams/shelf32.sh: Set default stack to 0x80000.
-       * emulparams/shelf64.sh: Likewise.
-
-2006-10-20  Richard Sandiford  <richard@codesourcery.com>
-
-       * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
-       * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
-
-2006-10-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * emultempl/armelf.em (arm_elf_before_allocation): Run
-       gld${EMULATION_NAME}_before_allocation later.
-       * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
-
-2006-10-18  Roy Marples  <uberlord@gentoo.org>
-
-       * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
-       elf64-sparc-freebsd.
-
-2006-10-18  Joseph Myers  <joseph@codesourcery.com>
-
-       * configure.tgt (i[3-7]86-*-linux-*): Also define
-       targ_extra_libpath in want64 case.
-       * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
-       x86_64*-linux*.
-
-2006-10-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * scripttempl/elf.sc (INTERP): Delete.  Move definition to..
-       (INITIAL_READONLY_SECTIONS): ..here.
-       * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
-       * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
-       * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
-
-2006-10-17  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (strip_excluded_output_sections): Do strip sections
-       that define syms, but don't ignore them.
-       * ld.texinfo (Output Section Discarding): Revise.
-       * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
-       finish_default.
-
-2006-10-16  Richard Sandiford  <richard@codesourcery.com>
-
-       * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
-       (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
-       * Makefile.in: Regenerate.
-       * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
-       .reginfo rather than .MIPS.options.
-       * emulparams/elf64bmip-defs.sh: New file.
-       * emulparams/elf64bmip.sh: Include it.
-       (COMMONPAGESIZE): Delete.
-       * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
-
-2006-10-12  Bob Wilson  <bob.wilson@acm.org>
-
-       * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
-       for linkonce XCC exception tables (".e" and ".h").
-
-2006-10-11  Bob Wilson  <bob.wilson@acm.org>
-
-       * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
-       (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
-       (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
-       (OTHER_SDATA_SECTIONS): New.
-       * scripttempl/elfxtensa.sc: Import changes from elf.sc.
-
-2006-10-11  Jakub Jelinek  <jakub@redhat.com>
-
-       * ldlang.c (lang_append_dynamic_list): When appending, add all elements
-       of the dynamic list rather than just the first entry.
-
-2006-10-10  Bob Wilson  <bob.wilson@acm.org>
-
-       * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
-
-2006-10-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
-
-2006-10-04  Bob Wilson  <bob.wilson@acm.org>
-
-       * emulparams/xtensa-config.sh: Delete file.
-       * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
-       xtensa-config.sh.
-       * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
-       * Makefile.in: Regenerate.
-
-2006-10-03  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c : Fix typo.
-       (autofilter_symbolprefixlist) : Remove __imp_.
-       (is_import) : New.
-       (auto-export) : Remove  re-import check. Moved to callers.
-       (process_def_file) : Check is symbol is an import. Always
-       underscore __imp_.
-       Only skip underscore on underscored targets.
-       (make_one) : Always underscore __imp_.
-       (pe_create_runtime_relocator_reference) : Only underscore
-       _pei386_runtime_relocator on underscored targets.
-       (pe_process_import_defs) : Always underscore __imp_.
-       * pe.em (U) : New macro.
-       (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
-       on wince subsystem case.
-       (pe_find_data_imports) : Use U on "_head_".
-       (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
-
-2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3223
-       PR ld/3267
-       * ld.texinfo: Updated Output Section Discarding.
-
-       * ldlang.h (lang_output_section_statement_type): Add
-       section_relative_symbol.
-       * ldlang.c (strip_excluded_output_sections): Don't strip a
-       section with a symbol relative to it.
-       (lang_size_sections_1): Mark if an output section has a symbol
-       symbol relative to it.
-
-2006-09-25  Bob Wilson  <bob.wilson@acm.org>
-
-       * ld.texinfo (Options): Update description of local symbols for -X.
-
-2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3249
-       * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
-       and .gnu.linkonce.wi.* sections with .data and .debug_info for
-       relocatable link.
-
-2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
-
-       * configure.in: Add new target x86_64-pc-mingw64.
-       * configure: Regenerate.
-       * configure.tgt: Add definition of target emulation i386pep.
-       * Makefile.am: Add new target files for target-all.
-       * Makefile.in: Regenerate.
-       * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
-       Fix memory out of bounds excess for idata relocation section data.
-       * pep-dll.c: Add target specific shared object handling.
-       * pep-dll.h: Add target specific definitions for shared object handling.
-       * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
-       * emultempl/pep.em: Add new emulation file for target x86_64 coff.
-       * po/POTFILES.in: Regenerate.
-       * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
-       * NEWS: Mention new target.
-
-2006-09-18  Thiemo Seufer  <ths@networkno.de>
-
-       * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
-       configurations.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * emulparams/scoreelf.sh: New file.
-       * emultempl/scoreelf.em: New file.
-       * Makefile.am: Add Score files.
-       * Makefile.in: Regenerate.
-       * configure.tgt: Add Score target.
-       * NEWS: Mention new target support.
-
-2006-09-16  Nick Clifton  <nickc@redhat.com>
-           Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
-       macros defined in bfd.h.
-       * ldmain.c: Likewise.
-       * ldwrite.c: Likewise.
-       * lexsup.c: Likewise.
-       * pe-dll.c: Likewise.
-       * emultempl/aix.em: Likewise.
-       * emultempl/beos.em: Likewise.
-       * emultempl/elf32.em: Likewise.
-       * emultempl/pe.em: Likewise.
-       * emultempl/sunos.em: Likewise.
-       * emultempl/xtensaelf.em: Likewise.
-
-2006-09-15  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/3107
-       * ldlang.c (lang_size_sections_1): Do not abort when encountering
-       a non-empty section that is ignored.  Instead produce a warning
-       message.
-
-2006-09-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
-
-2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * Makefile.am (CXX): Set to g++.
-       (CXX_FOR_TARGET): Likewise.
-       * Makefile.in: Regenerated.
-
-       * NEWS: Mention --dynamic-list.
-
-       * ld.texinfo: Document --dynamic-list.
-
-       * ldgram.y: Support dynamic list.
-
-       * ldlang.c (lang_process): Call lang_finalize_version_expr_head
-       on link_info.dynamic if needed.
-       (lang_append_dynamic_list): New.
-       (lang_append_dynamic_list_cpp_typeinfo): New.
-       * ldlang.h (lang_append_dynamic_list): Likewise.
-       * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
-
-       * ldlex.h (input_enum): Add input_dynamic_list.
-       * ldlex.l: Handle it.
-
-       * ldmain.c (main): Initialize link_info.dynamic.
-
-       * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
-       OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
-       (ld_options): Add entries for OPTION_DYNAMIC_LIST and
-       OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
-       (parse_args): Handle OPTION_DYNAMIC_LIST and
-       OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
-
-2006-09-07  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * emulparams/h8300elf.sh: _tinydata should not be placed in
-       relocatables.
-       * emulparams/h8300.sh: Likewise.
-       * emulparams/h8300sxelf.sh: Likewise.
-
-2006-09-05  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3015
-       * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
-       is defined.
-
-2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
-
-2006-08-28  Alan Modra  <amodra@bigpond.net.au>
-
-       * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
-       not match random object files in a path containing "crtbegin" or
-       "crtend" as part of a directory name.
-       * scripttempl/armbpabi.sc: Likewise.
-       * scripttempl/crisaout.sc: Likewise.
-       * scripttempl/elf32crx.sc: Likewise.
-       * scripttempl/elf32sh-symbian.sc: Likewise.
-       * scripttempl/elf_chaos.sc: Likewise.
-       * scripttempl/elfd10v.sc: Likewise.
-       * scripttempl/elfd30v.sc: Likewise.
-       * scripttempl/elfxtensa.sc: Likewise.
-       * scripttempl/iq2000.sc: Likewise.
-       * scripttempl/mmo.sc: Likewise.
-       * scripttempl/xstormy16.sc: Likewise.
-
-2006-08-24  Bob Wilson  <bob.wilson@acm.org>
-
-       * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
-       * scripttempl/elfxtensa.sc (.text): Add .literal.*.
-
-2006-08-24  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
-       Adjust the current address of DEFAULT_MEMORY_REGION even
-       when dot hasn't changed.
-
-2006-08-23  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldexp.c (fold_name <LOADADDR>): Return an absolute value
-       rather than a section relative value.
-
-2006-08-22  Alan Modra  <amodra@bigpond.net.au>
-
-       * NEWS: Mention LMA default change.
-       * ld.texinfo (Output Section LMA): Update default description.
-       (Location Counter): Clarify backward movement.
-       * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
-       default lma equal to vma.  Warn on backward movement of dot.
-
-2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * configure.tgt: Set targ_emul to arm_wince_pe for ARM
-       Windows CE targets.
-
-2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * Makefile.am: Split arm-wince into its own emulation.
-       * Makefile.in: Regenerate.
-       * pe-dll.c : Define PE_ARCH_arm_wince.
-       (pe_detail_list): Add PE_ARCH_arm_wince case.
-       (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
-       * emulparams/arm_wince_pe.sh: New file.
-       * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
-       Remap bfd_arm_allocate_interworking_sections,
-       bfd_arm_get_bfd_for_interworking and
-       bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
-       targets too.
-       (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
-       arm-epoc bfd format names.
-
-2006-08-18  Paul Brook  <paul@codesourcery.com>
-
-       * emultempl/armelf.em (arm_elf_before_allocation): Call
-       gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
-
-2006-08-17  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
-       (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
-       and to not skipping .idata* sections.
-
-2006-08-16  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 3052
-       * ldlang.h (lang_output_section_statement_type): Replace
-       "processed" field with "processed_vma" and "processed_lma".
-       * ldlang.c (lang_do_assignments_1): Move lma setting code..
-       (lang_size_sections_1): ..to here.
-       (lang_reset_memory_regions): Adjust for
-       lang_output_section_statement_type change.
-       * ldexp.c (fold_name): Likewise.
-
-2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
-
-       * emulparams/armelf.sh (MAXPAGESIZE): Changed to
-       "CONSTANT (MAXPAGESIZE)".
-
-2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3006
-       * ldlang.c (lang_section_bst_type): Moved to ...
-       * ldlang.h: Here.
-
-       * ldlang.h (lang_wild_statement_struct): Add a tree field.
-
-       * ldlang.c (wild_sort_fast): Use the tree field for BST.
-       (wild): Likeise.
-       (analyze_walk_wild_section_handler): Initialize the tree field.
-
-2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/3009
-       * ldlang.c (update_wild_statements): Update the whole wild
-       section list.
-
-2006-08-04  Nick Clifton  <nickc@redhat.com>
-           Mike Frysinger  <michael.frysinger@analog.com>
-
-       * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
-       (__preinit_array_start, __preinit_array_end, __init_array_start,
-       __init_array_end, __fini_array_start, __fini_array_end, edata, end):
-       Use ${USER_LABEL_PREFIX}.
-       * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
-       (USER_LABEL_PREFIX): Set.
-
-2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
-
-       * ldmain.c (main): Initialise print_gc_sections field of link_info
-       structure.
-       * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
-       switches.
-       * ld.texinfo: Document new switches.
-       * NEWS: Mention new switches.
-
-2006-08-04  Richard Sandiford  <richard@codesourcery.com>
-           Kazu Hirata  <kazu@codesourcery.com>
-           Phil Edwards  <phil@codesourcery.com>
-
-       * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
-       eshlelf_vxworks.o.
-       (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
-       * Makefile.in: Regenerate.
-       * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
-       shlelf_vxworks.
-       * emulparams/shelf_vxworks.sh: New file.
-       * emulparams/shlelf_vxworks.sh: Likewise.
-       * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
-       (OTHER_END_SYMBOLS): Likewise _ehdr.
-       (DATA_END_SYMBOLS): Likewise _edata.
-       * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
-       is indeed an ELF file before dealing with --force-dynamic.
-
-2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
-
-       PR binutils/2983
-       * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
-       elf64-x86-64-freebsd.
-
-2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ldlang.c (init_os): Add flags. Replace bfd_make_section with
-       bfd_make_section_with_flags.
-       (exp_init_os): Updated.
-       (lang_add_section): Call init_os with flags.
-       (map_input_to_output_sections): Likewise.
-
-2006-07-29  Richard Sandiford  <richard@codesourcery.com>
-
-       * Makefile.am (eelf32b4300.c): Update dependencies.
-       (eelf32bmip.c): Likewise.
-       (eelf32bsmip.c): Likewise.
-       (eelf32btsmip.c): Likewise.
-       (eelf32btsmipn32.c): Likewise.
-       (eelf32ltsmip.c): Likewise.
-       (eelf32ltsmipn32.c): Likewise.
-       (eelf32ebmip.c): Likewise.
-       (eelf32ebmipvxworks.c): Likewise.
-       (eelf32elmip.c): Likewise.
-       (eelf32elmipvxworks.c): Likewise.
-       (eelf32bmipn32.c): Likewise.
-       (eelf32lmip.c): Likewise.
-       (eelf32mipswindiss.c): Likewise.
-       (eelf32lsmip.c): Likewise.
-       (eelf64bmip.c): Likewise.
-       (eelf64btsmip.c): Likewise.
-       (eelf64ltsmip.c): Likewise.
-       (emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
-       (emipsbsd.c): Likewise.
-       (emipsidt.c): Update dependencies.
-       (emipsidtl.c): Likewise.
-       (emipslit.c): Likewise.
-       (emipslnews.c): Likewise.
-       (emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
-       * Makefile.in: Regenerate.
-       * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
-       * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
-       * emultempl/irix.em: Include emultempl/mipself.em.
-       * emultempl/mipself.em: New file.
-
-2006-07-26  Alan Modra  <amodra@bigpond.net.au>
-
-       * emultempl/elf-generic.em (map_segments): Reorganise loop so that
-       layout happens before segment map.  Don't do segment map on
-       relocatable link.
-
-2006-07-26  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldexp.c (fold_name <LOADADDR>): Use the lma.
-       * ldlang.h (lang_memory_region_type): Delete old_length.  Add
-       last_os.
-       * ldlang.c (lang_memory_region_lookup): Init new field.
-       (lang_reset_memory_regions): Reset new field.
-       (lang_insert_orphan): Don't set load_base.
-       (lang_leave_overlay): Likewise.
-       (lang_size_sections_1): Delete unnecessary code setting lma_region
-       to region.  Correct lma region check.
-       (lang_do_assignments_1): Rename output_section_statement parm
-       to current_os.  Set lma from previous section in region.
-
-       * ldlang.c: Formatting.
-
-2006-07-25  Bob Wilson  <bob.wilson@acm.org>
-
-       * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
-       Set discarded section's output_section to bfd_abs_section_ptr.
-
-2006-07-26  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
-       earlier.
-
-2006-07-24  Bob Wilson  <bob.wilson@acm.org>
-
-       * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
-       in dep_sec_name for null terminator.  Make sure dep_sec_name has a
-       ".t" linkonce tag.
-
-2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
-
-       * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
-       Set for *-*-solaris2*.
-
-2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * ld.texinfo: Fix spelling mistakes.
-       * ldint.texinfo: Likewise.
-
-2006-07-23  Sonal Santan  <sonal.santan@xilinx.com>
-
-       * ldlang.c (lang_section_bst): New structure for sorting sections
-       by name.
-       (wild_sort_fast): New function: Insert a section into a binary
-       search tree.
-       (output_section_callback_fast): New function: Store a section in
-       BST.
-       (output_section_callback_tree_to_list): New function: Convert a
-       BST into a list.
-       (analyze_walk_wild_section_handler): Initialize handler_data
-       elements.
-       (wild): If the data is sorted by name use the BST method to sort
-       the names.
-
-2006-07-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * ld.h (handle_asneeded_cref): Declare.
-       * ldcref.c: Include objalloc.h.
-       (old_table, old_count, old_tab, alloc_mark): New variables.
-       (tabsize, entsize, refsize, old_symcount): Likewise.
-       (add_cref): Use bfd_hash_allocate for refs.
-       (handle_asneeded_cref): New function.
-       * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
-
-2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
-
-       * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
-       typo setting targ_extra_libpath.
-
-2006-07-10  Jakub Jelinek  <jakub@redhat.com>
-
-       * scripttempl/elf.sc: Add .gnu.hash section.
-       * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
-       (gld${EMULATION_NAME}_add_options): Register --hash-style option.
-       (gld${EMULATION_NAME}_handle_option): Handle it.
-       (gld${EMULATION_NAME}_list_options): Document it.
-       * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
-       * ld.texinfo: Document --hash-style option.
-
-2006-07-10  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_TW.po: New Chinese (traditional) translation.
-       * configure.in (ALL_LINGUAS): Add zh_TW.
-       * configure: Regenerate.
-
-2006-07-07  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/2874
-       * ld.texinfo: Remove "Using LD" from the title since it is
-       redundant.
-
-2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
-
-       PR ld/2877
-       * ld.texinfo: Fix spelling mistakes.
-
-2006-06-27  Pedro Alves  <pedro_alves@portugalmail.pt>
-           Nick Clifton  <nickc@redhat.com>
-
-       * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
-       length of format strings in the libname_fmt[] array, rather than
-       relying upon a statically chosen value.  Adjust xmalloc call to
-       use this longest length.
-
-2006-06-27  Nick Clifton  <nickc@redhat.com>
-
-       * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
-       -rpath-link.
-
-2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
-       targ_extra_libpath.
-
-2006-06-23  Pedro Alves <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c (pe_details_type): Add new pointer for symbols list
-       autofilter.
-       (autofilter_symbollist): Split into autofilter_symbollist_generic
-       and autofilter_symbollist_i386.
-       (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
-       autofilter_symbollist_generic for all the others.
-       (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
-       cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
-       into autofilter_symbollist_i386.
-       (auto_export): Get autofilter_symbollist from pe_details.
-
-2006-06-22  Nick Clifton  <nickc@redhat.com>
-
-       PR ld/2757
-       * emultempl/pe.em (gld_$_after_open): When reporting non PE format
-       output files mention the file name and the fact that it is an
-       output file.
-
-2006-06-22  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
-       Restructure.  Add native "%s.lib" format to search list
-       * ld.texinfo (node WIN32): Update documentation on dynamic lib
-       search order. Add another reason for using import libs.
-
-2006-06-21  Mark Shinwell  <shinwell@codesourcery.com>
-
-       * ldlang.c (lang_insert_orphan): Correctly handle the case where
-       the section is to end up after the section currently at the end
-       of the list in output_bfd.
-
-2006-06-21  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * emultempl/mmo.em: Improve comments.  Explain why there's
-       ELF-stuff here.
-
-2006-06-21  Alan Modra  <amodra@bigpond.net.au>
-
-       * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
-       loop to ten iterations.  Throw away any previous linker generated
-       segment map.
-       * ldlang.c (lang_phdr_list): Make global.
-       * ldlang.h (lang_phdr_list): Declare.
-       * Makefile.am (ELF_GEN_DEPS): Define.  Use in emul deps.
-       * Makefile.in: Regenerate.
-
-2006-06-20  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
-       many ELF emul file deps that incorrectly said they needed elf32.em
-       instead of generic.em.  Add genelf.em as required.
-       * Makefile.in: Regenerate.
-       * ldlang.c (lang_process): Call ldemul_finish before
-       lang_check_section_addresses.
-       * emulparams/arcelf.sh: Generic elf target needs genelf.
-       * emulparams/d30v_e.sh: Likewise.
-       * emulparams/d30v_o.sh: Likewise.
-       * emulparams/d30velf.sh: Likewise.
-       * emulparams/elf32_dlx.sh: Likewise.
-       * emulparams/elf32_i860.sh: Likewise.
-       * emulparams/elf32fr30.sh: Likewise.
-       * emulparams/elf32frv.sh: Likewise.
-       * emulparams/elf32iq10.sh: Likewise.
-       * emulparams/elf32iq2000.sh: Likewise.
-       * emulparams/elf32mt.sh: Likewise.
-       * emulparams/mn10200.sh: Likewise.
-       * emulparams/or32.sh: Likewise.
-       * emulparams/or32elf.sh: Likewise.
-       * emulparams/pjelf.sh: Likewise.
-       * emulparams/msp430all.sh: Likewise.  Extract common entries.
-       * emulparams/pjlelf.sh: Include pjelf.sh.
-       * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
-       * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
-       * emultempl/elf-generic.em: New file.
-       * emultempl/genelf.em: New file.
-       * emultempl/elf32.em: Include elf-generic.em.
-       (gld${EMULATION_NAME}_layout_sections_again): Delete.
-       (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
-       * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
-       (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
-       gld${EMULATION_NAME}_map_segments.
-       (LDEMUL_FINISH): Update.
-       * emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
-       source elf-generic.em.
-       (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
-       * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
-       (gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
-       gld${EMULATION_NAME}_map_segments.
-       (LDEMUL_FINISH): Update.
-
-2006-06-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
-
-2006-06-14  Kevin F. Quinn  <kevquinn@gentoo.org>
-
-       * ld.texinfo: Document new -z lazy option.
-       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-       new option.
-       (gld${EMULATION_NAME}_list_options): Update help text.
-
-2006-06-12  Fred Fish  <fnf@specifix.com>
-
-       * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
-       ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
-       generated by mips gcc.
-
-2006-06-12  Thiemo Seufer  <ths@mips.com>
-
-       * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
-       Define.
-
-2006-06-09  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
-       * ldlang.c (struct out_section_hash_entry): Rename from
-       output_statement_hash_entry.  Delete output_section_statement_type
-       entry.  Add statement_union_type entry.  Adjust all users.
-       (output_section_statement_table): Rename from output_statement_table.
-       Adjust all users.
-       (output_section_statement_newfunc): Rename from
-       output_statement_newfunc.  Adjust all users.
-       (output_section_statement_table_init): Rename from
-       output_statement_table_init.  Adjust all users.
-       (output_section_statement_table_free): Rename from
-       output_statement_table_free.  Adjust all users.
-
-2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * po/Make-in (pdf, ps): New dummy targets.
-
-2006-06-07  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.h (enum section_type): Delete dsect_section, copy_section,
-       info_section and overlay_section.  Add noalloc_section.
-       * ldlang.c (lang_add_section): Adjust.
-       * ldgram.y (type): Adjust.
-
-2006-06-06  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (init_os): Whitespace.
-       (map_input_to_output_sections): Don't init_os for lang_input_section.
-       (print_all_symbols): Remove forward declaration.  Convert to ISO C.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/Make-in (top_builddir): Define.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldexp.c (exp_get_abs_int): Make error message the same as
-       others emitted in this file.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * config.in: Regenerate.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (lookup_name): Delete dead code.  Remove FIXMEs.
-
-2006-06-03  Alan Modra  <amodra@bigpond.net.au>
-
-       * emultempl/elf32.em (global_found): Make it a pointer.
-       (stat_needed, try_needed): Adjust.
-       (check_needed): Don't skip non-loaded as-needed entries.  Only
-       consider entries with both filename and the_bfd non-null.
-       (after_open): Try loading non-loaded as-needed libs to satisfy
-       DT_NEEDED libs.
-
-2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
-       * Makefile.in: Regenerate.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
-       and LIBINTL_DEP everywhere.
-       (INTLLIBS): Remove.
-       (INCLUDES): Use @INCINTL@.
-       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
-       Remove local code for po/Makefile.
-       * Makefile.in, configure: Regenerated.
-
-2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
-       "CONSTANT (MAXPAGESIZE)".
-       * emulparams/armelf_nbsd.sh: Likewise.
-       * emulparams/armelf_vxworks.sh: Likewise.
-       * emulparams/armnto.sh: Likewise.
-       * emulparams/armsymbian.sh: Likewise.
-       * emulparams/crislinux.sh: Likewise.
-       * emulparams/elf32_i860.sh: Likewise.
-       * emulparams/elf32_i960.sh: Likewise.
-       * emulparams/elf32am33lin.sh: Likewise.
-       * emulparams/elf32bfinfd.sh: Likewise.
-       * emulparams/elf32bmipn32-defs.sh: Likewise.
-       * emulparams/elf32frvfd.sh: Likewise.
-       * emulparams/elf32i370.sh: Likewise.
-       * emulparams/elf32lppcnto.sh: Likewise.
-       * emulparams/elf32mcore.sh: Likewise.
-       * emulparams/elf32openrisc.sh: Likewise.
-       * emulparams/elf32ppcnto.sh: Likewise.
-       * emulparams/elf32ppcwindiss.sh: Likewise.
-       * emulparams/elf32vax.sh: Likewise.
-       * emulparams/elf32xc16x.sh: Likewise.
-       * emulparams/elf32xc16xl.sh: Likewise.
-       * emulparams/elf32xc16xs.sh: Likewise.
-       * emulparams/elf64_aix.sh: Likewise.
-       * emulparams/elf64hppa.sh: Likewise.
-       * emulparams/elf64mmix.sh: Likewise.
-       * emulparams/elf_i386_be.sh: Likewise.
-       * emulparams/elf_i386_chaos.sh: Likewise.
-       * emulparams/elf_i386_ldso.sh: Likewise.
-       * emulparams/hppa64linux.sh: Likewise.
-       * emulparams/hppalinux.sh: Likewise.
-       * emulparams/hppaobsd.sh: Likewise.
-       * emulparams/i386lynx.sh: Likewise.
-       * emulparams/i386moss.sh: Likewise.
-       * emulparams/i386nto.sh: Likewise.
-       * emulparams/i386nw.sh: Likewise.
-       * emulparams/m32relf_linux.sh: Likewise.
-       * emulparams/m68kpsos.sh: Likewise.
-       * emulparams/or32elf.sh: Likewise.
-       * emulparams/pjelf.sh: Likewise.
-       * emulparams/pjlelf.sh: Likewise.
-       * emulparams/ppclynx.sh: Likewise.
-       * emulparams/ppcnw.sh: Likewise.
-       * emulparams/shelf32_nbsd.sh : Likewise.
-       * emulparams/shelf_nbsd.sh: Likewise.
-       * emulparams/shelf_nto.sh: Likewise.
-       * emulparams/shlelf_nto.sh: Likewise.
-       * emulparams/xtensa-config.sh: Likewise.
-
-       * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
-       "CONSTANT (MAXPAGESIZE)".
-       (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
-       * emulparams/elf32_sparc.sh: Likewise.
-       * emulparams/elf32bmip.sh: Likewise.
-       * emulparams/elf32ppccommon.sh: Likewise.
-       * emulparams/elf64_ia64.sh: Likewise.
-       * emulparams/elf64_s390.sh: Likewise.
-       * emulparams/elf64_sparc.sh: Likewise.
-       * emulparams/elf64alpha.sh: Likewise.
-       * emulparams/elf64ppc.sh: Likewise.
-       * emulparams/elf_i386.sh: Likewise.
-       * emulparams/elf_i386_vxworks.sh: Likewise.
-       * emulparams/elf_s390.sh: Likewise.
-       * emulparams/elf_x86_64.sh: Likewise.
-       * emulparams/shlelf32_linux.sh: Likewise.
-       * emulparams/shlelf_linux.sh: Likewise.
-
-       * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
-       "CONSTANT (COMMONPAGESIZE)".
-       * emulparams/elf32btsmipn32.sh: Likewise.
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-       "-z max-page-size=" and "-z common-page-size=".
-       (gld${EMULATION_NAME}_list_options): Likewise.
-
-       * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
-
-       * ld.texinfo: Document "-z max-page-size=" and
-       "-z common-page-size=".
-
-       * ldexp.c (exp_print_token): Handle CONSTANT.
-       (fold_name): Likewise.
-       * ldgram.y: Likewise.
-       * ldlex.l: Likewise.
-
-       * ldmain.c (main): Initiliaze config.maxpagesize and
-       config.commonpagesize. Call bfd_emul_set_maxpagesize if
-       config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
-       config.commonpagesize config.maxpagesize isn't 0.
-
-2006-05-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
-
-2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/1485
-       * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
-       bfd.  Support 64bit host for --enable-targets=all.
-       * configure: Regenerated.
-
-2006-05-24  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: Updated Vietnamese translation.
-
-2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * configure.tgt: Add avr6 to emulation list.
-       * Makefile.am: Add eavr6.o and corresponding rule.
-       * Makefile.in: Regenerate.
-       * emulparams/avr6.sh: New file.
-       * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
-       for target option support.
-       (EXTRA_EM_FILE): Add reference to new em template file avrelf.
-       * scripttempl/avr.sc: Add ".trampolines" section.
-       * emultempl/avrelf.em: Add new file for target specific options.
-
-2006-05-22  Nick Clifton  <nickc@redhat.com>
-
-       * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
-
-2006-05-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (lang_size_sections_1): Don't check mem regions for
-       os->ignored sections.
-
-2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
-       before redoing one_lang_size_sections_pass.
-
-2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * ld.texinfo: Rename "Index" to "LD Index"
-
-2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * pe-dll.c (autofilter_symbollist): Add Dllmain,
-       DllMainCRTStartup, _DllMainCRTStartup and .text.
-       (autofilter_liblist): Add libcegcc.
-       (autofilter_symbolprefixlist): Add __imp_ and .idata$.
-       (generate_reloc): Do not skip sections without a SEC_LOAD flag,
-       they can still contain relocs that need processing.
-       Skip the .idata$6 section.
-       (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
-       (make_one): Use the new array.
-       (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
-       * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
-
-2006-05-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * ld.texinfo: Document PowerPC and PowerPC64 options.
-       * gen-doc.texi: Enable.
-
-2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
-       (TEXI2POD): Use AM_MAKEINFOFLAGS.
-       (configdoc.texi): Don't set top_srcdir.
-       * ld.texinfo: Don't use top_srcdir.
-       * aclocal.m4, Makefile.in: Regenerated.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * ldlang.c (wild): Tidy default_common_section loop.
-       (print_input_section): Format.
-
-       * configure: Regenerate.
-
-2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/POTFILES.in: Regenerated.
-
-2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * config.in: Regenerated.
-
-2006-04-14  David Heine  <dlheine@tensilica.com>
-           Bob Wilson  <bob.wilson@acm.org>
-
-       * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
-       function to strip inconsistent linkonce sections.
-       (input_section_linked_worker, input_section_linked): New.
-       (is_inconsistent_linkonce_section): New.
-       (xtensa_strip_inconsistent_linkonce_sections): New.
-
-2006-04-11  Diego Pettenò  <flameeyes@gentoo.org>
-
-       * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
-       and Dragonfly targets.
-       * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
-       * Makefile.am (HFILES): Add elf-hints-local.h.
-       * elf-hints-local.h: New file.
-       * Makefile.in: Regenerate.
-       * configure: Regenerate.
-
-2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
-
-       * ld.texinfo: Fix typo in documentation of --check-sections.
-
-2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
-
-       * ldlang.c (load_symbols): Set as_needed and add_needed according
-       to the corresponding script's fields while processing it.
-
-2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * Makefile.am: Add install-html, install-html-am, and
-       install-html-recursive targets.
-       * Makefile.in: Regenerate.
-       * configure.in: AC_SUBST datarootdir, docdir, htmldir.
-       * configure: Regenerate.
-       * po/Make-in: Add install-html target.
-
-2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
-       link_info.need_relax_finalize.
-
-       * ldlang.c (relax_sections): New.
-       (lang_process): Use. Call relax_sections link_info.relax_pass
-       times.
-
-       * ldmain.c (main): Set link_info.relax_pass to 1. Remove
-       link_info.need_relax_finalize.
-
-2006-04-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am (GENSCRIPTS): Pass prefix.
-       * Makefile.in: Regenerate.
-       * genscripts.sh: Adjust for extra parameter.
-       * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
-       exists.
-       (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
-       * NEWS: Update.
-
-2006-04-05  Richard Sandiford  <richard@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure.tgt (sparc*-*-vxworks*): New stanza.
-       * emulparams/elf32_sparc_vxworks.sh: New file.
-       * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
-       (eelf32_sparc_vxworks.c): New rule.
-       * Makefile.in: Regenerate.
-
-2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * ldlang.c (lang_map): Print the list of discarded input sections.
-       (print_input_section): Change parameter and print zero-sized sections.
-       (print_statement): Adjust call to print_input_section.
-
-2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       * deffilep.y (def_image_name): If LIBRARY or NAME statement
-       specifies an empty string, retain the name specified on command
-       line.
-       * ld.texinfo: Document above.
-
-2006-03-31  Jakub Jelinek  <jakub@redhat.com>
-
-       * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
-       bfd_find_nearest_line succeeded for %C or %D, but filename
-       is NULL, print section+offset at the end.
-
-2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       * emulparams/elf32bfinfd.sh: New file.
-       * emultempl/bfin.em: Delete.
-       * emulparams/bfin.sh: Lose reference to bfin.em.
-       * Makefile.am (eelf32bfin.c): Likewise.
-       (eelf32bfinfd.c): New.
-       * Makefile.in: Regenerate.
-       * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
-       targ_extra_emuls.
-
-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>
-
-       * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
-       separate VxWorks emulations.
-       * emulparams/elf32ebmipvxworks.sh: New file.
-       * emulparams/elf32elmipvxworks.sh: New file.
-       * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
-       eelf32elmipvxworks.o.
-       (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
-       * Makefile.in: Regenerate.
-
-2006-03-16  Alan Modra  <amodra@bigpond.net.au>
-
-       PR 2434
-       * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
-       * ldlang.c (output_statement_table_init, lang_init): Likewise.
-       * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
-       (undefined_symbol): Likewise.
-
-2006-03-07  Richard Sandiford  <richard@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Zack Weinberg  <zack@codesourcery.com>
-           Nathan Sidwell  <nathan@codesourcery.com>
-           Paul Brook  <paul@codesourcery.com>
-           Ricardo Anguiano  <anguiano@codesourcery.com>
-           Phil Edwards  <phil@codesourcery.com>
-
-       * emulparams/armelf_vxworks.sh: Include vxworks.sh.
-       (MAXPAGESIZE): Define.
-       * emulparams/vxworks.sh: Undefine EMBEDDED.
-       * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
-       * Makefile.in: Regenerate.
-
-2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
-
-       * scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
-       Add KEEP() directives.
-       Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
-       .bss output sections.
-
-2006-03-03  Richard Sandiford  <richard@codesourcery.com>
-
-       * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
-       (EXTRA_EM_FILE): Define.
-       * emultempl/vxworks.em: New file.
-       * ld.texinfo (--force-dynamic): Document.
-       * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
-       on vxworks.em.
-       * Makefile.in: Regenerate.
-
-2006-03-02  Richard Sandiford  <richard@codesourcery.com>
-
-       * emulparams/elf32ppccommon.sh: New file, extracted from...
-       * emulparams/elf32ppc.sh: ...here.
-       * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
-       instead of elf32ppc.sh.
-       (BSS_PLT): Remove override.
-       * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
-       (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
-       (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
-       (eelf32ppclinux.c): Likewise.
-       (eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
-       * Makefile.in: Regenerate.
-
-2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * Makefile.am: Add html target.
-       * Makefile.in: Regenerate.
-       * po/Make-in: Add html target.
-
-2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-            Anil Paranjape   <anilp1@kpitcummins.com>
-            Shilin Shakti    <shilins@kpitcummins.com>
-
-       * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
-       * scripttemp/elf32xc16xl.sc: Default linker script for large model.
-       * scripttemp/elf32xc16xs.sc: Default linker script for small model.
-       * emulparams/elf32xc16x.sh: Emulation script for tiny model.
-       * emulparams/elf32xc16xl.sh: Emulation script for large model.
-       * emulparams/elf32xc16xs.sh: Emulation script for small model.
-       * Makefile.am: Add entry to make xc16x target.
-       * Makefile.in: Regenerate.
-       * configure.tgt: Specify default and other emulation parameters
-       for xc16x.
-       * NEWS: Announce the support for the new target.
-
-2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
-
-       * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
-       Use the traditional target.
-
-2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * configure.tgt (arm*b-*-linux-gnueabi): Change to
-       arm*b-*-linux-*eabi.
-       (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
-
-2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/2290
-       * NEWS: Updated for the Linux linker search order change.
-
-       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
-       gld${EMULATION_NAME}_check_ld_so_conf before checking default
-       search directories for DT_NEEDED entries.
-
-2006-02-07  Paul Brook  <paul@codesourcery.com>
-
-       * emultempl/armelf.em: Include elf/arm.h.
-       (arm_elf_finish): Set low address bit if enty point is a Thumb
-       function.
-
-2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
-
-       * deffilep.y (def_image_name): If the image name does not have
-       a suffix, append the default.
-       * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
-
-2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
-
-       * NEWS: Mention support for forward exports in PE-COFF dll's.
-       * ld.texinfo: Expand documentation of EXPORT statements in
-       PE-COFF .def files.
-
-2006-01-31  Filip Navara  <navaraf@reactos.com>
-
-       * deffile.h (struct def_file_export): Add field flag_forward.
-       * pe-dll.c (process_def_file): Check for forward exports.
-       (generate_edata): Generate forward export symbols.
-       (fill_edata): Emit them.
-
-       * pe-dll.c (process_def_file): Don't crash on malformed
-       fastcall symbol names in .def file.
-
-2006-01-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: Updated Vietnamese translation.
-
-2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
-
-       * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
-       file:" as informational message, not a warning.
-
-2006-01-18  Roger Sayle  <roger@eyesopen.com>
-
-       * emultempl/irix.em: Use lbasename instead of basename.
-
-2006-01-16  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: New Chinese (simplified) translation.
-       * configure.in (ALL_LINGUAS): Add "zh_CH".
-       * configure: Regenerate.
-
-2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
-
-       * ld.texinfo (Options): Fix typo.
-
-For older changes see ChangeLog-2005
+For older changes see ChangeLog-2006
 \f
 Local Variables:
 mode: change-log
diff --git a/ld/ChangeLog-2006 b/ld/ChangeLog-2006
new file mode 100644 (file)
index 0000000..c28addf
--- /dev/null
@@ -0,0 +1,1364 @@
+2006-12-23  Kazu Hirata  <kazu@codesourcery.com>
+
+       * configure.tgt: Recognize fido.
+
+2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (pe_bfd_is_dll): New function.
+       * pe-dll.h (pe_bfd_is_dll): Declare.
+       * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
+       dlls using pe_bfd_is_dll instead of using the filename extension.
+
+2006-12-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
+
+2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (ld_TEXINFOS): Set.
+       (ld.info ld.dvi ld.html): Delete rule.
+       * Makefile.in: Regenerated.
+
+2006-12-12  Ina Pandit  <inap@kpitcummins.com>
+
+       * ldlang.c (print_output_section_statement): Print load address
+       when lma differs from vma.
+
+2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Define GENINSRC_NEVER.
+       * doc/Makefile.am (ld.info): Remove srcdir prefix.
+       (MAINTAINERCLEANFILES): Add info file.
+       (DISTCLEANFILES): Pretend to add info file.
+       * po/Make-in (.po.gmo): Put gmo files in objdir.
+       * configure, Makefile.in: Regenerated.
+
+2006-12-04  Jan Beulich  <jbeulich@novell.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
+       .eh_frame_hdr section here.
+
+2006-11-27  Ian Lance Taylor  <ian@airs.com>
+
+       * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
+       subdirectory.
+       * Makefile.in: Regenerate.
+
+2006-11-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
+       (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
+       Delete redundant code to set sections flags and alignment.
+       (xt_config_info_unpack_and_check, check_xtensa_info): New.
+       (elf_xtensa_after_open): Iterate over input statements instead of
+       link_info.input_bfds.
+       (elf_xtensa_before_allocation): Likewise.  Call check_xtensa_info for
+       each input, and write a new .xtensa.info section in the output.
+
+2006-11-22  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (LINGUAS): Add ga.
+       * po/ga.po: New Irish translation.
+
+2006-11-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texinfo: Fix a typo.
+
+2006-11-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
+
+2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * emultempl/armelf.em (arm_elf_before_allocation): Only call
+       bfd_elf32_arm_process_before_allocation if no dynamic sections.
+
+2006-11-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (gld*_before_allocation): Adjust output section
+       size for warning sections.
+
+2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * emultempl/elf32.em (gld*_before_allocation): Don't prepend
+       "warning" to the message.
+
+2006-10-31  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (autofilter_entry_type): Change name to const.
+       (pe_details_type) : Change target_name, object_target and
+       autofilter_symbollist to const.
+       (autofilter_symbollist_generic): Change to const.
+       (autofilter_symbollist_i386, pe_detail_list, pe_details,
+       autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
+       autofilter_symbolsuffixlist): Likewise.
+       (is_import): Fix indentation.
+       (auto_export): Change afptr to const.  Move name declaration to
+       beginning of scope.
+       (make_tail): Clear undefined byte.
+       (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
+       to const.
+       (make_one): Change jmp_bytes to const.  Make idata$6 member size
+       arithmetic explicit and add comment.
+
+2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3111
+       * ld.h (args_type): Remove reduce_memory_overheads.
+
+       * ldlang.c (lang_map): Updated.
+       (section_already_linked): Likewise.
+       (print_input_section): Likewise.
+       * ldmain.c (main): Likewise.
+       * lexsup.c (parse_args): Likewise.
+
+2006-10-29  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
+
+2006-10-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
+       sections have been discarded.
+       (lang_do_version_exports_section): Set SEC_KEEP on export section.
+       * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
+       sections.
+
+2006-10-26  Joseph S. Myers  <joseph@codesourcery.com>
+            Mark Mitchell  <mark@codesourcery.com>
+
+       * configure.tgt (arm*linux*): Support both big- and little-endian.
+
+2006-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
+       (OTHER_BSS_SECTIONS): This.
+       * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
+       (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
+
+2006-10-25  Alan Modra  <amodra@bigpond.net.au>
+           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>
+
+       * emulparams/elf32_spu.sh: New file.
+       * emultempl/spu_inc.s: New file.
+       * emultempl/spu_ovl.S: New file.
+       * emultempl/spu_ovl.o: New file.
+       * emultempl/spuelf.em: New file.
+       * Makefile.am: Add SPU support.
+       * configure.tgt: Likewise.
+       * ldlang.c (load_symbols): Make global.
+       * ldlang.h (load_symbols): Declare.
+       * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
+       * Makefile.in: Regenerate.
+
+2006-10-24  Ben Elliston  <bje@au.ibm.com>
+
+       * lexsup.c (parse_args): Add a comment noting a fall-through.
+
+2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
+       * configure: Regenerated.
+       * config.in: Likewise.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
+       set section address on a relocatable link.
+
+       * ld.texinfo (Output Section Discarding): Fix xref.
+
+2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shelf32.sh: Set default stack to 0x80000.
+       * emulparams/shelf64.sh: Likewise.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
+       * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
+
+2006-10-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/armelf.em (arm_elf_before_allocation): Run
+       gld${EMULATION_NAME}_before_allocation later.
+       * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
+
+2006-10-18  Roy Marples  <uberlord@gentoo.org>
+
+       * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
+       elf64-sparc-freebsd.
+
+2006-10-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.tgt (i[3-7]86-*-linux-*): Also define
+       targ_extra_libpath in want64 case.
+       * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
+       x86_64*-linux*.
+
+2006-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc (INTERP): Delete.  Move definition to..
+       (INITIAL_READONLY_SECTIONS): ..here.
+       * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
+       * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
+       * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
+
+2006-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (strip_excluded_output_sections): Do strip sections
+       that define syms, but don't ignore them.
+       * ld.texinfo (Output Section Discarding): Revise.
+       * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
+       finish_default.
+
+2006-10-16  Richard Sandiford  <richard@codesourcery.com>
+
+       * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
+       (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
+       .reginfo rather than .MIPS.options.
+       * emulparams/elf64bmip-defs.sh: New file.
+       * emulparams/elf64bmip.sh: Include it.
+       (COMMONPAGESIZE): Delete.
+       * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
+
+2006-10-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
+       for linkonce XCC exception tables (".e" and ".h").
+
+2006-10-11  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
+       (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
+       (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
+       (OTHER_SDATA_SECTIONS): New.
+       * scripttempl/elfxtensa.sc: Import changes from elf.sc.
+
+2006-10-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldlang.c (lang_append_dynamic_list): When appending, add all elements
+       of the dynamic list rather than just the first entry.
+
+2006-10-10  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
+
+2006-10-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
+
+2006-10-04  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/xtensa-config.sh: Delete file.
+       * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
+       xtensa-config.sh.
+       * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
+       * Makefile.in: Regenerate.
+
+2006-10-03  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c : Fix typo.
+       (autofilter_symbolprefixlist) : Remove __imp_.
+       (is_import) : New.
+       (auto-export) : Remove  re-import check. Moved to callers.
+       (process_def_file) : Check is symbol is an import. Always
+       underscore __imp_.
+       Only skip underscore on underscored targets.
+       (make_one) : Always underscore __imp_.
+       (pe_create_runtime_relocator_reference) : Only underscore
+       _pei386_runtime_relocator on underscored targets.
+       (pe_process_import_defs) : Always underscore __imp_.
+       * pe.em (U) : New macro.
+       (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
+       on wince subsystem case.
+       (pe_find_data_imports) : Use U on "_head_".
+       (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
+
+2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3223
+       PR ld/3267
+       * ld.texinfo: Updated Output Section Discarding.
+
+       * ldlang.h (lang_output_section_statement_type): Add
+       section_relative_symbol.
+       * ldlang.c (strip_excluded_output_sections): Don't strip a
+       section with a symbol relative to it.
+       (lang_size_sections_1): Mark if an output section has a symbol
+       symbol relative to it.
+
+2006-09-25  Bob Wilson  <bob.wilson@acm.org>
+
+       * ld.texinfo (Options): Update description of local symbols for -X.
+
+2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3249
+       * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
+       and .gnu.linkonce.wi.* sections with .data and .debug_info for
+       relocatable link.
+
+2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
+
+       * configure.in: Add new target x86_64-pc-mingw64.
+       * configure: Regenerate.
+       * configure.tgt: Add definition of target emulation i386pep.
+       * Makefile.am: Add new target files for target-all.
+       * Makefile.in: Regenerate.
+       * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
+       Fix memory out of bounds excess for idata relocation section data.
+       * pep-dll.c: Add target specific shared object handling.
+       * pep-dll.h: Add target specific definitions for shared object handling.
+       * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
+       * emultempl/pep.em: Add new emulation file for target x86_64 coff.
+       * po/POTFILES.in: Regenerate.
+       * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
+       * NEWS: Mention new target.
+
+2006-09-18  Thiemo Seufer  <ths@networkno.de>
+
+       * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
+       configurations.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * emulparams/scoreelf.sh: New file.
+       * emultempl/scoreelf.em: New file.
+       * Makefile.am: Add Score files.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add Score target.
+       * NEWS: Mention new target support.
+
+2006-09-16  Nick Clifton  <nickc@redhat.com>
+           Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
+       macros defined in bfd.h.
+       * ldmain.c: Likewise.
+       * ldwrite.c: Likewise.
+       * lexsup.c: Likewise.
+       * pe-dll.c: Likewise.
+       * emultempl/aix.em: Likewise.
+       * emultempl/beos.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * emultempl/xtensaelf.em: Likewise.
+
+2006-09-15  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/3107
+       * ldlang.c (lang_size_sections_1): Do not abort when encountering
+       a non-empty section that is ignored.  Instead produce a warning
+       message.
+
+2006-09-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
+
+2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (CXX): Set to g++.
+       (CXX_FOR_TARGET): Likewise.
+       * Makefile.in: Regenerated.
+
+       * NEWS: Mention --dynamic-list.
+
+       * ld.texinfo: Document --dynamic-list.
+
+       * ldgram.y: Support dynamic list.
+
+       * ldlang.c (lang_process): Call lang_finalize_version_expr_head
+       on link_info.dynamic if needed.
+       (lang_append_dynamic_list): New.
+       (lang_append_dynamic_list_cpp_typeinfo): New.
+       * ldlang.h (lang_append_dynamic_list): Likewise.
+       * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
+
+       * ldlex.h (input_enum): Add input_dynamic_list.
+       * ldlex.l: Handle it.
+
+       * ldmain.c (main): Initialize link_info.dynamic.
+
+       * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
+       OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
+       (ld_options): Add entries for OPTION_DYNAMIC_LIST and
+       OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
+       (parse_args): Handle OPTION_DYNAMIC_LIST and
+       OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
+
+2006-09-07  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * emulparams/h8300elf.sh: _tinydata should not be placed in
+       relocatables.
+       * emulparams/h8300.sh: Likewise.
+       * emulparams/h8300sxelf.sh: Likewise.
+
+2006-09-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3015
+       * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
+       is defined.
+
+2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
+
+2006-08-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
+       not match random object files in a path containing "crtbegin" or
+       "crtend" as part of a directory name.
+       * scripttempl/armbpabi.sc: Likewise.
+       * scripttempl/crisaout.sc: Likewise.
+       * scripttempl/elf32crx.sc: Likewise.
+       * scripttempl/elf32sh-symbian.sc: Likewise.
+       * scripttempl/elf_chaos.sc: Likewise.
+       * scripttempl/elfd10v.sc: Likewise.
+       * scripttempl/elfd30v.sc: Likewise.
+       * scripttempl/elfxtensa.sc: Likewise.
+       * scripttempl/iq2000.sc: Likewise.
+       * scripttempl/mmo.sc: Likewise.
+       * scripttempl/xstormy16.sc: Likewise.
+
+2006-08-24  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
+       * scripttempl/elfxtensa.sc (.text): Add .literal.*.
+
+2006-08-24  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
+       Adjust the current address of DEFAULT_MEMORY_REGION even
+       when dot hasn't changed.
+
+2006-08-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (fold_name <LOADADDR>): Return an absolute value
+       rather than a section relative value.
+
+2006-08-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * NEWS: Mention LMA default change.
+       * ld.texinfo (Output Section LMA): Update default description.
+       (Location Counter): Clarify backward movement.
+       * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
+       default lma equal to vma.  Warn on backward movement of dot.
+
+2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.tgt: Set targ_emul to arm_wince_pe for ARM
+       Windows CE targets.
+
+2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * Makefile.am: Split arm-wince into its own emulation.
+       * Makefile.in: Regenerate.
+       * pe-dll.c : Define PE_ARCH_arm_wince.
+       (pe_detail_list): Add PE_ARCH_arm_wince case.
+       (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
+       * emulparams/arm_wince_pe.sh: New file.
+       * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
+       Remap bfd_arm_allocate_interworking_sections,
+       bfd_arm_get_bfd_for_interworking and
+       bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
+       targets too.
+       (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
+       arm-epoc bfd format names.
+
+2006-08-18  Paul Brook  <paul@codesourcery.com>
+
+       * emultempl/armelf.em (arm_elf_before_allocation): Call
+       gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
+
+2006-08-17  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
+       (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
+       and to not skipping .idata* sections.
+
+2006-08-16  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3052
+       * ldlang.h (lang_output_section_statement_type): Replace
+       "processed" field with "processed_vma" and "processed_lma".
+       * ldlang.c (lang_do_assignments_1): Move lma setting code..
+       (lang_size_sections_1): ..to here.
+       (lang_reset_memory_regions): Adjust for
+       lang_output_section_statement_type change.
+       * ldexp.c (fold_name): Likewise.
+
+2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
+
+       * emulparams/armelf.sh (MAXPAGESIZE): Changed to
+       "CONSTANT (MAXPAGESIZE)".
+
+2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3006
+       * ldlang.c (lang_section_bst_type): Moved to ...
+       * ldlang.h: Here.
+
+       * ldlang.h (lang_wild_statement_struct): Add a tree field.
+
+       * ldlang.c (wild_sort_fast): Use the tree field for BST.
+       (wild): Likeise.
+       (analyze_walk_wild_section_handler): Initialize the tree field.
+
+2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3009
+       * ldlang.c (update_wild_statements): Update the whole wild
+       section list.
+
+2006-08-04  Nick Clifton  <nickc@redhat.com>
+           Mike Frysinger  <michael.frysinger@analog.com>
+
+       * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
+       (__preinit_array_start, __preinit_array_end, __init_array_start,
+       __init_array_end, __fini_array_start, __fini_array_end, edata, end):
+       Use ${USER_LABEL_PREFIX}.
+       * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
+       (USER_LABEL_PREFIX): Set.
+
+2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
+
+       * ldmain.c (main): Initialise print_gc_sections field of link_info
+       structure.
+       * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
+       switches.
+       * ld.texinfo: Document new switches.
+       * NEWS: Mention new switches.
+
+2006-08-04  Richard Sandiford  <richard@codesourcery.com>
+           Kazu Hirata  <kazu@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
+       eshlelf_vxworks.o.
+       (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
+       * Makefile.in: Regenerate.
+       * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
+       shlelf_vxworks.
+       * emulparams/shelf_vxworks.sh: New file.
+       * emulparams/shlelf_vxworks.sh: Likewise.
+       * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
+       (OTHER_END_SYMBOLS): Likewise _ehdr.
+       (DATA_END_SYMBOLS): Likewise _edata.
+       * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
+       is indeed an ELF file before dealing with --force-dynamic.
+
+2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       PR binutils/2983
+       * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
+       elf64-x86-64-freebsd.
+
+2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (init_os): Add flags. Replace bfd_make_section with
+       bfd_make_section_with_flags.
+       (exp_init_os): Updated.
+       (lang_add_section): Call init_os with flags.
+       (map_input_to_output_sections): Likewise.
+
+2006-07-29  Richard Sandiford  <richard@codesourcery.com>
+
+       * Makefile.am (eelf32b4300.c): Update dependencies.
+       (eelf32bmip.c): Likewise.
+       (eelf32bsmip.c): Likewise.
+       (eelf32btsmip.c): Likewise.
+       (eelf32btsmipn32.c): Likewise.
+       (eelf32ltsmip.c): Likewise.
+       (eelf32ltsmipn32.c): Likewise.
+       (eelf32ebmip.c): Likewise.
+       (eelf32ebmipvxworks.c): Likewise.
+       (eelf32elmip.c): Likewise.
+       (eelf32elmipvxworks.c): Likewise.
+       (eelf32bmipn32.c): Likewise.
+       (eelf32lmip.c): Likewise.
+       (eelf32mipswindiss.c): Likewise.
+       (eelf32lsmip.c): Likewise.
+       (eelf64bmip.c): Likewise.
+       (eelf64btsmip.c): Likewise.
+       (eelf64ltsmip.c): Likewise.
+       (emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
+       (emipsbsd.c): Likewise.
+       (emipsidt.c): Update dependencies.
+       (emipsidtl.c): Likewise.
+       (emipslit.c): Likewise.
+       (emipslnews.c): Likewise.
+       (emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
+       * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
+       * emultempl/irix.em: Include emultempl/mipself.em.
+       * emultempl/mipself.em: New file.
+
+2006-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf-generic.em (map_segments): Reorganise loop so that
+       layout happens before segment map.  Don't do segment map on
+       relocatable link.
+
+2006-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (fold_name <LOADADDR>): Use the lma.
+       * ldlang.h (lang_memory_region_type): Delete old_length.  Add
+       last_os.
+       * ldlang.c (lang_memory_region_lookup): Init new field.
+       (lang_reset_memory_regions): Reset new field.
+       (lang_insert_orphan): Don't set load_base.
+       (lang_leave_overlay): Likewise.
+       (lang_size_sections_1): Delete unnecessary code setting lma_region
+       to region.  Correct lma region check.
+       (lang_do_assignments_1): Rename output_section_statement parm
+       to current_os.  Set lma from previous section in region.
+
+       * ldlang.c: Formatting.
+
+2006-07-25  Bob Wilson  <bob.wilson@acm.org>
+
+       * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
+       Set discarded section's output_section to bfd_abs_section_ptr.
+
+2006-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
+       earlier.
+
+2006-07-24  Bob Wilson  <bob.wilson@acm.org>
+
+       * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
+       in dep_sec_name for null terminator.  Make sure dep_sec_name has a
+       ".t" linkonce tag.
+
+2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
+
+       * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
+       Set for *-*-solaris2*.
+
+2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * ld.texinfo: Fix spelling mistakes.
+       * ldint.texinfo: Likewise.
+
+2006-07-23  Sonal Santan  <sonal.santan@xilinx.com>
+
+       * ldlang.c (lang_section_bst): New structure for sorting sections
+       by name.
+       (wild_sort_fast): New function: Insert a section into a binary
+       search tree.
+       (output_section_callback_fast): New function: Store a section in
+       BST.
+       (output_section_callback_tree_to_list): New function: Convert a
+       BST into a list.
+       (analyze_walk_wild_section_handler): Initialize handler_data
+       elements.
+       (wild): If the data is sorted by name use the BST method to sort
+       the names.
+
+2006-07-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.h (handle_asneeded_cref): Declare.
+       * ldcref.c: Include objalloc.h.
+       (old_table, old_count, old_tab, alloc_mark): New variables.
+       (tabsize, entsize, refsize, old_symcount): Likewise.
+       (add_cref): Use bfd_hash_allocate for refs.
+       (handle_asneeded_cref): New function.
+       * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
+
+2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
+
+       * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
+       typo setting targ_extra_libpath.
+
+2006-07-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Add .gnu.hash section.
+       * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
+       (gld${EMULATION_NAME}_add_options): Register --hash-style option.
+       (gld${EMULATION_NAME}_handle_option): Handle it.
+       (gld${EMULATION_NAME}_list_options): Document it.
+       * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
+       * ld.texinfo: Document --hash-style option.
+
+2006-07-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_TW.po: New Chinese (traditional) translation.
+       * configure.in (ALL_LINGUAS): Add zh_TW.
+       * configure: Regenerate.
+
+2006-07-07  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2874
+       * ld.texinfo: Remove "Using LD" from the title since it is
+       redundant.
+
+2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
+
+       PR ld/2877
+       * ld.texinfo: Fix spelling mistakes.
+
+2006-06-27  Pedro Alves  <pedro_alves@portugalmail.pt>
+           Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
+       length of format strings in the libname_fmt[] array, rather than
+       relying upon a statically chosen value.  Adjust xmalloc call to
+       use this longest length.
+
+2006-06-27  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
+       -rpath-link.
+
+2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
+       targ_extra_libpath.
+
+2006-06-23  Pedro Alves <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (pe_details_type): Add new pointer for symbols list
+       autofilter.
+       (autofilter_symbollist): Split into autofilter_symbollist_generic
+       and autofilter_symbollist_i386.
+       (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
+       autofilter_symbollist_generic for all the others.
+       (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
+       cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
+       into autofilter_symbollist_i386.
+       (auto_export): Get autofilter_symbollist from pe_details.
+
+2006-06-22  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2757
+       * emultempl/pe.em (gld_$_after_open): When reporting non PE format
+       output files mention the file name and the fact that it is an
+       output file.
+
+2006-06-22  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
+       Restructure.  Add native "%s.lib" format to search list
+       * ld.texinfo (node WIN32): Update documentation on dynamic lib
+       search order. Add another reason for using import libs.
+
+2006-06-21  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * ldlang.c (lang_insert_orphan): Correctly handle the case where
+       the section is to end up after the section currently at the end
+       of the list in output_bfd.
+
+2006-06-21  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * emultempl/mmo.em: Improve comments.  Explain why there's
+       ELF-stuff here.
+
+2006-06-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
+       loop to ten iterations.  Throw away any previous linker generated
+       segment map.
+       * ldlang.c (lang_phdr_list): Make global.
+       * ldlang.h (lang_phdr_list): Declare.
+       * Makefile.am (ELF_GEN_DEPS): Define.  Use in emul deps.
+       * Makefile.in: Regenerate.
+
+2006-06-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
+       many ELF emul file deps that incorrectly said they needed elf32.em
+       instead of generic.em.  Add genelf.em as required.
+       * Makefile.in: Regenerate.
+       * ldlang.c (lang_process): Call ldemul_finish before
+       lang_check_section_addresses.
+       * emulparams/arcelf.sh: Generic elf target needs genelf.
+       * emulparams/d30v_e.sh: Likewise.
+       * emulparams/d30v_o.sh: Likewise.
+       * emulparams/d30velf.sh: Likewise.
+       * emulparams/elf32_dlx.sh: Likewise.
+       * emulparams/elf32_i860.sh: Likewise.
+       * emulparams/elf32fr30.sh: Likewise.
+       * emulparams/elf32frv.sh: Likewise.
+       * emulparams/elf32iq10.sh: Likewise.
+       * emulparams/elf32iq2000.sh: Likewise.
+       * emulparams/elf32mt.sh: Likewise.
+       * emulparams/mn10200.sh: Likewise.
+       * emulparams/or32.sh: Likewise.
+       * emulparams/or32elf.sh: Likewise.
+       * emulparams/pjelf.sh: Likewise.
+       * emulparams/msp430all.sh: Likewise.  Extract common entries.
+       * emulparams/pjlelf.sh: Include pjelf.sh.
+       * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
+       * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
+       * emultempl/elf-generic.em: New file.
+       * emultempl/genelf.em: New file.
+       * emultempl/elf32.em: Include elf-generic.em.
+       (gld${EMULATION_NAME}_layout_sections_again): Delete.
+       (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
+       * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
+       (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
+       gld${EMULATION_NAME}_map_segments.
+       (LDEMUL_FINISH): Update.
+       * emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
+       source elf-generic.em.
+       (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
+       * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
+       (gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
+       gld${EMULATION_NAME}_map_segments.
+       (LDEMUL_FINISH): Update.
+
+2006-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
+
+2006-06-14  Kevin F. Quinn  <kevquinn@gentoo.org>
+
+       * ld.texinfo: Document new -z lazy option.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
+       new option.
+       (gld${EMULATION_NAME}_list_options): Update help text.
+
+2006-06-12  Fred Fish  <fnf@specifix.com>
+
+       * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
+       ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
+       generated by mips gcc.
+
+2006-06-12  Thiemo Seufer  <ths@mips.com>
+
+       * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
+       Define.
+
+2006-06-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
+       * ldlang.c (struct out_section_hash_entry): Rename from
+       output_statement_hash_entry.  Delete output_section_statement_type
+       entry.  Add statement_union_type entry.  Adjust all users.
+       (output_section_statement_table): Rename from output_statement_table.
+       Adjust all users.
+       (output_section_statement_newfunc): Rename from
+       output_statement_newfunc.  Adjust all users.
+       (output_section_statement_table_init): Rename from
+       output_statement_table_init.  Adjust all users.
+       (output_section_statement_table_free): Rename from
+       output_statement_table_free.  Adjust all users.
+
+2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * po/Make-in (pdf, ps): New dummy targets.
+
+2006-06-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.h (enum section_type): Delete dsect_section, copy_section,
+       info_section and overlay_section.  Add noalloc_section.
+       * ldlang.c (lang_add_section): Adjust.
+       * ldgram.y (type): Adjust.
+
+2006-06-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (init_os): Whitespace.
+       (map_input_to_output_sections): Don't init_os for lang_input_section.
+       (print_all_symbols): Remove forward declaration.  Convert to ISO C.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/Make-in (top_builddir): Define.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (exp_get_abs_int): Make error message the same as
+       others emitted in this file.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * config.in: Regenerate.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lookup_name): Delete dead code.  Remove FIXMEs.
+
+2006-06-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (global_found): Make it a pointer.
+       (stat_needed, try_needed): Adjust.
+       (check_needed): Don't skip non-loaded as-needed entries.  Only
+       consider entries with both filename and the_bfd non-null.
+       (after_open): Try loading non-loaded as-needed libs to satisfy
+       DT_NEEDED libs.
+
+2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
+       * Makefile.in: Regenerate.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
+       and LIBINTL_DEP everywhere.
+       (INTLLIBS): Remove.
+       (INCLUDES): Use @INCINTL@.
+       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
+       Remove local code for po/Makefile.
+       * Makefile.in, configure: Regenerated.
+
+2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
+       "CONSTANT (MAXPAGESIZE)".
+       * emulparams/armelf_nbsd.sh: Likewise.
+       * emulparams/armelf_vxworks.sh: Likewise.
+       * emulparams/armnto.sh: Likewise.
+       * emulparams/armsymbian.sh: Likewise.
+       * emulparams/crislinux.sh: Likewise.
+       * emulparams/elf32_i860.sh: Likewise.
+       * emulparams/elf32_i960.sh: Likewise.
+       * emulparams/elf32am33lin.sh: Likewise.
+       * emulparams/elf32bfinfd.sh: Likewise.
+       * emulparams/elf32bmipn32-defs.sh: Likewise.
+       * emulparams/elf32frvfd.sh: Likewise.
+       * emulparams/elf32i370.sh: Likewise.
+       * emulparams/elf32lppcnto.sh: Likewise.
+       * emulparams/elf32mcore.sh: Likewise.
+       * emulparams/elf32openrisc.sh: Likewise.
+       * emulparams/elf32ppcnto.sh: Likewise.
+       * emulparams/elf32ppcwindiss.sh: Likewise.
+       * emulparams/elf32vax.sh: Likewise.
+       * emulparams/elf32xc16x.sh: Likewise.
+       * emulparams/elf32xc16xl.sh: Likewise.
+       * emulparams/elf32xc16xs.sh: Likewise.
+       * emulparams/elf64_aix.sh: Likewise.
+       * emulparams/elf64hppa.sh: Likewise.
+       * emulparams/elf64mmix.sh: Likewise.
+       * emulparams/elf_i386_be.sh: Likewise.
+       * emulparams/elf_i386_chaos.sh: Likewise.
+       * emulparams/elf_i386_ldso.sh: Likewise.
+       * emulparams/hppa64linux.sh: Likewise.
+       * emulparams/hppalinux.sh: Likewise.
+       * emulparams/hppaobsd.sh: Likewise.
+       * emulparams/i386lynx.sh: Likewise.
+       * emulparams/i386moss.sh: Likewise.
+       * emulparams/i386nto.sh: Likewise.
+       * emulparams/i386nw.sh: Likewise.
+       * emulparams/m32relf_linux.sh: Likewise.
+       * emulparams/m68kpsos.sh: Likewise.
+       * emulparams/or32elf.sh: Likewise.
+       * emulparams/pjelf.sh: Likewise.
+       * emulparams/pjlelf.sh: Likewise.
+       * emulparams/ppclynx.sh: Likewise.
+       * emulparams/ppcnw.sh: Likewise.
+       * emulparams/shelf32_nbsd.sh : Likewise.
+       * emulparams/shelf_nbsd.sh: Likewise.
+       * emulparams/shelf_nto.sh: Likewise.
+       * emulparams/shlelf_nto.sh: Likewise.
+       * emulparams/xtensa-config.sh: Likewise.
+
+       * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
+       "CONSTANT (MAXPAGESIZE)".
+       (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
+       * emulparams/elf32_sparc.sh: Likewise.
+       * emulparams/elf32bmip.sh: Likewise.
+       * emulparams/elf32ppccommon.sh: Likewise.
+       * emulparams/elf64_ia64.sh: Likewise.
+       * emulparams/elf64_s390.sh: Likewise.
+       * emulparams/elf64_sparc.sh: Likewise.
+       * emulparams/elf64alpha.sh: Likewise.
+       * emulparams/elf64ppc.sh: Likewise.
+       * emulparams/elf_i386.sh: Likewise.
+       * emulparams/elf_i386_vxworks.sh: Likewise.
+       * emulparams/elf_s390.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emulparams/shlelf32_linux.sh: Likewise.
+       * emulparams/shlelf_linux.sh: Likewise.
+
+       * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
+       "CONSTANT (COMMONPAGESIZE)".
+       * emulparams/elf32btsmipn32.sh: Likewise.
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
+       "-z max-page-size=" and "-z common-page-size=".
+       (gld${EMULATION_NAME}_list_options): Likewise.
+
+       * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
+
+       * ld.texinfo: Document "-z max-page-size=" and
+       "-z common-page-size=".
+
+       * ldexp.c (exp_print_token): Handle CONSTANT.
+       (fold_name): Likewise.
+       * ldgram.y: Likewise.
+       * ldlex.l: Likewise.
+
+       * ldmain.c (main): Initiliaze config.maxpagesize and
+       config.commonpagesize. Call bfd_emul_set_maxpagesize if
+       config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
+       config.commonpagesize config.maxpagesize isn't 0.
+
+2006-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
+
+2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/1485
+       * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
+       bfd.  Support 64bit host for --enable-targets=all.
+       * configure: Regenerated.
+
+2006-05-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: Updated Vietnamese translation.
+
+2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * configure.tgt: Add avr6 to emulation list.
+       * Makefile.am: Add eavr6.o and corresponding rule.
+       * Makefile.in: Regenerate.
+       * emulparams/avr6.sh: New file.
+       * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
+       for target option support.
+       (EXTRA_EM_FILE): Add reference to new em template file avrelf.
+       * scripttempl/avr.sc: Add ".trampolines" section.
+       * emultempl/avrelf.em: Add new file for target specific options.
+
+2006-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
+
+2006-05-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_size_sections_1): Don't check mem regions for
+       os->ignored sections.
+
+2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
+       before redoing one_lang_size_sections_pass.
+
+2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * ld.texinfo: Rename "Index" to "LD Index"
+
+2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (autofilter_symbollist): Add Dllmain,
+       DllMainCRTStartup, _DllMainCRTStartup and .text.
+       (autofilter_liblist): Add libcegcc.
+       (autofilter_symbolprefixlist): Add __imp_ and .idata$.
+       (generate_reloc): Do not skip sections without a SEC_LOAD flag,
+       they can still contain relocs that need processing.
+       Skip the .idata$6 section.
+       (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
+       (make_one): Use the new array.
+       (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
+       * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
+
+2006-05-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo: Document PowerPC and PowerPC64 options.
+       * gen-doc.texi: Enable.
+
+2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
+       (TEXI2POD): Use AM_MAKEINFOFLAGS.
+       (configdoc.texi): Don't set top_srcdir.
+       * ld.texinfo: Don't use top_srcdir.
+       * aclocal.m4, Makefile.in: Regenerated.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (wild): Tidy default_common_section loop.
+       (print_input_section): Format.
+
+       * configure: Regenerate.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/POTFILES.in: Regenerated.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config.in: Regenerated.
+
+2006-04-14  David Heine  <dlheine@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
+       function to strip inconsistent linkonce sections.
+       (input_section_linked_worker, input_section_linked): New.
+       (is_inconsistent_linkonce_section): New.
+       (xtensa_strip_inconsistent_linkonce_sections): New.
+
+2006-04-11  Diego Pettenò  <flameeyes@gentoo.org>
+
+       * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
+       and Dragonfly targets.
+       * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
+       * Makefile.am (HFILES): Add elf-hints-local.h.
+       * elf-hints-local.h: New file.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * ld.texinfo: Fix typo in documentation of --check-sections.
+
+2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * ldlang.c (load_symbols): Set as_needed and add_needed according
+       to the corresponding script's fields while processing it.
+
+2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.am: Add install-html, install-html-am, and
+       install-html-recursive targets.
+       * Makefile.in: Regenerate.
+       * configure.in: AC_SUBST datarootdir, docdir, htmldir.
+       * configure: Regenerate.
+       * po/Make-in: Add install-html target.
+
+2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
+       link_info.need_relax_finalize.
+
+       * ldlang.c (relax_sections): New.
+       (lang_process): Use. Call relax_sections link_info.relax_pass
+       times.
+
+       * ldmain.c (main): Set link_info.relax_pass to 1. Remove
+       link_info.need_relax_finalize.
+
+2006-04-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (GENSCRIPTS): Pass prefix.
+       * Makefile.in: Regenerate.
+       * genscripts.sh: Adjust for extra parameter.
+       * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
+       exists.
+       (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
+       * NEWS: Update.
+
+2006-04-05  Richard Sandiford  <richard@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.tgt (sparc*-*-vxworks*): New stanza.
+       * emulparams/elf32_sparc_vxworks.sh: New file.
+       * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
+       (eelf32_sparc_vxworks.c): New rule.
+       * Makefile.in: Regenerate.
+
+2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * ldlang.c (lang_map): Print the list of discarded input sections.
+       (print_input_section): Change parameter and print zero-sized sections.
+       (print_statement): Adjust call to print_input_section.
+
+2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * deffilep.y (def_image_name): If LIBRARY or NAME statement
+       specifies an empty string, retain the name specified on command
+       line.
+       * ld.texinfo: Document above.
+
+2006-03-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
+       bfd_find_nearest_line succeeded for %C or %D, but filename
+       is NULL, print section+offset at the end.
+
+2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * emulparams/elf32bfinfd.sh: New file.
+       * emultempl/bfin.em: Delete.
+       * emulparams/bfin.sh: Lose reference to bfin.em.
+       * Makefile.am (eelf32bfin.c): Likewise.
+       (eelf32bfinfd.c): New.
+       * Makefile.in: Regenerate.
+       * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
+       targ_extra_emuls.
+
+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>
+
+       * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
+       separate VxWorks emulations.
+       * emulparams/elf32ebmipvxworks.sh: New file.
+       * emulparams/elf32elmipvxworks.sh: New file.
+       * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
+       eelf32elmipvxworks.o.
+       (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
+       * Makefile.in: Regenerate.
+
+2006-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 2434
+       * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
+       * ldlang.c (output_statement_table_init, lang_init): Likewise.
+       * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
+       (undefined_symbol): Likewise.
+
+2006-03-07  Richard Sandiford  <richard@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Zack Weinberg  <zack@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Paul Brook  <paul@codesourcery.com>
+           Ricardo Anguiano  <anguiano@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+
+       * emulparams/armelf_vxworks.sh: Include vxworks.sh.
+       (MAXPAGESIZE): Define.
+       * emulparams/vxworks.sh: Undefine EMBEDDED.
+       * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
+       * Makefile.in: Regenerate.
+
+2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
+       Add KEEP() directives.
+       Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
+       .bss output sections.
+
+2006-03-03  Richard Sandiford  <richard@codesourcery.com>
+
+       * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
+       (EXTRA_EM_FILE): Define.
+       * emultempl/vxworks.em: New file.
+       * ld.texinfo (--force-dynamic): Document.
+       * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
+       on vxworks.em.
+       * Makefile.in: Regenerate.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * emulparams/elf32ppccommon.sh: New file, extracted from...
+       * emulparams/elf32ppc.sh: ...here.
+       * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
+       instead of elf32ppc.sh.
+       (BSS_PLT): Remove override.
+       * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
+       (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
+       (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
+       (eelf32ppclinux.c): Likewise.
+       (eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
+       * Makefile.in: Regenerate.
+
+2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.am: Add html target.
+       * Makefile.in: Regenerate.
+       * po/Make-in: Add html target.
+
+2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
+            Anil Paranjape   <anilp1@kpitcummins.com>
+            Shilin Shakti    <shilins@kpitcummins.com>
+
+       * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
+       * scripttemp/elf32xc16xl.sc: Default linker script for large model.
+       * scripttemp/elf32xc16xs.sc: Default linker script for small model.
+       * emulparams/elf32xc16x.sh: Emulation script for tiny model.
+       * emulparams/elf32xc16xl.sh: Emulation script for large model.
+       * emulparams/elf32xc16xs.sh: Emulation script for small model.
+       * Makefile.am: Add entry to make xc16x target.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Specify default and other emulation parameters
+       for xc16x.
+       * NEWS: Announce the support for the new target.
+
+2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
+
+       * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
+       Use the traditional target.
+
+2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * configure.tgt (arm*b-*-linux-gnueabi): Change to
+       arm*b-*-linux-*eabi.
+       (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
+
+2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2290
+       * NEWS: Updated for the Linux linker search order change.
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
+       gld${EMULATION_NAME}_check_ld_so_conf before checking default
+       search directories for DT_NEEDED entries.
+
+2006-02-07  Paul Brook  <paul@codesourcery.com>
+
+       * emultempl/armelf.em: Include elf/arm.h.
+       (arm_elf_finish): Set low address bit if enty point is a Thumb
+       function.
+
+2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * deffilep.y (def_image_name): If the image name does not have
+       a suffix, append the default.
+       * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
+
+2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
+
+       * NEWS: Mention support for forward exports in PE-COFF dll's.
+       * ld.texinfo: Expand documentation of EXPORT statements in
+       PE-COFF .def files.
+
+2006-01-31  Filip Navara  <navaraf@reactos.com>
+
+       * deffile.h (struct def_file_export): Add field flag_forward.
+       * pe-dll.c (process_def_file): Check for forward exports.
+       (generate_edata): Generate forward export symbols.
+       (fill_edata): Emit them.
+
+       * pe-dll.c (process_def_file): Don't crash on malformed
+       fastcall symbol names in .def file.
+
+2006-01-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: Updated Vietnamese translation.
+
+2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
+
+       * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
+       file:" as informational message, not a warning.
+
+2006-01-18  Roger Sayle  <roger@eyesopen.com>
+
+       * emultempl/irix.em: Use lbasename instead of basename.
+
+2006-01-16  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: New Chinese (simplified) translation.
+       * configure.in (ALL_LINGUAS): Add "zh_CH".
+       * configure: Regenerate.
+
+2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * ld.texinfo (Options): Fix typo.
+
+For older changes see ChangeLog-2005
+\f
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
index c28285c..68233e3 100644 (file)
        * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
        vqrshl instructions.
 
-2006-12-27  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k-dis.c (print_insn_arg): Add support for cac and mbb.
-
-2006-12-27  Kazu Hirata  <kazu@codesourcery.com>
-
-       * m68k-opc.c (m68k_opcodes): Add sleep and trapx.
-
-2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (o_mode): New for 16-byte operand.
-       (intel_operand_size): Generate "OWORD PTR " for o_mode.
-       (CMPXCHG8B_Fixup): Set bytemode to o_mode instead of x_mode.
-
-2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (CMPXCHG8B_Fixup): New.
-       (grps): Use CMPXCHG8B_Fixup for cmpxchg8b.
-
-2006-12-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (Eq): Replaced by ...
-       (Mq): New. This.
-       (Ma): Defined with OP_M instead of OP_E.
-       (grps): Updated cmpxchg8b and vmptrst for Eq -> Mq.
-       (OP_M): Added bound, cmpxchg8b and vmptrst to bad modrm list.
-
-2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/Make-in (.po.gmo): Put gmo files in objdir.
-
-2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (X86_64_1): New.
-       (X86_64_2): Likewise.
-       (X86_64_3): Likewise.
-       (dis386): Replace 0x60, 0x61 and 0x62 entries with x86-64
-       tables.
-       (x86_64_table): Add entries for 0x60, 0x61 and 0x62.
-
-2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c: Adjust white spaces.
-
-2006-12-04  Jan Beulich  <jbeulich@novell.com>
-
-       * i386-dis.c (OP_J): Update used_prefixes in v_mode.
-
-2006-11-30  Jan Beulich  <jbeulich@novell.com>
-
-       * i386-dis.c (SEG_Fixup): Delete.
-       (Sv): Use OP_SEG.
-       (putop): New suffix character 'D'.
-       (dis386): Use it.
-       (grps): Likewise.
-       (OP_SEG): Handle bytemode other than w_mode.
-
-2006-11-30  Jan Beulich  <jbeulich@novell.com>
-
-       * i386-dis.c (zAX): New.
-       (Xz): New.
-       (Yzr): New.
-       (z_mode): New.
-       (z_mode_ax_reg): New.
-       (putop): New suffix character 'G'.
-       (dis386): Use it for in, out, ins, and outs.
-       (intel_operand_size): Handle z_mode.
-       (OP_REG): Delete unreachable case indir_dx_reg.
-       (OP_IMREG): Fix Intel syntax output for case indir_dx_reg. Handle
-       z_mode_ax_reg.
-       (OP_ESreg): Fix Intel syntax operand size handling.
-       (OP_DSreg): Likewise.
-
-2006-11-30  Jan Beulich  <jbeulich@novell.com>
-
-       * i386-dis.c (dis386): Use 'R' and 'O' for cbw/cwd unconditionally.
-       (putop): For 'O' suffix, print 'q' in Intel mode, and mark data prefix
-       used. For 'R' and 'W' suffix, simplify and fix Intel mode.
-
-2006-11-29  Paul Brook  <paul@codesourcery.com>
-
-       * arm-dis.c (coprocessor_opcodes): Fix bitfields for fconstd/fconstd.
-
-2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * arm-dis.c (last_is_thumb): Delete.
-       (enum map_type, last_type): New.
-       (print_insn_data): New.
-       (get_sym_code_type): Take MAP_TYPE argument.  Check the type of
-       the right symbol.  Handle $d.
-       (print_insn): Check for mapping symbols even without a normal
-       symbol.  Adjust searching.  If $d is found see how much data
-       to print.  Handle data.
-
-2006-11-16  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k-opc.c (m68k_opcodes): Place trap instructions before set
-       conditionals.  Add tpf coldfire instruction as alias for trapf.
-
-2006-11-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (print_insn): Check PREFIX_REPNZ before
-       PREFIX_DATA when prefix user table is used.
-
-2006-11-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
-       (twobyte_uses_DATA_prefix): This.
-       (twobyte_uses_REPNZ_prefix): New.
-       (twobyte_uses_REPZ_prefix): Likewise.
-       (threebyte_0x38_uses_DATA_prefix): Likewise.
-       (threebyte_0x38_uses_REPNZ_prefix): Likewise.
-       (threebyte_0x38_uses_REPZ_prefix): Likewise.
-       (threebyte_0x3a_uses_DATA_prefix): Likewise.
-       (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
-       (threebyte_0x3a_uses_REPZ_prefix): Likewise.
-       (print_insn): Updated checking usages of DATA/REPNZ/REPZ
-       prefixes.
-
-2006-11-06  Troy Rollo  <troy@corvu.com.au>
-
-       * ppc-opc.c: Restore COM to mfcr wrongly removed 2003-07-04.
-
-2006-11-01  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score-opc.h (score_opcodes): Delete modifier '0x'.
-
-2006-10-30  Paul Brook  <paul@codesourcery.com>
-
-       * arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
-       (get_sym_code_type): New function.
-       (print_insn): Search for mapping symbols.
-
-2006-10-31  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score-dis.c (print_insn): Correct the error code to print
-       correct PCE instruction disassembly.
-
-2006-10-26  Ben Elliston  <bje@au.ibm.com>
-           Anton Blanchard  <anton@samba.org>
-           Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-opc.c (A_L, DCM, DGM, TE, RMC, R, SP, S, SH16, XRT_L, EH,
-       AFRALFRC_MASK, Z, ZRC, Z_MASK, XLRT_MASK, XEH_MASK): Define.
-       (POWER6): Define.
-       (powerpc_opcodes): Extend "lwarx", "ldarx", "dcbf", "fres", "fres.",
-       "frsqrtes", "frsqrtes." "fre", "fre.", "frsqrte" and "frsqrte.".
-       Add "doze", "nap", "sleep", "rvwinkle", "dcbfl", "prtyw", "prtyd",
-       "mfcfar", "cmpb", "lfdpx", "stfdpx", "mtcfar", "mffgpr", "mftgpr",
-       "lwzcix", "lhzcix", "lbzcix", "ldcix", "lfiwax", "stwcix", "sthcix",
-       "stbcix", "stdcix", "lfdp", "dadd", "dadd.", "dqua", "dqua.", "dmul",
-       "dmul.", "drrnd", "drrnd.", "dscli", "dscli.", "dquai", "dquai.",
-       "dscri", "dscri.", "drintx", "drintx.", "dcmpo", "dtstex", "dtstdc",
-       "dtstdg", "dtstsf", "drintn", "drintn.", "dctdp", "dctdp.", "dctfix",
-       "dctfix.", "ddedpd", "ddedpd.", "dxex", "dxex.", "dsub", "dsub.",
-       "ddiv", "ddiv.", "dcmpu", "drsp", "drsp.", "dcffix", "dcffix.",
-       "denbcd", "denbcd.", "diex", "diex.", "stfdp", "daddq", "daddq.",
-       "dquaq", "dquaq.", "fcpsgn", "fcpsgn.", "dmulq", "dmulq.",
-       "drrndq", "drrndq.", "dscliq", "dscliq.", "dquaiq", "dquaiq.",
-       "dscriq", "dscriq.", "drintxq", "drintxq.", "dcmpoq", "dtstexq",
-       "dtstdcq", "dtstdgq", "dtstsfq", "drintnq", "drintnq.",
-       "dctqpq", "dctqpq.", "dctfixq", "dctfixq.", "ddedpdq", "ddedpdq.",
-       "dxexq", "dxexq.", "dsubq", "dsubq.", "ddivq", "ddivq.", "dcmpuq",
-       "drdpq", "drdpq.", "dcffixq", "dcffixq.", "denbcdq", "denbcdq.",
-       "diexq" and "diexq." opcodes.
-
-2006-10-26  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * h8300-dis.c (bfd_h8_disassemble): Add missing consts.
-
-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-dis.c: New file.
-       * spu-opc.c: New file.
-       * configure.in: Add SPU support.
-       * disassemble.c: Likewise.
-       * Makefile.am: Likewise.  Run "make dep-am".
-       * Makefile.in: Regenerate.
-       * configure: Regenerate.
-       * po/POTFILES.in: Regenerate.
-
-2006-10-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-
-       * ppc-opc.c (CELL): New define.
-       (powerpc_opcodes): Enable hrfid for Cell.  Add ldbrx and stdbrx,
-       cell specific instructions.  Add {st,l}x{r,l}{,l} cell specific
-       VMX instructions.
-       * ppc-dis.c (powerpc_dialect): Handle cell.
-
-2006-10-23  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
-
-       * i386-dis.c (dis386): Add support for the change in POPCNT opcode in 
-       amdfam10 architecture.
-       (PREGRP37): NEW.
-       (print_insn): Disallow REP prefix for POPCNT.
-        
-2006-10-20  Andrew Stubbs  <andrew.stubbs@st.com>
-
-       * sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB
-       duplicating it.
-
-2006-10-18  Dave Brolley  <brolley@redhat.com>
-
-       * configure.in (BFD_MACHINES): Add cgen-bitset.lo for bfd_sh_arch.
-       * configure: Regenerated.
-
-2006-09-29  Alan Modra  <amodra@bigpond.net.au>
-
-       * po/POTFILES.in: Regenerate.
-
-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-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may
-       only be used with the default multiply-add operation, so if N is
-       set, don't bother printing X.  Add new iwmmxt instructions.
-       (IWMMXT_INSN_COUNT): Update.
-       (iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14
-       with a 'c' suffix.
-       (print_insn_coprocessor): Check for iWMMXt2.  Handle format
-       specifiers 'r', 'i'.
-
-2006-09-24  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
-
-       PR binutils/3100
-       * i386-dis.c (prefix_user_table): Fix the second operand of
-       maskmovdqu instruction to allow only %xmm register instead of
-       both %xmm register and memory.
-
-2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/3235
-       * i386-dis.c (OP_OFF64): Get 32bit offset if there is an
-       address size prefix.
-
-2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
-
-       * score-dis.c: New file.
-       * score-opc.h: New file.
-       * Makefile.am: Add Score files.
-       * Makefile.in: Regenerate.
-       * configure.in: Add support for Score target.
-       * configure: Regenerate.
-       * disassemble.c: Add support for Score target.
-
-2006-09-16  Nick Clifton  <nickc@redhat.com>
-           Pedro Alves  <pedro_alves@portugalmail.pt>
-
-       * arm-dis.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
-       macros defined in bfd.h.
-       * cris-dis.c: Likewise.
-       * h8300-dis.c: Likewise.
-       * i386-dis.c: Likewise.
-       * ia64-gen.c: Likewise.
-       * mips-dis: Likewise.
-
-2006-09-04  Paul Brook  <paul@codesourcery.com>
-
-       * arm-dis.c (neon_opcode): Fix suffix on VMOVN.
-
-2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (three_byte_table): Expand to 256 elements.
-
-2006-08-04  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
-
-       PR binutils/3000
-       * i386-dis.c (MXC,EMC): Define.
-       (OP_MXC): New function to handle cvt* (convert instructions) between
-       %xmm and %mm register correctly.
-       (OP_EMC): ditto.        
-       (prefix_user_table): Modified cvtpi2pd,cvtpd2pi and cvttpd2pi 
-       instruction operands in PREGRP2,PREGRP3,PREGRP4 appropriately 
-       with EMC/MXC.
-
-2006-07-29  Richard Sandiford  <richard@codesourcery.com>
-
-       * m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire
-       "fdaddl" entry.
-
-2006-07-19  Paul Brook  <paul@codesourcery.com>
-
-       * armd-dis.c (arm_opcodes): Fix rbit opcode.
-
-2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (grps): Change "sldtQ", "strQ" and "smswQ" to
-       "sldt", "str" and "smsw".
-
-2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2829
-       * i386-dis.c (GRP11_C6): NEW.
-       (GRP11_C7): Likewise.
-       (GRP12): Updated.
-       (GRP13): Likewise.
-       (GRP14): Likewise.
-       (GRP15): Likewise.
-       (GRP16): Likewise.
-       (GRPAMD): Likewise.
-       (GRPPADLCK1): Likewise.
-       (GRPPADLCK2): Likewise.
-       (dis386): Use GRP11_C6 and GRP11_C7 for entres 0xc6 and 0xc7,
-       respectively.
-       (grps): Add entries for GRP11_C6 and GRP11_C7.
-
-2006-07-10 Dwarakanath Rajagopal       <dwarak.rajagopal@amd.com>
-          Michael Meissner             <michael.meissner@amd.com>
-
-       * i386-dis.c (dis386): Add support for 4 operand instructions. Add
-       support for amdfam10 SSE4a/ABM instructions. Modify all
-       initializer macros to have additional arguments. Disallow REP
-       prefix for non-string instructions.
-       (print_insn): Ditto.
-
-2006-07-05  Julian Brown  <julian@codesourcery.com>
-
-       * arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.
-
-2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (dis386_twobyte): Use "nopQ" for 0x1f.
-       (twobyte_has_modrm): Set 1 for 0x1f.
-
-2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (NOP_Fixup): Removed.
-       (NOP_Fixup1): New.
-       (NOP_Fixup2): Likewise.
-       (dis386): Use NOP_Fixup1 and NOP_Fixup2 on 0x90.
-
-2006-06-12  Julian Brown  <julian@codesourcery.com>
-
-       * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as signed
-       on 64-bit hosts.
-
-2006-06-10  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386.c (GRP10): Renamed to ...
-       (GRP12): This.
-       (GRP11): Renamed to ...
-       (GRP13): This.
-       (GRP12): Renamed to ...
-       (GRP14): This.
-       (GRP13): Renamed to ...
-       (GRP15): This.
-       (GRP14): Renamed to ...
-       (GRP16): This.
-       (dis386_twobyte): Updated.
-       (grps): Likewise.
-
-2006-06-09  Nick Clifton  <nickc@redhat.com>
-
-       * po/fi.po: Updated Finnish translation.
-
-2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
-
-       * po/Make-in (pdf, ps): New dummy targets.
-
-2006-06-06  Paul Brook  <paul@codesourcery.com>
-
-       * arm-dis.c (coprocessor_opcodes): Add %c to unconditional arm
-       instructions.
-       (neon_opcodes): Add conditional execution specifiers.
-       (thumb_opcodes): Ditto.
-       (thumb32_opcodes): Ditto.
-       (arm_conditional): Change 0xe to "al" and add "" to end.
-       (ifthen_state, ifthen_next_state, ifthen_address): New.
-       (IFTHEN_COND): Define.
-       (print_insn_coprocessor, print_insn_neon): Print thumb conditions.
-       (print_insn_arm): Change %c to use new values of arm_conditional.
-       (print_insn_thumb16): Print thumb conditions.  Add %I.
-       (print_insn_thumb32): Print thumb conditions.
-       (find_ifthen_state): New function.
-       (print_insn): Track IT block state.
-
-2006-06-06  Ben Elliston  <bje@au.ibm.com>
-           Anton Blanchard  <anton@samba.org>
-           Peter Bergner  <bergner@vnet.ibm.com>
-
-       * ppc-dis.c (powerpc_dialect): Handle power6 option.
-       (print_ppc_disassembler_options): Mention power6.
-
-2006-06-06  Thiemo Seufer  <ths@mips.com>
-            Chao-ying Fu  <fu@mips.com>
-
-       * mips-dis.c: Disassemble DSP64 instructions for MIPS64R2.
-       * mips-opc.c: Add DSP64 instructions.
-
-2006-06-06  Alan Modra  <amodra@bigpond.net.au>
-
-       * m68hc11-dis.c (print_insn): Warning fix.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/Make-in (top_builddir): Define.
-
-2006-06-05  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
-       * config.in: Regenerate.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.am (INCLUDES): Use @INCINTL@.
-       * acinclude.m4: Include new gettext macros.
-       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
-       Remove local code for po/Makefile.
-       * Makefile.in, aclocal.m4, configure: Regenerated.
-
-2006-05-30  Nick Clifton  <nickc@redhat.com>
-
-       * po/es.po: Updated Spanish translation.
-
-2006-05-25  Richard Sandiford  <richard@codesourcery.com>
-
-       * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
-       and fmovem entries.  Put register list entries before immediate
-       mask entries.  Use "l" rather than "L" in the fmovem entries.
-       * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
-       out from INFO.
-       (m68k_scan_mask): New function, split out from...
-       (print_insn_m68k): ...here.  If no architecture has been set,
-       first try printing an m680x0 instruction, then try a Coldfire one.
-
-2006-05-24  Nick Clifton  <nickc@redhat.com>
-
-       * po/ga.po: Updated Irish translation.
-
-2006-05-22  Nick Clifton  <nickc@redhat.com>
-
-       * crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.
-
-2006-05-22  Nick Clifton  <nickc@redhat.com>
-
-       * po/nl.po: Updated translation.
-
-2006-05-18  Alan Modra  <amodra@bigpond.net.au>
-
-       * avr-dis.c: Formatting fix.
-
-2006-05-14  Thiemo Seufer  <ths@mips.com>
-
-       * mips16-opc.c (I1, I32, I64): New shortcut defines.
-       (mips16_opcodes): Change membership of instructions to their
-       lowest baseline ISA.
-
-2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (grps): Update sgdt/sidt for 64bit.
-
-2006-05-05  Julian Brown  <julian@codesourcery.com>
-
-       * arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
-       vldm/vstm.
-
-2006-05-05  Thiemo Seufer  <ths@mips.com>
-            David Ung  <davidu@mips.com>
-
-       * mips-opc.c: Add macro for cache instruction.
-
-2006-05-04  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * mips-dis.c (mips_arch_choices): Add smartmips instruction
-       decoding to MIPS32 and MIPS32R2.  Limit DSP decoding to release
-       2 ISAs.  Add MIPS3D decoding to MIPS32R2.  Add MT decoding to
-       MIPS64R2.
-       * mips-opc.c: fix random typos in comments.
-       (INSN_SMARTMIPS): New defines.
-       (mips_builtin_opcodes): Add paired single support for MIPS32R2.
-       Move bc3f, bc3fl, bc3t, bc3tl downwards.  Move flushi, flushd,
-       flushid, wb upwards.  Move cfc3, ctc3 downwards.  Rework the
-       FP_S and FP_D flags to denote single and double register
-       accesses separately.  Move dmfc3, dmtc3, mfc3, mtc3 downwards.
-       Allow jr.hb and jalr.hb for release 1 ISAs.  Allow luxc1, suxc1
-       for MIPS32R2.  Add SmartMIPS instructions.  Add two-argument
-       variants of bc2f, bc2fl, bc2t, bc2tl.  Add mfhc2, mthc2 to
-       release 2 ISAs.
-       * mips16-opc.c (mips16_opcodes): Add sdbbp instruction.
-
-2006-05-03  Thiemo Seufer  <ths@mips.com>
-
-       * mips-opc.c (mips_builtin_opcodes): Fix mftr argument order.
-
-2006-05-02  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-            David Ung  <davidu@mips.com>
-
-       * mips-dis.c (print_insn_args): Force mips16 to odd addresses.
-       (print_mips16_insn_arg): Force mips16 to odd addresses.
-
-2006-04-30  Thiemo Seufer  <ths@mips.com>
-            David Ung  <davidu@mips.com>
-
-       * mips-opc.c (mips_builtin_opcodes): Add udi instructions
-       "udi0" to "udi15".
-       * mips-dis.c (print_insn_args): Adds udi argument handling.
-
-2006-04-28  James E Wilson  <wilson@specifix.com>
-
-       * m68k-dis.c (match_insn_m68k): Restore fprintf_func before printing
-       error message.
-
-2006-04-28  Thiemo Seufer  <ths@mips.com>
-            David Ung  <davidu@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * mips-dis.c (mips_cp0sel_names_mips3264r2): Add MT register
-       names.
-
-2006-04-28  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-            David Ung  <davidu@mips.com>
-
-       * mips-dis.c (print_insn_args): Add mips_opcode argument.
-       (print_insn_mips):  Adjust print_insn_args call.
-
-2006-04-28  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-
-       * mips-dis.c (print_insn_args): Print $fcc only for FP
-       instructions, use $cc elsewise.
-
-2006-04-28  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-
-       * opcodes/mips-dis.c (mips16_to_32_reg_map, mips16_reg_names):
-       Map MIPS16 registers to O32 names.
-       (print_mips16_insn_arg): Use mips16_reg_names.
-
-2006-04-26  Julian Brown  <julian@codesourcery.com>
-
-       * arm-dis.c (print_insn_neon): Disassemble floating-point constant
-       VMOV.
-
-2006-04-26  Nathan Sidwell  <nathan@codesourcery.com>
-           Julian Brown  <julian@codesourcery.com>
-
-       * opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
-       %<code>[zy] into %[zy]<code>.  Expand meaning of %<bitfield>['`?].
-       Add unified load/store instruction names.
-       (neon_opcode_table): New.
-       (arm_opcodes): Expand meaning of %<bitfield>['`?].
-       (arm_decode_bitfield): New.
-       (print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
-       Use arm_decode_bitfield and adjust numeric specifiers. Adjust %z & %y.
-       (print_insn_neon): New.
-       (print_insn_arm): Adjust print_insn_coprocessor call. Call
-       print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
-       (print_insn_thumb32): Likewise.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
-
-2006-04-19  Alan Modra  <amodra@bigpond.net.au>
-
-       * avr-dis.c (avr_operand): Warning fix.
-
-       * configure: Regenerate.
-
-2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * po/POTFILES.in: Regenerated.
-
-2006-04-12   Hochstein  <hochstein@algo.informatik.tu-darmstadt.de>
-
-       PR binutils/2454
-       * avr-dis.c (avr_operand): Arrange for a comment to appear before
-       the symolic form of an address, so that the output of objdump -d
-       can be reassembled.
-
-2006-04-10  DJ Delorie  <dj@redhat.com>
-
-       * m32c-asm.c: Regenerate.
-
-2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * Makefile.am: Add install-html target.
-       * Makefile.in: Regenerate.
-
-2006-04-06  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi/po: Updated Vietnamese translation.
-
-2006-03-31  Paul Koning  <ni1d@arrl.net>
-
-       * pdp11-opc.c (pdp11_opcodes): Fix opcode for SEC instruction.
-
-2006-03-16  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-       * bfin-dis.c (decode_dsp32shiftimm_0): Simplify and correct the
-       logic to identify halfword shifts.
-
-2006-03-16  Paul Brook  <paul@codesourcery.com>
-
-       * arm-dis.c (arm_opcodes): Rename swi to svc.
-       (thumb_opcodes): Ditto.
-
-2006-03-13  DJ Delorie  <dj@redhat.com>
-
-       * m32c-asm.c: Regenerate.
-       * m32c-desc.c: Likewise.
-       * m32c-desc.h: Likewise.
-       * m32c-dis.c: Likewise.
-       * m32c-ibld.c: Likewise.
-       * m32c-opc.c: Likewise.
-       * m32c-opc.h: Likewise.
-
-2006-03-10  DJ Delorie  <dj@redhat.com>
-
-       * m32c-desc.c: Regenerate with mul.l, mulu.l.
-       * m32c-opc.c: Likewise.
-       * m32c-opc.h: Likewise.
-
-
-2006-03-09  Nick Clifton  <nickc@redhat.com>
-
-       * po/sv.po: Updated Swedish translation.
-
-2006-03-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR binutils/2428
-       * i386-dis.c (REP_Fixup): New function.
-       (AL): Remove duplicate.
-       (Xbr): New.
-       (Xvr): Likewise.
-       (Ybr): Likewise.
-       (Yvr): Likewise.
-       (indirDXr): Likewise.
-       (ALr): Likewise.
-       (eAXr): Likewise.
-       (dis386): Updated entries of ins, outs, movs, lods and stos.
-
-2006-03-05  Nick Clifton  <nickc@redhat.com>
-
-       * cgen-ibld.in (insert_normal): Cope with attempts to insert a
-       signed 32-bit value into an unsigned 32-bit field when the host is
-       a 64-bit machine.
-       * fr30-ibld.c: Regenerate.
-       * frv-ibld.c: Regenerate.
-       * ip2k-ibld.c: Regenerate.
-       * iq2000-asm.c: Regenerate.
-       * iq2000-ibld.c: Regenerate.
-       * m32c-ibld.c: Regenerate.
-       * m32r-ibld.c: Regenerate.
-       * openrisc-ibld.c: Regenerate.
-       * xc16x-ibld.c: Regenerate.
-       * xstormy16-ibld.c: Regenerate.
-
-2006-03-03 Shrirang Khisti <shrirangk@kpitcummins.com)
-
-       * xc16x-asm.c: Regenerate.
-       * xc16x-dis.c: Regenerate.
-
-2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * po/Make-in: Add html target.
-
-2006-02-27  H.J. Lu <hongjiu.lu@intel.com>
-
-       * i386-dis.c (IS_3BYTE_OPCODE): New for 3-byte opcodes used by
-       Intel Merom New Instructions.
-       (THREE_BYTE_0): Likewise.
-       (THREE_BYTE_1): Likewise.
-       (three_byte_table): Likewise.
-       (dis386_twobyte): Use THREE_BYTE_0 for entry 0x38. Use
-       THREE_BYTE_1 for entry 0x3a.
-       (twobyte_has_modrm): Updated.
-       (twobyte_uses_SSE_prefix): Likewise.
-       (print_insn): Handle 3-byte opcodes used by Intel Merom New
-       Instructions.
-
-2006-02-24  David S. Miller  <davem@sunset.davemloft.net>
-
-       * sparc-dis.c (v9_priv_reg_names): Add "gl" entry.
-       (v9_hpriv_reg_names): New table.
-       (print_insn_sparc): Allow values up to 16 for '?' and '!'.
-       New cases '$' and '%' for read/write hyperprivileged register.
-       * sparc-opc.c (sparc_opcodes): Add new entries for UA2005
-       window handling and rdhpr/wrhpr instructions.
-       
-2006-02-24  DJ Delorie  <dj@redhat.com>
-
-       * m32c-desc.c: Regenerate with linker relaxation attributes.
-       * m32c-desc.h: Likewise.
-       * m32c-dis.c: Likewise.
-       * m32c-opc.c: Likewise.
-
-2006-02-24  Paul Brook  <paul@codesourcery.com>
-
-       * arm-dis.c (arm_opcodes): Add V7 instructions.
-       (thumb32_opcodes): Ditto.  Handle V7M MSR/MRS variants.
-       (print_arm_address): New function.
-       (print_insn_arm): Use it.  Add 'P' and 'U' cases.
-       (psr_name): New function.
-       (print_insn_thumb32): Add 'U', 'C' and 'D' cases.
-
-2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ia64-opc-i.c (bXc): New.
-       (mXc): Likewise.
-       (OpX2TaTbYaXcC): Likewise.
-       (TF). Likewise.
-       (TFCM). Likewise.
-       (ia64_opcodes_i): Add instructions for tf.
-
-       * ia64-opc.h (IMMU5b): New.
-
-       * ia64-asmtab.c: Regenerated.
-
-2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ia64-gen.c: Update copyright years.
-       * ia64-opc-b.c: Likewise.
-
-2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * ia64-gen.c (lookup_regindex): Handle ".vm".
-       (print_dependency_table): Handle '\"'.
-
-       * ia64-ic.tbl: Updated from SDM 2.2.
-       * ia64-raw.tbl: Likewise.
-       * ia64-waw.tbl: Likewise.
-       * ia64-asmtab.c: Regenerated.
-
-       * ia64-opc-b.c (ia64_opcodes_b): Add vmsw.0 and vmsw.1.
-
-2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-            Anil Paranjape   <anilp1@kpitcummins.com>
-            Shilin Shakti    <shilins@kpitcummins.com>
-
-       * xc16x-desc.h: New file
-       * xc16x-desc.c: New file
-       * xc16x-opc.h: New file 
-       * xc16x-opc.c: New file
-       * xc16x-ibld.c: New file
-       * xc16x-asm.c: New file
-       * xc16x-dis.c: New file
-       * Makefile.am: Entries for xc16x 
-       * Makefile.in: Regenerate 
-       * cofigure.in: Add xc16x target information.
-       * configure: Regenerate.
-       * disassemble.c: Add xc16x target information.
-
-2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c (dis386_twobyte): Use "movZ" for debug register
-       moves.
-
-2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * i386-dis.c ('Z'): Add a new macro.
-       (dis386_twobyte): Use "movZ" for control register moves.
-
-2006-02-10  Nick Clifton  <nickc@redhat.com>
-
-       * iq2000-asm.c: Regenerate.
-
-2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * m68k-dis.c (print_insn_m68k): Use bfd_m68k_mach_to_features.
-
-2006-01-26  David Ung  <davidu@mips.com>
-
-       * mips-opc.c: Add I33 masks to these MIPS32R2 instructions: prefx,
-       ceil.l.d, ceil.l.s, cvt.d.l, cvt.l.d, cvt.l.s, cvt.s.l, floor.l.d,
-       floor.l.s, ldxc1, lwxc1, madd.d, madd.s, msub.d, msub.s, nmadd.d,
-       nmadd.s, nmsub.d, nmsub.s, recip.d, recip.s, round.l.d, rsqrt.d,
-       rsqrt.s, sdxc1, swxc1, trunc.l.d, trunc.l.s.
-
-2006-01-18  Arnold Metselaar  <arnoldm@sourceware.org>
-
-       * z80-dis.c (struct buffer, prt_d, prt_d_n, arit_d, ld_r_d,
-       ld_d_r, pref_xd_cb): Use signed char to hold data to be
-       disassembled.   
-       * z80-dis.c (TXTSIZ): Increase buffer size to 24, this fixes
-       buffer overflows when disassembling instructions like
-       ld (ix+123),0x23
-       * z80-dis.c (opc_ind, pref_xd_cb): Suppress '+' in an indexed
-       operand, if the offset is negative.
-
-2006-01-17  Arnold Metselaar  <arnoldm@sourceware.org>
-
-       * z80-dis.c (struct buffer, prt_d, prt_d_n, pref_xd_cb): Use
-       unsigned char to hold data to be disassembled.
-
-2006-01-17  Andreas Schwab  <schwab@suse.de>
-
-       PR binutils/1486
-       * disassemble.c (disassemble_init_for_target): Set
-       disassembler_needs_relocs for bfd_arch_arm.
-
-2006-01-16  Paul Brook  <paul@codesourcery.com>
-
-       * m68k-opc.c (m68k_opcodes): Fix opcodes for ColdFire f?abss,
-       f?add?, and f?sub? instructions.
-
-2006-01-16  Nick Clifton  <nickc@redhat.com>
-
-       * po/zh_CN.po: New Chinese (simplified) translation.
-       * configure.in (ALL_LINGUAS): Add "zh_CH".
-       * configure: Regenerate.
-
-2006-01-05  Paul Brook  <paul@codesourcery.com>
-
-       * m68k-opc.c (m68k_opcodes): Add missing ColdFire fdsqrtd entry.
-
-2006-01-06  DJ Delorie  <dj@redhat.com>
-
-       * m32c-desc.c: Regenerate.
-       * m32c-opc.c: Regenerate.
-       * m32c-opc.h: Regenerate.
-
-2006-01-03  DJ Delorie  <dj@redhat.com>
-
-       * cgen-ibld.in (extract_normal): Avoid memory range errors.
-       * m32c-ibld.c: Regenerated.
-
-For older changes see ChangeLog-2005
+For older changes see ChangeLog-2006
 \f
 Local Variables:
 mode: change-log
diff --git a/opcodes/ChangeLog-2006 b/opcodes/ChangeLog-2006
new file mode 100644 (file)
index 0000000..cc5ec75
--- /dev/null
@@ -0,0 +1,837 @@
+2006-12-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k-dis.c (print_insn_arg): Add support for cac and mbb.
+
+2006-12-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Add sleep and trapx.
+
+2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (o_mode): New for 16-byte operand.
+       (intel_operand_size): Generate "OWORD PTR " for o_mode.
+       (CMPXCHG8B_Fixup): Set bytemode to o_mode instead of x_mode.
+
+2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (CMPXCHG8B_Fixup): New.
+       (grps): Use CMPXCHG8B_Fixup for cmpxchg8b.
+
+2006-12-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (Eq): Replaced by ...
+       (Mq): New. This.
+       (Ma): Defined with OP_M instead of OP_E.
+       (grps): Updated cmpxchg8b and vmptrst for Eq -> Mq.
+       (OP_M): Added bound, cmpxchg8b and vmptrst to bad modrm list.
+
+2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/Make-in (.po.gmo): Put gmo files in objdir.
+
+2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (X86_64_1): New.
+       (X86_64_2): Likewise.
+       (X86_64_3): Likewise.
+       (dis386): Replace 0x60, 0x61 and 0x62 entries with x86-64
+       tables.
+       (x86_64_table): Add entries for 0x60, 0x61 and 0x62.
+
+2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c: Adjust white spaces.
+
+2006-12-04  Jan Beulich  <jbeulich@novell.com>
+
+       * i386-dis.c (OP_J): Update used_prefixes in v_mode.
+
+2006-11-30  Jan Beulich  <jbeulich@novell.com>
+
+       * i386-dis.c (SEG_Fixup): Delete.
+       (Sv): Use OP_SEG.
+       (putop): New suffix character 'D'.
+       (dis386): Use it.
+       (grps): Likewise.
+       (OP_SEG): Handle bytemode other than w_mode.
+
+2006-11-30  Jan Beulich  <jbeulich@novell.com>
+
+       * i386-dis.c (zAX): New.
+       (Xz): New.
+       (Yzr): New.
+       (z_mode): New.
+       (z_mode_ax_reg): New.
+       (putop): New suffix character 'G'.
+       (dis386): Use it for in, out, ins, and outs.
+       (intel_operand_size): Handle z_mode.
+       (OP_REG): Delete unreachable case indir_dx_reg.
+       (OP_IMREG): Fix Intel syntax output for case indir_dx_reg. Handle
+       z_mode_ax_reg.
+       (OP_ESreg): Fix Intel syntax operand size handling.
+       (OP_DSreg): Likewise.
+
+2006-11-30  Jan Beulich  <jbeulich@novell.com>
+
+       * i386-dis.c (dis386): Use 'R' and 'O' for cbw/cwd unconditionally.
+       (putop): For 'O' suffix, print 'q' in Intel mode, and mark data prefix
+       used. For 'R' and 'W' suffix, simplify and fix Intel mode.
+
+2006-11-29  Paul Brook  <paul@codesourcery.com>
+
+       * arm-dis.c (coprocessor_opcodes): Fix bitfields for fconstd/fconstd.
+
+2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-dis.c (last_is_thumb): Delete.
+       (enum map_type, last_type): New.
+       (print_insn_data): New.
+       (get_sym_code_type): Take MAP_TYPE argument.  Check the type of
+       the right symbol.  Handle $d.
+       (print_insn): Check for mapping symbols even without a normal
+       symbol.  Adjust searching.  If $d is found see how much data
+       to print.  Handle data.
+
+2006-11-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Place trap instructions before set
+       conditionals.  Add tpf coldfire instruction as alias for trapf.
+
+2006-11-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (print_insn): Check PREFIX_REPNZ before
+       PREFIX_DATA when prefix user table is used.
+
+2006-11-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
+       (twobyte_uses_DATA_prefix): This.
+       (twobyte_uses_REPNZ_prefix): New.
+       (twobyte_uses_REPZ_prefix): Likewise.
+       (threebyte_0x38_uses_DATA_prefix): Likewise.
+       (threebyte_0x38_uses_REPNZ_prefix): Likewise.
+       (threebyte_0x38_uses_REPZ_prefix): Likewise.
+       (threebyte_0x3a_uses_DATA_prefix): Likewise.
+       (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
+       (threebyte_0x3a_uses_REPZ_prefix): Likewise.
+       (print_insn): Updated checking usages of DATA/REPNZ/REPZ
+       prefixes.
+
+2006-11-06  Troy Rollo  <troy@corvu.com.au>
+
+       * ppc-opc.c: Restore COM to mfcr wrongly removed 2003-07-04.
+
+2006-11-01  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score-opc.h (score_opcodes): Delete modifier '0x'.
+
+2006-10-30  Paul Brook  <paul@codesourcery.com>
+
+       * arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
+       (get_sym_code_type): New function.
+       (print_insn): Search for mapping symbols.
+
+2006-10-31  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score-dis.c (print_insn): Correct the error code to print
+       correct PCE instruction disassembly.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+           Anton Blanchard  <anton@samba.org>
+           Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-opc.c (A_L, DCM, DGM, TE, RMC, R, SP, S, SH16, XRT_L, EH,
+       AFRALFRC_MASK, Z, ZRC, Z_MASK, XLRT_MASK, XEH_MASK): Define.
+       (POWER6): Define.
+       (powerpc_opcodes): Extend "lwarx", "ldarx", "dcbf", "fres", "fres.",
+       "frsqrtes", "frsqrtes." "fre", "fre.", "frsqrte" and "frsqrte.".
+       Add "doze", "nap", "sleep", "rvwinkle", "dcbfl", "prtyw", "prtyd",
+       "mfcfar", "cmpb", "lfdpx", "stfdpx", "mtcfar", "mffgpr", "mftgpr",
+       "lwzcix", "lhzcix", "lbzcix", "ldcix", "lfiwax", "stwcix", "sthcix",
+       "stbcix", "stdcix", "lfdp", "dadd", "dadd.", "dqua", "dqua.", "dmul",
+       "dmul.", "drrnd", "drrnd.", "dscli", "dscli.", "dquai", "dquai.",
+       "dscri", "dscri.", "drintx", "drintx.", "dcmpo", "dtstex", "dtstdc",
+       "dtstdg", "dtstsf", "drintn", "drintn.", "dctdp", "dctdp.", "dctfix",
+       "dctfix.", "ddedpd", "ddedpd.", "dxex", "dxex.", "dsub", "dsub.",
+       "ddiv", "ddiv.", "dcmpu", "drsp", "drsp.", "dcffix", "dcffix.",
+       "denbcd", "denbcd.", "diex", "diex.", "stfdp", "daddq", "daddq.",
+       "dquaq", "dquaq.", "fcpsgn", "fcpsgn.", "dmulq", "dmulq.",
+       "drrndq", "drrndq.", "dscliq", "dscliq.", "dquaiq", "dquaiq.",
+       "dscriq", "dscriq.", "drintxq", "drintxq.", "dcmpoq", "dtstexq",
+       "dtstdcq", "dtstdgq", "dtstsfq", "drintnq", "drintnq.",
+       "dctqpq", "dctqpq.", "dctfixq", "dctfixq.", "ddedpdq", "ddedpdq.",
+       "dxexq", "dxexq.", "dsubq", "dsubq.", "ddivq", "ddivq.", "dcmpuq",
+       "drdpq", "drdpq.", "dcffixq", "dcffixq.", "denbcdq", "denbcdq.",
+       "diexq" and "diexq." opcodes.
+
+2006-10-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * h8300-dis.c (bfd_h8_disassemble): Add missing consts.
+
+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-dis.c: New file.
+       * spu-opc.c: New file.
+       * configure.in: Add SPU support.
+       * disassemble.c: Likewise.
+       * Makefile.am: Likewise.  Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2006-10-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * ppc-opc.c (CELL): New define.
+       (powerpc_opcodes): Enable hrfid for Cell.  Add ldbrx and stdbrx,
+       cell specific instructions.  Add {st,l}x{r,l}{,l} cell specific
+       VMX instructions.
+       * ppc-dis.c (powerpc_dialect): Handle cell.
+
+2006-10-23  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       * i386-dis.c (dis386): Add support for the change in POPCNT opcode in 
+       amdfam10 architecture.
+       (PREGRP37): NEW.
+       (print_insn): Disallow REP prefix for POPCNT.
+        
+2006-10-20  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB
+       duplicating it.
+
+2006-10-18  Dave Brolley  <brolley@redhat.com>
+
+       * configure.in (BFD_MACHINES): Add cgen-bitset.lo for bfd_sh_arch.
+       * configure: Regenerated.
+
+2006-09-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/POTFILES.in: Regenerate.
+
+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-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may
+       only be used with the default multiply-add operation, so if N is
+       set, don't bother printing X.  Add new iwmmxt instructions.
+       (IWMMXT_INSN_COUNT): Update.
+       (iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14
+       with a 'c' suffix.
+       (print_insn_coprocessor): Check for iWMMXt2.  Handle format
+       specifiers 'r', 'i'.
+
+2006-09-24  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       PR binutils/3100
+       * i386-dis.c (prefix_user_table): Fix the second operand of
+       maskmovdqu instruction to allow only %xmm register instead of
+       both %xmm register and memory.
+
+2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3235
+       * i386-dis.c (OP_OFF64): Get 32bit offset if there is an
+       address size prefix.
+
+2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score-dis.c: New file.
+       * score-opc.h: New file.
+       * Makefile.am: Add Score files.
+       * Makefile.in: Regenerate.
+       * configure.in: Add support for Score target.
+       * configure: Regenerate.
+       * disassemble.c: Add support for Score target.
+
+2006-09-16  Nick Clifton  <nickc@redhat.com>
+           Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * arm-dis.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
+       macros defined in bfd.h.
+       * cris-dis.c: Likewise.
+       * h8300-dis.c: Likewise.
+       * i386-dis.c: Likewise.
+       * ia64-gen.c: Likewise.
+       * mips-dis: Likewise.
+
+2006-09-04  Paul Brook  <paul@codesourcery.com>
+
+       * arm-dis.c (neon_opcode): Fix suffix on VMOVN.
+
+2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (three_byte_table): Expand to 256 elements.
+
+2006-08-04  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       PR binutils/3000
+       * i386-dis.c (MXC,EMC): Define.
+       (OP_MXC): New function to handle cvt* (convert instructions) between
+       %xmm and %mm register correctly.
+       (OP_EMC): ditto.        
+       (prefix_user_table): Modified cvtpi2pd,cvtpd2pi and cvttpd2pi 
+       instruction operands in PREGRP2,PREGRP3,PREGRP4 appropriately 
+       with EMC/MXC.
+
+2006-07-29  Richard Sandiford  <richard@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire
+       "fdaddl" entry.
+
+2006-07-19  Paul Brook  <paul@codesourcery.com>
+
+       * armd-dis.c (arm_opcodes): Fix rbit opcode.
+
+2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (grps): Change "sldtQ", "strQ" and "smswQ" to
+       "sldt", "str" and "smsw".
+
+2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2829
+       * i386-dis.c (GRP11_C6): NEW.
+       (GRP11_C7): Likewise.
+       (GRP12): Updated.
+       (GRP13): Likewise.
+       (GRP14): Likewise.
+       (GRP15): Likewise.
+       (GRP16): Likewise.
+       (GRPAMD): Likewise.
+       (GRPPADLCK1): Likewise.
+       (GRPPADLCK2): Likewise.
+       (dis386): Use GRP11_C6 and GRP11_C7 for entres 0xc6 and 0xc7,
+       respectively.
+       (grps): Add entries for GRP11_C6 and GRP11_C7.
+
+2006-07-10 Dwarakanath Rajagopal       <dwarak.rajagopal@amd.com>
+          Michael Meissner             <michael.meissner@amd.com>
+
+       * i386-dis.c (dis386): Add support for 4 operand instructions. Add
+       support for amdfam10 SSE4a/ABM instructions. Modify all
+       initializer macros to have additional arguments. Disallow REP
+       prefix for non-string instructions.
+       (print_insn): Ditto.
+
+2006-07-05  Julian Brown  <julian@codesourcery.com>
+
+       * arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.
+
+2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (dis386_twobyte): Use "nopQ" for 0x1f.
+       (twobyte_has_modrm): Set 1 for 0x1f.
+
+2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (NOP_Fixup): Removed.
+       (NOP_Fixup1): New.
+       (NOP_Fixup2): Likewise.
+       (dis386): Use NOP_Fixup1 and NOP_Fixup2 on 0x90.
+
+2006-06-12  Julian Brown  <julian@codesourcery.com>
+
+       * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as signed
+       on 64-bit hosts.
+
+2006-06-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.c (GRP10): Renamed to ...
+       (GRP12): This.
+       (GRP11): Renamed to ...
+       (GRP13): This.
+       (GRP12): Renamed to ...
+       (GRP14): This.
+       (GRP13): Renamed to ...
+       (GRP15): This.
+       (GRP14): Renamed to ...
+       (GRP16): This.
+       (dis386_twobyte): Updated.
+       (grps): Likewise.
+
+2006-06-09  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+
+2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * po/Make-in (pdf, ps): New dummy targets.
+
+2006-06-06  Paul Brook  <paul@codesourcery.com>
+
+       * arm-dis.c (coprocessor_opcodes): Add %c to unconditional arm
+       instructions.
+       (neon_opcodes): Add conditional execution specifiers.
+       (thumb_opcodes): Ditto.
+       (thumb32_opcodes): Ditto.
+       (arm_conditional): Change 0xe to "al" and add "" to end.
+       (ifthen_state, ifthen_next_state, ifthen_address): New.
+       (IFTHEN_COND): Define.
+       (print_insn_coprocessor, print_insn_neon): Print thumb conditions.
+       (print_insn_arm): Change %c to use new values of arm_conditional.
+       (print_insn_thumb16): Print thumb conditions.  Add %I.
+       (print_insn_thumb32): Print thumb conditions.
+       (find_ifthen_state): New function.
+       (print_insn): Track IT block state.
+
+2006-06-06  Ben Elliston  <bje@au.ibm.com>
+           Anton Blanchard  <anton@samba.org>
+           Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc-dis.c (powerpc_dialect): Handle power6 option.
+       (print_ppc_disassembler_options): Mention power6.
+
+2006-06-06  Thiemo Seufer  <ths@mips.com>
+            Chao-ying Fu  <fu@mips.com>
+
+       * mips-dis.c: Disassemble DSP64 instructions for MIPS64R2.
+       * mips-opc.c: Add DSP64 instructions.
+
+2006-06-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * m68hc11-dis.c (print_insn): Warning fix.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/Make-in (top_builddir): Define.
+
+2006-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (INCLUDES): Use @INCINTL@.
+       * acinclude.m4: Include new gettext macros.
+       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
+       Remove local code for po/Makefile.
+       * Makefile.in, aclocal.m4, configure: Regenerated.
+
+2006-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2006-05-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
+       and fmovem entries.  Put register list entries before immediate
+       mask entries.  Use "l" rather than "L" in the fmovem entries.
+       * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
+       out from INFO.
+       (m68k_scan_mask): New function, split out from...
+       (print_insn_m68k): ...here.  If no architecture has been set,
+       first try printing an m680x0 instruction, then try a Coldfire one.
+
+2006-05-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/ga.po: Updated Irish translation.
+
+2006-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.
+
+2006-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * po/nl.po: Updated translation.
+
+2006-05-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * avr-dis.c: Formatting fix.
+
+2006-05-14  Thiemo Seufer  <ths@mips.com>
+
+       * mips16-opc.c (I1, I32, I64): New shortcut defines.
+       (mips16_opcodes): Change membership of instructions to their
+       lowest baseline ISA.
+
+2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (grps): Update sgdt/sidt for 64bit.
+
+2006-05-05  Julian Brown  <julian@codesourcery.com>
+
+       * arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
+       vldm/vstm.
+
+2006-05-05  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * mips-opc.c: Add macro for cache instruction.
+
+2006-05-04  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * mips-dis.c (mips_arch_choices): Add smartmips instruction
+       decoding to MIPS32 and MIPS32R2.  Limit DSP decoding to release
+       2 ISAs.  Add MIPS3D decoding to MIPS32R2.  Add MT decoding to
+       MIPS64R2.
+       * mips-opc.c: fix random typos in comments.
+       (INSN_SMARTMIPS): New defines.
+       (mips_builtin_opcodes): Add paired single support for MIPS32R2.
+       Move bc3f, bc3fl, bc3t, bc3tl downwards.  Move flushi, flushd,
+       flushid, wb upwards.  Move cfc3, ctc3 downwards.  Rework the
+       FP_S and FP_D flags to denote single and double register
+       accesses separately.  Move dmfc3, dmtc3, mfc3, mtc3 downwards.
+       Allow jr.hb and jalr.hb for release 1 ISAs.  Allow luxc1, suxc1
+       for MIPS32R2.  Add SmartMIPS instructions.  Add two-argument
+       variants of bc2f, bc2fl, bc2t, bc2tl.  Add mfhc2, mthc2 to
+       release 2 ISAs.
+       * mips16-opc.c (mips16_opcodes): Add sdbbp instruction.
+
+2006-05-03  Thiemo Seufer  <ths@mips.com>
+
+       * mips-opc.c (mips_builtin_opcodes): Fix mftr argument order.
+
+2006-05-02  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * mips-dis.c (print_insn_args): Force mips16 to odd addresses.
+       (print_mips16_insn_arg): Force mips16 to odd addresses.
+
+2006-04-30  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * mips-opc.c (mips_builtin_opcodes): Add udi instructions
+       "udi0" to "udi15".
+       * mips-dis.c (print_insn_args): Adds udi argument handling.
+
+2006-04-28  James E Wilson  <wilson@specifix.com>
+
+       * m68k-dis.c (match_insn_m68k): Restore fprintf_func before printing
+       error message.
+
+2006-04-28  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * mips-dis.c (mips_cp0sel_names_mips3264r2): Add MT register
+       names.
+
+2006-04-28  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * mips-dis.c (print_insn_args): Add mips_opcode argument.
+       (print_insn_mips):  Adjust print_insn_args call.
+
+2006-04-28  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       * mips-dis.c (print_insn_args): Print $fcc only for FP
+       instructions, use $cc elsewise.
+
+2006-04-28  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       * opcodes/mips-dis.c (mips16_to_32_reg_map, mips16_reg_names):
+       Map MIPS16 registers to O32 names.
+       (print_mips16_insn_arg): Use mips16_reg_names.
+
+2006-04-26  Julian Brown  <julian@codesourcery.com>
+
+       * arm-dis.c (print_insn_neon): Disassemble floating-point constant
+       VMOV.
+
+2006-04-26  Nathan Sidwell  <nathan@codesourcery.com>
+           Julian Brown  <julian@codesourcery.com>
+
+       * opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
+       %<code>[zy] into %[zy]<code>.  Expand meaning of %<bitfield>['`?].
+       Add unified load/store instruction names.
+       (neon_opcode_table): New.
+       (arm_opcodes): Expand meaning of %<bitfield>['`?].
+       (arm_decode_bitfield): New.
+       (print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
+       Use arm_decode_bitfield and adjust numeric specifiers. Adjust %z & %y.
+       (print_insn_neon): New.
+       (print_insn_arm): Adjust print_insn_coprocessor call. Call
+       print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
+       (print_insn_thumb32): Likewise.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * avr-dis.c (avr_operand): Warning fix.
+
+       * configure: Regenerate.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/POTFILES.in: Regenerated.
+
+2006-04-12   Hochstein  <hochstein@algo.informatik.tu-darmstadt.de>
+
+       PR binutils/2454
+       * avr-dis.c (avr_operand): Arrange for a comment to appear before
+       the symolic form of an address, so that the output of objdump -d
+       can be reassembled.
+
+2006-04-10  DJ Delorie  <dj@redhat.com>
+
+       * m32c-asm.c: Regenerate.
+
+2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.am: Add install-html target.
+       * Makefile.in: Regenerate.
+
+2006-04-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi/po: Updated Vietnamese translation.
+
+2006-03-31  Paul Koning  <ni1d@arrl.net>
+
+       * pdp11-opc.c (pdp11_opcodes): Fix opcode for SEC instruction.
+
+2006-03-16  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * bfin-dis.c (decode_dsp32shiftimm_0): Simplify and correct the
+       logic to identify halfword shifts.
+
+2006-03-16  Paul Brook  <paul@codesourcery.com>
+
+       * arm-dis.c (arm_opcodes): Rename swi to svc.
+       (thumb_opcodes): Ditto.
+
+2006-03-13  DJ Delorie  <dj@redhat.com>
+
+       * m32c-asm.c: Regenerate.
+       * m32c-desc.c: Likewise.
+       * m32c-desc.h: Likewise.
+       * m32c-dis.c: Likewise.
+       * m32c-ibld.c: Likewise.
+       * m32c-opc.c: Likewise.
+       * m32c-opc.h: Likewise.
+
+2006-03-10  DJ Delorie  <dj@redhat.com>
+
+       * m32c-desc.c: Regenerate with mul.l, mulu.l.
+       * m32c-opc.c: Likewise.
+       * m32c-opc.h: Likewise.
+
+
+2006-03-09  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2006-03-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2428
+       * i386-dis.c (REP_Fixup): New function.
+       (AL): Remove duplicate.
+       (Xbr): New.
+       (Xvr): Likewise.
+       (Ybr): Likewise.
+       (Yvr): Likewise.
+       (indirDXr): Likewise.
+       (ALr): Likewise.
+       (eAXr): Likewise.
+       (dis386): Updated entries of ins, outs, movs, lods and stos.
+
+2006-03-05  Nick Clifton  <nickc@redhat.com>
+
+       * cgen-ibld.in (insert_normal): Cope with attempts to insert a
+       signed 32-bit value into an unsigned 32-bit field when the host is
+       a 64-bit machine.
+       * fr30-ibld.c: Regenerate.
+       * frv-ibld.c: Regenerate.
+       * ip2k-ibld.c: Regenerate.
+       * iq2000-asm.c: Regenerate.
+       * iq2000-ibld.c: Regenerate.
+       * m32c-ibld.c: Regenerate.
+       * m32r-ibld.c: Regenerate.
+       * openrisc-ibld.c: Regenerate.
+       * xc16x-ibld.c: Regenerate.
+       * xstormy16-ibld.c: Regenerate.
+
+2006-03-03 Shrirang Khisti <shrirangk@kpitcummins.com)
+
+       * xc16x-asm.c: Regenerate.
+       * xc16x-dis.c: Regenerate.
+
+2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add html target.
+
+2006-02-27  H.J. Lu <hongjiu.lu@intel.com>
+
+       * i386-dis.c (IS_3BYTE_OPCODE): New for 3-byte opcodes used by
+       Intel Merom New Instructions.
+       (THREE_BYTE_0): Likewise.
+       (THREE_BYTE_1): Likewise.
+       (three_byte_table): Likewise.
+       (dis386_twobyte): Use THREE_BYTE_0 for entry 0x38. Use
+       THREE_BYTE_1 for entry 0x3a.
+       (twobyte_has_modrm): Updated.
+       (twobyte_uses_SSE_prefix): Likewise.
+       (print_insn): Handle 3-byte opcodes used by Intel Merom New
+       Instructions.
+
+2006-02-24  David S. Miller  <davem@sunset.davemloft.net>
+
+       * sparc-dis.c (v9_priv_reg_names): Add "gl" entry.
+       (v9_hpriv_reg_names): New table.
+       (print_insn_sparc): Allow values up to 16 for '?' and '!'.
+       New cases '$' and '%' for read/write hyperprivileged register.
+       * sparc-opc.c (sparc_opcodes): Add new entries for UA2005
+       window handling and rdhpr/wrhpr instructions.
+       
+2006-02-24  DJ Delorie  <dj@redhat.com>
+
+       * m32c-desc.c: Regenerate with linker relaxation attributes.
+       * m32c-desc.h: Likewise.
+       * m32c-dis.c: Likewise.
+       * m32c-opc.c: Likewise.
+
+2006-02-24  Paul Brook  <paul@codesourcery.com>
+
+       * arm-dis.c (arm_opcodes): Add V7 instructions.
+       (thumb32_opcodes): Ditto.  Handle V7M MSR/MRS variants.
+       (print_arm_address): New function.
+       (print_insn_arm): Use it.  Add 'P' and 'U' cases.
+       (psr_name): New function.
+       (print_insn_thumb32): Add 'U', 'C' and 'D' cases.
+
+2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64-opc-i.c (bXc): New.
+       (mXc): Likewise.
+       (OpX2TaTbYaXcC): Likewise.
+       (TF). Likewise.
+       (TFCM). Likewise.
+       (ia64_opcodes_i): Add instructions for tf.
+
+       * ia64-opc.h (IMMU5b): New.
+
+       * ia64-asmtab.c: Regenerated.
+
+2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64-gen.c: Update copyright years.
+       * ia64-opc-b.c: Likewise.
+
+2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ia64-gen.c (lookup_regindex): Handle ".vm".
+       (print_dependency_table): Handle '\"'.
+
+       * ia64-ic.tbl: Updated from SDM 2.2.
+       * ia64-raw.tbl: Likewise.
+       * ia64-waw.tbl: Likewise.
+       * ia64-asmtab.c: Regenerated.
+
+       * ia64-opc-b.c (ia64_opcodes_b): Add vmsw.0 and vmsw.1.
+
+2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
+            Anil Paranjape   <anilp1@kpitcummins.com>
+            Shilin Shakti    <shilins@kpitcummins.com>
+
+       * xc16x-desc.h: New file
+       * xc16x-desc.c: New file
+       * xc16x-opc.h: New file 
+       * xc16x-opc.c: New file
+       * xc16x-ibld.c: New file
+       * xc16x-asm.c: New file
+       * xc16x-dis.c: New file
+       * Makefile.am: Entries for xc16x 
+       * Makefile.in: Regenerate 
+       * cofigure.in: Add xc16x target information.
+       * configure: Regenerate.
+       * disassemble.c: Add xc16x target information.
+
+2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (dis386_twobyte): Use "movZ" for debug register
+       moves.
+
+2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c ('Z'): Add a new macro.
+       (dis386_twobyte): Use "movZ" for control register moves.
+
+2006-02-10  Nick Clifton  <nickc@redhat.com>
+
+       * iq2000-asm.c: Regenerate.
+
+2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k-dis.c (print_insn_m68k): Use bfd_m68k_mach_to_features.
+
+2006-01-26  David Ung  <davidu@mips.com>
+
+       * mips-opc.c: Add I33 masks to these MIPS32R2 instructions: prefx,
+       ceil.l.d, ceil.l.s, cvt.d.l, cvt.l.d, cvt.l.s, cvt.s.l, floor.l.d,
+       floor.l.s, ldxc1, lwxc1, madd.d, madd.s, msub.d, msub.s, nmadd.d,
+       nmadd.s, nmsub.d, nmsub.s, recip.d, recip.s, round.l.d, rsqrt.d,
+       rsqrt.s, sdxc1, swxc1, trunc.l.d, trunc.l.s.
+
+2006-01-18  Arnold Metselaar  <arnoldm@sourceware.org>
+
+       * z80-dis.c (struct buffer, prt_d, prt_d_n, arit_d, ld_r_d,
+       ld_d_r, pref_xd_cb): Use signed char to hold data to be
+       disassembled.   
+       * z80-dis.c (TXTSIZ): Increase buffer size to 24, this fixes
+       buffer overflows when disassembling instructions like
+       ld (ix+123),0x23
+       * z80-dis.c (opc_ind, pref_xd_cb): Suppress '+' in an indexed
+       operand, if the offset is negative.
+
+2006-01-17  Arnold Metselaar  <arnoldm@sourceware.org>
+
+       * z80-dis.c (struct buffer, prt_d, prt_d_n, pref_xd_cb): Use
+       unsigned char to hold data to be disassembled.
+
+2006-01-17  Andreas Schwab  <schwab@suse.de>
+
+       PR binutils/1486
+       * disassemble.c (disassemble_init_for_target): Set
+       disassembler_needs_relocs for bfd_arch_arm.
+
+2006-01-16  Paul Brook  <paul@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Fix opcodes for ColdFire f?abss,
+       f?add?, and f?sub? instructions.
+
+2006-01-16  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: New Chinese (simplified) translation.
+       * configure.in (ALL_LINGUAS): Add "zh_CH".
+       * configure: Regenerate.
+
+2006-01-05  Paul Brook  <paul@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Add missing ColdFire fdsqrtd entry.
+
+2006-01-06  DJ Delorie  <dj@redhat.com>
+
+       * m32c-desc.c: Regenerate.
+       * m32c-opc.c: Regenerate.
+       * m32c-opc.h: Regenerate.
+
+2006-01-03  DJ Delorie  <dj@redhat.com>
+
+       * cgen-ibld.in (extract_normal): Avoid memory range errors.
+       * m32c-ibld.c: Regenerated.
+
+For older changes see ChangeLog-2005
+\f
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End: