Lines Matching refs:hdr
585 Elf32_Ehdr *hdr;
615 hdr = ReadElfHeader(fobj);
616 if (hdr == NULL) {
621 shdr = ReadSectionHeaders(hdr, fobj);
626 char *section_names = ReadStringTable(hdr, shdr, fobj);
629 symtab = FindSymbolTableSection(hdr, shdr, section_names);
636 symstr = FindSymbolStringTableSection(hdr, shdr, section_names);
649 AdjustElfSymbols(hdr, elf_symbols, num_entries);
660 int num_alloc = num_entries + hdr->e_shnum + 1;
692 if (section == 0 || section >= hdr->e_shnum)
747 for (int section = 0; section < hdr->e_shnum; ++section) {
868 delete hdr;