Searched refs:shstrs (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12-stable/sys/kern/ |
| D | link_elf.c | 854 char *shstrs; in link_elf_load_file() local 858 shstrs = NULL; in link_elf_load_file() 1140 shstrs = malloc(nbytes, M_LINKER, M_WAITOK | M_ZERO); in link_elf_load_file() 1141 error = vn_rdwr(UIO_READ, nd.ni_vp, (caddr_t)shstrs, nbytes, in link_elf_load_file() 1154 } else if (shstrs != NULL && shdr[i].sh_name != 0 && in link_elf_load_file() 1155 strcmp(shstrs + shdr[i].sh_name, ".ctors") == 0) { in link_elf_load_file() 1206 free(shstrs, M_LINKER); in link_elf_load_file()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_module.c | 567 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() 1150 size_t shstrs; in dt_module_update() local 1188 elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) { in dt_module_update() 1229 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_update()
|