PR symtab/8423:
authorTom Tromey <tromey@redhat.com>
Mon, 8 Apr 2013 20:08:21 +0000 (20:08 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 8 Apr 2013 20:08:21 +0000 (20:08 +0000)
commit36192a8d549d934534b43e9be4948d90daa6981c
tree32fa671aec7b68e82241ed3dc6fec5f40e0da403
parent65cf3563597713173bb688287a21666ec66e722d
PR symtab/8423:
* solib-som.c (som_solib_section_offsets): Use BFD section
indices.  Set offsets for all sections.
* somread.c (som_symtab_read): Compute BFD section for
symbol.  Use prim_record_minimal_symbol_and_info.
(som_symfile_read): Fix comment.
(struct find_section_offset_arg): New.
(find_section_offset, set_section_index): New functions.
(som_symfile_offsets): Use set_section_index to compute
section indices.
bfd/
* som.c (bfd_section_from_som_symbol): No longer static.
* som.h (bfd_section_from_som_symbol): Declare.
bfd/ChangeLog
bfd/som.c
bfd/som.h
gdb/ChangeLog
gdb/solib-som.c
gdb/somread.c