/netbsd-6-1-5-RELEASE/usr.sbin/lockstat/ |
H A D | elf32.c | 102 Elf_Shdr symhdr, strhdr; local 129 for (i = 0; i < ehdr.e_shnum; i++, off += sizeof(symhdr)) { 130 sz = pread(fd, &symhdr, sizeof(symhdr), off); 131 if (sz != sizeof(symhdr)) 133 if (symhdr.sh_type == SHT_SYMTAB) 136 if (i == ehdr.e_shnum || symhdr.sh_offset == 0) 145 off = ehdr.e_shoff + symhdr.sh_link * sizeof(symhdr); 149 if ((symp = malloc(symhdr [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/ |
H A D | ecofflink.c | 1082 HDRR *symhdr; 1086 symhdr = &debug->symbolic_header; 1093 ret = symhdr->issMax; 1094 symhdr->issMax += len + 1; 1106 sh->val = symhdr->issMax; 1107 symhdr->issMax += len + 1; 1257 HDRR * const symhdr = &debug->symbolic_header; 1304 (*set_index) (sym_ptr, (bfd_size_type) symhdr->iextMax); 1327 HDRR * const symhdr = &debug->symbolic_header; 1333 < symhdr 1079 HDRR *symhdr; local 1254 HDRR * const symhdr = &debug->symbolic_header; local 1324 HDRR * const symhdr = &debug->symbolic_header; local 1373 HDRR * const symhdr = &debug->symbolic_header; local 1470 HDRR * const symhdr = &debug->symbolic_header; local 1537 HDRR * const symhdr = &debug->symbolic_header; local [all...] |
H A D | ecoff.c | 538 an undocumented debug data section between the symhdr and the first 2349 HDRR * const symhdr = &debug->symbolic_header; 2560 internal_a.vstamp = symhdr->vstamp; 2625 symhdr->iextMax = 0; 2626 symhdr->issExtMax = 0; 3469 HDRR *symhdr; 3483 symhdr = &ecoff_data (abfd)->debug_info.symbolic_header; 3487 esize = symhdr->iextMax * external_ext_size; 3492 if (bfd_seek (abfd, (file_ptr) symhdr->cbExtOffset, SEEK_SET) != 0 3496 ssext = (char *) bfd_malloc ((bfd_size_type) symhdr 2342 HDRR * const symhdr = &debug->symbolic_header; local 3460 HDRR *symhdr; local 3515 read_ext_syms_and_strs(HDRR **symhdr, bfd_size_type *external_ext_size, bfd_size_type *esize, void **external_ext, char **ssext, bfd *abfd, const struct ecoff_backend_data * const backend) argument 3550 reread_ext_syms_and_strs(HDRR **symhdr, bfd_size_type *external_ext_size, bfd_size_type *esize, void **external_ext, char **ssext, bfd *abfd, const struct ecoff_backend_data * const backend) argument 3575 HDRR *symhdr; local 3875 HDRR *symhdr = &debug->symbolic_header; local 4416 HDRR *symhdr; local [all...] |
H A D | elf64-alpha.c | 1355 HDRR *symhdr; 1370 symhdr = &debug->symbolic_header; 1371 (*swap->swap_hdr_in) (abfd, ext_hdr, symhdr); 1376 if (symhdr->count == 0) \ 1380 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ 1384 if (bfd_seek (abfd, (file_ptr) symhdr->offset, SEEK_SET) != 0 \ 5004 HDRR *symhdr = &debug.symbolic_header; 5023 symhdr->magic = swap->sym_magic; 5025 symhdr->vstamp = 0; 5026 symhdr 1349 HDRR *symhdr; local 4994 HDRR *symhdr = &debug.symbolic_header; local [all...] |
H A D | elfxx-mips.c | 1106 HDRR *symhdr; 1121 symhdr = &debug->symbolic_header; 1122 (*swap->swap_hdr_in) (abfd, ext_hdr, symhdr); 1127 if (symhdr->count == 0) \ 1131 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ 1135 if (bfd_seek (abfd, symhdr->offset, SEEK_SET) != 0 \ 11689 HDRR *symhdr = &debug.symbolic_header; 11834 symhdr->magic = swap->sym_magic; 11836 symhdr->vstamp = 0; 11837 symhdr 1100 HDRR *symhdr; local 11646 HDRR *symhdr = &debug.symbolic_header; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/ |
H A D | ecofflink.c | 1082 HDRR *symhdr; 1086 symhdr = &debug->symbolic_header; 1093 ret = symhdr->issMax; 1094 symhdr->issMax += len + 1; 1106 sh->val = symhdr->issMax; 1107 symhdr->issMax += len + 1; 1257 HDRR * const symhdr = &debug->symbolic_header; 1304 (*set_index) (sym_ptr, (bfd_size_type) symhdr->iextMax); 1327 HDRR * const symhdr = &debug->symbolic_header; 1333 < symhdr 1079 HDRR *symhdr; local 1254 HDRR * const symhdr = &debug->symbolic_header; local 1324 HDRR * const symhdr = &debug->symbolic_header; local 1373 HDRR * const symhdr = &debug->symbolic_header; local 1470 HDRR * const symhdr = &debug->symbolic_header; local 1537 HDRR * const symhdr = &debug->symbolic_header; local [all...] |
H A D | ecoff.c | 538 an undocumented debug data section between the symhdr and the first 2349 HDRR * const symhdr = &debug->symbolic_header; 2560 internal_a.vstamp = symhdr->vstamp; 2625 symhdr->iextMax = 0; 2626 symhdr->issExtMax = 0; 3469 HDRR *symhdr; 3483 symhdr = &ecoff_data (abfd)->debug_info.symbolic_header; 3487 esize = symhdr->iextMax * external_ext_size; 3492 if (bfd_seek (abfd, (file_ptr) symhdr->cbExtOffset, SEEK_SET) != 0 3496 ssext = (char *) bfd_malloc ((bfd_size_type) symhdr 2342 HDRR * const symhdr = &debug->symbolic_header; local 3460 HDRR *symhdr; local 3515 read_ext_syms_and_strs(HDRR **symhdr, bfd_size_type *external_ext_size, bfd_size_type *esize, void **external_ext, char **ssext, bfd *abfd, const struct ecoff_backend_data * const backend) argument 3550 reread_ext_syms_and_strs(HDRR **symhdr, bfd_size_type *external_ext_size, bfd_size_type *esize, void **external_ext, char **ssext, bfd *abfd, const struct ecoff_backend_data * const backend) argument 3575 HDRR *symhdr; local 3875 HDRR *symhdr = &debug->symbolic_header; local 4416 HDRR *symhdr; local [all...] |
H A D | elf64-alpha.c | 1350 HDRR *symhdr; 1365 symhdr = &debug->symbolic_header; 1366 (*swap->swap_hdr_in) (abfd, ext_hdr, symhdr); 1371 if (symhdr->count == 0) \ 1375 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ 1379 if (bfd_seek (abfd, (file_ptr) symhdr->offset, SEEK_SET) != 0 \ 5060 HDRR *symhdr = &debug.symbolic_header; 5079 symhdr->magic = swap->sym_magic; 5081 symhdr->vstamp = 0; 5082 symhdr 1344 HDRR *symhdr; local 5050 HDRR *symhdr = &debug.symbolic_header; local [all...] |
H A D | elfxx-mips.c | 1106 HDRR *symhdr; 1121 symhdr = &debug->symbolic_header; 1122 (*swap->swap_hdr_in) (abfd, ext_hdr, symhdr); 1127 if (symhdr->count == 0) \ 1131 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ 1135 if (bfd_seek (abfd, symhdr->offset, SEEK_SET) != 0 \ 11676 HDRR *symhdr = &debug.symbolic_header; 11821 symhdr->magic = swap->sym_magic; 11823 symhdr->vstamp = 0; 11824 symhdr 1100 HDRR *symhdr; local 11633 HDRR *symhdr = &debug.symbolic_header; local [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/ctf/ |
H A D | ctf_mod.c | 141 symsect.cts_size = mp->symhdr->sh_size;
|
/netbsd-6-1-5-RELEASE/usr.bin/elf2ecoff/ |
H A D | elf2ecoff.c | 113 struct ecoff_symhdr symhdr; local 431 (u_long) ep.f.f_symptr + sizeof(symhdr)); 597 "writing symhdr for %ld entries at offset 0x%lx\n", 611 "ECOFF symhdr: symhdr %zx, strsize %lx, symsize %lx\n", 668 struct ecoff_symhdr symhdr; local 693 write_ecoff_symhdr(out, ep, &symhdr, nsyms, symtaboff,
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/ |
H A D | objcopy.c | 922 Elf_Internal_Shdr *symhdr = elf_elfsections (abfd) [ghdr->sh_link]; 924 if (symhdr->sh_type == SHT_SYMTAB 925 && ghdr->sh_info < symhdr->sh_size / bed->s->sizeof_sym) 920 Elf_Internal_Shdr *symhdr = elf_elfsections (abfd) [ghdr->sh_link]; local
|