Lines Matching refs:stab

517                          Elf_Sym*  stab, char* strtab )
527 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
548 Elf_Sym sym = stab[ELF_R_SYM(info)];
556 + stab[ELF_R_SYM(info)].st_value);
643 Elf_Sym* stab, char* strtab )
653 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
694 Elf_Sym sym = stab[ELF_R_SYM(info)];
702 + stab[ELF_R_SYM(info)].st_value);
872 Elf_Sym* stab = NULL;
879 stab = (Elf_Sym*) findElfSection ( ehdrC, SHT_SYMTAB );
884 if (stab == NULL || strtab == NULL) {
901 shnum, stab, strtab );
907 shnum, stab, strtab );
930 Elf_Sym* stab;
1055 stab = (Elf_Sym*) (ehdrC + shdr[i].sh_offset);
1070 (int)stab[j].st_shndx,
1071 (int)stab[j].st_size,
1072 (char*)stab[j].st_value );
1075 switch (ELF_ST_TYPE(stab[j].st_info)) {
1086 switch (ELF_ST_BIND(stab[j].st_info)) {
1094 if (debug_linker>1) fprintf(stderr, "name=%s\n", strtab + stab[j].st_name );
1117 Elf_Sym* stab;
1203 stab = (Elf_Sym*) (ehdrC + shdr[i].sh_offset);
1213 char* nm = strtab + stab[j].st_name;
1214 int secno = stab[j].st_shndx;
1222 ad = calloc_below2G(1, stab[j].st_size);
1224 ad = calloc(1, stab[j].st_size);
1230 (Long)stab[j].st_size, nm, ad);
1235 if ( ( ELF_ST_BIND(stab[j].st_info)==STB_GLOBAL
1236 || ELF_ST_BIND(stab[j].st_info)==STB_LOCAL
1239 && stab[j].st_shndx != SHN_UNDEF
1241 && stab[j].st_shndx < SHN_LORESERVE
1244 ( ELF_ST_TYPE(stab[j].st_info)==STT_FUNC ||
1245 ELF_ST_TYPE(stab[j].st_info)==STT_OBJECT ||
1246 ELF_ST_TYPE(stab[j].st_info)==STT_NOTYPE
1257 ad = ehdrC + shdr[ secno ].sh_offset + stab[j].st_value;
1258 if (ELF_ST_BIND(stab[j].st_info)==STB_LOCAL) {
1265 if (ELF_ST_TYPE(stab[j].st_info) == STT_FUNC)
1290 strtab + stab[j].st_name );