Home
last modified time | relevance | path

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

/openbsd/lib/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.c518 Elf64_Ehdr *eh64; in _libelf_resync_elf() local
533 eh64 = ehdr; in _libelf_resync_elf()
546 eh_version = eh64->e_version; in _libelf_resync_elf()
705 eh64->e_phoff = (uint64_t) phoff; in _libelf_resync_elf()
706 eh64->e_shoff = (uint64_t) shoff; in _libelf_resync_elf()
894 Elf64_Ehdr *eh64; in _libelf_write_phdr() local
913 eh64 = (Elf64_Ehdr *) ehdr; in _libelf_write_phdr()
914 phoff = eh64->e_phoff; in _libelf_write_phdr()
958 Elf64_Ehdr *eh64; in _libelf_write_shdr() local
975 eh64 = (Elf64_Ehdr *) ehdr; in _libelf_write_shdr()
[all …]
H A Delf_scn.c50 Elf64_Ehdr *eh64; in _libelf_load_section_headers() local
82 eh64 = (Elf64_Ehdr *) ehdr; in _libelf_load_section_headers()
83 shoff = eh64->e_shoff; in _libelf_load_section_headers()
84 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()