Searched refs:elfhdr (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/external/bsd/file/dist/src/ |
H A D | elfclass.h | 29 if (nbytes <= sizeof(elfhdr)) 33 (void)memcpy(&elfhdr, buf, sizeof elfhdr); 34 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA]; 36 type = elf_getu16(swap, elfhdr.e_type); 41 phnum = elf_getu16(swap, elfhdr.e_phnum); 46 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum, 47 CAST(size_t, elf_getu16(swap, elfhdr.e_phentsize)), 54 phnum = elf_getu16(swap, elfhdr.e_phnum); 57 shnum = elf_getu16(swap, elfhdr [all...] |
H A D | readelf.c | 1889 #undef elfhdr macro 1890 #define elfhdr elf32hdr macro 1895 #undef elfhdr macro 1896 #define elfhdr elf64hdr macro
|
/netbsd-current/sys/compat/linux32/arch/amd64/ |
H A D | linux32_exec.h | 73 Elf32_Ehdr elfhdr;
|
/netbsd-current/sys/compat/linux32/common/ |
H A D | linux32_exec_elf32.c | 215 a->a_v = NETBSD32PTR32I(&esdp->elfhdr); 217 memcpy(&esd.elfhdr, eh, sizeof(*eh));
|
Completed in 89 milliseconds