| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | binary.cc | 177 Stringpool shstrtab; in sized_convert() local 178 shstrtab.add(".data", false, NULL); in sized_convert() 179 shstrtab.add(".symtab", false, NULL); in sized_convert() 180 shstrtab.add(".strtab", false, NULL); in sized_convert() 181 shstrtab.add(".shstrtab", false, NULL); in sized_convert() 182 shstrtab.set_string_offsets(); in sized_convert() 198 output_size += shstrtab.get_strtab_size(); in sized_convert() 208 this->write_section_header<size, big_endian>("", &shstrtab, elfcpp::SHT_NULL, in sized_convert() 214 this->write_section_header<size, big_endian>(".data", &shstrtab, in sized_convert() 221 this->write_section_header<size, big_endian>(".symtab", &shstrtab, in sized_convert() [all …]
|
| H A D | incremental.cc | 540 elfcpp::Elf_strtab shstrtab(shstrndx_view.data(), in do_init_layout() local 552 if (!shstrtab.get_c_string(shdr.get_sh_name(), &name)) in do_init_layout()
|
| H A D | output.cc | 468 const Output_section* shstrtab) in set_section_info() argument 471 this->shstrtab_ = shstrtab; in set_section_info()
|
| H A D | output.h | 707 const Output_section* shstrtab);
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | binary.cc | 177 Stringpool shstrtab; in sized_convert() local 178 shstrtab.add(".data", false, NULL); in sized_convert() 179 shstrtab.add(".symtab", false, NULL); in sized_convert() 180 shstrtab.add(".strtab", false, NULL); in sized_convert() 181 shstrtab.add(".shstrtab", false, NULL); in sized_convert() 182 shstrtab.set_string_offsets(); in sized_convert() 198 output_size += shstrtab.get_strtab_size(); in sized_convert() 208 this->write_section_header<size, big_endian>("", &shstrtab, elfcpp::SHT_NULL, in sized_convert() 214 this->write_section_header<size, big_endian>(".data", &shstrtab, in sized_convert() 221 this->write_section_header<size, big_endian>(".symtab", &shstrtab, in sized_convert() [all …]
|
| H A D | incremental.cc | 540 elfcpp::Elf_strtab shstrtab(shstrndx_view.data(), in do_init_layout() local 552 if (!shstrtab.get_c_string(shdr.get_sh_name(), &name)) in do_init_layout()
|
| H A D | output.cc | 467 const Output_section* shstrtab) in set_section_info() argument 470 this->shstrtab_ = shstrtab; in set_section_info()
|
| H A D | output.h | 707 const Output_section* shstrtab);
|
| /netbsd-src/sys/arch/amiga/stand/bootblock/elf2bb/ |
| H A D | elf2bb.c | 98 char *shstrtab; in main() local 161 shstrtab = (char *)(image + in main() 171 be32toh(sh[i].sh_name), shstrtab + be32toh(sh[i].sh_name), in main() 199 } else if (strcmp(".strtab", shstrtab + in main() 259 shstrtab + be32toh(sh[i].sh_name))); in main() 316 if (strncmp(shstrtab + be32toh(sh[i].sh_name), ".rela", 5) != 0) in main() 318 shstrtab + be32toh(sh[i].sh_name)); in main() 320 if (strcmp(shstrtab + be32toh(sh[i].sh_name) + 5, in main() 321 shstrtab + be32toh(sh[n].sh_name)) != 0) in main() 328 shstrtab + be32toh(sh[i].sh_name)); in main()
|
| /netbsd-src/external/gpl3/binutils/usr.sbin/dbsym/ |
| H A D | dbsym.c | 365 char *shstrtab = NULL; in load_symtab() local 429 shstrtab = malloc(SH_SIZE(shstridx)); in load_symtab() 430 if (shstrtab == NULL) in load_symtab() 432 if (pread(fd, shstrtab, SH_SIZE(shstridx), SH_OFFSET(shstridx)) != in load_symtab() 438 !strcmp(shstrtab + SH_NAME(i), ".SUNW_ctf")) { in load_symtab() 485 if (shstrtab != NULL) in load_symtab() 486 free(shstrtab); in load_symtab()
|
| /netbsd-src/external/gpl3/binutils.old/usr.sbin/dbsym/ |
| H A D | dbsym.c | 365 char *shstrtab = NULL; in load_symtab() local 429 shstrtab = malloc(SH_SIZE(shstridx)); in load_symtab() 430 if (shstrtab == NULL) in load_symtab() 432 if (pread(fd, shstrtab, SH_SIZE(shstridx), SH_OFFSET(shstridx)) != in load_symtab() 438 !strcmp(shstrtab + SH_NAME(i), ".SUNW_ctf")) { in load_symtab() 485 if (shstrtab != NULL) in load_symtab() 486 free(shstrtab); in load_symtab()
|
| /netbsd-src/sys/dev/ |
| H A D | kloader.c | 178 char *shstrtab; in kloader_load() local 188 shstrtab = NULL; in kloader_load() 225 shstrtab = kmem_alloc(shstrsz, KM_NOSLEEP); in kloader_load() 226 if (shstrtab == NULL) { in kloader_load() 233 shstrtab); in kloader_load() 263 if (strcmp(shstrtab + sh[i].sh_name, ".symtab") == 0) in kloader_load() 265 else if (strcmp(shstrtab + sh[i].sh_name, ".strtab") == 0) in kloader_load() 350 kloader_copy(kv, shstrtab, shstrsz); in kloader_load() 422 if (shstrtab != NULL) in kloader_load() 423 kmem_free(shstrtab, shstrsz); in kloader_load()
|
| /netbsd-src/sys/arch/hpc/stand/hpcboot/ |
| H A D | load_elf.cpp | 214 char *shstrtab = _sym_blk.header + shstrtab_offset; in symbol_block_size() local 226 _file->read(shstrtab, shstrsize, _sh[_eh.e_shstrndx].sh_offset); in symbol_block_size() 228 if (strcmp(".strtab", shstrtab + sh->sh_name) == 0) { in symbol_block_size() 231 } else if (strcmp(".symtab", shstrtab + sh->sh_name) == 0) { in symbol_block_size()
|
| /netbsd-src/sys/arch/x68k/stand/common/ |
| H A D | exec_sub.c | 123 const char *shstrtab, *shname; in xk_elf() local 167 shstrtab = top + shstr->sh_offset; in xk_elf() 171 shname = shstrtab + sh->sh_name; in xk_elf()
|
| /netbsd-src/usr.bin/elf2aout/ |
| H A D | elf2aout.c | 199 char *shstrtab; in main() 283 shstrtab = saveRead(infile, sh[ex.e_shstrndx].sh_offset, in main() 284 (size_t)sh[ex.e_shstrndx].sh_size, "shstrtab"); in main() 296 char *name = shstrtab + sh[i].sh_name; in main() 444 free(shstrtab); in main() 198 char *shstrtab; main() local
|
| /netbsd-src/sys/arch/amd64/stand/prekern/ |
| H A D | elf.c | 39 char *shstrtab; member 133 buf = eif.shstrtab + eif.shdr[i].sh_name; in elf_find_section() 389 eif.shstrtab = (char *)((uint8_t *)eif.ehdr + eif.shdr[j].sh_offset); in elf_build_info()
|
| /netbsd-src/usr.bin/elf2ecoff/ |
| H A D | elf2ecoff.c | 104 char *shstrtab; in main() local 190 shstrtab = saveRead(infile, sh[ex.e_shstrndx].sh_offset, in main() 199 char *name = shstrtab + sh[i].sh_name; in main()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | elf.c | 280 bfd_byte *shstrtab = NULL; in bfd_elf_get_str_section() local 290 shstrtab = i_shdrp[shindex]->contents; in bfd_elf_get_str_section() 291 if (shstrtab == NULL) in bfd_elf_get_str_section() 303 || (shstrtab = _bfd_alloc_and_read (abfd, shstrtabsize + 1, in bfd_elf_get_str_section() 312 shstrtab[shstrtabsize] = '\0'; in bfd_elf_get_str_section() 313 i_shdrp[shindex]->contents = shstrtab; in bfd_elf_get_str_section() 315 return (char *) shstrtab; in bfd_elf_get_str_section() 6515 struct elf_strtab_hash *shstrtab; in _bfd_elf_init_file_header() local 6520 shstrtab = _bfd_elf_strtab_init (); in _bfd_elf_init_file_header() 6521 if (shstrtab == NULL) in _bfd_elf_init_file_header() [all …]
|
| H A D | ChangeLog-2015 | 2122 initialize sh_size for .shstrtab here. 2548 shstrtab section here. Delay setting output section names to 2551 sh_offset for shstrtab section. 2553 -1 for shstrtab section. 2556 when compressing DWARF debug sections. Place shstrtab section
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | elf.c | 271 bfd_byte *shstrtab = NULL; in bfd_elf_get_str_section() local 281 shstrtab = i_shdrp[shindex]->contents; in bfd_elf_get_str_section() 282 if (shstrtab == NULL) in bfd_elf_get_str_section() 294 || (shstrtab = _bfd_alloc_and_read (abfd, shstrtabsize + 1, in bfd_elf_get_str_section() 303 shstrtab[shstrtabsize] = '\0'; in bfd_elf_get_str_section() 304 i_shdrp[shindex]->contents = shstrtab; in bfd_elf_get_str_section() 306 return (char *) shstrtab; in bfd_elf_get_str_section() 7100 struct elf_strtab_hash *shstrtab; in _bfd_elf_init_file_header() local 7105 shstrtab = _bfd_elf_strtab_init (); in _bfd_elf_init_file_header() 7106 if (shstrtab == NULL) in _bfd_elf_init_file_header() [all …]
|
| H A D | ChangeLog-2015 | 2122 initialize sh_size for .shstrtab here. 2548 shstrtab section here. Delay setting output section names to 2551 sh_offset for shstrtab section. 2553 -1 for shstrtab section. 2556 when compressing DWARF debug sections. Place shstrtab section
|
| H A D | ChangeLog-2016 | 1782 * elf.c (assign_section_numbers): Assign number for the .shstrtab 3471 .shstrtab section based upon the elf_strtab_flags field in the
|
| /netbsd-src/external/gpl3/gdb/dist/bfd/ |
| H A D | ChangeLog-2015 | 2122 initialize sh_size for .shstrtab here. 2548 shstrtab section here. Delay setting output section names to 2551 sh_offset for shstrtab section. 2553 -1 for shstrtab section. 2556 when compressing DWARF debug sections. Place shstrtab section
|
| /netbsd-src/external/gpl3/binutils.old/dist/binutils/ |
| H A D | ChangeLog-2017 | 63 to read .shstrtab. Wrap long lines.
|
| /netbsd-src/external/gpl3/binutils/dist/binutils/ |
| H A D | ChangeLog-2017 | 63 to read .shstrtab. Wrap long lines.
|