Lines Matching defs:ehdr
3032 Ehdr *ehdr = __ehdr_start ? (void *)__ehdr_start : (void *)ldso.base;
3034 ldso.phnum = ehdr->e_phnum;
3035 ldso.phdr = laddr(&ldso, ehdr->e_phoff);
3036 ldso.phentsize = ehdr->e_phentsize;
3215 Ehdr *ehdr = map_library(fd, &app, NULL);
3216 if (!ehdr) {
3223 aux[AT_ENTRY] = (size_t)laddr(&app, ehdr->e_entry);
3326 Ehdr *ehdr = (void *)vdso_base;
3327 Phdr *phdr = vdso.phdr = (void *)(vdso_base + ehdr->e_phoff);
3328 vdso.phnum = ehdr->e_phnum;
3329 vdso.phentsize = ehdr->e_phentsize;
3330 for (i=ehdr->e_phnum; i; i--, phdr=(void *)((char *)phdr + ehdr->e_phentsize)) {