Lines Matching defs:ehdr
1772 Ehdr *ehdr = __ehdr_start ? (void *)__ehdr_start : (void *)ldso.base;
1774 ldso.phnum = ehdr->e_phnum;
1775 ldso.phdr = laddr(&ldso, ehdr->e_phoff);
1776 ldso.phentsize = ehdr->e_phentsize;
1959 Ehdr *ehdr = map_library(fd, &app);
1960 if (!ehdr) {
1967 aux[AT_ENTRY] = (size_t)laddr(&app, ehdr->e_entry);
2024 Ehdr *ehdr = (void *)vdso_base;
2025 Phdr *phdr = vdso.phdr = (void *)(vdso_base + ehdr->e_phoff);
2026 vdso.phnum = ehdr->e_phnum;
2027 vdso.phentsize = ehdr->e_phentsize;
2028 for (i=ehdr->e_phnum; i; i--, phdr=(void *)((char *)phdr + ehdr->e_phentsize)) {