* objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
authorDoug Evans <dje@google.com>
Sat, 4 May 2013 06:19:31 +0000 (06:19 +0000)
committerDoug Evans <dje@google.com>
Sat, 4 May 2013 06:19:31 +0000 (06:19 +0000)
commitd445b2f6a4492b74f6fa5cb21d8b95ccf4f8edd9
tree466bffcc9e90a1ae971a4b5ef803efc7df7c5009
parentb3ce41ea47cf933ed1b0aea81dda9526ac14403a
* objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
of bfd_count_sections.
* solib-target.c (solib_target_relocate_section_addresses): Ditto.
* symfile.c (default_symfile_offsets): Ditto.
(syms_from_objfile_1): Ditto.  Make dummy addrs list an array of
one entry, not bfd_count_sections entries.
gdb/ChangeLog
gdb/objfiles.c
gdb/solib-target.c
gdb/symfile.c