Lines Matching refs:debugelf
932 Elf *debugelf = NULL; in handle_elf() local
1100 debugelf = elf_begin (debug_fd, ELF_C_WRITE_MMAP, NULL); in handle_elf()
1101 if (unlikely (gelf_newehdr (debugelf, gelf_getclass (elf)) == 0)) in handle_elf()
1111 if (unlikely (gelf_newphdr (debugelf, phnum) == 0)) in handle_elf()
1123 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0)) in handle_elf()
1568 scn = elf_newscn (debugelf); in handle_elf()
1624 debugehdr = gelf_getehdr (debugelf, &debugehdr_mem); in handle_elf()
1635 if (unlikely (gelf_update_ehdr (debugelf, debugehdr) == 0)) in handle_elf()
1652 if (update_shdrstrndx (debugelf, shdrstrndx) != 0) in handle_elf()
2135 if (debugelf != NULL) in handle_elf()
2138 Elf_Data *debugdata = elf_getdata (elf_getscn (debugelf, in handle_elf()
2176 ? elf_getscn (debugelf, cnt) in handle_elf()
2441 remove_debug_relocations (ebl, debugelf, ehdr, fname, shstrndx); in handle_elf()
2448 if (unlikely (elf_update (debugelf, ELF_C_WRITE) == -1)) in handle_elf()
2645 if (debugelf != NULL && elf_end (debugelf) != 0) in handle_elf()