* coffread.c (record_minimal_symbol): Update.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 793aa91e779027fefdd4bc43e39e69bca36118a7..11a8cf358d435e4ec886d4d60eb442bcbc71663e 100644 (file)
@@ -1,3 +1,65 @@
+2013-04-08  Tom Tromey  <tromey@redhat.com>
+
+       * coffread.c (record_minimal_symbol): Update.
+       * dbxread.c (record_minimal_symbol): Update.
+       * elfread.c (record_minimal_symbol): Update.
+       * machoread.c (macho_symtab_add_minsym): Update.
+       * mdebugread.c (record_minimal_symbol, parse_partial_symbols):
+       Update.
+       * minsyms.c (prim_record_minimal_symbol): Update.
+       (prim_record_minimal_symbol_full): Remove 'bfd_section'
+       argument.
+       (prim_record_minimal_symbol_and_info): Likewise.
+       * minsyms.h (prim_record_minimal_symbol_full)
+       (prim_record_minimal_symbol_and_info): Update.
+       * symtab.c (allocate_symbol, initialize_symbol)
+       (allocate_template_symbol): Initialize SYMBOL_SECTION.
+       * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):
+       Update.
+
+2013-04-08  Tom Tromey  <tromey@redhat.com>
+
+       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.
+
+2013-04-08  Tom Tromey  <tromey@redhat.com>
+
+       * coffread.c (cs_to_section): Use gdb_bfd_section_index.
+       * elfread.c (record_minimal_symbol, elf_symtab_read): Use
+       gdb_bfd_section_index.
+       * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
+       New functions.
+       * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
+       Declare.
+       * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
+       Update.
+       * objfiles.c (add_to_objfile_sections_full): New function.
+       (add_to_objfile_sections): Use it.
+       (build_section_table): Rewrite.
+       (objfile_relocate1): Use gdb_bfd_section_index.  Update.
+       * objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
+       (struct objfile) <sections>: Update comment.
+       (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
+       is NULL.
+       (ALL_OBJSECTIONS): Use it.
+       * solib-dsbt.c (dsbt_relocate_main_executable): Update.
+       * solib-frv.c (frv_relocate_main_executable): Update.
+       * solib-target.c (solib_target_relocate_section_addresses):
+       Use gdb_bfd_section_index.
+       * symfile.c (build_section_addr_info_from_section_table):
+       Use gdb_bfd_section_index.
+       (build_section_addr_info_from_bfd, place_section): Likewise.
+       * symtab.c (fixup_section): Update.
+       * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.
+
 2013-04-08  Tom Tromey  <tromey@redhat.com>
 
        * minsyms.h (struct bound_minimal_symbol): New.
This page took 0.027061 seconds and 4 git commands to generate.