• Home
  • Raw
  • Download

Lines Matching refs:ehdr

203          const Elf32_Ehdr *ehdr = (Elf32_Ehdr *)header;  in select_platform()  local
207 if (ehdr->e_machine == EM_386 && in select_platform()
208 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
209 ehdr->e_ident[EI_OSABI] == ELFOSABI_SOLARIS)) { in select_platform()
214 if (ehdr->e_machine == EM_386 && in select_platform()
215 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
216 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
220 if (ehdr->e_machine == EM_ARM && in select_platform()
221 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
222 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
226 if (ehdr->e_machine == EM_MIPS && in select_platform()
227 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
228 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
233 if (ehdr->e_machine == EM_PPC && in select_platform()
234 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
235 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
239 if (ehdr->e_machine == EM_MIPS && in select_platform()
240 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
241 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
247 const Elf64_Ehdr *ehdr = (Elf64_Ehdr *)header; in select_platform() local
251 if (ehdr->e_machine == EM_X86_64 && in select_platform()
252 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
253 ehdr->e_ident[EI_OSABI] == ELFOSABI_SOLARIS)) { in select_platform()
258 if (ehdr->e_machine == EM_X86_64 && in select_platform()
259 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
260 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
262 } else if (ehdr->e_machine == EM_MIPS && in select_platform()
263 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
264 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
266 } else if (ehdr->e_machine == EM_TILEGX && in select_platform()
267 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
268 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
270 } else if (ehdr->e_machine == EM_AARCH64 && in select_platform()
271 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
272 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
274 } else if (ehdr->e_machine == EM_PPC64 && in select_platform()
275 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
276 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
284 if (ehdr->e_machine == EM_PPC64 && in select_platform()
285 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
286 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
290 if (ehdr->e_machine == EM_S390 && in select_platform()
291 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
292 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()
294 } else if (ehdr->e_machine == EM_MIPS && in select_platform()
295 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || in select_platform()
296 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { in select_platform()