Home
last modified time | relevance | path

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

/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_elfmachine.c42 Elf64_Ehdr *eh64; in _libelf_elfmachine() local
51 eh64 = NULL; in _libelf_elfmachine()
58 eh64 = e->e_u.e_elf.e_ehdr.e_ehdr64; in _libelf_elfmachine()
59 return eh64 ? eh64->e_machine : EM_NONE; in _libelf_elfmachine()
H A Dgelf_ehdr.c55 Elf64_Ehdr *eh64; in gelf_getehdr() local
88 if ((eh64 = _libelf_ehdr(e, ELFCLASS64, 0)) == NULL) in gelf_getehdr()
90 *d = *eh64; in gelf_getehdr()
124 Elf64_Ehdr *eh64; in gelf_update_ehdr() local
143 eh64 = (Elf64_Ehdr *) ehdr; in gelf_update_ehdr()
144 *eh64 = *s; in gelf_update_ehdr()
H A Delf_update.c519 Elf64_Ehdr *eh64; in _libelf_resync_elf() local
534 eh64 = ehdr; in _libelf_resync_elf()
543 eh_byteorder = eh64->e_ident[EI_DATA]; in _libelf_resync_elf()
544 eh_class = eh64->e_ident[EI_CLASS]; in _libelf_resync_elf()
545 phoff = (off_t) eh64->e_phoff; in _libelf_resync_elf()
546 shoff = (off_t) eh64->e_shoff; in _libelf_resync_elf()
547 eh_version = eh64->e_version; in _libelf_resync_elf()
598 INITIALIZE_EHDR(eh64, ec, eh_version); in _libelf_resync_elf()
706 eh64->e_phoff = (uint64_t) phoff; in _libelf_resync_elf()
707 eh64->e_shoff = (uint64_t) shoff; in _libelf_resync_elf()
[all …]
H A Delf_scn.c63 Elf64_Ehdr *eh64; in _libelf_load_section_headers() local
95 eh64 = (Elf64_Ehdr *) ehdr; in _libelf_load_section_headers()
96 shoff = eh64->e_shoff; in _libelf_load_section_headers()
97 CHECK_EHDR(e, eh64); in _libelf_load_section_headers()
H A Dlibelf_phdr.c43 Elf64_Ehdr *eh64; in _libelf_getphdr() local
72 eh64 = (Elf64_Ehdr *) ehdr; in _libelf_getphdr()
73 phoff = (uint64_t) eh64->e_phoff; in _libelf_getphdr()
H A Dgelf_phdr.c53 Elf64_Ehdr *eh64; in gelf_getphdr() local
88 if ((eh64 = _libelf_ehdr(e, ELFCLASS64, 0)) == NULL || in gelf_getphdr()