Searched refs:telf (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | dcom.c | 89 Elf *telf; in delete_comment() local 175 if ((telf = elf_begin(tfd, ELF_C_WRITE, 0)) == NULL) { in delete_comment() 181 if (gelf_newehdr(telf, gelf_getclass(elf)) == NULL) { in delete_comment() 187 if (gelf_getehdr(telf, &tehdr) == NULL) { in delete_comment() 216 if ((tscn = elf_newscn(telf)) == NULL) { in delete_comment() 277 if ((_scn = elf_getscn(telf, 0)) == NULL) { in delete_comment() 293 (void) gelf_update_ehdr(telf, &tehdr); in delete_comment() 301 if (gelf_newphdr(telf, phnum) == NULL) { in delete_comment() 308 gelf_getphdr(telf, ndx, &tphdr) == NULL) { in delete_comment() 315 (void) gelf_update_phdr(telf, ndx, &tphdr); in delete_comment() [all …]
|