OSDN Git Service

* simple.c (bfd_simple_get_relocated_section_contents): Add
authordrow <drow>
Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)
committerdrow <drow>
Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)
commit97d4541ac966768e83672eb8c3bc2b99c979ee7a
tree66d3ecf9479f630ba074f039c7b123ef550ca44e
parent2be3e5b9b9ef257d010b724b986334322b648cba
* 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