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. *}
879 /* Look through stabs debugging information in .stab and .stabstr
899 bfd_byte *stab;
926 /* The .stab section. */
930 /* The contents of the .stab section. */
965 bfd_byte *stab, *str;
980 1 byte stab type
981 1 byte stab other field
982 2 byte stab desc field
983 4 byte stab value
1028 --split-by-reloc options, it is possible for the .stab and
1031 info->stabsec = bfd_get_section_by_name (abfd, ".stab");
1064 /* Stab strings ought to be nul terminated. Ensure the last one
1069 the entries in .stab. This should always be simple 32 bit
1120 (_("unsupported .stab relocation"));
1143 for (stabstab < info->stabs + stabsize; stab += STABSIZE)
1145 if (stab[TYPEOFF] == (bfd_byte) N_SO)
1152 if (bfd_get_32 (abfd, stab + STRDXOFF) == 0)
1156 nul_fun = stab;
1159 if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize
1160 && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO)
1161 stab += STABSIZE;
1164 else if (stab[TYPEOFF] == (bfd_byte) N_FUN
1165 && bfd_get_32 (abfd, stab + STRDXOFF) != 0)
1197 for (i = 0, stab = info->stabs, nul_str = str = info->strs;
1198 i < info->indextablesize && stab < info->stabs + stabsize;
1199 stab += STABSIZE)
1201 switch (stab[TYPEOFF])
1208 stroff = bfd_get_32 (abfd, stab + VALOFF);
1222 info->indextable[i].stab = nul_fun;
1232 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1240 nul_fun = stab;
1245 if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize
1246 && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO)
1250 stab += STABSIZE;
1253 + bfd_get_32 (abfd, stab + STRDXOFF));
1263 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1273 function_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1281 info->indextable[i].val = bfd_get_32 (abfd, stab + VALOFF);
1282 info->indextable[i].stab = stab;
1296 info->indextable[i].stab = nul_fun;
1306 info->indextable[i].stab = info->stabs + stabsize;
1328 stab = info->cached_stab;
1363 stab = indexentry->stab + STABSIZE;
1372 for (; stab < (indexentry+1)->stab; stab += STABSIZE)
1379 switch (stab[TYPEOFF])
1383 val = bfd_get_32 (abfd, stab + VALOFF);
1386 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1401 + bfd_get_32 (abfd, stab + VALOFF));
1408 *pline = bfd_get_16 (abfd, stab + DESCOFF);
1411 info->cached_stab = stab;