Searched refs:strtabp (Results 1 – 3 of 3) sorted by relevance
| /netbsd/src/sys/arch/i386/i386/ |
| D | multiboot.c | 280 Elf32_Shdr *symtabp, *strtabp; in copy_syms() local 298 symtabp = strtabp = NULL; in copy_syms() 300 strtabp == NULL; i++) { in copy_syms() 314 strtabp = shdrp2; in copy_syms() 318 if (symtabp == NULL || strtabp == NULL) in copy_syms() 322 straddr = strtabp->sh_addr; in copy_syms() 324 strsize = strtabp->sh_size; in copy_syms() 339 (void *)strtabp < RELOC(void *, &end)) { in copy_syms() 345 (void *)strtabp < RELOC(void *, &end)) { in copy_syms() 351 (void *)strtabp > RELOC(void *, &end)) { in copy_syms() [all …]
|
| /netbsd/src/usr.bin/crunch/crunchide/ |
| D | exec_elf32.c | 182 char *strtabp = NULL, *nstrtabp = NULL; in ELFNAMEEND() local 253 if ((strtabp = xmalloc(shdrp[strtabsnum].sh_size, fn, "string table")) in ELFNAMEEND() 256 if ((size_t)xreadatoff(fd, strtabp, shdrp[strtabsnum].sh_offset, in ELFNAMEEND() 272 const char *symname = strtabp + sp->st_name; in ELFNAMEEND() 323 if (strtabp != NULL) in ELFNAMEEND() 324 free(strtabp); in ELFNAMEEND()
|
| /netbsd/src/sys/arch/x86/x86/ |
| D | multiboot2.c | 178 locore_Elf_Shdr *symtabp, *strtabp; in multiboot2_copy_syms() local 192 symtabp = strtabp = NULL; in multiboot2_copy_syms() 194 strtabp == NULL; i++) { in multiboot2_copy_syms() 208 strtabp = (locore_Elf_Shdr *)shdrp2; in multiboot2_copy_syms() 212 if (symtabp == NULL || strtabp == NULL) in multiboot2_copy_syms() 216 straddr = strtabp->sh_addr; in multiboot2_copy_syms() 218 strsize = strtabp->sh_size; in multiboot2_copy_syms()
|