Lines Matching refs:sym
210 struct internal_syment *sym; in do_where() local
217 sym = &rawsyms[i].u.syment; in do_where()
218 where->offset = sym->n_value; in do_where()
220 if (sym->n_scnum == -1) in do_where()
221 sym->n_scnum = 0; in do_where()
223 switch (sym->n_sclass) in do_where()
227 where->offset = sym->n_value / 8; in do_where()
228 where->bitoffset = sym->n_value % 8; in do_where()
249 if (sym->n_scnum >= ofile->nsections || sym->n_scnum < 0) in do_where()
252 sym->n_scnum); in do_where()
256 where->section = &ofile->sections[sym->n_scnum]; in do_where()
273 fatal (_("Unrecognized symbol class: %d"), sym->n_sclass); in do_where()
300 if (rawsyms + i == ((coff_symbol_type *) (&(s->lineno[l].u.sym[0])))->native) in do_lines()
343 struct internal_syment *sym; in do_type() local
355 sym = &rawsyms[i].u.syment; in do_type()
357 if (sym->n_numaux == 0 || i >= rawcount -1 || rawsyms[i + 1].is_sym) in do_type()
362 type = sym->n_type; in do_type()
371 if (sym->n_numaux && sym->n_sclass == C_STAT) in do_type()
424 if (sym->n_numaux) in do_type()
563 ptr->u.function.lines = do_lines (i, N(sym)); in do_type()
577 struct internal_syment *sym = &rawsyms[i].u.syment; in do_visible() local
582 switch (sym->n_sclass) in do_visible()
616 if (sym->n_scnum == N_UNDEF) in do_visible()
618 if (sym->n_value) in do_visible()
627 fatal (_("Unrecognised symbol class: %d"), sym->n_sclass); in do_visible()
640 struct internal_syment *sym; in do_define() local
648 sym = &rawsyms[i].u.syment; in do_define()
650 s->name = N(sym); in do_define()
716 return i + sym->n_numaux + 1; in do_define()
738 struct internal_syment *sym = &rawsyms[i].u.syment; in doit() local
740 switch (sym->n_sclass) in doit()
750 n->name = N(sym); in doit()
767 i += sym->n_numaux + 1; in doit()
772 char *name = N(sym); in doit()
782 if (sym->n_scnum < ofile->nsections && sym->n_scnum >= 0) in doit()
783 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
786 top_scope->offset = sym->n_value; in doit()
793 top_scope->size = sym->n_value - top_scope->offset + 1; in doit()
796 i += sym->n_numaux + 1; in doit()
802 char *name = N(sym); in doit()
809 if (sym->n_scnum < ofile->nsections && sym->n_scnum >= 0) in doit()
810 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
813 top_scope->offset = sym->n_value; in doit()
819 top_scope->size = sym->n_value - top_scope->offset + 1; in doit()
822 i += sym->n_numaux + 1; in doit()
867 i += sym->n_numaux + 1; in doit()
870 fatal (_("Unrecognised symbol class: %d"), sym->n_sclass); in doit()