Lines Matching refs:l_ehdr
126 Elf_Ehdr *l_ehdr;
1026 hdr = v->l_ehdr;
1267 v->l_ehdr = NULL;
1427 v->l_ehdr = (Elf_Ehdr *)v->pbuffer;
1428 if (memcmp(v->l_ehdr->e_ident, ELFMAG, 4) != 0) {
1435 if (v->l_ehdr->e_phoff != 0) {
1437 (v->pbuffer + v->l_ehdr->e_phoff);
1438 v->l_phlen = v->l_ehdr->e_phentsize
1439 * v->l_ehdr->e_phnum;
1453 v->__start = v->l_ehdr->e_entry;
1454 } else if (v->l_ehdr->e_shoff != 0) {
1465 v->l_shlen = v->l_ehdr->e_shentsize
1466 * v->l_ehdr->e_shnum;
1467 if ((v->l_ehdr->e_shoff + v->l_shlen
1488 v->l_ehdr->e_phoff + v->l_phlen - v->copied);
1496 if (v->copied == v->l_ehdr->e_phoff + v->l_phlen) {
1503 v->l_phsort = kmalloc(v->l_ehdr->e_phnum
1507 v->l_ehdr->e_phnum*sizeof(int),
1511 indexort(v->l_phdr, v->l_ehdr->e_phnum,
1517 for (i = 0; i < v->l_ehdr->e_phnum; i++) {
1570 for (i = 0; i < v->l_ehdr->e_phnum; i++) {
1582 if (i == v->l_ehdr->e_phnum) {
1633 i < v->l_ehdr->e_phnum; i++) {
1646 if (i == v->l_ehdr->e_phnum) {
1647 if (v->l_ehdr->e_shoff != 0) {
1649 v->l_shlen = v->l_ehdr->e_shentsize
1650 * v->l_ehdr->e_shnum;
1651 if ((v->l_ehdr->e_shoff + v->l_shlen
1675 v->l_ehdr->e_shoff + v->l_shlen - v->offset);
1685 if (v->offset == v->l_ehdr->e_shoff + v->l_shlen) {
1689 + v->l_ehdr->e_shoff - offset_delta);
1702 for (i = 0; i < v->l_ehdr->e_shnum; i++) {
1704 > v->l_ehdr->e_shoff) {
1710 - (v->l_ehdr->e_shoff
1715 - (v->l_ehdr->e_shoff
1729 v->l_ehdr->e_shoff = (unsigned int)v->l_shdr