Home
last modified time | relevance | path

Searched refs:e_machine (Results 1 – 25 of 72) sorted by relevance

123

/external/valgrind/coregrind/
Dlauncher-linux.c207 if (ehdr->e_machine == EM_386 && in select_platform()
214 if (ehdr->e_machine == EM_386 && in select_platform()
220 if (ehdr->e_machine == EM_ARM && in select_platform()
226 if (ehdr->e_machine == EM_MIPS && in select_platform()
233 if (ehdr->e_machine == EM_PPC && in select_platform()
239 if (ehdr->e_machine == EM_MIPS && in select_platform()
251 if (ehdr->e_machine == EM_X86_64 && in select_platform()
258 if (ehdr->e_machine == EM_X86_64 && in select_platform()
262 } else if (ehdr->e_machine == EM_MIPS && in select_platform()
266 } else if (ehdr->e_machine == EM_TILEGX && in select_platform()
[all …]
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c212 if (proc->e_machine == EM_PPC) in arch_dynlink_done()
218 if (proc->e_machine == EM_PPC) in arch_dynlink_done()
245 if (lte->ehdr.e_machine == EM_PPC && lte->arch.secure_plt) { in arch_plt_sym_val()
249 } else if (lte->ehdr.e_machine == EM_PPC) { in arch_plt_sym_val()
255 } else if (reloc_is_irelative(lte->ehdr.e_machine, rela)) { in arch_plt_sym_val()
287 if (proc->e_machine == EM_PPC64) { in arch_translate_address_dyn()
309 if (lte->ehdr.e_machine == EM_PPC64) { in arch_translate_address()
426 return CBS_STOP_IF(reloc_is_irelative(lte->ehdr.e_machine, rela) in reloc_copy_if_irelative()
433 if (lte->ehdr.e_machine == EM_PPC64 in arch_elf_init()
443 if (lte->ehdr.e_machine == EM_PPC && !lte->arch.secure_plt) in arch_elf_init()
[all …]
Dfetch.c74 if (proc->e_machine == EM_PPC) in fetch_context_init()
85 if (proc->e_machine == EM_PPC64) { in fetch_context_init()
155 if (proc->e_machine == EM_PPC && a < 4) in allocate_stack_slot()
157 else if (proc->e_machine == EM_PPC64 && a < 8) in allocate_stack_slot()
175 if (proc->e_machine == EM_PPC) in read_gpr()
241 if (proc->e_machine == EM_PPC) in allocate_gpr()
251 int pool = proc->e_machine == EM_PPC64 ? 13 : 8; in allocate_float()
260 if (proc->e_machine == EM_PPC64) in allocate_float()
293 if (proc->e_machine == EM_PPC) { in allocate_argument()
322 unsigned width = proc->e_machine == EM_PPC64 ? 8 : 4; in allocate_argument()
Dtrace.c55 proc->mask_32bit = (proc->e_machine == EM_PPC); in get_arch_dep()
197 return proc->e_machine == EM_PPC64 ? 8 : 4; in arch_type_sizeof()
/external/ltrace/sysdeps/linux-gnu/x86/
Dregs.c62 if (proc->e_machine == EM_386) in get_instruction_pointer()
70 if (proc->e_machine == EM_386) in set_instruction_pointer()
88 if (proc->e_machine == EM_386) in get_stack_pointer()
106 if (proc->e_machine == EM_386) in get_return_addr()
Dtrace.c63 if (proc->e_machine == EM_X86_64) { in get_arch_dep()
135 return proc->e_machine == EM_X86_64 ? 8 : 4; in arch_type_sizeof()
179 return proc->e_machine == EM_X86_64 ? 8 : 4; in arch_type_alignof()
184 return proc->e_machine == EM_X86_64 ? 8 : 4; in arch_type_alignof()
Dplt.c57 if (lte->ehdr.e_machine == EM_X86_64) { in arch_elf_add_plt_entry()
62 assert(lte->ehdr.e_machine == EM_386); in arch_elf_add_plt_entry()
141 if (lte->ehdr.e_machine == EM_386) { in arch_elf_init()
Dfetch.c738 ctx->machine = proc->e_machine; in arch_fetch_arg_init()
749 if (proc->e_machine == EM_386) in arch_fetch_arg_init()
846 if (proc->e_machine == EM_386) in arch_fetch_arg_next()
870 if (proc->e_machine == EM_386) in arch_fetch_retval()
/external/elfutils/tests/
Dnewfile.c38 ehdr->e_machine, in print_ehdr()
117 ZERO_TEST (e_machine); in main()
149 ZERO_TEST (e_machine); in main()
Dsaridx.c216 (ehdr.e_machine >= (sizeof (machines) in main()
218 || machines[ehdr.e_machine] == NULL) in main()
220 : machines[ehdr.e_machine]); in main()
Dupdate1.c74 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
112 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
Dupdate2.c75 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
135 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
Dupdate3.c84 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
190 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
Dupdate4.c88 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
342 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
/external/elfutils/libelf/
Delf-knowledge.h100 ((Ehdr)->e_machine == EM_ALPHA \
101 || ((Ehdr)->e_machine == EM_S390 \
Dgelf_update_ehdr.c82 COPY (e_machine); in gelf_update_ehdr()
Dgelf_getehdr.c75 COPY (e_machine); in __gelf_getehdr_rdlock()
/external/minijail/
Delfparse.h36 Elf32_Half e_machine; /* Architecture */ member
54 Elf64_Half e_machine; /* Architecture */ member
/external/elfutils/libebl/
Deblopenbackend.c295 assert (offsetof (Elf32_Ehdr, e_machine) in openbackend()
296 == offsetof (Elf64_Ehdr, e_machine)); in openbackend()
297 assert (sizeof (((Elf32_Ehdr *) 0)->e_machine) in openbackend()
298 == sizeof (((Elf64_Ehdr *) 0)->e_machine)); in openbackend()
311 result->machine = elf->state.elf32.ehdr->e_machine; in openbackend()
411 return openbackend (elf, NULL, ehdr->e_machine); in ebl_openbackend()
/external/google-breakpad/src/common/linux/
Ddump_symbols.cc294 switch (elf_header->e_machine) { in DwarfCFIRegisterNames()
331 dwarf_filename.c_str(), elf_header->e_machine); in LoadDwarfCFI()
604 elf_header->e_machine == EM_MIPS ? SHT_MIPS_DWARF : SHT_PROGBITS; in LoadSymbols()
778 Half arch = elf_header->e_machine; in ElfArchitecture()
833 debuglink_file.c_str(), debug_elf_header->e_machine); in SanitizeDebugFile()
876 obj_filename.c_str(), elf_header->e_machine); in ReadSymbolDataElfClass()
/external/llvm/include/llvm/Object/
DELFObjectFile.h384 if ((Header->e_machine == ELF::EM_ARM || Header->e_machine == ELF::EM_MIPS) && in getSymbolValueImpl()
489 if (EF.getHeader()->e_machine == ELF::EM_ARM) { in getSymbolFlags()
706 return getELFRelocationTypeName(EF.getHeader()->e_machine, Type); in getRelocationTypeName()
825 switch (EF.getHeader()->e_machine) { in getFileFormatName()
849 switch (EF.getHeader()->e_machine) { in getFileFormatName()
876 switch (EF.getHeader()->e_machine) { in getArch()
/external/kernel-headers/original/uapi/linux/
Delf.h206 Elf32_Half e_machine; member
223 Elf64_Half e_machine; member
/external/elfutils/libasm/
Dasm_begin.c102 ehdr->e_machine = ebl_get_elfmachine (ebl); in prepare_binary_output()
/external/ltrace/
Dproc.c228 proc->e_machine = proc->leader->e_machine; in process_init()
368 retp->e_machine = proc->e_machine; in process_clone()
Dltrace-elf.c398 || lte->ehdr.e_machine != LT_ELF_MACHINE) in ltelf_init()
402 || lte->ehdr.e_machine != LT_ELF_MACHINE2) in ltelf_init()
406 || lte->ehdr.e_machine != LT_ELF_MACHINE3) in ltelf_init()
1147 proc->e_machine = lte.ehdr.e_machine; in read_module()

123