Lines Matching defs:objfile

224   /* The objfile containing this compilation unit.  */
225 struct objfile *objfile;
447 The complete dwarf information for an objfile is kept in the
450 object file and could be passed via the sym_private field of the objfile.
456 /* Pointer to start of dwarf info buffer for the objfile. */
464 /* Pointer to start of dwarf abbreviation buffer for the objfile. */
468 /* Size of dwarf abbreviation section for the objfile. */
472 /* Pointer to start of dwarf line buffer for the objfile. */
480 /* Pointer to start of dwarf string buffer for the objfile. */
484 /* Size of dwarf string section for the objfile. */
488 /* Pointer to start of dwarf macro buffer for the objfile. */
492 /* Size of dwarf macinfo section for the objfile. */
496 /* Pointer to start of dwarf ranges buffer for the objfile. */
500 /* Size of dwarf ranges buffer for the objfile. */
504 /* Pointer to start of dwarf locations buffer for the objfile. */
508 /* Size of dwarf locations buffer for the objfile. */
633 static void dwarf2_build_psymtabs_easy (struct objfile *, int);
636 static void dwarf2_build_psymtabs_hard (struct objfile *, int);
672 char *dwarf2_read_section (struct objfile *, asection *);
760 static struct type *type_at_offset (unsigned int, struct objfile *);
905 static struct type *dwarf2_fundamental_type (struct objfile *, int,
1023 dwarf2_build_psymtabs (struct objfile *objfile, int mainline)
1028 dwarf_info_buffer = dwarf2_read_section (objfile, dwarf_info_section);
1029 dwarf_abbrev_buffer = dwarf2_read_section (objfile, dwarf_abbrev_section);
1032 dwarf_line_buffer = dwarf2_read_section (objfile, dwarf_line_section);
1037 dwarf_str_buffer = dwarf2_read_section (objfile, dwarf_str_section);
1042 dwarf_macinfo_buffer = dwarf2_read_section (objfile,
1048 dwarf_ranges_buffer = dwarf2_read_section (objfile, dwarf_ranges_section);
1053 dwarf_loc_buffer = dwarf2_read_section (objfile, dwarf_loc_section);
1058 || (objfile->global_psymbols.size == 0
1059 && objfile->static_psymbols.size == 0))
1061 init_psymbol_list (objfile, 1024);
1070 dwarf2_build_psymtabs_easy (objfile, mainline);
1077 dwarf2_build_psymtabs_hard (objfile, mainline);
1086 dwarf2_build_psymtabs_easy (struct objfile *objfile, int mainline)
1088 bfd *abfd = objfile->obfd;
1093 pubnames_buffer = dwarf2_read_section (objfile,
1112 aranges_buffer = dwarf2_read_section (objfile,
1149 dwarf2_build_psymtabs_hard (struct objfile *objfile, int mainline)
1153 bfd *abfd = objfile->obfd;
1213 cu.objfile = objfile;
1257 pst = start_psymtab_common (objfile, objfile->section_offsets,
1260 objfile->global_psymbols.next,
1261 objfile->static_psymbols.next);
1264 obstack_alloc (&objfile->objfile_obstack, sizeof (struct dwarf2_pinfo));
1279 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
1311 pst->n_global_syms = objfile->global_psymbols.next -
1312 (objfile->global_psymbols.list + pst->globals_offset);
1313 pst->n_static_syms = objfile->static_psymbols.next -
1314 (objfile->static_psymbols.list + pst->statics_offset);
1340 struct objfile *objfile = cu->objfile;
1341 bfd *abfd = objfile->obfd;
1450 struct objfile *objfile = cu->objfile;
1456 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
1475 mst_text, objfile); */
1478 &objfile->global_psymbols,
1480 cu->language, objfile);
1485 mst_file_text, objfile); */
1488 &objfile->static_psymbols,
1490 cu->language, objfile);
1514 &objfile->global_psymbols,
1516 cu->language, objfile);
1525 mst_file_data, objfile); */
1528 &objfile->static_psymbols,
1530 cu->language, objfile);
1538 &objfile->static_psymbols,
1539 0, (CORE_ADDR) 0, cu->language, objfile);
1554 ? &objfile->global_psymbols
1555 : &objfile->static_psymbols,
1556 0, (CORE_ADDR) 0, cu->language, objfile);
1563 &objfile->global_psymbols,
1564 0, (CORE_ADDR) 0, cu->language, objfile);
1571 ? &objfile->global_psymbols
1572 : &objfile->static_psymbols,
1573 0, (CORE_ADDR) 0, cu->language, objfile);
1590 objfile);
1626 struct objfile *objfile = cu->objfile;
1647 &objfile->global_psymbols,
1648 0, 0, cu->language, objfile);
1665 bfd *abfd = cu->objfile->obfd;
1736 struct objfile *objfile = cu->objfile;
1737 bfd *abfd = objfile->obfd;
1823 struct objfile *objfile = pst->objfile;
1824 bfd *abfd = objfile->obfd;
1852 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
1863 cu.objfile = objfile;
1913 symtab = end_symtab (highpc + baseaddr, objfile, SECT_OFF_TEXT (objfile));
2037 struct objfile *objfile = cu->objfile;
2046 bfd *abfd = objfile->obfd;
2050 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
2081 if (objfile->ei.entry_point >= lowpc &&
2082 objfile->ei.entry_point < highpc)
2084 objfile->ei.deprecated_entry_file_lowpc = lowpc;
2085 objfile->ei.deprecated_entry_file_highpc = highpc;
2104 /* The compilation unit may be in a different language or objfile,
2177 struct objfile *objfile = cu->objfile;
2188 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
2237 if (objfile->ei.entry_point >= lowpc &&
2238 objfile->ei.entry_point < highpc)
2240 objfile->ei.entry_func_lowpc = lowpc;
2241 objfile->ei.entry_func_highpc = highpc;
2277 lowpc, highpc, objfile);
2302 struct objfile *objfile = cu->objfile;
2308 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
2335 highpc, objfile);
2347 struct objfile *objfile = cu->objfile;
2350 bfd *obfd = objfile->obfd;
2567 struct objfile *objfile = cu->objfile;
2679 &objfile->objfile_obstack);
2711 &objfile->objfile_obstack));
2714 &objfile->objfile_obstack);
2824 struct objfile *objfile = cu->objfile;
2883 &objfile->objfile_obstack);
2884 fnp->type = alloc_type (objfile);
3011 struct objfile *objfile = cu->objfile;
3020 type = alloc_type (objfile);
3031 &objfile->objfile_obstack);
3176 struct objfile *objfile = cu->objfile;
3216 struct objfile *objfile = cu->objfile;
3223 type = alloc_type (objfile);
3233 TYPE_TAG_NAME (type) = obconcat (&objfile->objfile_obstack,
3242 &objfile->objfile_obstack);
3324 struct objfile *objfile = cu->objfile;
3396 struct objfile *objfile = cu->objfile;
3417 index_type = dwarf2_fundamental_type (objfile, FT_INTEGER, cu);
3522 struct objfile *objfile = cu->objfile;
3561 objfile);
3680 struct objfile *objfile = cu->objfile;
3690 type = alloc_type (objfile);
3729 struct objfile *objfile = cu->objfile;
3738 type = alloc_type (objfile);
3800 struct objfile *objfile = cu->objfile;
3828 index_type = dwarf2_fundamental_type (objfile, FT_INTEGER, cu);
3838 char_type = dwarf2_fundamental_type (objfile, FT_CHAR, cu);
3928 struct objfile *objfile = cu->objfile;
3939 die->type = init_type (TYPE_CODE_TYPEDEF, 0, TYPE_FLAG_TARGET_STUB, name, objfile);
3950 struct objfile *objfile = cu->objfile;
4006 type = init_type (code, size, type_flags, DW_STRING (attr), objfile);
4008 TYPE_TARGET_TYPE (type) = dwarf2_fundamental_type (objfile, FT_VOID,
4014 = dwarf2_fundamental_type (objfile, FT_EXT_PREC_FLOAT, cu);
4017 = dwarf2_fundamental_type (objfile, FT_DBL_PREC_FLOAT, cu);
4020 = dwarf2_fundamental_type (objfile, FT_FLOAT, cu);
4227 dwarf2_read_section (struct objfile *objfile, asection *sectp)
4229 bfd *abfd = objfile->obfd;
4236 buf = (char *) obstack_alloc (&objfile->objfile_obstack, size);
5352 struct objfile *objfile = cu->objfile;
5354 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
5562 struct objfile *objfile = cu->objfile;
5595 read_address (objfile->obfd, DW_BLOCK (attr)->data + 1, cu, &dummy);
5596 fixup_symbol_section (sym, objfile);
5597 SYMBOL_VALUE_ADDRESS (sym) += ANOFFSET (objfile->section_offsets,
5623 struct objfile *objfile = cu->objfile;
5630 baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
5639 sym = (struct symbol *) obstack_alloc (&objfile->objfile_obstack,
5641 OBJSTAT (objfile, n_syms++);
5646 SYMBOL_SET_NAMES (sym, name, strlen (name), objfile);
5693 objfile);
5777 &objfile->objfile_obstack);
5804 obstack_alloc (&objfile->objfile_obstack,
5812 &objfile->objfile_obstack);
5821 SYMBOL_LINKAGE_NAME (sym) = obconcat (&objfile->objfile_obstack,
5840 SYMBOL_LINKAGE_NAME (sym) = obconcat (&objfile->objfile_obstack,
5886 struct objfile *objfile = cu->objfile;
5899 obstack_alloc (&objfile->objfile_obstack, cu_header->addr_size);
5917 obstack_alloc (&objfile->objfile_obstack, blk->size);
5997 return dwarf2_fundamental_type (cu->objfile, FT_VOID, cu);
6006 ref, cu->objfile->name);
6015 cu->objfile->name);
6039 cu->objfile->name);
6049 cu->objfile->name);
6086 die->tag, cu->objfile->name);
6256 struct objfile *objfile = cu->objfile;
6264 type = dwarf2_fundamental_type (objfile, FT_VOID, cu);
6267 type = dwarf2_fundamental_type (objfile, FT_BOOLEAN, cu);
6272 type = dwarf2_fundamental_type (objfile, FT_DBL_PREC_COMPLEX, cu);
6276 type = dwarf2_fundamental_type (objfile, FT_COMPLEX, cu);
6282 type = dwarf2_fundamental_type (objfile, FT_DBL_PREC_FLOAT, cu);
6286 type = dwarf2_fundamental_type (objfile, FT_FLOAT, cu);
6293 type = dwarf2_fundamental_type (objfile, FT_SIGNED_CHAR, cu);
6296 type = dwarf2_fundamental_type (objfile, FT_SIGNED_SHORT, cu);
6300 type = dwarf2_fundamental_type (objfile, FT_SIGNED_INTEGER, cu);
6305 type = dwarf2_fundamental_type (objfile, FT_SIGNED_CHAR, cu);
6311 type = dwarf2_fundamental_type (objfile, FT_UNSIGNED_CHAR, cu);
6314 type = dwarf2_fundamental_type (objfile, FT_UNSIGNED_SHORT, cu);
6318 type = dwarf2_fundamental_type (objfile, FT_UNSIGNED_INTEGER, cu);
6323 type = dwarf2_fundamental_type (objfile, FT_UNSIGNED_CHAR, cu);
6326 type = dwarf2_fundamental_type (objfile, FT_SIGNED_INTEGER, cu);
7399 dwarf2_fundamental_type (struct objfile *objfile, int typeid,
7405 typeid, objfile->name);
7414 cu->ftypes[typeid] = cu->language_defn->la_fund_type (objfile, typeid);
7448 struct objfile *objfile = cu->objfile;
7551 stack[++stacki] = read_address (objfile->obfd, &data[i],
7557 stack[++stacki] = read_1_byte (objfile->obfd, &data[i]);
7562 stack[++stacki] = read_1_signed_byte (objfile->obfd, &data[i]);
7567 stack[++stacki] = read_2_bytes (objfile->obfd, &data[i]);
7572 stack[++stacki] = read_2_signed_bytes (objfile->obfd, &data[i]);
7577 stack[++stacki] = read_4_bytes (objfile->obfd, &data[i]);
7582 stack[++stacki] = read_4_signed_bytes (objfile->obfd, &data[i]);
7730 struct line_header *lh, struct objfile *objfile)
7738 pending_macros = new_macro_table (&objfile->objfile_obstack,
7739 objfile->macro_cache);
8004 lh, cu->objfile);
8081 baton = obstack_alloc (&cu->objfile->objfile_obstack,
8083 baton->objfile = cu->objfile;
8101 baton = obstack_alloc (&cu->objfile->objfile_obstack,
8103 baton->objfile = cu->objfile;
8109 dwarf_info_buffer for SYM's objfile; right now we never