/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf_ehdr.c | 70 d->e_machine = eh32->e_machine; in gelf_getehdr() 153 eh32->e_machine = s->e_machine; in gelf_update_ehdr()
|
H A D | libelf_elfmachine.c | 56 return eh32 ? eh32->e_machine : EM_NONE; in _libelf_elfmachine() 59 return eh64 ? eh64->e_machine : EM_NONE; in _libelf_elfmachine()
|
H A D | gelf_mips64el.c | 37 e->e_u.e_elf.e_ehdr.e_ehdr64->e_machine == EM_MIPS && in _libelf_is_mips64el()
|
H A D | elf_types.m4 | 104 `e_machine, HALF', 121 `e_machine, HALF',
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF.cpp | 41 return File->getHeader().e_machine; in readTargetMachineArch() 47 return File->getHeader().e_machine; in readTargetMachineArch() 57 return File->getHeader().e_machine; 63 return File->getHeader().e_machine; in createLinkGraphFromELFObject()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 502 elf_file.ehdr.e_machine = EM_ARM; in dump_elf32() 504 elf_file.ehdr.e_machine = EM_PPC; in dump_elf32() 506 elf_file.ehdr.e_machine = EM_386; in dump_elf32() 508 elf_file.ehdr.e_machine = EM_AARCH64; in dump_elf32() 510 elf_file.ehdr.e_machine = EM_RISCV; in dump_elf32() 656 elf_file.ehdr.e_machine = EM_ARM; in dump_elf64() 661 elf_file.ehdr.e_machine = EM_PPC64; in dump_elf64() 663 elf_file.ehdr.e_machine = EM_AMD64; in dump_elf64() 665 elf_file.ehdr.e_machine = EM_AARCH64; in dump_elf64() 667 elf_file.ehdr.e_machine = EM_RISCV; in dump_elf64() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFObjectFile.h | 610 if ((Header.e_machine == ELF::EM_ARM || Header.e_machine == ELF::EM_MIPS) && in getSymbolValueImpl() 676 return EF.getHeader().e_machine; in getEMachine() 788 if (EF.getHeader().e_machine == ELF::EM_AARCH64) { in getSymbolFlags() 797 } else if (EF.getHeader().e_machine == ELF::EM_ARM) { in getSymbolFlags() 810 } else if (EF.getHeader().e_machine == ELF::EM_CSKY) { in getSymbolFlags() 819 } else if (EF.getHeader().e_machine == ELF::EM_RISCV) { in getSymbolFlags() 1145 return getELFRelocationTypeName(EF.getHeader().e_machine, Type); in getRelocationTypeName() 1286 switch (EF.getHeader().e_machine) { in getFileFormatName() 1326 switch (EF.getHeader().e_machine) { in getFileFormatName() 1362 switch (EF.getHeader().e_machine) { in getArch()
|
H A D | ELF.h | 147 return (object::getELFSectionTypeName(Obj.getHeader().e_machine, in describe() 333 return getHeader().e_machine == ELF::EM_MIPS && in isMipsELF64() 677 return getELFRelocationTypeName(getHeader().e_machine, Type); in getRelocationTypeName() 713 return getELFRelativeRelocationType(getHeader().e_machine); in getRelativeRelocationType() 1224 getHeader().e_machine, Section.sh_type))) in getStringTable() 1267 object::getELFSectionTypeName(getHeader().e_machine, SymTable.sh_type) + in getSHNDXTable()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 243 if (Obj.getHeader().e_machine == ELF::EM_S390 || in getHashTableEntSize() 244 Obj.getHeader().e_machine == ELF::EM_ALPHA) in getHashTableEntSize() 454 object::getELFSectionTypeName(Obj.getHeader().e_machine, ExpectedType) + in getLinkAsSymtab() 456 object::getELFSectionTypeName(Obj.getHeader().e_machine, in getLinkAsSymtab() 2013 if (Obj.getHeader().e_machine == EM_AARCH64) { in parseDynamicTable() 2327 switch (Obj.getHeader().e_machine) { in getDynamicEntry() 2554 if (Obj.getHeader().e_machine == EM_ARM) { in printUnwindInfo() 2586 return E.Value == Obj.getHeader().e_machine; in checkHashTable() 2851 switch (Obj.getHeader().e_machine) { in printArchSpecificInfo() 3469 if (Header.e_machine == EM_MIPS) { in getOtherFlagsFromSymbol() [all …]
|
/freebsd/contrib/file/src/ |
H A D | readelf.h | 95 Elf32_Half e_machine; member 112 Elf64_Half e_machine; member
|
H A D | elfclass.h | 71 fsize, elf_getu16(swap, elfhdr.e_machine),
|
/freebsd/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 2294 printf("%-37s%s\n", " Machine:", elf_machine(re->ehdr.e_machine)); in dump_ehdr() 2364 switch (re->ehdr.e_machine) { in dump_eflags() 2475 #define PH_CT phdr_type(re->ehdr.e_machine, phdr.p_type), \ in dump_phdr() 2616 #define S_CT i, s->name, section_type(re->ehdr.e_machine, s->type), \ in dump_shdr() 2620 #define ST_CT i, s->name, section_type(re->ehdr.e_machine, s->type), \ in dump_shdr() 2624 #define ST_CTL i, s->name, section_type(re->ehdr.e_machine, s->type), \ in dump_shdr() 2785 printf(" %-20s", dt_type(re->ehdr.e_machine, in dump_dynamic() 2828 switch (re->ehdr.e_machine) { in dump_arch_dyn_val() 3029 printf(" %s\n", dt_type(re->ehdr.e_machine, dyn->d_un.d_val)); in dump_dyn_val() 3060 elftc_reloc_type_str(re->ehdr.e_machine, \ in dump_rel() [all …]
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | 141 machine = le16toh(hdr.e_machine); in elf_ident() 144 machine = be16toh(hdr.e_machine); in elf_ident() 496 ehdr->e_machine = binhdr.e_machine; in elf_puthdr()
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_elf_access.c | 97 else if (e->eo_ehdr.e_machine == EM_MIPS) in _dwarf_elf_get_length_size()
|
/freebsd/lib/libkldelf/ |
H A D | elf.c | 59 hdr->e_machine == (*erd)->machine) in elf_find_reloc() 147 efile->ef_hdr.e_machine != hdr->e_machine) in elf_compatible()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
H A D | PerfJITEventListener.cpp | 369 uint16_t e_machine; in FillMachine() member 399 hdr.ElfMach = info.e_machine; in FillMachine()
|
/freebsd/sys/sys/ |
H A D | elf32.h | 58 Elf32_Half e_machine; /* Machine architecture. */ member
|
H A D | elf64.h | 67 Elf64_Half e_machine; /* Machine architecture. */ member
|
/freebsd/lib/libkvm/ |
H A D | kvm_private.c | 134 kd->nlehdr.e_machine == machine); in _kvm_probe_elf_kernel() 187 if (ehdr.e_machine != kd->nlehdr.e_machine) { in _kvm_read_core_phdrs()
|
H A D | kvm_powerpc.c | 68 if (be16toh(eh->e_machine) != EM_PPC) in valid_elf_header()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 64 elf_half e_machine; ///< Target architecture. member
|
H A D | ObjectFileELF.cpp | 337 if (header.e_machine == llvm::ELF::EM_MIPS) in subTypeFromElfHeader() 339 else if (header.e_machine == llvm::ELF::EM_PPC64) in subTypeFromElfHeader() 341 else if (header.e_machine == llvm::ELF::EM_RISCV) in subTypeFromElfHeader() 343 else if (header.e_machine == llvm::ELF::EM_LOONGARCH) in subTypeFromElfHeader() 569 eArchTypeELF, header.e_machine, sub_type, header.e_ident[EI_OSABI]); in GetModuleSpecifications() 1399 arch_spec.SetArchitecture(eArchTypeELF, header.e_machine, sub_type, in GetSectionHeaderInfo() 2818 switch (hdr->e_machine) { in ApplyRelocations() 2874 GetModule()->ReportError("unsupported 32-bit ELF machine arch: {0}", hdr->e_machine); in ApplyRelocations() 2878 switch (hdr->e_machine) { in ApplyRelocations() 2921 GetModule()->ReportError("unsupported 64-bit ELF machine arch: {0}", hdr->e_machine); in ApplyRelocations() [all …]
|
/freebsd/contrib/elftoolchain/elfdump/ |
H A D | elfdump.c | 1293 PRT(" e_machine: %-18s", e_machines(ed->ehdr.e_machine)); in elf_print_ehdr() 1315 PRT("\te_machine: %s\n", e_machines(ed->ehdr.e_machine)); in elf_print_ehdr() 1414 sh_types(ed->ehdr.e_machine, s->type)); in elf_print_shdr() 1425 sh_types(ed->ehdr.e_machine, s->type)); in elf_print_shdr() 1565 st_type(ed->ehdr.e_machine, in elf_print_symtab() 1711 PRT(" %-23s ", elftc_reloc_type_str(ed->ehdr.e_machine, in elf_print_rel_entry() 1997 PRT("%-18s ", elftc_reloc_type_str(ed->ehdr.e_machine, in elf_print_got_section() 2452 else if (ed->ehdr.e_machine == EM_ALPHA && in elf_print_hash()
|
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 146 dst->e_machine = src->e_machine; in ehdr_to_gelf()
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 113 if (ehdr->e_machine == ELF_TARG_MACH && in __elf_is_okay__()
|