* simple.c (bfd_simple_get_relocated_section_contents): Add
authorDaniel Jacobowitz <drow@false.org>
Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)
commit6e84a9068469403a0a2280e705cf3cef334afd45
treef71a70747f666cf46df1c09d7ef131c4e6d0e1c3
parentb985b5ac74bb321d4bad1ee829dcb7e0b41a2da6
* simple.c (bfd_simple_get_relocated_section_contents): Add
parameter symbol_table.  Optionally use it instead of the symbol
table from the bfd.  Save and restore output offsets and output
sections  around bfd_get_relocated_section_contents.  Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise.  Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/dwarf2.c
bfd/elfxx-ia64.c
bfd/simple.c