HomeSort by: relevance | last modified time | path
    Searched defs:symhdr (Results 1 - 4 of 4) sorted by relevancy

  /src/usr.sbin/lockstat/
elf32.c 102 Elf_Shdr symhdr, strhdr; local in function:NAME
129 for (i = 0; i < ehdr.e_shnum; i++, off += sizeof(symhdr)) {
130 sz = pread(fd, &symhdr, sizeof(symhdr), off);
131 if (sz != sizeof(symhdr))
133 if (symhdr.sh_type == SHT_SYMTAB)
136 if (i == ehdr.e_shnum || symhdr.sh_offset == 0)
145 off = ehdr.e_shoff + symhdr.sh_link * sizeof(symhdr);
149 if ((symp = malloc(symhdr.sh_size)) == NULL
    [all...]
elf32.c 102 Elf_Shdr symhdr, strhdr; local in function:NAME
129 for (i = 0; i < ehdr.e_shnum; i++, off += sizeof(symhdr)) {
130 sz = pread(fd, &symhdr, sizeof(symhdr), off);
131 if (sz != sizeof(symhdr))
133 if (symhdr.sh_type == SHT_SYMTAB)
136 if (i == ehdr.e_shnum || symhdr.sh_offset == 0)
145 off = ehdr.e_shoff + symhdr.sh_link * sizeof(symhdr);
149 if ((symp = malloc(symhdr.sh_size)) == NULL
    [all...]
  /src/usr.bin/elf2ecoff/
elf2ecoff.c 115 struct ecoff32_symhdr symhdr; local in function:main
430 (uint32_t)(ep.f.f_symptr + sizeof(symhdr)));
596 "writing symhdr for %d entries at offset %#x\n",
610 "ECOFF symhdr: symhdr %zx, strsize %x, symsize %zx\n",
667 struct ecoff32_symhdr symhdr; local in function:elf_symbol_table_to_ecoff
692 write_ecoff_symhdr(out, ep, &symhdr, nsyms, symtaboff,
elf2ecoff.c 115 struct ecoff32_symhdr symhdr; local in function:main
430 (uint32_t)(ep.f.f_symptr + sizeof(symhdr)));
596 "writing symhdr for %d entries at offset %#x\n",
610 "ECOFF symhdr: symhdr %zx, strsize %x, symsize %zx\n",
667 struct ecoff32_symhdr symhdr; local in function:elf_symbol_table_to_ecoff
692 write_ecoff_symhdr(out, ep, &symhdr, nsyms, symtaboff,

Completed in 23 milliseconds