Home
last modified time | relevance | path

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

123

/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_ehdr.c70 d->e_machine = eh32->e_machine; in gelf_getehdr()
153 eh32->e_machine = s->e_machine; in gelf_update_ehdr()
H A Dlibelf_elfmachine.c56 return eh32 ? eh32->e_machine : EM_NONE; in _libelf_elfmachine()
59 return eh64 ? eh64->e_machine : EM_NONE; in _libelf_elfmachine()
H A Dgelf_mips64el.c37 e->e_u.e_elf.e_ehdr.e_ehdr64->e_machine == EM_MIPS && in _libelf_is_mips64el()
H A Delf_types.m4104 `e_machine, HALF',
121 `e_machine, HALF',
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF.cpp41 return File->getHeader().e_machine; in readTargetMachineArch()
47 return File->getHeader().e_machine; in readTargetMachineArch()
57 return File->getHeader().e_machine; in readTargetMachineArch()
63 return File->getHeader().e_machine; in readTargetMachineArch()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c502 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 DELFObjectFile.h575 if ((Header.e_machine == ELF::EM_ARM || Header.e_machine == ELF::EM_MIPS) && in getSymbolValueImpl()
641 return EF.getHeader().e_machine; in getEMachine()
749 if (EF.getHeader().e_machine == ELF::EM_AARCH64) { in getSymbolFlags()
758 } else if (EF.getHeader().e_machine == ELF::EM_ARM) { in getSymbolFlags()
771 } else if (EF.getHeader().e_machine == ELF::EM_CSKY) { in getSymbolFlags()
780 } else if (EF.getHeader().e_machine == ELF::EM_RISCV) { in getSymbolFlags()
1079 return getELFRelocationTypeName(EF.getHeader().e_machine, Type); in getRelocationTypeName()
1212 switch (EF.getHeader().e_machine) { in getFileFormatName()
1252 switch (EF.getHeader().e_machine) { in getFileFormatName()
1288 switch (EF.getHeader().e_machine) { in getArch()
H A DELF.h145 return (object::getELFSectionTypeName(Obj.getHeader().e_machine, in describe()
290 return getHeader().e_machine == ELF::EM_MIPS && in isMipsELF64()
629 return getELFRelocationTypeName(getHeader().e_machine, Type); in getRelocationTypeName()
665 return getELFRelativeRelocationType(getHeader().e_machine); in getRelativeRelocationType()
1176 getHeader().e_machine, Section.sh_type))) in getStringTable()
1219 object::getELFSectionTypeName(getHeader().e_machine, SymTable.sh_type) + in getSHNDXTable()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3493 if (Header.e_machine == EM_MIPS) { in getOtherFlagsFromSymbol()
3607 switch (e.e_machine) { in printFileHeaders()
3643 if (e.e_machine == EM_MIPS) in printFileHeaders()
3647 else if (e.e_machine == EM_RISCV) in printFileHeaders()
3649 else if (e.e_machine == EM_AVR) in printFileHeaders()
3656 else if (e.e_machine == EM_XTENSA) in printFileHeaders()
3659 else if (e.e_machine == EM_CUDA) in printFileHeaders()
6892 switch (E.e_machine) { in printFileHeaders()
6928 if (E.e_machine == EM_MIPS) in printFileHeaders()
6956 else if (E.e_machine == EM_AVR) in printFileHeaders()
[all …]
/freebsd/contrib/file/src/
H A Dreadelf.h95 Elf32_Half e_machine; member
112 Elf64_Half e_machine; member
H A Delfclass.h71 fsize, elf_getu16(swap, elfhdr.e_machine),
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_access.c97 else if (e->eo_ehdr.e_machine == EM_MIPS) in _dwarf_elf_get_length_size()
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c2364 switch (re->ehdr.e_machine) { in dump_eflags()
2828 switch (re->ehdr.e_machine) { in dump_arch_dyn_val()
3091 if (re->ehdr.e_machine == EM_MIPS) { in dump_rel()
3104 if (re->ehdr.e_machine == EM_MIPS) { in dump_rel()
3176 if (re->ehdr.e_machine == EM_MIPS) { in dump_rela()
3190 if (re->ehdr.e_machine == EM_MIPS) { in dump_rela()
3638 re->ehdr.e_machine) { in dump_gnu_property_type_0()
3646 re->ehdr.e_machine); in dump_gnu_property_type_0()
4569 if (re->ehdr.e_machine == EM_ARM && in dump_attributes()
4576 else if (re->ehdr.e_machine == EM_PPC) in dump_attributes()
[all …]
/freebsd/usr.bin/gcore/
H A Delfcore.c140 machine = le16toh(hdr.e_machine); in elf_ident()
143 machine = be16toh(hdr.e_machine); in elf_ident()
494 ehdr->e_machine = binhdr.e_machine; in elf_puthdr()
/freebsd/usr.sbin/kldxref/
H A Delf.c59 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 DPerfJITEventListener.cpp369 uint16_t e_machine; in FillMachine() member
399 hdr.ElfMach = info.e_machine; in FillMachine()
/freebsd/sys/sys/
H A Delf32.h58 Elf32_Half e_machine; /* Machine architecture. */ member
H A Delf64.h67 Elf64_Half e_machine; /* Machine architecture. */ member
/freebsd/lib/libkvm/
H A Dkvm_private.c134 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 Dkvm_powerpc.c68 if (be16toh(eh->e_machine) != EM_PPC) in valid_elf_header()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderPerf.cpp255 uint16_t e_machine; in FillMachine() member
281 Hdr.ElfMach = Info.e_machine; in FillMachine()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h64 elf_half e_machine; ///< Target architecture. member
/freebsd/contrib/elftoolchain/elfdump/
H A Delfdump.c1293 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 Dctf_lib.c146 dst->e_machine = src->e_machine; in ehdr_to_gelf()
/freebsd/lib/libc/gen/
H A Dnlist.c113 if (ehdr->e_machine == ELF_TARG_MACH && in __elf_is_okay__()

123