2007-07-26 Michael Snyder <msnyder@access-company.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 22f8641e2f9701e4f89a6f1254e5b15d7d6d6008..d435e77d22dec3e80571c198a59092ceb79305e7 100644 (file)
@@ -1,3 +1,76 @@
+2007-07-26  Michael Snyder  <msnyder@access-company.com>
+
+       * tekhex.c (first_phase): Check return value for null.
+
+       * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless 
+       pointer increment.
+
+2007-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
+       check on dynobj.  Remove bed shadow.
+
+       * srec.c (srec_get_section_contents): Return immediately on
+       count zero.  Check that offset and count are within section.
+       * libbfd.c (_bfd_generic_get_section_contents): Check that
+       offset + count does not overflow.
+
+       * srec.c (srec_canonicalize_symtab): Don't alloc when symcount
+       is zero.  Correct return value on error.
+       * mmo.c (mmo_canonicalize_symtab): Likewise.
+       * binary.c (binary_canonicalize_symtab) Correct return on error.
+
+2007-07-26  Thiemo Seufer  <ths@mips.com>
+
+       * bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL.
+
+2007-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * reloc.c (bfd_generic_get_relocated_section_contents): Avoid
+       bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound
+       says there are no relocs.
+
+2007-07-26  Doug Kwan  <dougkwan@google.com>
+
+       Speed up bfd_dwarf2_find_line.
+       * dwarf2.c (struct dwarf2_debug): Add new fields to support function
+       and variable info hash tables. Add last_comp_unit, info_hash_count,
+       funcinfo_hash_table, varinfo_hash_table, hash_units_head.
+       (struct comp_unit): Add prev_unit, cached.
+       (struct info_list_node, struct info_hash_entry,
+       struct info_hash_table): New.
+       (info_hash_table_newfunc, create_info_hash_table,
+       insert_info_hash_table, lookup_info_hash_table): New functions
+       implementing function and variable info hash tables.
+       (scan_unit_for_symbols): Add checks to make sure hash tables are
+       consistent with compilation units.
+       (comp_unit_maybe_decode_line_info): New function.
+       (comp_unit_find_line): Use comp_unit_maybe_decode_line_info.
+       (reverse_funcinfo_list, reverse_varinfo_list, comp_unit_hash_info,
+       info_hash_lookup_funcinfo, info_hash_lookup_varinfo,
+       stash_maybe_update_info_hash_table, stash_verify_info_hash_table,
+       stash_maybe_enable_info_hash_tables, stash_find_line_fast): New
+       functions. Make use of info hash tables to speed up
+       bfd_dwarf2_find_line.
+       (find_line): Use hash table for faster lookup if it is turned on.
+       Also add code to maintain bi-directional link in comp units.
+
+2007-07-25  Michael Snyder  <msnyder@access-company.com>
+
+       * coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done
+       if size == 0; return and avoid possible null pointer issues.
+
+2007-07-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * linker.c (generic_link_add_symbol_list): Warning fix.
+
+2007-07-24  Michael Snyder  <msnyder@access-company.com>
+
+       * opncls.c (bfd_make_writable): Check return from bfd_malloc.
+
+       * elflink.c (bfd_elf_final_link): Avoid redundant frees -- return
+       on bfd_malloc error rather than goto error_return.
+
 2007-07-24  Alan Modra  <amodra@bigpond.net.au>
 
        * elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook,
This page took 0.025646 seconds and 4 git commands to generate.