Searched refs:LIBELF (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit_machelf.c | 122 #define LIBELF(_libelf_expr, _name) \ in elfedit64_init_obj_state() macro 147 LIBELF(tstate.os_ehdr = elf_getehdr(tstate.os_elf), in elfedit64_init_obj_state() 154 LIBELF((tstate.os_phdr = elf_getphdr(tstate.os_elf)), in elfedit64_init_obj_state() 169 LIBELF((scn = elf_getscn(tstate.os_elf, tstate.os_shstrndx)), in elfedit64_init_obj_state() 171 LIBELF((data = elf_getdata(scn, NULL)), MSG_ORIG(MSG_ELF_GETDATA)) in elfedit64_init_obj_state() 183 LIBELF(shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR)); in elfedit64_init_obj_state() 251 LIBELF(scn = elf_getscn(tstate.os_elf, 0), in elfedit64_init_obj_state() 254 LIBELF(_cache->sec_shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR)); in elfedit64_init_obj_state() 271 LIBELF(_cache->sec_shdr = elf_getshdr(scn), in elfedit64_init_obj_state() 454 #undef LIBELF in elfedit64_init_obj_state()
|