Home
last modified time | relevance | path

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

12345

/openbmc/linux/arch/x86/include/asm/
H A Delf.h88 (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486))
149 ((x)->e_machine == EM_X86_64)
153 (IS_ENABLED(CONFIG_X86_X32_ABI) && (x)->e_machine == EM_X86_64))
176 compat_start_thread(regs, new_ip, new_sp, ex->e_machine == EM_X86_64)
180 set_personality_ia32((ex).e_machine == EM_X86_64)
353 if (exec->e_machine == EM_X86_64) \
377 (ex->e_machine == EM_X86_64))
/openbmc/linux/arch/openrisc/include/asm/
H A Delf.h26 (((x)->e_machine == EM_OR32) || ((x)->e_machine == EM_OPENRISC))
/openbmc/linux/arch/s390/include/asm/
H A Delf.h179 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \
182 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \
/openbmc/linux/arch/sparc/include/asm/
H A Delf_64.h179 #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH)
180 #define compat_elf_check_arch(x) ((x)->e_machine == EM_SPARC || \
181 (x)->e_machine == EM_SPARC32PLUS)
H A Delf_32.h99 #define elf_check_arch(x) ((x)->e_machine == EM_SPARC)
/openbmc/linux/scripts/
H A Drecordmcount.c565 switch (w2(ehdr->e_machine)) { in do_file()
568 w2(ehdr->e_machine), fname); in do_file()
623 if (w2(ehdr->e_machine) == EM_MIPS) { in do_file()
627 if (w2(ehdr->e_machine) == EM_LOONGARCH) { in do_file()
642 if (w2(ghdr->e_machine) == EM_S390) { in do_file()
646 if (w2(ghdr->e_machine) == EM_MIPS) { in do_file()
652 if (w2(ghdr->e_machine) == EM_LOONGARCH) { in do_file()
H A Dsorttable.c304 switch (r2(&ehdr->e_machine)) { in do_file()
327 r2(&ehdr->e_machine), fname); in do_file()
/openbmc/linux/arch/csky/include/asm/
H A Delf.h46 #define elf_check_arch(x) (((x)->e_machine == ELF_ARCH) || \
47 ((x)->e_machine == EM_CSKY_OLD))
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py80 self.ehdr.e_machine = EM_AARCH
85 self.ehdr.e_machine = EM_AARCH
90 self.ehdr.e_machine = EM_X86_64
96 self.ehdr.e_machine = EM_386
101 self.ehdr.e_machine = EM_S390
106 self.ehdr.e_machine = EM_PPC64
111 self.ehdr.e_machine = EM_PPC64
/openbmc/linux/arch/x86/um/asm/
H A Delf.h30 (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486))
125 ((x)->e_machine == EM_X86_64)
/openbmc/linux/arch/microblaze/include/uapi/asm/
H A Delf.h28 #define elf_check_arch(x) ((x)->e_machine == EM_MICROBLAZE \
29 || (x)->e_machine == EM_MICROBLAZE_OLD)
/openbmc/qemu/include/hw/
H A Delf_ops.h.inc4 bswap16s(&ehdr->e_machine); /* Architecture */
344 elf_machine = ehdr.e_machine;
349 if (ehdr.e_machine != EM_PPC64) {
350 if (ehdr.e_machine != EM_PPC) {
357 if (ehdr.e_machine != EM_X86_64) {
358 if (ehdr.e_machine != EM_386) {
365 if (ehdr.e_machine != EM_MICROBLAZE) {
366 if (ehdr.e_machine != EM_MICROBLAZE_OLD) {
374 if ((ehdr.e_machine != EM_MIPS) &&
375 (ehdr.e_machine != EM_NANOMIPS)) {
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Delf_util.c32 elf64->e_machine == EM_PPC64)) in parse_elf64()
64 elf32->e_machine == EM_PPC)) in parse_elf32()
H A Delf.h58 Elf32_Half e_machine; member
75 Elf64_Half e_machine; member
/openbmc/openbmc/poky/meta/recipes-devtools/rpm/files/
H A D0001-Add-a-color-setting-for-mips64_n32-binaries.patch29 + if (ehdr.e_machine == EM_MIPS || ehdr.e_machine == EM_MIPS_RS3_LE)
/openbmc/linux/arch/xtensa/include/asm/
H A Delf.h93 #define elf_check_arch(x) ( ( (x)->e_machine == EM_XTENSA ) || \
94 ( (x)->e_machine == EM_XTENSA_OLD ) )
/openbmc/linux/arch/powerpc/include/asm/
H A Delf.h16 #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH)
17 #define compat_elf_check_arch(x) ((x)->e_machine == EM_PPC)
/openbmc/linux/arch/arm/vdso/
H A Dvdsomunge.c164 if (read_elf_half(inhdr->e_machine, swap) != EM_ARM) in main()
165 fail("Unsupported architecture %#x\n", inhdr->e_machine); in main()
/openbmc/qemu/tcg/
H A Dperf.c174 QEMU_BUILD_BUG_ON(offsetof(Elf32_Ehdr, e_machine) != in get_e_machine()
175 offsetof(Elf64_Ehdr, e_machine)); in get_e_machine()
188 return elf_header.e_machine; in get_e_machine()
/openbmc/linux/arch/alpha/boot/tools/
H A Dobjstrip.c33 # define elf_check_arch(x) ((x)->e_machine == EM_ALPHA)
159 prog_name, elf->e_machine); in main()
/openbmc/linux/arch/parisc/include/asm/
H A Delf.h311 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
313 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
/openbmc/linux/scripts/mod/
H A Dmodpost.c457 hdr->e_machine = TO_NATIVE(hdr->e_machine); in parse_elf()
598 if (info->hdr->e_machine == EM_PPC) in ignore_undef_symbol()
607 if (info->hdr->e_machine == EM_PPC64) in ignore_undef_symbol()
616 if (info->hdr->e_machine == EM_S390) in ignore_undef_symbol()
641 if (info->hdr->e_machine == EM_SPARC || in handle_symbol()
642 info->hdr->e_machine == EM_SPARCV9) { in handle_symbol()
1159 elf->hdr->e_machine == EM_PARISC && in check_export_symbol()
1375 if (elf->hdr->e_machine == EM_MIPS && is_64bit) { in get_rel_type_and_sym()
1421 switch (elf->hdr->e_machine) { in section_rela()
1464 switch (elf->hdr->e_machine) { in section_rel()
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dadd-64-bit-flag-for-ELF64-entries.patch73 + switch (elf_header->e_machine)
109 + file_name, (long)elf_header->e_machine);
/openbmc/linux/tools/perf/util/
H A Dsymbol-elf.c398 return ehdr->e_machine == EM_X86_64 && ri->is_rela && in addend_may_be_ifunc()
436 switch (ehdr->e_machine) { in get_plt_sizes()
476 static bool machine_is_x86(GElf_Half e_machine) in machine_is_x86() argument
478 return e_machine == EM_386 || e_machine == EM_X86_64; in machine_is_x86()
647 if (ehdr->e_machine == EM_X86_64) in dso__synthesize_plt_got_symbols()
713 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
718 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
807 if (machine_is_x86(ehdr.e_machine) && sort_rel(&ri)) in dso__synthesize_plt_symbols()
1601 if (ehdr.e_machine == EM_ARM || ehdr.e_machine == EM_AARCH64) { in dso__load_sym_internal()
1669 if ((ehdr.e_machine == EM_ARM) && in dso__load_sym_internal()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Delf.c15 if (x->e_machine != EM_ARM) in elf_check_arch()

12345