Searched refs:dm_elf (Results 1 – 2 of 2) sorted by relevance
508 if (elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) in dt_module_load_sect()511 for (sp = NULL; (sp = elf_nextscn(dmp->dm_elf, sp)) != NULL; ) { in dt_module_load_sect()513 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_load_sect()920 (void) elf_end(dmp->dm_elf); in dt_module_unload()921 dmp->dm_elf = NULL; in dt_module_unload()1075 dmp->dm_elf = elf_begin(fd, ELF_C_READ, NULL); in dt_module_update()1076 err = elf_cntl(dmp->dm_elf, ELF_C_FDREAD); in dt_module_update()1079 if (dmp->dm_elf == NULL || err == -1 || in dt_module_update()1080 elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) { in dt_module_update()1087 switch (gelf_getclass(dmp->dm_elf)) { in dt_module_update()[all …]
114 Elf *dm_elf; /* libelf handle for module object */ member