| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | binary.cc | 169 Stringpool strtab; in sized_convert() local 170 strtab.add(start_symbol_name.c_str(), false, NULL); in sized_convert() 171 strtab.add(end_symbol_name.c_str(), false, NULL); in sized_convert() 172 strtab.add(size_symbol_name.c_str(), false, NULL); in sized_convert() 173 strtab.set_string_offsets(); in sized_convert() 196 output_size += strtab.get_strtab_size(); in sized_convert() 228 strtab.get_strtab_size(), in sized_convert() 244 this->write_symbol<size, big_endian>("", &strtab, 0, 0, 0, &pout); in sized_convert() 245 this->write_symbol<size, big_endian>(start_symbol_name, &strtab, 0, filesize, in sized_convert() 247 this->write_symbol<size, big_endian>(end_symbol_name, &strtab, filesize, 0, in sized_convert() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | binary.cc | 169 Stringpool strtab; in sized_convert() local 170 strtab.add(start_symbol_name.c_str(), false, NULL); in sized_convert() 171 strtab.add(end_symbol_name.c_str(), false, NULL); in sized_convert() 172 strtab.add(size_symbol_name.c_str(), false, NULL); in sized_convert() 173 strtab.set_string_offsets(); in sized_convert() 196 output_size += strtab.get_strtab_size(); in sized_convert() 228 strtab.get_strtab_size(), in sized_convert() 244 this->write_symbol<size, big_endian>("", &strtab, 0, 0, 0, &pout); in sized_convert() 245 this->write_symbol<size, big_endian>(start_symbol_name, &strtab, 0, filesize, in sized_convert() 247 this->write_symbol<size, big_endian>(end_symbol_name, &strtab, filesize, 0, in sized_convert() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libctf/ |
| H A D | ctf-string.c | 27 ctf_strraw_explicit (ctf_dict_t *fp, uint32_t name, ctf_strs_t *strtab) in ctf_strraw_explicit() argument 31 if ((CTF_NAME_STID (name) == CTF_STRTAB_0) && (strtab != NULL)) in ctf_strraw_explicit() 32 ctsp = strtab; in ctf_strraw_explicit() 428 ctf_strs_writable_t *strtab; member 465 s->strtab->cts_len += strlen (atom->csa_str) + 1; in ctf_str_count_strtab() 505 ctf_strs_writable_t strtab; in ctf_str_write_strtab() local 513 memset (&strtab, 0, sizeof (struct ctf_strs_writable)); in ctf_str_write_strtab() 515 s.strtab = &strtab; in ctf_str_write_strtab() 521 strtab.cts_strs = NULL; in ctf_str_write_strtab() 522 return strtab; in ctf_str_write_strtab() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
| H A D | ctf-string.c | 27 ctf_strraw_explicit (ctf_dict_t *fp, uint32_t name, ctf_strs_t *strtab) in ctf_strraw_explicit() argument 31 if ((CTF_NAME_STID (name) == CTF_STRTAB_0) && (strtab != NULL)) in ctf_strraw_explicit() 32 ctsp = strtab; in ctf_strraw_explicit() 426 ctf_strs_writable_t *strtab; member 463 s->strtab->cts_len += strlen (atom->csa_str) + 1; in ctf_str_count_strtab() 503 ctf_strs_writable_t strtab; in ctf_str_write_strtab() local 511 memset (&strtab, 0, sizeof (struct ctf_strs_writable)); in ctf_str_write_strtab() 513 s.strtab = &strtab; in ctf_str_write_strtab() 519 strtab.cts_strs = NULL; in ctf_str_write_strtab() 520 return strtab; in ctf_str_write_strtab() [all …]
|
| /netbsd-src/libexec/ld.elf_so/ |
| H A D | symver.c | 113 &obj->strtab[needed->name])); in locate_dependency() 114 if (strcmp(name, &obj->strtab[needed->name]) == 0 || in locate_dependency() 136 const char *vername = &refobj->strtab[vna->vna_name]; in check_object_provided_version() 137 const char *depstrtab = depobj->strtab; in check_object_provided_version() 177 const char *strtab = obj->strtab; in _rtld_verify_object_versions() local 191 if (strtab == NULL || obj->vertab != NULL) in _rtld_verify_object_versions() 213 vn->vn_file, &strtab[vn->vn_file])); in _rtld_verify_object_versions() 214 depobj = locate_dependency(obj, &strtab[vn->vn_file]); in _rtld_verify_object_versions() 285 obj->vertab[vernum].name = &strtab[vna->vna_name]; in _rtld_verify_object_versions() 286 obj->vertab[vernum].file = &strtab[vn->vn_file]; in _rtld_verify_object_versions() [all …]
|
| /netbsd-src/sys/ddb/ |
| H A D | db_elf.c | 244 char *strtab; in db_elf_lookup() local 251 strtab = db_elf_find_strtab(stab); in db_elf_lookup() 252 if (strtab == NULL) in db_elf_lookup() 257 db_eqname(strtab + symp->st_name, symstr, 0)) in db_elf_lookup() 339 char *strtab; in db_elf_symbol_values() local 344 strtab = db_elf_find_strtab(symtab); in db_elf_symbol_values() 345 if (strtab == NULL) in db_elf_symbol_values() 348 *namep = strtab + symp->st_name; in db_elf_symbol_values() 387 char *strtab; in db_elf_forall() local 396 strtab = db_elf_find_strtab(stab); in db_elf_forall() [all …]
|
| /netbsd-src/sys/rump/librump/rumpkern/ |
| H A D | kobj_rename.c | 69 char **strtab, size_t *strtabsz) in kobj_renamespace() argument 97 fromname = *strtab + sym->st_name; in kobj_renamespace() 117 kmem_free(*strtab, *strtabsz); in kobj_renamespace() 118 *strtab = NULL; /* marvin the paradroid 999 */ in kobj_renamespace() 124 *strtab = newtab; in kobj_renamespace()
|
| /netbsd-src/sbin/ldconfig/ |
| H A D | ldconfig.c | 378 char *strtab; in buildhints() local 414 strtab = (char *)xmalloc(strtab_sz); in buildhints() 440 strcpy(strtab + str_index, shp->name); in buildhints() 444 strcpy(strtab + str_index, shp->path); in buildhints() 453 strcpy(strtab + str_index, dir_list); in buildhints() 477 if (write(fd, strtab, strtab_sz) != strtab_sz) { in buildhints() 502 free(strtab); in buildhints() 508 free(strtab); in buildhints() 520 char *strtab; in readhints() local 563 strtab = ((char *)addr + hdr->hh_strtab); in readhints() [all …]
|
| /netbsd-src/libexec/ld.elf_so/arch/sh3/ |
| H A D | mdreloc.c | 107 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 117 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 128 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 138 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 171 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 179 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 194 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 205 obj->strtab + obj->symtab[symnum].st_name)); 291 defobj->strtab + def->st_name, (void *)*where, (void *)new_value));
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | simple-object-xcoff.c | 372 char *strtab; in simple_object_xcoff_read_strtab() local 380 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 382 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 385 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 389 return strtab; in simple_object_xcoff_read_strtab() 411 char *strtab; in simple_object_xcoff_find_sections() local 432 strtab = NULL; in simple_object_xcoff_find_sections() 458 if (strtab == NULL) in simple_object_xcoff_find_sections() 460 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 463 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | simple-object-xcoff.c | 372 char *strtab; in simple_object_xcoff_read_strtab() local 380 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 382 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 385 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 389 return strtab; in simple_object_xcoff_read_strtab() 411 char *strtab; in simple_object_xcoff_find_sections() local 432 strtab = NULL; in simple_object_xcoff_find_sections() 458 if (strtab == NULL) in simple_object_xcoff_find_sections() 460 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 463 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | simple-object-xcoff.c | 372 char *strtab; in simple_object_xcoff_read_strtab() local 380 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 382 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 385 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 389 return strtab; in simple_object_xcoff_read_strtab() 411 char *strtab; in simple_object_xcoff_find_sections() local 432 strtab = NULL; in simple_object_xcoff_find_sections() 458 if (strtab == NULL) in simple_object_xcoff_find_sections() 460 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 463 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | simple-object-xcoff.c | 372 char *strtab; in simple_object_xcoff_read_strtab() local 380 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab() 382 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab() 385 XDELETEVEC (strtab); in simple_object_xcoff_read_strtab() 389 return strtab; in simple_object_xcoff_read_strtab() 411 char *strtab; in simple_object_xcoff_find_sections() local 432 strtab = NULL; in simple_object_xcoff_find_sections() 458 if (strtab == NULL) in simple_object_xcoff_find_sections() 460 strtab = simple_object_xcoff_read_strtab (sobj, in simple_object_xcoff_find_sections() 463 if (strtab == NULL) in simple_object_xcoff_find_sections() [all …]
|
| H A D | simple-object-coff.c | 309 char *strtab; in simple_object_coff_read_strtab() local 319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab() 321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab() 324 XDELETEVEC (strtab); in simple_object_coff_read_strtab() 328 return strtab; in simple_object_coff_read_strtab() 347 char *strtab; in simple_object_coff_find_sections() local 367 strtab = NULL; in simple_object_coff_find_sections() 393 if (strtab == NULL) in simple_object_coff_find_sections() 395 strtab = simple_object_coff_read_strtab (sobj, in simple_object_coff_find_sections() 398 if (strtab == NULL) in simple_object_coff_find_sections() [all …]
|
| /netbsd-src/lib/libc/gen/ |
| H A D | nlist_aout.c | 97 char *strtab; in __fdnlist_aout() local 129 strtab = mmap(NULL, strsize, PROT_READ, MAP_PRIVATE|MAP_FILE, in __fdnlist_aout() 131 if (strtab == (char *)-1) in __fdnlist_aout() 175 !strcmp(&strtab[(size_t)soff], in __fdnlist_aout() 187 munmap(strtab, strsize); in __fdnlist_aout()
|
| /netbsd-src/lib/librumpuser/ |
| H A D | rumpuser_dl.c | 70 static char *strtab = NULL; variable 298 strtab = reservespace(strtab, &strtabsize, strtaboff, curstrsize); in getsymbols() 299 if (symtab == NULL || strtab == NULL) { in getsymbols() 344 strcpy(strtab + strtaboff, cursymname); in getsymbols() 472 memcpy(trimmedstr, strtab, strtaboff); in rumpuser_dl_bootstrap() 474 trimmedstr = strtab; in rumpuser_dl_bootstrap() 475 strtab = NULL; in rumpuser_dl_bootstrap() 480 free(strtab); in rumpuser_dl_bootstrap()
|
| /netbsd-src/libexec/ld.elf_so/arch/m68k/ |
| H A D | mdreloc.c | 100 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 113 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 142 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 150 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 162 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 173 obj->strtab + obj->symtab[symnum].st_name)); in _rtld_relocate_nonplt_objects() 232 defobj->strtab + def->st_name, (void *)*where, (void *)new_value)); in _rtld_relocate_plt_object()
|
| /netbsd-src/libexec/ld.elf_so/arch/arm/ |
| H A D | mdreloc.c | 140 obj->strtab + obj->symtab[ in _rtld_relocate_nonplt_objects() 148 obj->strtab + obj->symtab[ELF_R_SYM(rel->r_info)] in _rtld_relocate_nonplt_objects() 174 obj->strtab + obj->symtab[ELF_R_SYM(rel->r_info)] in _rtld_relocate_nonplt_objects() 222 obj->strtab + obj->symtab[ELF_R_SYM(rel->r_info)] in _rtld_relocate_nonplt_objects() 234 obj->strtab + obj->symtab[ELF_R_SYM(rel->r_info)] in _rtld_relocate_nonplt_objects() 254 obj->strtab + obj->symtab[ELF_R_SYM(rel->r_info)] in _rtld_relocate_nonplt_objects() 324 defobj->strtab + def->st_name, (void *)*where, (void *)new_value));
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | ctfc.cc | 75 ctf_strtable_t * strtab = ctfc_get_strtab (ctfc, aux); in ctfc_get_strtab_len() local 76 return strtab->ctstab_len; in ctfc_get_strtab_len() 920 init_ctf_strtable (ctf_strtable_t * strtab) in init_ctf_strtable() argument 922 strtab->ctstab_head = NULL; in init_ctf_strtable() 923 strtab->ctstab_tail = NULL; in init_ctf_strtable() 924 strtab->ctstab_num = 0; in init_ctf_strtable() 925 strtab->ctstab_len = 0; in init_ctf_strtable() 931 strtab->ctstab_estr = ctfc_strtable_add_str (strtab, "", &estr_offset); in init_ctf_strtable() 978 ctfc_delete_strtab (ctf_strtable_t * strtab) in ctfc_delete_strtab() argument 983 str = strtab->ctstab_head; in ctfc_delete_strtab() [all …]
|
| /netbsd-src/libexec/ld.elf_so/arch/riscv/ |
| H A D | mdreloc.c | 151 obj->strtab + in _rtld_relocate_nonplt_objects() 165 obj->strtab + in _rtld_relocate_nonplt_objects() 194 obj->strtab + in _rtld_relocate_nonplt_objects() 208 obj->strtab + in _rtld_relocate_nonplt_objects() 225 obj->strtab + in _rtld_relocate_nonplt_objects() 295 defobj->strtab + def->st_name, (void *)*where, in _rtld_bind()
|
| /netbsd-src/libexec/ld.elf_so/arch/or1k/ |
| H A D | mdreloc.c | 142 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 171 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 179 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 191 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 202 obj->strtab + obj->symtab[symnum].st_name)); in _rtld_relocate_nonplt_objects() 253 defobj->strtab + def->st_name, (void *)value)); in _rtld_relocate_plt_object()
|
| /netbsd-src/libexec/ld.elf_so/arch/aarch64/ |
| H A D | mdreloc.c | 164 obj->strtab + obj->symtab[symnum].st_name, in _rtld_tlsdesc_fill() 189 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_self() 262 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 304 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 312 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 325 obj->strtab + obj->symtab[symnum].st_name, in _rtld_relocate_nonplt_objects() 425 defobj->strtab + def->st_name, (void *)*where,
|