Searched defs:sehdr (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/tools/ctf/cvt/
H A Doutput.c450 GElf_Ehdr sehdr, dehdr; local
468 gelf_getehdr(src, &sehdr);
469 memcpy(&dehdr, &sehdr, sizeof (GElf_Ehdr));
480 if (sehdr.e_phnum != 0) {
482 if (gelf_newphdr(dst, sehdr.e_phnum) == 0)
485 for (i = 0; i < sehdr.e_phnum; i++) {
493 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum);
494 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) {
500 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name);
523 for (srcidx = 1; srcidx < sehdr
[all...]

Completed in 46 milliseconds