LIBELF
LIBELF(tstate.os_ehdr = elf_getehdr(tstate.os_elf),
LIBELF((tstate.os_phdr = elf_getphdr(tstate.os_elf)),
LIBELF((scn = elf_getscn(tstate.os_elf, tstate.os_shstrndx)),
LIBELF((data = elf_getdata(scn, NULL)), MSG_ORIG(MSG_ELF_GETDATA))
LIBELF(shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR));
LIBELF(scn = elf_getscn(tstate.os_elf, 0),
LIBELF(_cache->sec_shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR));
LIBELF(_cache->sec_shdr = elf_getshdr(scn),