Home | History | Annotate | Download | only in bfd

Lines Matching refs:stab

339 .  unsigned char stab_type;	{* Stab type.  *}
340 . char stab_other; {* Stab other. *}
341 . short stab_desc; {* Stab desc. *}
342 . const char *stab_name; {* String for stab type. *}
880 /* Look through stabs debugging information in .stab and .stabstr
900 bfd_byte *stab;
927 /* The .stab section. */
931 /* The contents of the .stab section. */
966 bfd_byte *stab, *str;
981 1 byte stab type
982 1 byte stab other field
983 2 byte stab desc field
984 4 byte stab value
1029 --split-by-reloc options, it is possible for the .stab and
1032 info->stabsec = bfd_get_section_by_name (abfd, ".stab");
1065 /* Stab strings ought to be nul terminated. Ensure the last one
1070 the entries in .stab. This should always be simple 32 bit
1121 (_("unsupported .stab relocation"));
1144 for (stab = info->stabs; stab < info->stabs + stabsize; stab += STABSIZE)
1146 if (stab[TYPEOFF] == (bfd_byte) N_SO)
1153 if (bfd_get_32 (abfd, stab + STRDXOFF) == 0)
1157 nul_fun = stab;
1160 if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize
1161 && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO)
1162 stab += STABSIZE;
1165 else if (stab[TYPEOFF] == (bfd_byte) N_FUN
1166 && bfd_get_32 (abfd, stab + STRDXOFF) != 0)
1198 for (i = 0, stab = info->stabs, nul_str = str = info->strs;
1199 i < info->indextablesize && stab < info->stabs + stabsize;
1200 stab += STABSIZE)
1202 switch (stab[TYPEOFF])
1209 stroff = bfd_get_32 (abfd, stab + VALOFF);
1223 info->indextable[i].stab = nul_fun;
1233 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1241 nul_fun = stab;
1246 if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize
1247 && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO)
1251 stab += STABSIZE;
1254 + bfd_get_32 (abfd, stab + STRDXOFF));
1264 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1274 function_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1282 info->indextable[i].val = bfd_get_32 (abfd, stab + VALOFF);
1283 info->indextable[i].stab = stab;
1297 info->indextable[i].stab = nul_fun;
1307 info->indextable[i].stab = info->stabs + stabsize;
1329 stab = info->cached_stab;
1364 stab = indexentry->stab + STABSIZE;
1373 for (; stab < (indexentry+1)->stab; stab += STABSIZE)
1380 switch (stab[TYPEOFF])
1384 val = bfd_get_32 (abfd, stab + VALOFF);
1387 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1402 + bfd_get_32 (abfd, stab + VALOFF));
1409 *pline = bfd_get_16 (abfd, stab + DESCOFF);
1412 info->cached_stab = stab;