Home
last modified time | relevance | path

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

/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_ehdr.c54 Elf32_Ehdr *eh32; in gelf_getehdr() local
64 if ((eh32 = _libelf_ehdr(e, ELFCLASS32, 0)) == NULL) in gelf_getehdr()
67 (void) memcpy(d->e_ident, eh32->e_ident, in gelf_getehdr()
68 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()
[all …]
H A Dlibelf_elfmachine.c41 Elf32_Ehdr *eh32; in _libelf_elfmachine() local
50 eh32 = NULL; in _libelf_elfmachine()
55 eh32 = e->e_u.e_elf.e_ehdr.e_ehdr32; in _libelf_elfmachine()
56 return eh32 ? eh32->e_machine : EM_NONE; in _libelf_elfmachine()
H A Delf_update.c518 Elf32_Ehdr *eh32; in _libelf_resync_elf() local
533 eh32 = ehdr; in _libelf_resync_elf()
537 eh_byteorder = eh32->e_ident[EI_DATA]; in _libelf_resync_elf()
538 eh_class = eh32->e_ident[EI_CLASS]; in _libelf_resync_elf()
539 phoff = (off_t) eh32->e_phoff; in _libelf_resync_elf()
540 shoff = (off_t) eh32->e_shoff; in _libelf_resync_elf()
541 eh_version = eh32->e_version; in _libelf_resync_elf()
596 INITIALIZE_EHDR(eh32, ec, eh_version); in _libelf_resync_elf()
703 eh32->e_phoff = (uint32_t) phoff; in _libelf_resync_elf()
704 eh32->e_shoff = (uint32_t) shoff; in _libelf_resync_elf()
[all …]
H A Delf_scn.c62 Elf32_Ehdr *eh32; in _libelf_load_section_headers() local
91 eh32 = (Elf32_Ehdr *) ehdr; in _libelf_load_section_headers()
92 shoff = (uint64_t) eh32->e_shoff; in _libelf_load_section_headers()
93 CHECK_EHDR(e, eh32); in _libelf_load_section_headers()
H A Dlibelf_phdr.c42 Elf32_Ehdr *eh32; in _libelf_getphdr() local
69 eh32 = (Elf32_Ehdr *) ehdr; in _libelf_getphdr()
70 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr()
H A Dgelf_phdr.c52 Elf32_Ehdr *eh32; in gelf_getphdr() local
72 if ((eh32 = _libelf_ehdr(e, ELFCLASS32, 0)) == NULL || in gelf_getphdr()