Home
last modified time | relevance | path

Searched refs:sehdr (Results 1 – 1 of 1) sorted by relevance

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