Home
last modified time | relevance | path

Searched refs:shstrs (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dlink_elf.c996 char *shstrs; in link_elf_load_file() local
1000 shstrs = NULL; in link_elf_load_file()
1274 shstrs = malloc(nbytes, M_LINKER, M_WAITOK | M_ZERO); in link_elf_load_file()
1275 error = vn_rdwr(UIO_READ, nd.ni_vp, (caddr_t)shstrs, nbytes, in link_elf_load_file()
1288 } else if (shstrs != NULL && shdr[i].sh_name != 0 && in link_elf_load_file()
1289 strcmp(shstrs + shdr[i].sh_name, ".ctors") == 0) { in link_elf_load_file()
1340 free(shstrs, M_LINKER); in link_elf_load_file()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c567 size_t shstrs; in dt_module_load_sect() local
572 if (elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) in dt_module_load_sect()
577 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_load_sect()
1143 size_t shstrs; in dt_module_update() local
1178 elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) { in dt_module_update()
1217 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_update()