Lines Matching defs:telf
89 Elf *telf;
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, ndx, &tphdr);
324 if (elf_update(telf, ELF_C_WRITE) == -1) {
327 (void) elf_end(telf);
331 (void) elf_end(telf);