/dragonfly/contrib/gdb-7/bfd/ |
H A D | elfcode.h | 256 dst->e_shnum = H_GET_16 (abfd, src->e_shnum); in elf_swap_ehdr_in() 289 tmp = src->e_shnum; in elf_swap_ehdr_out() 292 H_PUT_16 (abfd, tmp, dst->e_shnum); in elf_swap_ehdr_out() 628 i_ehdrp->e_shnum = i_shdr.sh_size; in elf_object_p() 631 || i_ehdrp->e_shnum == 0) in elf_object_p() 653 if (i_ehdrp->e_shnum != 1) in elf_object_p() 680 if (i_ehdrp->e_shnum != 0) in elf_object_p() 689 num_sec = i_ehdrp->e_shnum; in elf_object_p() 750 if (i_ehdrp->e_shnum != 0) in elf_object_p() 1019 amt = i_ehdrp->e_shnum; in elf_write_shdrs_and_ehdr() [all …]
|
/dragonfly/stand/boot/common/ |
H A D | load_elf_obj.c | 125 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || in __elfN() 206 shdrbytes = hdr->e_shnum * hdr->e_shentsize; in __elfN() 220 for (i = 0; i < hdr->e_shnum; i++) { in __elfN() 236 for (i = 0; i < hdr->e_shnum; i++) { in __elfN() 256 if (symstrindex < 0 || symstrindex >= hdr->e_shnum || in __elfN() 267 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum || in __elfN() 279 for (i = 0; i < hdr->e_shnum; i++) { in __elfN() 294 for (i = 0; i < hdr->e_shnum; i++) { in __elfN() 415 for (i = 0; i < hdr->e_shnum; i++) { in __elfN() 454 for (i = 0; i < hdr->e_shnum; i++) { in __elfN() [all …]
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | elfcode.h | 255 dst->e_shnum = H_GET_16 (abfd, src->e_shnum); in elf_swap_ehdr_in() 288 tmp = src->e_shnum; in elf_swap_ehdr_out() 291 H_PUT_16 (abfd, tmp, dst->e_shnum); in elf_swap_ehdr_out() 629 if (i_ehdrp->e_shnum == SHN_UNDEF) in elf_object_p() 631 i_ehdrp->e_shnum = i_shdr.sh_size; in elf_object_p() 632 if (i_ehdrp->e_shnum >= SHN_LORESERVE in elf_object_p() 634 || i_ehdrp->e_shnum == 0) in elf_object_p() 656 if (i_ehdrp->e_shnum != 1) in elf_object_p() 681 if (i_ehdrp->e_shnum != 0) in elf_object_p() 694 num_sec = i_ehdrp->e_shnum; in elf_object_p() [all …]
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | elfcode.h | 255 dst->e_shnum = H_GET_16 (abfd, src->e_shnum); in elf_swap_ehdr_in() 288 tmp = src->e_shnum; in elf_swap_ehdr_out() 291 H_PUT_16 (abfd, tmp, dst->e_shnum); in elf_swap_ehdr_out() 624 i_ehdrp->e_shnum = i_shdr.sh_size; in elf_object_p() 627 || i_ehdrp->e_shnum == 0) in elf_object_p() 649 if (i_ehdrp->e_shnum != 1) in elf_object_p() 674 if (i_ehdrp->e_shnum != 0) in elf_object_p() 687 num_sec = i_ehdrp->e_shnum; in elf_object_p() 748 if (i_ehdrp->e_shnum != 0) in elf_object_p() 1021 amt = i_ehdrp->e_shnum; in elf_write_shdrs_and_ehdr() [all …]
|
/dragonfly/contrib/elftoolchain/libelf/ |
H A D | gelf_ehdr.c | 80 d->e_shnum = eh32->e_shnum; in gelf_getehdr() 163 eh32->e_shnum = s->e_shnum; in gelf_update_ehdr()
|
H A D | libelf_extended.c | 70 ((Elf32_Ehdr *) eh)->e_shnum = shnum & 0xFFFFU; in _libelf_setshnum() 72 ((Elf64_Ehdr *) eh)->e_shnum = shnum & 0xFFFFU; in _libelf_setshnum()
|
H A D | libelf_ehdr.c | 179 shnum = ((Elf32_Ehdr *) ehdr)->e_shnum; in _libelf_ehdr() 184 shnum = ((Elf64_Ehdr *) ehdr)->e_shnum; in _libelf_ehdr()
|
H A D | elf_types.m4 | 114 `e_shnum, HALF', 131 `e_shnum, HALF',
|
/dragonfly/contrib/file/src/ |
H A D | elfclass.h | 55 shnum = elf_getu16(swap, elfhdr.e_shnum); 65 shnum = elf_getu16(swap, elfhdr.e_shnum);
|
H A D | readelf.h | 105 Elf32_Half e_shnum; member 122 Elf64_Half e_shnum; member
|
/dragonfly/contrib/gdb-7/include/elf/ |
H A D | external.h | 66 unsigned char e_shnum[2]; /* Section header table entry count */ member 83 unsigned char e_shnum[2]; /* Section header table entry count */ member
|
/dragonfly/contrib/binutils-2.27/include/elf/ |
H A D | external.h | 65 unsigned char e_shnum[2]; /* Section header table entry count */ member 82 unsigned char e_shnum[2]; /* Section header table entry count */ member
|
/dragonfly/sys/kern/ |
H A D | link_elf_obj.c | 224 for (i = 0; i < hdr->e_shnum; i++) { in link_elf_obj_preload_file() 245 symstrindex >= hdr->e_shnum || in link_elf_obj_preload_file() 247 shstrindex >= hdr->e_shnum || in link_elf_obj_preload_file() 270 for (i = 0; i < hdr->e_shnum; i++) { in link_elf_obj_preload_file() 274 for (i = 0; i < hdr->e_shnum; i++) { in link_elf_obj_preload_file() 291 for (i = 0; i < hdr->e_shnum; i++) { in link_elf_obj_preload_file() 497 nbytes = hdr->e_shnum * hdr->e_shentsize; in link_elf_obj_load_file() 517 for (i = 0; i < hdr->e_shnum; i++) { in link_elf_obj_load_file() 551 if (symstrindex < 0 || symstrindex > hdr->e_shnum || in link_elf_obj_load_file() 621 for (i = 0; i < hdr->e_shnum; i++) { in link_elf_obj_load_file() [all …]
|
/dragonfly/contrib/binutils-2.34/include/elf/ |
H A D | external.h | 65 unsigned char e_shnum[2]; /* Section header table entry count */ member 82 unsigned char e_shnum[2]; /* Section header table entry count */ member
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | readelf.c | 613 if (ndx >= elf_header.e_shnum) in printable_section_name_from_index() 5648 if (elf_header.e_shnum == 0) in process_section_headers() 5766 i < elf_header.e_shnum; in process_section_headers() 5874 if (elf_header.e_shnum > 1) in process_section_headers() 6185 elf_header.e_shnum); in process_section_groups() 6685 i < elf_header.e_shnum; in process_relocs() 7160 i = elf_header.e_shnum; in ia64_process_unwind() 7174 i = elf_header.e_shnum; in ia64_process_unwind() 11015 i < elf_header.e_shnum; in process_symbol_table() 16279 elf_header.e_shnum = BYTE_GET (ehdr32.e_shnum); in get_file_header() [all …]
|
H A D | elfedit.c | 255 elf_header.e_shnum = BYTE_GET (ehdr32.e_shnum); in get_file_header() 288 elf_header.e_shnum = BYTE_GET (ehdr64.e_shnum); in get_file_header()
|
/dragonfly/lib/libc/gen/ |
H A D | nlist.c | 252 shdr_size = ehdr.e_shentsize * ehdr.e_shnum; in __elf_fdnlist() 275 for (i = 0; i < ehdr.e_shnum; i++) { in __elf_fdnlist() 350 ehdr.e_shnum); in __elf_fdnlist()
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | readelf.c | 4925 header->e_shnum); in process_file_header() 4929 printf (" (%u)", header->e_shnum); in process_file_header() 4954 if (header->e_shnum == SHN_UNDEF) in process_file_header() 6139 filedata->file_header.e_shnum), in process_section_headers() 6140 filedata->file_header.e_shnum, in process_section_headers() 6824 filedata->file_header.e_shnum); in process_section_groups() 7329 i < filedata->file_header.e_shnum; in process_relocs() 7863 i = filedata->file_header.e_shnum; in ia64_process_unwind() 11971 i < filedata->file_header.e_shnum; in process_symbol_table() 19774 filedata->file_header.e_shnum = BYTE_GET (ehdr32.e_shnum); in get_file_header() [all …]
|
H A D | elfedit.c | 463 elf_header.e_shnum = BYTE_GET (ehdr32.e_shnum); in get_file_header() 496 elf_header.e_shnum = BYTE_GET (ehdr64.e_shnum); in get_file_header()
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | simple-object-elf.c | 62 unsigned char e_shnum[2]; /* Section header table entry count */ member 81 unsigned char e_shnum[2]; /* Section header table entry count */ member 427 e_shnum, Elf_Half); in simple_object_elf_match() 747 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shnum, Elf_Half, in simple_object_elf_write_ehdr()
|
/dragonfly/contrib/gdb-7/libiberty/ |
H A D | simple-object-elf.c | 62 unsigned char e_shnum[2]; /* Section header table entry count */ member 81 unsigned char e_shnum[2]; /* Section header table entry count */ member 427 e_shnum, Elf_Half); in simple_object_elf_match() 746 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shnum, Elf_Half, shnum); in simple_object_elf_write_ehdr()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | simple-object-elf.c | 62 unsigned char e_shnum[2]; /* Section header table entry count */ member 81 unsigned char e_shnum[2]; /* Section header table entry count */ member 427 e_shnum, Elf_Half); in simple_object_elf_match() 746 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shnum, Elf_Half, shnum); in simple_object_elf_write_ehdr()
|
/dragonfly/test/nvmm/demo/toyvirt/ |
H A D | elf.c | 56 if (eh->e_shnum > ELF_MAXSHNUM || eh->e_phnum > ELF_MAXPHNUM) in elf_check_header()
|
/dragonfly/games/hangman/ |
H A D | getsym.c | 132 for (s = 0; s < eh.e_shnum; s++) { in ksyms_elf_parse()
|
/dragonfly/sys/sys/ |
H A D | elf32.h | 68 Elf32_Half e_shnum; /* Number of section header entries. */ member
|