Home
last modified time | relevance | path

Searched refs:Elf_Phdr (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-9-stable/libexec/rtld-elf/
Dmap_object.c59 Elf_Phdr *phdr; in map_object()
60 Elf_Phdr *phlimit; in map_object()
61 Elf_Phdr **segs; in map_object()
63 Elf_Phdr *phdyn; in map_object()
64 Elf_Phdr *phinterp; in map_object()
65 Elf_Phdr *phtls; in map_object()
100 phdr = (Elf_Phdr *) ((char *)hdr + hdr->e_phoff); in map_object()
248 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { in map_object()
268 obj->phdr = (const Elf_Phdr *) (obj->relocbase + phdr_vaddr); in map_object()
346 if (hdr->e_phentsize != sizeof(Elf_Phdr)) { in get_elf_header()
[all …]
Drtld.h169 const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */
/freebsd-9-stable/usr.sbin/kldxref/
Def.c53 Elf_Phdr * ef_ph;
71 Elf_Phdr * ef_segs[2];
79 static void ef_print_phdr(Elf_Phdr *);
114 ef_print_phdr(Elf_Phdr *phdr) in ef_print_phdr()
130 Elf_Phdr *ph; in ef_get_offset()
534 Elf_Phdr *phdr, *phdyn, *phlimit; in ef_open()
568 hdr->e_phentsize != sizeof(Elf_Phdr)) in ef_open()
570 phlen = hdr->e_phnum * sizeof(Elf_Phdr); in ef_open()
/freebsd-9-stable/usr.bin/gcore/
Delfcore.c66 Elf_Phdr *phdr; /* Program header to fill in */
140 Elf_Phdr *php; in elf_coredump()
166 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); in elf_coredump()
191 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; in elf_coredump()
236 Elf_Phdr *phdr = phc->phdr; in cb_put_phdr()
368 Elf_Phdr *phdr; in elf_puthdr()
372 phdr = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)); in elf_puthdr()
391 ehdr->e_phentsize = sizeof(Elf_Phdr); in elf_puthdr()
/freebsd-9-stable/lib/libc/ia64/gen/
Dunwind.c56 Elf_Phdr *phdr; in _Unwind_FindTableEntry()
83 phdr = (Elf_Phdr*)p; in _Unwind_FindTableEntry()
/freebsd-9-stable/sys/kern/
Dimgact_elf.c337 hdr->e_phentsize != sizeof(Elf_Phdr) || in __elfN()
593 const Elf_Phdr *phdr = NULL; in __elfN()
676 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN()
722 const Elf_Phdr *phdr; in __CONCAT()
757 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __CONCAT()
1037 Elf_Phdr *phdr; /* Program header to fill in */
1228 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); in __elfN()
1260 Elf_Phdr *php; in __elfN()
1264 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; in __elfN()
1308 Elf_Phdr *phdr = phc->phdr;
[all …]
Dlink_elf.c732 Elf_Phdr *phdr; in link_elf_load_file()
733 Elf_Phdr *phlimit; in link_elf_load_file()
734 Elf_Phdr *segs[MAXSEGS]; in link_elf_load_file()
736 Elf_Phdr *phdyn; in link_elf_load_file()
737 Elf_Phdr *phphdr; in link_elf_load_file()
823 if (!((hdr->e_phentsize == sizeof(Elf_Phdr)) && in link_elf_load_file()
824 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= PAGE_SIZE) && in link_elf_load_file()
825 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes))) in link_elf_load_file()
834 phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff); in link_elf_load_file()
/freebsd-9-stable/lib/libc/gen/
Dtls.c274 Elf_Phdr *phdr; in _init_tls()
300 if (phdr == 0 || phent != sizeof(Elf_Phdr) || phnum == 0) in _init_tls()
Delf_utils.c39 const Elf_Phdr *ph; in __elf_phdr_match_addr()
Ddlfcn.c166 (const Elf_Phdr *)auxp->a_un.a_ptr; in dl_init_phdr_info()
/freebsd-9-stable/sys/sys/
Dlink_elf.h83 const Elf_Phdr *dlpi_phdr; /* pointer to module's phdr */
/freebsd-9-stable/sys/boot/ia64/common/
Dlibia64.h60 void ia64_loadseg(Elf_Ehdr *, Elf_Phdr *, uint64_t);
Dexec.c252 ia64_loadseg(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta) in ia64_loadseg()
/freebsd-9-stable/sys/ia64/ia64/
Delf_machdep.c279 Elf_Phdr *ph, *phlim; in elf_cpu_load_file()
292 ph = (Elf_Phdr *)(lf->address + hdr->e_phoff); in elf_cpu_load_file()
/freebsd-9-stable/sys/mips/mips/
Ddump_machdep.c215 Elf_Phdr phdr; in cb_dumphdr()
293 ehdr.e_phentsize = sizeof(Elf_Phdr); in dumpsys()
/freebsd-9-stable/sys/arm/arm/
Ddump_machdep.c223 Elf_Phdr phdr; in cb_dumphdr()
301 ehdr.e_phentsize = sizeof(Elf_Phdr); in dumpsys()
/freebsd-9-stable/sys/x86/x86/
Ddump_machdep.c224 Elf_Phdr phdr; in cb_dumphdr()
301 ehdr.e_phentsize = sizeof(Elf_Phdr); in dumpsys()
/freebsd-9-stable/sys/dev/ksyms/
Dksyms.c104 Elf_Phdr kh_txtphdr;
105 Elf_Phdr kh_datphdr;
271 hdr->kh_ehdr.e_phentsize = sizeof(Elf_Phdr); in ksyms_snapshot()
/freebsd-9-stable/lib/libkvm/
Dkvm_amd64.c114 Elf_Phdr *p; in _kvm_pa2off()
122 p = (Elf_Phdr*)((char*)e + e->e_phoff); in _kvm_pa2off()
Dkvm_i386.c120 Elf_Phdr *p; in _kvm_pa2off()
128 p = (Elf_Phdr*)((char*)e + e->e_phoff); in _kvm_pa2off()
/freebsd-9-stable/sys/xen/interface/
Delfstructs.h477 #define Elf_Phdr Elf32_Phdr macro
502 #define Elf_Phdr Elf64_Phdr macro
/freebsd-9-stable/sys/boot/common/
Dload_elf.c54 Elf_Phdr *ph;
241 Elf_Phdr *phdr, *php; in __elfN()
312 phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff); in __elfN()
Dbootstrap.h316 void (*arch_loadseg)(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta);
/freebsd-9-stable/usr.bin/ldd/
Dldd.c353 Elf_Phdr phdr; in is_executable()
/freebsd-9-stable/contrib/llvm/include/llvm/Object/
DELF.h127 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr; typedef
374 typedef ELFEntityIterator<const Elf_Phdr> Elf_Phdr_Iter;

12