Searched refs:Elf32_Ehdr (Results 1 – 23 of 23) sorted by relevance
294 Elf32_Ehdr *ehdr; /* Pointer to the ELF header. This is305 Elf32_Ehdr ehdr_mem; /* Memory used for ELF header when not307 char __e32scnspad[sizeof (Elf64_Ehdr) - sizeof (Elf32_Ehdr)];445 extern Elf32_Ehdr *__elf32_getehdr_internal (Elf *__elf) attribute_hidden;447 extern Elf32_Ehdr *__elf32_newehdr_internal (Elf *__elf) attribute_hidden;
68 Elf32_Ehdr *e32; in get_shnum()78 & ((is32 ? __alignof__ (Elf32_Ehdr) : __alignof__ (Elf64_Ehdr)) in get_shnum()84 size_t len = is32 ? sizeof (Elf32_Ehdr) : sizeof (Elf64_Ehdr); in get_shnum()121 & (__alignof__ (Elf32_Ehdr) - 1)) == 0)) in get_shnum()241 Elf32_Ehdr *ehdr = (Elf32_Ehdr *) ((char *) map_address + offset); in file_read_elf()250 || ((((uintptr_t) ehdr) & (__alignof__ (Elf32_Ehdr) - 1)) == 0 in file_read_elf()258 (Elf32_Ehdr *) ((char *) map_address + offset); in file_read_elf()286 sizeof (Elf32_Ehdr), offset) != sizeof (Elf32_Ehdr)) in file_read_elf()484 ? sizeof (Elf32_Ehdr) : sizeof (Elf64_Ehdr))) in read_unmmaped_file()
179 extern Elf32_Ehdr *elf32_getehdr (Elf *__elf);184 extern Elf32_Ehdr *elf32_newehdr (Elf *__elf);
48 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr;
46 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr; in gelf_update_ehdr()
82 } Elf32_Ehdr; typedef
38 .e_ehsize = sizeof (Elf32_Ehdr),206 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()208 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
46 .e_ehsize = sizeof (Elf32_Ehdr),240 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()242 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
22 print_ehdr (Elf32_Ehdr *ehdr) in print_ehdr()81 Elf32_Ehdr *ehdr = elf32_getehdr (elf); in main()
38 .e_ehsize = sizeof (Elf32_Ehdr),191 if (shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 31) & ~31)) in main()
33 Elf32_Ehdr *ehdr; in main()
35 Elf32_Ehdr *ehdr; in main()
36 Elf32_Ehdr *ehdr; in main()
525 const Elf32_Ehdr *pHeader32; in getArchitecture()566 if(length<sizeof(Elf32_Ehdr)) { in getArchitecture()570 pHeader32=(const Elf32_Ehdr *)buffer; in getArchitecture()638 static Elf32_Ehdr header32={ in writeObjectCode()651 (Elf32_Off)sizeof(Elf32_Ehdr), /* e_shoff */ in writeObjectCode()653 (Elf32_Half)sizeof(Elf32_Ehdr), /* eh_size */ in writeObjectCode()
20 Elf32_Ehdr *ehdr; in map_over_segments()
108 Elf32_Ehdr *ehdr = elf32_getehdr (elf); in i386_reloc_valid_use()
138 Elf32_Ehdr *ehdr = elf32_getehdr (elf); in ppc_reloc_valid_use()
92 Elf32_Ehdr; typedef
53 Elf32_Ehdr *elf; in load_image()103 && len > sizeof (Elf32_Ehdr) in load_image()104 && BOOTABLE_I386_ELF ((*((Elf32_Ehdr *) buffer)))) in load_image()
26 # define XElf_Ehdr Elf32_Ehdr39 # define XElf_Ehdr_vardef(name) Elf32_Ehdr *name133 case ELF_T_EHDR: fsize = sizeof (Elf32_Ehdr); break; \
487 if (ehdr->e_ehsize != 0 && ehdr->e_ehsize != sizeof (Elf32_Ehdr)) in check_elf_header()
964 } Elf32_Ehdr; typedef