Searched refs:e_phnum (Results 1 – 17 of 17) sorted by relevance
/toolchain/binutils/binutils-2.25/bfd/ |
D | elfcore.h | 187 if (i_ehdrp->e_shoff != 0 && i_ehdrp->e_phnum == PN_XNUM) in elf_core_file_p() 208 i_ehdrp->e_phnum = i_shdr.sh_info; in elf_core_file_p() 209 if (i_ehdrp->e_phnum != i_shdr.sh_info) in elf_core_file_p() 216 if (i_ehdrp->e_phnum > 1) in elf_core_file_p() 224 if (i_ehdrp->e_phnum > (unsigned int) -1 / sizeof (x_phdr) in elf_core_file_p() 225 || i_ehdrp->e_phnum > (unsigned int) -1 / sizeof (i_phdr)) in elf_core_file_p() 228 where = i_ehdrp->e_phoff + (i_ehdrp->e_phnum - 1) * sizeof (x_phdr); in elf_core_file_p() 245 amt = sizeof (*i_phdrp) * i_ehdrp->e_phnum; in elf_core_file_p() 253 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex) in elf_core_file_p() 281 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex) in elf_core_file_p() [all …]
|
D | elfcode.h | 253 dst->e_phnum = H_GET_16 (abfd, src->e_phnum); in elf_swap_ehdr_in() 283 tmp = src->e_phnum; in elf_swap_ehdr_out() 286 H_PUT_16 (abfd, tmp, dst->e_phnum); in elf_swap_ehdr_out() 591 if (i_ehdrp->e_phnum > 0) in elf_object_p() 643 if (i_ehdrp->e_phnum == PN_XNUM && i_shdr.sh_info != 0) in elf_object_p() 645 i_ehdrp->e_phnum = i_shdr.sh_info; in elf_object_p() 646 if (i_ehdrp->e_phnum != i_shdr.sh_info) in elf_object_p() 767 if (i_ehdrp->e_phnum == 0) in elf_object_p() 774 amt = i_ehdrp->e_phnum * sizeof (Elf_Internal_Phdr); in elf_object_p() 781 for (i = 0; i < i_ehdrp->e_phnum; i++, i_phdr++) in elf_object_p() [all …]
|
D | elf.c | 983 for (nload = 0, i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) in _bfd_elf_make_section_from_shdr() 988 if (i >= elf_elfheader (abfd)->e_phnum && nload > 1) in _bfd_elf_make_section_from_shdr() 992 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) in _bfd_elf_make_section_from_shdr() 1201 c = elf_elfheader (abfd)->e_phnum; in _bfd_elf_print_private_bfd_data() 4524 elf_elfheader (abfd)->e_phnum = alloc; in assign_file_positions_for_load_sections() 5287 unsigned int num_segments = elf_elfheader (abfd)->e_phnum; in assign_file_positions_except_relocs() 5371 i_ehdrp->e_phnum = 0; in prep_headers() 5618 num_segments = elf_elfheader (ibfd)->e_phnum; in rewrite_elf_program_header() 5899 + iehdr->e_phnum * iehdr->e_phentsize))); in rewrite_elf_program_header() 5995 ? (iehdr->e_phnum in rewrite_elf_program_header() [all …]
|
D | elf32-lm32.c | 2646 for (i = 0; i < elf_elfheader (ibfd)->e_phnum; i++) in lm32_elf_fdpic_copy_private_bfd_data() 2651 for (i = 0; i < elf_elfheader (obfd)->e_phnum; i++) in lm32_elf_fdpic_copy_private_bfd_data() 2660 elf_elfheader (obfd)->e_phnum) != 0) in lm32_elf_fdpic_copy_private_bfd_data()
|
D | ChangeLog-2010 | 3369 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. 3370 (elf_object_p): Read e_phnum extension. 3371 (elf_write_shdrs_and_ehdr): Write e_phnum extension. 3372 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
|
D | elf64-ia64-vms.c | 4502 for (i = 0; i < i_ehdrp->e_phnum; i++, i_phdr++) in elf64_vms_object_p() 4800 phnum = elf_elfheader (abfd)->e_phnum; in elf64_vms_link_add_object_symbols()
|
D | elf32-rx.c | 3171 int nphdrs = elf_elfheader (abfd)->e_phnum; in rx_elf_object_p()
|
D | elf32-spu.c | 261 for (num_buf = 0, num_ovl = 0, i = 0; i < ehdr->e_phnum; i++, phdr++) in spu_elf_object_p()
|
/toolchain/binutils/binutils-2.25/include/elf/ |
D | external.h | 63 unsigned char e_phnum[2]; /* Program header table entry count */ member 80 unsigned char e_phnum[2]; /* Program header table entry count */ member
|
D | internal.h | 78 unsigned int e_phnum; /* Program header table entry count */ member
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | elfedit.c | 211 elf_header.e_phnum = BYTE_GET (ehdr32.e_phnum); in get_file_header() 244 elf_header.e_phnum = BYTE_GET (ehdr64.e_phnum); in get_file_header()
|
D | readelf.c | 4151 (long) elf_header.e_phnum); in process_file_header() 4153 && elf_header.e_phnum == PN_XNUM in process_file_header() 4177 if (elf_header.e_phnum == PN_XNUM in process_file_header() 4179 elf_header.e_phnum = section_headers[0].sh_info; in process_file_header() 4201 unsigned int num = elf_header.e_phnum; in get_32bit_program_headers() 4220 i < elf_header.e_phnum; in get_32bit_program_headers() 4245 unsigned int num = elf_header.e_phnum; in get_64bit_program_headers() 4264 i < elf_header.e_phnum; in get_64bit_program_headers() 4292 phdrs = (Elf_Internal_Phdr *) cmalloc (elf_header.e_phnum, in get_program_headers() 4298 elf_header.e_phnum); in get_program_headers() [all …]
|
D | ChangeLog-2010 | 934 * readelf.c (process_file_header): Handle e_phnum extension.
|
/toolchain/binutils/binutils-2.25/elfcpp/ |
D | elfcpp_internal.h | 59 Elf_Half e_phnum; member
|
D | elfcpp.h | 1072 { return Convert<16, big_endian>::convert_host(this->p_->e_phnum); } 1142 { this->p_->e_phnum = Convert<16, big_endian>::convert_host(v); }
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | simple-object-elf.c | 60 unsigned char e_phnum[2]; /* Program header table entry count */ member 79 unsigned char e_phnum[2]; /* Program header table entry count */ member
|
/toolchain/binutils/binutils-2.25/gold/ |
D | ChangeLog | 10349 write PN_XNUM to e_phnum field.
|