Searched refs:shstrs (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/kern/ |
| H A D | link_elf.c | 1017 char *shstrs; in link_elf_load_file() local 1021 shstrs = NULL; in link_elf_load_file() 1295 shstrs = malloc(nbytes, M_LINKER, M_WAITOK | M_ZERO); in link_elf_load_file() 1296 error = vn_rdwr(UIO_READ, nd.ni_vp, (caddr_t)shstrs, nbytes, in link_elf_load_file() 1309 } else if (shstrs != NULL && shdr[i].sh_name != 0 && in link_elf_load_file() 1310 strcmp(shstrs + shdr[i].sh_name, ".ctors") == 0) { in link_elf_load_file() 1361 free(shstrs, M_LINKER); in link_elf_load_file()
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_module.c | 563 size_t shstrs; in dt_module_load_sect() local 568 if (elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) in dt_module_load_sect() 573 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_load_sect() 1139 size_t shstrs; in dt_module_update() local 1174 elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) { in dt_module_update() 1213 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_update()
|