Home
last modified time | relevance | path

Searched refs:eh32 (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/lib/libelf/
Dgelf_ehdr.c55 Elf32_Ehdr *eh32; in gelf_getehdr() local
65 if ((eh32 = _libelf_ehdr(e, ELFCLASS32, 0)) == NULL) in gelf_getehdr()
68 (void) memcpy(d->e_ident, eh32->e_ident, sizeof(eh32->e_ident)); in gelf_getehdr()
69 d->e_type = eh32->e_type; in gelf_getehdr()
70 d->e_machine = eh32->e_machine; in gelf_getehdr()
71 d->e_version = eh32->e_version; in gelf_getehdr()
72 d->e_entry = eh32->e_entry; in gelf_getehdr()
73 d->e_phoff = eh32->e_phoff; in gelf_getehdr()
74 d->e_shoff = eh32->e_shoff; in gelf_getehdr()
75 d->e_flags = eh32->e_flags; in gelf_getehdr()
[all …]
Delf_update.c409 Elf32_Ehdr *eh32; in _libelf_resync_elf() local
424 eh32 = ehdr; in _libelf_resync_elf()
428 eh_byteorder = eh32->e_ident[EI_DATA]; in _libelf_resync_elf()
429 eh_class = eh32->e_ident[EI_CLASS]; in _libelf_resync_elf()
430 phoff = (uint64_t) eh32->e_phoff; in _libelf_resync_elf()
431 shoff = (uint64_t) eh32->e_shoff; in _libelf_resync_elf()
432 eh_type = eh32->e_type; in _libelf_resync_elf()
433 eh_version = eh32->e_version; in _libelf_resync_elf()
482 INITIALIZE_EHDR(eh32, ec, eh_version); in _libelf_resync_elf()
571 eh32->e_phoff = (uint32_t) phoff; in _libelf_resync_elf()
[all …]
Dlibelf_phdr.c45 Elf32_Ehdr *eh32; in _libelf_getphdr() local
72 eh32 = (Elf32_Ehdr *) ehdr; in _libelf_getphdr()
73 phentsize = eh32->e_phentsize; in _libelf_getphdr()
74 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr()
Delf_scn.c48 Elf32_Ehdr *eh32; in _libelf_load_scn() local
72 eh32 = (Elf32_Ehdr *) ehdr; in _libelf_load_scn()
73 shoff = (uint64_t) eh32->e_shoff; in _libelf_load_scn()
74 CHECK_EHDR(e, eh32); in _libelf_load_scn()
Dgelf_phdr.c53 Elf32_Ehdr *eh32; in gelf_getphdr() local
66 if ((eh32 = _libelf_ehdr(e, ELFCLASS32, 0)) == NULL || in gelf_getphdr()
70 if (index >= eh32->e_phnum) { in gelf_getphdr()