Lines Matching refs:objfile

192 find_text_range (bfd * sym_bfd, struct objfile *objfile)  in find_text_range()  argument
224 DBX_TEXT_ADDR (objfile) = start; in find_text_range()
225 DBX_TEXT_SIZE (objfile) = end - start; in find_text_range()
257 static void read_dbx_dynamic_symtab (struct objfile *objfile);
259 static void read_dbx_symtab (struct objfile *);
261 static void free_bincl_list (struct objfile *);
267 static void init_bincl_list (int, struct objfile *);
269 static char *dbx_next_symbol_text (struct objfile *);
273 static void dbx_symfile_init (struct objfile *);
275 static void dbx_new_init (struct objfile *);
277 static void dbx_symfile_read (struct objfile *, int);
279 static void dbx_symfile_finish (struct objfile *);
281 static void record_minimal_symbol (char *, CORE_ADDR, int, struct objfile *);
289 static struct partial_symtab *start_psymtab (struct objfile *, char *,
426 struct objfile *objfile) in record_minimal_symbol() argument
436 section = SECT_OFF_TEXT (objfile); in record_minimal_symbol()
437 bfd_section = DBX_TEXT_SECTION (objfile); in record_minimal_symbol()
441 section = SECT_OFF_DATA (objfile); in record_minimal_symbol()
442 bfd_section = DBX_DATA_SECTION (objfile); in record_minimal_symbol()
446 section = SECT_OFF_BSS (objfile); in record_minimal_symbol()
447 bfd_section = DBX_BSS_SECTION (objfile); in record_minimal_symbol()
457 section = SECT_OFF_DATA (objfile); in record_minimal_symbol()
458 bfd_section = DBX_DATA_SECTION (objfile); in record_minimal_symbol()
465 section = SECT_OFF_DATA (objfile); in record_minimal_symbol()
466 bfd_section = DBX_DATA_SECTION (objfile); in record_minimal_symbol()
474 section = SECT_OFF_TEXT (objfile); in record_minimal_symbol()
475 bfd_section = DBX_TEXT_SECTION (objfile); in record_minimal_symbol()
490 if (tempstring[0] == bfd_get_symbol_leading_char (objfile->obfd)) in record_minimal_symbol()
495 section = SECT_OFF_DATA (objfile); in record_minimal_symbol()
496 bfd_section = DBX_DATA_SECTION (objfile); in record_minimal_symbol()
500 section = SECT_OFF_BSS (objfile); in record_minimal_symbol()
501 bfd_section = DBX_BSS_SECTION (objfile); in record_minimal_symbol()
515 (name, address, ms_type, NULL, section, bfd_section, objfile); in record_minimal_symbol()
527 dbx_symfile_read (struct objfile *objfile, int mainline) in dbx_symfile_read() argument
533 sym_bfd = objfile->obfd; in dbx_symfile_read()
553 val = bfd_seek (sym_bfd, DBX_SYMTAB_OFFSET (objfile), SEEK_SET); in dbx_symfile_read()
555 perror_with_name (objfile->name); in dbx_symfile_read()
559 || (objfile->global_psymbols.size == 0 in dbx_symfile_read()
560 && objfile->static_psymbols.size == 0)) in dbx_symfile_read()
561 init_psymbol_list (objfile, DBX_SYMCOUNT (objfile)); in dbx_symfile_read()
563 symbol_size = DBX_SYMBOL_SIZE (objfile); in dbx_symfile_read()
564 symbol_table_offset = DBX_SYMTAB_OFFSET (objfile); in dbx_symfile_read()
574 read_dbx_symtab (objfile); in dbx_symfile_read()
578 read_dbx_dynamic_symtab (objfile); in dbx_symfile_read()
583 install_minimal_symbols (objfile); in dbx_symfile_read()
593 dbx_new_init (struct objfile *ignore) in dbx_new_init()
617 dbx_symfile_init (struct objfile *objfile) in dbx_symfile_init() argument
620 bfd *sym_bfd = objfile->obfd; in dbx_symfile_init()
626 objfile->sym_stab_info = (struct dbx_symfile_info *) in dbx_symfile_init()
628 memset (objfile->sym_stab_info, 0, sizeof (struct dbx_symfile_info)); in dbx_symfile_init()
630 DBX_TEXT_SECTION (objfile) = bfd_get_section_by_name (sym_bfd, ".text"); in dbx_symfile_init()
631 DBX_DATA_SECTION (objfile) = bfd_get_section_by_name (sym_bfd, ".data"); in dbx_symfile_init()
632 DBX_BSS_SECTION (objfile) = bfd_get_section_by_name (sym_bfd, ".bss"); in dbx_symfile_init()
640 DBX_SYMFILE_INFO (objfile)->stab_section_info = NULL; in dbx_symfile_init()
645 DBX_TEXT_ADDR (objfile) = bfd_section_vma (sym_bfd, text_sect); in dbx_symfile_init()
646 DBX_TEXT_SIZE (objfile) = bfd_section_size (sym_bfd, text_sect); in dbx_symfile_init()
648 DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd); in dbx_symfile_init()
649 DBX_SYMCOUNT (objfile) = bfd_get_symcount (sym_bfd); in dbx_symfile_init()
650 DBX_SYMTAB_OFFSET (objfile) = SYMBOL_TABLE_OFFSET; in dbx_symfile_init()
670 DBX_STRINGTAB_SIZE (objfile) = 0; in dbx_symfile_init()
671 DBX_STRINGTAB (objfile) = NULL; in dbx_symfile_init()
690 DBX_STRINGTAB_SIZE (objfile) = 0; in dbx_symfile_init()
691 DBX_STRINGTAB (objfile) = NULL; in dbx_symfile_init()
702 DBX_STRINGTAB_SIZE (objfile) = bfd_h_get_32 (sym_bfd, size_temp); in dbx_symfile_init()
704 if (DBX_STRINGTAB_SIZE (objfile) < sizeof (size_temp) in dbx_symfile_init()
705 || DBX_STRINGTAB_SIZE (objfile) > bfd_get_size (sym_bfd)) in dbx_symfile_init()
707 DBX_STRINGTAB_SIZE (objfile)); in dbx_symfile_init()
709 DBX_STRINGTAB (objfile) = in dbx_symfile_init()
710 (char *) obstack_alloc (&objfile->objfile_obstack, in dbx_symfile_init()
711 DBX_STRINGTAB_SIZE (objfile)); in dbx_symfile_init()
712 OBJSTAT (objfile, sz_strtab += DBX_STRINGTAB_SIZE (objfile)); in dbx_symfile_init()
719 val = bfd_bread (DBX_STRINGTAB (objfile), in dbx_symfile_init()
720 DBX_STRINGTAB_SIZE (objfile), in dbx_symfile_init()
722 if (val != DBX_STRINGTAB_SIZE (objfile)) in dbx_symfile_init()
734 dbx_symfile_finish (struct objfile *objfile) in dbx_symfile_finish() argument
736 if (objfile->sym_stab_info != NULL) in dbx_symfile_finish()
738 if (HEADER_FILES (objfile) != NULL) in dbx_symfile_finish()
740 int i = N_HEADER_FILES (objfile); in dbx_symfile_finish()
741 struct header_file *hfiles = HEADER_FILES (objfile); in dbx_symfile_finish()
750 xfree (objfile->sym_stab_info); in dbx_symfile_finish()
870 dbx_next_symbol_text (struct objfile *objfile) in dbx_next_symbol_text() argument
879 OBJSTAT (objfile, n_stabs++); in dbx_next_symbol_text()
890 init_bincl_list (int number, struct objfile *objfile) in init_bincl_list() argument
937 free_bincl_list (struct objfile *objfile) in free_bincl_list() argument
944 do_free_bincl_list_cleanup (void *objfile) in do_free_bincl_list_cleanup() argument
946 free_bincl_list (objfile); in do_free_bincl_list_cleanup()
950 make_cleanup_free_bincl_list (struct objfile *objfile) in make_cleanup_free_bincl_list() argument
952 return make_cleanup (do_free_bincl_list_cleanup, objfile); in make_cleanup_free_bincl_list()
960 set_namestring (struct objfile *objfile, struct internal_nlist nlist) in set_namestring() argument
965 DBX_STRINGTAB_SIZE (objfile)) in set_namestring()
973 DBX_STRINGTAB (objfile); in set_namestring()
981 read_dbx_dynamic_symtab (struct objfile *objfile) in read_dbx_dynamic_symtab() argument
983 bfd *abfd = objfile->obfd; in read_dbx_dynamic_symtab()
1039 sym_value += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_dynamic_symtab()
1044 sym_value += ANOFFSET (objfile->section_offsets, SECT_OFF_DATA (objfile)); in read_dbx_dynamic_symtab()
1049 sym_value += ANOFFSET (objfile->section_offsets, SECT_OFF_BSS (objfile)); in read_dbx_dynamic_symtab()
1059 type, objfile); in read_dbx_dynamic_symtab()
1090 rel->address + ANOFFSET (objfile->section_offsets, SECT_OFF_DATA (objfile)); in read_dbx_dynamic_symtab()
1113 objfile); in read_dbx_dynamic_symtab()
1122 struct objfile *objfile) in find_stab_function_addr() argument
1136 msym = lookup_minimal_symbol (p, filename, objfile); in find_stab_function_addr()
1144 msym = lookup_minimal_symbol (p, filename, objfile); in find_stab_function_addr()
1151 msym = lookup_minimal_symbol (p, NULL, objfile); in find_stab_function_addr()
1158 msym = lookup_minimal_symbol (p, NULL, objfile); in find_stab_function_addr()
1177 read_dbx_symtab (struct objfile *objfile) in read_dbx_symtab() argument
1206 text_addr = DBX_TEXT_ADDR (objfile); in read_dbx_symtab()
1207 text_size = DBX_TEXT_SIZE (objfile); in read_dbx_symtab()
1214 stringtab_global = DBX_STRINGTAB (objfile); in read_dbx_symtab()
1230 init_bincl_list (20, objfile); in read_dbx_symtab()
1231 back_to = make_cleanup_free_bincl_list (objfile); in read_dbx_symtab()
1237 symfile_bfd = objfile->obfd; /* For next_text_symbol */ in read_dbx_symtab()
1238 abfd = objfile->obfd; in read_dbx_symtab()
1264 data_sect_index = objfile->sect_index_data; in read_dbx_symtab()
1266 data_sect_index = SECT_OFF_BSS (objfile); in read_dbx_symtab()
1268 data_sect_index = SECT_OFF_RODATA (objfile); in read_dbx_symtab()
1276 for (symnum = 0; symnum < DBX_SYMCOUNT (objfile); symnum++) in read_dbx_symtab()
1294 OBJSTAT (objfile, n_stabs++); in read_dbx_symtab()
1317 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_symtab()
1322 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_DATA (objfile)); in read_dbx_symtab()
1329 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_BSS (objfile)); in read_dbx_symtab()
1334 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1338 nlist.n_type, objfile); /* Always */ in read_dbx_symtab()
1353 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_symtab()
1354 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1383 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_DATA (objfile)); in read_dbx_symtab()
1394 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1462 valu = nlist.n_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_symtab()
1504 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1530 pst = start_psymtab (objfile, in read_dbx_symtab()
1533 objfile->global_psymbols.next, in read_dbx_symtab()
1534 objfile->static_psymbols.next); in read_dbx_symtab()
1548 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1581 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1650 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
1682 nlist.n_value += ANOFFSET (objfile->section_offsets, data_sect_index); in read_dbx_symtab()
1688 &objfile->static_psymbols, in read_dbx_symtab()
1690 psymtab_language, objfile); in read_dbx_symtab()
1693 nlist.n_value += ANOFFSET (objfile->section_offsets, data_sect_index); in read_dbx_symtab()
1698 &objfile->global_psymbols, in read_dbx_symtab()
1700 psymtab_language, objfile); in read_dbx_symtab()
1716 &objfile->static_psymbols, in read_dbx_symtab()
1718 psymtab_language, objfile); in read_dbx_symtab()
1724 &objfile->static_psymbols, in read_dbx_symtab()
1726 psymtab_language, objfile); in read_dbx_symtab()
1736 &objfile->static_psymbols, in read_dbx_symtab()
1738 psymtab_language, objfile); in read_dbx_symtab()
1788 p = next_symbol_text (objfile); in read_dbx_symtab()
1798 &objfile->static_psymbols, 0, in read_dbx_symtab()
1799 0, psymtab_language, objfile); in read_dbx_symtab()
1815 &objfile->static_psymbols, nlist.n_value, in read_dbx_symtab()
1816 0, psymtab_language, objfile); in read_dbx_symtab()
1829 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_symtab()
1835 if (nlist.n_value == ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1836 SECT_OFF_TEXT (objfile))) in read_dbx_symtab()
1839 find_stab_function_addr (namestring, pst->filename, objfile); in read_dbx_symtab()
1868 != ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1869 SECT_OFF_TEXT (objfile)))))) in read_dbx_symtab()
1876 &objfile->static_psymbols, in read_dbx_symtab()
1878 psymtab_language, objfile); in read_dbx_symtab()
1894 nlist.n_value += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_dbx_symtab()
1900 if (nlist.n_value == ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1901 SECT_OFF_TEXT (objfile))) in read_dbx_symtab()
1904 find_stab_function_addr (namestring, pst->filename, objfile); in read_dbx_symtab()
1933 != ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1934 SECT_OFF_TEXT (objfile)))))) in read_dbx_symtab()
1941 &objfile->global_psymbols, in read_dbx_symtab()
1943 psymtab_language, objfile); in read_dbx_symtab()
1993 namestring = set_namestring (objfile, nlist); in read_dbx_symtab()
2110 ? (text_addr + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))) in read_dbx_symtab()
2132 start_psymtab (struct objfile *objfile, char *filename, CORE_ADDR textlow, in start_psymtab() argument
2137 start_psymtab_common (objfile, objfile->section_offsets, in start_psymtab()
2141 obstack_alloc (&objfile->objfile_obstack, sizeof (struct symloc)); in start_psymtab()
2153 elfstab_offset_sections (objfile, result); in start_psymtab()
2173 struct objfile *objfile = pst->objfile; in end_psymtab() local
2209 minsym = lookup_minimal_symbol (p, pst->filename, objfile); in end_psymtab()
2217 minsym = lookup_minimal_symbol (p, pst->filename, objfile); in end_psymtab()
2239 ALL_OBJFILE_PSYMTABS (objfile, p1) in end_psymtab()
2255 objfile->global_psymbols.next - (objfile->global_psymbols.list + pst->globals_offset); in end_psymtab()
2257 objfile->static_psymbols.next - (objfile->static_psymbols.list + pst->statics_offset); in end_psymtab()
2263 obstack_alloc (&objfile->objfile_obstack, in end_psymtab()
2274 allocate_psymtab (include_list[i], objfile); in end_psymtab()
2279 (char *) obstack_alloc (&objfile->objfile_obstack, in end_psymtab()
2289 obstack_alloc (&objfile->objfile_obstack, in end_psymtab()
2377 bfd_seek (pst->objfile->obfd, SYMBOL_OFFSET (pst), SEEK_SET); in dbx_psymtab_to_symtab_1()
2415 sym_bfd = pst->objfile->obfd; in dbx_psymtab_to_symtab()
2419 if (DBX_STAB_SECTION (pst->objfile)) in dbx_psymtab_to_symtab()
2422 = symfile_relocate_debug_section (pst->objfile->obfd, in dbx_psymtab_to_symtab()
2423 DBX_STAB_SECTION (pst->objfile), in dbx_psymtab_to_symtab()
2436 scan_file_globals (pst->objfile); in dbx_psymtab_to_symtab()
2455 struct objfile *objfile; in read_ofile_symtab() local
2462 objfile = pst->objfile; in read_ofile_symtab()
2473 current_objfile = objfile; in read_ofile_symtab()
2476 stringtab_global = DBX_STRINGTAB (objfile); in read_ofile_symtab()
2479 abfd = objfile->obfd; in read_ofile_symtab()
2480 symfile_bfd = objfile->obfd; /* Implicit param to next_text_symbol */ in read_ofile_symtab()
2497 OBJSTAT (objfile, n_stabs++); in read_ofile_symtab()
2499 namestring = set_namestring (objfile, nlist); in read_ofile_symtab()
2557 OBJSTAT (objfile, n_stabs++); in read_ofile_symtab()
2561 namestring = set_namestring (objfile, nlist); in read_ofile_symtab()
2566 namestring, section_offsets, objfile); in read_ofile_symtab()
2623 pst->symtab = end_symtab (text_offset + text_size, objfile, SECT_OFF_TEXT (objfile)); in read_ofile_symtab()
2648 struct objfile *objfile) in process_one_symbol() argument
2679 function_start_offset = ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
2722 objfile); in process_one_symbol()
2735 valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
2836 new->start_addr, valu, objfile); in process_one_symbol()
2857 valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
2866 valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
2881 end_symtab (valu, objfile, SECT_OFF_TEXT (objfile)); in process_one_symbol()
2904 valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
2942 common_block_start (name, objfile); in process_one_symbol()
2946 common_block_end (objfile); in process_one_symbol()
2987 valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
3007 valu += ANOFFSET (section_offsets, SECT_OFF_DATA (objfile)); in process_one_symbol()
3013 valu += ANOFFSET (section_offsets, SECT_OFF_BSS (objfile)); in process_one_symbol()
3017 valu += ANOFFSET (section_offsets, SECT_OFF_RODATA (objfile)); in process_one_symbol()
3022 valu += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in process_one_symbol()
3074 && valu == ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile))) in process_one_symbol()
3077 find_stab_function_addr (name, last_source_file, objfile); in process_one_symbol()
3112 new->start_addr, valu, objfile); in process_one_symbol()
3116 new->name = define_symbol (valu, name, desc, type, objfile); in process_one_symbol()
3120 define_symbol (valu, name, desc, type, objfile); in process_one_symbol()
3229 coffstab_build_psymtabs (struct objfile *objfile, int mainline, in coffstab_build_psymtabs() argument
3235 bfd *sym_bfd = objfile->obfd; in coffstab_build_psymtabs()
3242 info = objfile->sym_stab_info; in coffstab_build_psymtabs()
3244 DBX_TEXT_ADDR (objfile) = textaddr; in coffstab_build_psymtabs()
3245 DBX_TEXT_SIZE (objfile) = textsize; in coffstab_build_psymtabs()
3248 DBX_SYMBOL_SIZE (objfile) = COFF_STABS_SYMBOL_SIZE; in coffstab_build_psymtabs()
3249 DBX_STRINGTAB_SIZE (objfile) = stabstrsize; in coffstab_build_psymtabs()
3253 DBX_STRINGTAB (objfile) = (char *) in coffstab_build_psymtabs()
3254 obstack_alloc (&objfile->objfile_obstack, stabstrsize + 1); in coffstab_build_psymtabs()
3255 OBJSTAT (objfile, sz_strtab += stabstrsize + 1); in coffstab_build_psymtabs()
3262 val = bfd_bread (DBX_STRINGTAB (objfile), stabstrsize, sym_bfd); in coffstab_build_psymtabs()
3279 DBX_SYMCOUNT (objfile) = stabsize / DBX_SYMBOL_SIZE (objfile); in coffstab_build_psymtabs()
3280 DBX_SYMTAB_OFFSET (objfile) = stabsects->section->filepos; in coffstab_build_psymtabs()
3286 DBX_SYMCOUNT (objfile) = 0; in coffstab_build_psymtabs()
3290 DBX_SYMCOUNT (objfile) += stabsize / DBX_SYMBOL_SIZE (objfile); in coffstab_build_psymtabs()
3293 DBX_SYMTAB_OFFSET (objfile) = stabsects->section->filepos; in coffstab_build_psymtabs()
3300 dbx_symfile_read (objfile, 0); in coffstab_build_psymtabs()
3322 elfstab_build_psymtabs (struct objfile *objfile, int mainline, in elfstab_build_psymtabs() argument
3327 bfd *sym_bfd = objfile->obfd; in elfstab_build_psymtabs()
3334 info = objfile->sym_stab_info; in elfstab_build_psymtabs()
3338 find_text_range (sym_bfd, objfile); in elfstab_build_psymtabs()
3341 DBX_SYMBOL_SIZE (objfile) = ELF_STABS_SYMBOL_SIZE; in elfstab_build_psymtabs()
3342 DBX_SYMCOUNT (objfile) in elfstab_build_psymtabs()
3343 = bfd_section_size (objfile->obfd, stabsect) / DBX_SYMBOL_SIZE (objfile); in elfstab_build_psymtabs()
3344 DBX_STRINGTAB_SIZE (objfile) = stabstrsize; in elfstab_build_psymtabs()
3345 DBX_SYMTAB_OFFSET (objfile) = stabsect->filepos; in elfstab_build_psymtabs()
3346 DBX_STAB_SECTION (objfile) = stabsect; in elfstab_build_psymtabs()
3350 DBX_STRINGTAB (objfile) = (char *) in elfstab_build_psymtabs()
3351 obstack_alloc (&objfile->objfile_obstack, stabstrsize + 1); in elfstab_build_psymtabs()
3352 OBJSTAT (objfile, sz_strtab += stabstrsize + 1); in elfstab_build_psymtabs()
3359 val = bfd_bread (DBX_STRINGTAB (objfile), stabstrsize, sym_bfd); in elfstab_build_psymtabs()
3371 symbuf_left = bfd_section_size (objfile->obfd, stabsect); in elfstab_build_psymtabs()
3372 stabs_data = symfile_relocate_debug_section (objfile->obfd, stabsect, NULL); in elfstab_build_psymtabs()
3382 dbx_symfile_read (objfile, 0); in elfstab_build_psymtabs()
3406 stabsect_build_psymtabs (struct objfile *objfile, int mainline, char *stab_name, in stabsect_build_psymtabs() argument
3410 bfd *sym_bfd = objfile->obfd; in stabsect_build_psymtabs()
3426 objfile->sym_stab_info = (struct dbx_symfile_info *) in stabsect_build_psymtabs()
3428 memset (objfile->sym_stab_info, 0, sizeof (struct dbx_symfile_info)); in stabsect_build_psymtabs()
3433 DBX_TEXT_ADDR (objfile) = bfd_section_vma (sym_bfd, text_sect); in stabsect_build_psymtabs()
3434 DBX_TEXT_SIZE (objfile) = bfd_section_size (sym_bfd, text_sect); in stabsect_build_psymtabs()
3436 DBX_SYMBOL_SIZE (objfile) = sizeof (struct external_nlist); in stabsect_build_psymtabs()
3437 DBX_SYMCOUNT (objfile) = bfd_section_size (sym_bfd, stabsect) in stabsect_build_psymtabs()
3438 / DBX_SYMBOL_SIZE (objfile); in stabsect_build_psymtabs()
3439 DBX_STRINGTAB_SIZE (objfile) = bfd_section_size (sym_bfd, stabstrsect); in stabsect_build_psymtabs()
3440 …DBX_SYMTAB_OFFSET (objfile) = stabsect->filepos; /* XXX - FIXME: POKING INSIDE BFD DATA STRUCTURES… in stabsect_build_psymtabs()
3442 if (DBX_STRINGTAB_SIZE (objfile) > bfd_get_size (sym_bfd)) in stabsect_build_psymtabs()
3443 error ("ridiculous string table size: %d bytes", DBX_STRINGTAB_SIZE (objfile)); in stabsect_build_psymtabs()
3444 DBX_STRINGTAB (objfile) = (char *) in stabsect_build_psymtabs()
3445 obstack_alloc (&objfile->objfile_obstack, DBX_STRINGTAB_SIZE (objfile) + 1); in stabsect_build_psymtabs()
3446 OBJSTAT (objfile, sz_strtab += DBX_STRINGTAB_SIZE (objfile) + 1); in stabsect_build_psymtabs()
3452 DBX_STRINGTAB (objfile), /* input buffer */ in stabsect_build_psymtabs()
3454 DBX_STRINGTAB_SIZE (objfile)); /* amount to read */ in stabsect_build_psymtabs()
3467 dbx_symfile_read (objfile, 0); in stabsect_build_psymtabs()