Lines Matching refs:pe_symtab
318 struct grub_pe32_symbol *pe_symtab;
324 pe_symtab = (struct grub_pe32_symbol *) (image + pe_chdr->symtab_offset);
325 pe_strtab = (char *) (pe_symtab + pe_chdr->num_symbols);
335 i += pe_symtab->num_aux + 1, pe_symtab += pe_symtab->num_aux + 1)
340 if ((pe_symtab->section > pe_chdr->num_sections) ||
341 (section_map[pe_symtab->section] == -1))
344 if (! pe_symtab->section)
346 else if (pe_symtab->type == GRUB_PE32_DT_FUNCTION)
351 if (pe_symtab->storage_class == GRUB_PE32_SYM_CLASS_EXTERNAL)
356 if ((pe_symtab->type != GRUB_PE32_DT_FUNCTION) && (pe_symtab->num_aux))
358 if (! pe_symtab->value)
361 symtab[num_syms].st_name = shdr[section_map[pe_symtab->section]].sh_name;
368 if (pe_symtab->long_name[0])
370 strncpy (short_name, pe_symtab->short_name, 8);
375 name = pe_strtab + pe_symtab->long_name[1];
385 symtab[num_syms].st_shndx = section_map[pe_symtab->section];
386 symtab[num_syms].st_value = pe_symtab->value;