Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sgs/libelf/demo/
H A Ddcom.c89 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 …]
/titanic_50/usr/src/tools/ctf/cvt/
H A Doutput.c688 Elf *telf = NULL; in write_ctf() local
702 if ((telf = elf_begin(tfd, ELF_C_WRITE, NULL)) == NULL) in write_ctf()
706 write_file(elf, curname, telf, newname, data, len, flags); in write_ctf()
709 elf_end(telf); in write_ctf()