Home | History | Annotate | Download | only in bfd

Lines Matching defs:stab

848 /* Look through stabs debugging information in .stab and .stabstr
868 bfd_byte *stab;
895 /* The .stab section. */
899 /* The contents of the .stab section. */
934 bfd_byte *stab, *str;
949 1 byte stab type
950 1 byte stab other field
951 2 byte stab desc field
952 4 byte stab value
996 --split-by-reloc options, it is possible for the .stab and
999 info->stabsec = bfd_get_section_by_name (abfd, ".stab");
1037 the entries in .stab. This should always be simple 32 bit
1077 (_("Unsupported .stab relocation"));
1103 for (stab = info->stabs; stab < info->stabs + stabsize; stab += STABSIZE)
1105 if (stab[TYPEOFF] == (bfd_byte) N_SO)
1112 if (bfd_get_32 (abfd, stab + STRDXOFF) == 0)
1116 nul_fun = stab;
1119 if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize
1120 && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO)
1121 stab += STABSIZE;
1124 else if (stab[TYPEOFF] == (bfd_byte) N_FUN
1125 && bfd_get_32 (abfd, stab + STRDXOFF) != 0)
1150 for (i = 0, stab = info->stabs, nul_str = str = info->strs;
1151 i < info->indextablesize && stab < info->stabs + stabsize;
1152 stab += STABSIZE)
1154 stab[TYPEOFF])
1161 stroff = bfd_get_32 (abfd, stab + VALOFF);
1175 info->indextable[i].stab = nul_fun;
1184 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1192 nul_fun = stab;
1194 if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize
1195 && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO)
1199 stab += STABSIZE;
1202 + bfd_get_32 (abfd, stab + STRDXOFF));
1209 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1214 function_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1219 info->indextable[i].val = bfd_get_32 (abfd, stab + VALOFF);
1220 info->indextable[i].stab = stab;
1233 info->indextable[i].stab = nul_fun;
1242 info->indextable[i].stab = info->stabs + stabsize;
1265 stab = info->cached_stab;
1300 stab = indexentry->stab + STABSIZE;
1309 for (; stab < (indexentry+1)->stab; stab += STABSIZE)
1316 switch (stab[TYPEOFF])
1320 val = bfd_get_32 (abfd, stab + VALOFF);
1323 file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF);
1335 + bfd_get_32 (abfd, stab + VALOFF));
1342 *pline = bfd_get_16 (abfd, stab + DESCOFF);
1345 info->cached_stab = stab;