+2007-09-26 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (ppc_build_one_stub): Correct rel_hdr.sh_size.
+
+2007-09-25 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (struct spu_link_hash_table): Add ovly_load_r_symndx.
+ (spu_elf_size_stubs): Count stub relocs.
+ (write_one_stub): Emit relocs on overlay call stubs.
+
+ * elf32-spu.c (struct spu_link_hash_table): Add "stubs".
+ (spu_elf_link_hash_table_create): Init new field.
+ (spu_elf_size_stubs): Store sorted stub syms in new htab field
+ rather than local var.
+ (spu_elf_build_stubs): Iterate over htab stubs rather than
+ hash traversal.
+ (struct stubarr): Delete.
+ (allocate_spuear_stubs, populate_stubs, write_one_stub): Adjust.
+
+2007-09-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elf.c (assign_file_positions_for_load_sections): Trust
+ p_align_valid.
+ (copy_elf_program_header): Copy PT_NULL segments.
+
+2007-09-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
+
+ * elf32-spu.c (is_indirect_branch): New function.
+ (find_function_stack_adjust): End scan on hitting indirect branch.
+ (sum_stack): Cast %v arg to correct type.
+
+2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerated.
+
+2007-09-21 Doug Kwan <dougkwan@google.com>
+
+ * Makefile.am (BFD32_LIBS): Add arange-set.lo.
+ (BFD32_LIBS_CFILES): Add arange-set.c.
+ (SOURCE_HFILES): Add arange-set.h
+ (dwarf2.lo): Add dependency upon arange-set.h.
+ (arange-set.lo): New target.
+ * Makefile.in: Regenerate.
+ * arange-set.c: New file.
+ * arange-set.h: New file.
+ * dwarf2.c: Include arange-set.h.
+ (struct dwarf2_debug) Add new fields comp_unit_count and
+ comp_unit_arange_set.
+ (struct comp_unit) Replace field arange with a new field arange_set.
+ (dwarf2_arange_set_allocate, dwarf2_arange_set_deallocate,
+ dwarf2_combine_arange_value, dwarf2_arange_set_new,
+ dwarf2_arange_set_with_value_new, dwarf2_comp_unit_arange_add): New
+ functions to utilize arange set in dwarf2.c.
+ (arange_add): Formatting change for a line longer than 80 characters.
+ (decode_line_info): Replace call target arange_add with
+ dwarf2_comp_unit_arange_add.
+ (read_rangelist_insert_arange_list,
+ read_rangelist_comp_unit_arange_add): New functions used as callbacks
+ for read_rangelist.
+ (read_rangelist): Change interface to accept a callback and data to
+ allow caller to select the action peformed on a new range list read.
+ (scan_unit_for_symbols): Use new interface of read_rangelist.
+ (parse_comp_unit): Create an arange set for each new comp unit. Use new
+ interface of read_rangelist. Replace call to arange_add with that to
+ dwarf2_comp_unit_arange_add.
+ (comp_unit_contains_address): Replace sequential search with a call to
+ arange_set_lookup_address, which can handles large set efficiently.
+ (stash_copy_local_aranges, stash_maybe_enable_arange_set,
+ stash_find_nearest_line_fast): New functions maintaining and using a
+ valued global arange set for all compilation units to speed up
+ bfd_dwarf2_find_nearest_line.
+ (find_line): Use global arange set. Replace sequential search over all
+ compilation units with a call to stash_find_nearest_line_fast. Add
+ book keeping to count number of compilation units. Replace empty
+ arange list test with a call to arange_set_empty_p.
+
+2007-09-21 Olivier Hainque <hainque@adacore.com>
+ Tristan Gingold <gingold@adacore.com>
+
+ * syms.c (_bfd_stab_section_find_nearest_line): Look at the
+ specific SOM sections for stabs if the regular ones are not found.
+ * som.h (struct somdata): Add a line_info field, to be used by
+ som_find_nearest_line.
+ * som.c (som_find_nearest_line): Implement using the bfd stabs
+ function above.
+
+2007-09-19 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got
+ will be output.
+
+2007-09-19 Alan Modra <amodra@bigpond.net.au>
+ Doug Kwan <dougkwan@google.com>
+
+ * bfd-in.h (bfd_hash_insert): Declare.
+ * bfd-in2.h: Regenerate.
+ * hash.c (bfd_hash_insert): New function. Split out from..
+ (bfd_hash_lookup): ..here.
+ * merge.c (sec_merge_hash_lookup): Use bfd_hash_insert.
+
+2007-09-18 Alan Modra <amodra@bigpond.net.au>
+
+ * elf.c (bfd_section_from_shdr): Check bfd_alloc return.
+ (elfcore_write_note): Check realloc return.
+ * elflink.c (_bfd_elf_link_find_version_dependencies): Check
+ bfd_zalloc return.
+ (_bfd_elf_link_assign_sym_version): Check bfd_malloc return.
+ (elf_link_add_object_symbols): Likewise.
+ (struct hash_codes_info): New.
+ (elf_collect_hash_codes): Return bfd_malloc error.
+ (struct collect_gnu_hash_codes): Add "error".
+ (elf_collect_gnu_hash_codes): Return bfd_malloc error.
+ (bfd_elf_size_dynamic_sections): Check return status of
+ _bfd_elf_link_find_version_dependencies.
+ (bfd_elf_size_dynsym_hash_dynstr): Adjust for elf_collect_hash_codes
+ and elf_collect_gnu_hash_codes changes.
+ (elf_sym_name_compare): Formatting.
+ (elf_fixup_link_order): Use bfd_malloc, not xmalloc.
+
+2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/3281
+ PR binutils/5037
+ * elf-bfd.h (elf_obj_tdata): Remove relro.
+
+ * elf.c (get_program_header_size): Check info->relro instead
+ of elf_tdata (abfd)->relro.
+ (_bfd_elf_map_sections_to_segments): Likewise.
+ (assign_file_positions_for_load_sections): Don't set
+ PT_GNU_RELRO segment alignment here.
+ (assign_file_positions_for_non_load_sections): Properly set up
+ PT_GNU_RELRO segment for copying executable/shared library.
+ (rewrite_elf_program_header): Remove PT_GNU_RELRO segment.
+ (copy_elf_program_header): Set p_size and p_size_valid fields for
+ PT_GNU_RELRO segment.
+
+2007-09-17 Nick Clifton <nickc@redhat.com>
+
+ * po/fi.po: New Finnish translation.
+ * po/es.po: Updated Spanish translation.
+ * configure.in (ALL_LINGUAS): Add fi.
+ * configure: Regenerate.
+ * po/bfd.pot: Regenerate.
+
+2007-09-15 Nick Clifton <nickc@redhat.com>
+
+ * bfd.c (_bfd_default_error_handler): fflush stdout.
+
+2007-09-14 Alan Modra <amodra@bigpond.net.au>
+
+ * opncls.c (find_separate_debug_file): Ensure bfd_set_error has
+ been called on all error return paths.
+ (bfd_fill_in_gnu_debuglink_section): Use bfd_malloc, not malloc.
+ Clear padding after filename
+
+2007-09-14 Alan Modra <amodra@bigpond.net.au>
+
+ * format.c (bfd_check_format_matches): Record matching targets even
+ when "matching" is NULL to allow bfd_associated_vector matches.
+ Consolidate error return code. Consolidate ok return code. Always
+ restore original target and format on error.
+
+2007-09-14 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in: Delete BFD_HOST_LONG_LONG and bfd checks for
+ long long. Partly revert 2007-07-12 change, so that
+ BFD_HOST_64BIT_LONG and BFD_HOST_64BIT_LONG_LONG are set
+ independent of "void *" size.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * Makefile.in: Regenerate.
+
+2007-09-12 Alan Modra <amodra@bigpond.net.au>
+
+ * elf-bfd.h (struct elf_backend_data): Delete elf_backend_sprintf_vma
+ and elf_backend_fprintf_vma.
+ (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete.
+ * elf.c (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete.
+ * elfxx-target.h (elf_backend_sprintf_vma): Don't define.
+ (elf_backend_fprintf_vma): Likewise.
+ (elfNN_bed): Don't init removed fields.
+ * bfd.c (is32bit): New function.
+ (bfd_sprintf_vma, bfd_fprintf_vma): Use the above.
+
+2007-09-11 Nathan Sidwell <nathan@codesourcery.com>
+
+ * archures.c: Add bfd_mach_mcf_isa_c_nodiv,
+ bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac.
+ * ieee.c (ieee_write_processor): Update coldfire architecture
+ list.
+ * bfd-in2.h: Rebuilt.
+ * cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures.
+ (m68k_arch_features): Likewise.
+ * elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV.
+ (elf32_m68k_print_private_bfd_data): Likewise.
+
+2007-09-11 Jan Beulich <jbeulich@novell.com>
+
+ * elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'.
+ * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise.
+
+2007-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (func_desc_adjust): When resolving undefined
+ references to dot-symbols, transfer def_regular and
+ def_dynamic from the descriptor symbol.
+
+2007-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ * config.bfd: Set want64 for spu-*-elf.
+
+2007-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ PR ld/2864, ld/5006
+ * elf.c (special_sections): Comment typo.
+ (elf_fake_sections): Force SHT_PROGBITS for sections that are
+ SHT_NOBITS if BFD section flags say they have contents.
+
+2007-09-04 Michael Snyder <msnyder@access-company.com>
+
+ * elf32-bfin.c (howto_table): Cut and paste error?
+ Name field of reloc is wrong.
+
+2007-09-04 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (elf_howto_table): Formatting.
+
+2007-09-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/4986
+ * dwarf2.c (new_line_sorts_after): Undo the last change.
+ (add_line_info): Only keep the last entry with the same address
+ and end sequence.
+
+2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/4986
+ * dwarf2.c (new_line_sorts_after): Also compare line number.
+
+2007-08-31 Jesse Michael <jmichael@suse.de>
+
+ * mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non
+ zerofill sections.
+
+2007-08-28 David Heine <dlheine@tensilica.com>
+
+ * elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when
+ narrowing instructions.
+
+2007-08-28 Mark Shinwell <shinwell@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma,
+ then on type.
+
+2007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
+
+ * config.bfd: Add support for i[3-7]86-*-dragonfly*.
+ * configure.in: Likewise.
+ * configure: Regenerate.
+
2007-08-25 Ulrich Weigand <uweigand@de.ibm.com>
Alan Modra <amodra@bigpond.net.au>