Searched refs:e_phnum (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-11.0-release/contrib/elftoolchain/libelf/
H A Dgelf_ehdr.c78 d->e_phnum = eh32->e_phnum;
161 eh32->e_phnum = s->e_phnum;
H A Dgelf_phdr.c69 if (index >= eh32->e_phnum) {
90 if (index >= eh64->e_phnum) {
148 phnum = ((Elf32_Ehdr *) ehdr)->e_phnum;
150 phnum = ((Elf64_Ehdr *) ehdr)->e_phnum;
H A Dlibelf_extended.c129 ((Elf32_Ehdr *) eh)->e_phnum = phnum & 0xFFFFU;
131 ((Elf64_Ehdr *) eh)->e_phnum = phnum & 0xFFFFU;
H A Dlibelf_ehdr.c178 phnum = ((Elf32_Ehdr *) ehdr)->e_phnum;
183 phnum = ((Elf64_Ehdr *) ehdr)->e_phnum;
/freebsd-11.0-release/contrib/binutils/include/elf/
H A Dexternal.h51 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon501
68 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon502
H A Dinternal.h55 unsigned int e_phnum; /* Program header table entry count */ member in struct:elf_internal_ehdr
/freebsd-11.0-release/contrib/file/src/
H A Delfclass.h39 phnum = elf_getu16(swap, elfhdr.e_phnum);
52 phnum = elf_getu16(swap, elfhdr.e_phnum);
H A Dreadelf.h103 Elf32_Half e_phnum; member in struct:__anon1160
120 Elf64_Half e_phnum; member in struct:__anon1161
/freebsd-11.0-release/contrib/binutils/bfd/
H A Delfcore.h189 amt = sizeof (*i_phdrp) * i_ehdrp->e_phnum;
197 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex)
225 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex)
H A Delfcode.h248 dst->e_phnum = H_GET_16 (abfd, src->e_phnum);
278 H_PUT_16 (abfd, src->e_phnum, dst->e_phnum);
626 if (i_ehdrp->e_phnum > 0)
819 if (i_ehdrp->e_phnum == 0)
826 amt = i_ehdrp->e_phnum * sizeof (Elf_Internal_Phdr);
833 for (i = 0; i < i_ehdrp->e_phnum; i++, i_phdr++)
1552 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum);
[all...]
/freebsd-11.0-release/sys/mips/mips/
H A Delf_trampoline.c130 eh->e_phnum * sizeof(phdr[0]));
153 for (i = 0; i < eh->e_phnum; i++) {
/freebsd-11.0-release/libexec/rtld-elf/
H A Dmap_object.c103 phsize = hdr->e_phnum * sizeof (phdr[0]);
104 phlimit = phdr + hdr->e_phnum;
113 segs = alloca(sizeof(segs[0]) * hdr->e_phnum);
264 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) {
377 if (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) >
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c489 if (sehdr.e_phnum != 0) {
491 if (gelf_newphdr(dst, sehdr.e_phnum) == NULL)
494 for (i = 0; i < sehdr.e_phnum; i++) {
558 if (changing && sehdr.e_phnum != 0) {
614 if (sehdr.e_phnum != 0)
674 if (changing && sehdr.e_phnum != 0) {
693 if (sehdr.e_phnum != 0) {
/freebsd-11.0-release/sys/kern/
H A Dkern_dump.c320 ehdr.e_phnum = dumpsys_foreach_chunk(cb_size, &dumpsize) +
322 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize;
339 ehdr.e_phnum - DUMPSYS_NUM_AUX_HDRS);
/freebsd-11.0-release/lib/libkvm/
H A Dkvm_powerpc.c122 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) +
155 nph = be16toh(vm->eh->e_phnum);
H A Dkvm_powerpc64.c122 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) +
156 nph = be16toh(vm->eh->e_phnum);
/freebsd-11.0-release/usr.bin/ldd/
H A Dldd.c330 for (i = 0; i < hdr.elf32.e_phnum; i++) {
372 for (i = 0; i < hdr.elf.e_phnum; i++) {
/freebsd-11.0-release/sys/arm/arm/
H A Delf_trampoline.c495 eh->e_phnum * sizeof(phdr[0]));
498 for (i = 0; i < eh->e_phnum; i++) {
512 for (j = 0; j < eh->e_phnum; j++) {
522 j = eh->e_phnum;
558 j = eh->e_phnum;
/freebsd-11.0-release/lib/libprocstat/
H A Dcore.c106 for (i = 0; i < ehdr.e_phnum; i++) {
114 if (i == ehdr.e_phnum) {
320 for (i = 0; i < core->pc_ehdr.e_phnum; i++) {
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h71 elf_half e_phnum; ///< Number of program header entries. member in struct:elf::ELFHeader
/freebsd-11.0-release/sys/sys/
H A Delf32.h66 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon13325
H A Delf64.h75 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon13342
/freebsd-11.0-release/usr.bin/elf2aout/
H A Delf2aout.c128 phnum = xe16toh(e->e_phnum);
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c153 dst->e_phnum = src->e_phnum;
/freebsd-11.0-release/contrib/gdb/gdb/
H A Dnto-tdep.c248 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++)

Completed in 236 milliseconds

123