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

/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Ddcom.c89 Elf *telf; local
175 if ((telf = elf_begin(tfd, ELF_C_WRITE, 0)) == NULL) {
181 if (gelf_newehdr(telf, gelf_getclass(elf)) == NULL) {
187 if (gelf_getehdr(telf, &tehdr) == NULL) {
216 if ((tscn = elf_newscn(telf)) == NULL) {
277 if ((_scn = elf_getscn(telf, 0)) == NULL) {
293 (void) gelf_update_ehdr(telf, &tehdr);
301 if (gelf_newphdr(telf, phnum) == NULL) {
308 gelf_getphdr(telf, ndx, &tphdr) == NULL) {
315 (void) gelf_update_phdr(telf, nd
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Doutput.c688 Elf *telf = NULL; local
702 if ((telf = elf_begin(tfd, ELF_C_WRITE, NULL)) == NULL)
706 write_file(elf, curname, telf, newname, data, len, flags);
709 elf_end(telf);

Completed in 45 milliseconds