| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | elfcore.h | 140 if (ebd->elf_machine_code != i_ehdrp->e_machine in elf_core_file_p() 142 || i_ehdrp->e_machine != ebd->elf_machine_alt1) in elf_core_file_p() 144 || i_ehdrp->e_machine != ebd->elf_machine_alt2)) in elf_core_file_p() 161 if (back->elf_machine_code == i_ehdrp->e_machine in elf_core_file_p() 163 && i_ehdrp->e_machine == back->elf_machine_alt1) in elf_core_file_p() 165 && i_ehdrp->e_machine == back->elf_machine_alt2)) in elf_core_file_p()
|
| H A D | elf32-sparc.c | 129 elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS; in elf32_sparc_final_write_processing() 134 elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS; in elf32_sparc_final_write_processing() 139 elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS; in elf32_sparc_final_write_processing()
|
| H A D | elfcode.h | 236 dst->e_machine = H_GET_16 (abfd, src->e_machine); in elf_swap_ehdr_in() 266 H_PUT_16 (abfd, src->e_machine, dst->e_machine); in elf_swap_ehdr_out() 588 if (ebd->elf_machine_code != i_ehdrp->e_machine in elf_object_p() 590 || i_ehdrp->e_machine != ebd->elf_machine_alt1) in elf_object_p() 592 || i_ehdrp->e_machine != ebd->elf_machine_alt2)) in elf_object_p() 606 if (back->elf_machine_code == i_ehdrp->e_machine in elf_object_p() 608 && back->elf_machine_alt1 == i_ehdrp->e_machine) in elf_object_p() 610 && back->elf_machine_alt2 == i_ehdrp->e_machine)) in elf_object_p() 660 && (back->elf_machine_code == i_ehdrp->e_machine in elf_object_p() 662 && back->elf_machine_alt1 == i_ehdrp->e_machine) in elf_object_p() [all …]
|
| H A D | elf64-gen.c | 69 abfd, ehdrp->e_machine); in check_for_relocs()
|
| H A D | elf32-gen.c | 69 abfd, ehdrp->e_machine); in check_for_relocs()
|
| H A D | elf32-arc.c | 187 if (elf_elfheader(abfd)->e_machine == EM_ARC) in arc_elf_object_p()
|
| /freebsd-12.1/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 | 38 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-12.1/contrib/binutils/include/elf/ |
| H A D | external.h | 43 unsigned char e_machine[2]; /* Specifies required architecture */ member 60 unsigned char e_machine[2]; /* Specifies required architecture */ member
|
| H A D | internal.h | 52 unsigned short e_machine; /* Specifies required architecture */ member
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | readelf.c | 594 switch (e_machine) in guess_is_rela() 1593 switch (elf_header.e_machine) in get_dynamic_type() 1633 switch (elf_header.e_machine) in get_dynamic_type() 1685 switch (e_machine) in get_machine_name() 1989 switch (e_machine) in get_machine_flags() 2473 switch (elf_header.e_machine) in get_segment_type() 2502 switch (elf_header.e_machine) in get_segment_type() 2681 switch (elf_header.e_machine) in get_section_type_name() 4060 switch (elf_header.e_machine) in process_section_headers() 9500 elf_header.e_machine = BYTE_GET (ehdr32.e_machine); in get_file_header() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_link.c | 535 elf_file.ehdr.e_machine = EM_ARM; in dump_elf32() 537 elf_file.ehdr.e_machine = EM_MIPS; in dump_elf32() 539 elf_file.ehdr.e_machine = EM_PPC; in dump_elf32() 541 elf_file.ehdr.e_machine = EM_SPARC; in dump_elf32() 543 elf_file.ehdr.e_machine = EM_386; in dump_elf32() 681 elf_file.ehdr.e_machine = EM_ARM; in dump_elf64() 683 elf_file.ehdr.e_machine = EM_MIPS; in dump_elf64() 685 elf_file.ehdr.e_machine = EM_PPC64; in dump_elf64() 687 elf_file.ehdr.e_machine = EM_SPARCV9; in dump_elf64() 689 elf_file.ehdr.e_machine = EM_AMD64; in dump_elf64() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 471 if ((Header->e_machine == ELF::EM_ARM || Header->e_machine == ELF::EM_MIPS) && in getSymbolValueImpl() 518 return EF.getHeader()->e_machine; in getEMachine() 593 if (EF.getHeader()->e_machine == ELF::EM_ARM) { in getSymbolFlags() 872 return getELFRelocationTypeName(EF.getHeader()->e_machine, Type); in getRelocationTypeName() 1024 switch (EF.getHeader()->e_machine) { in getFileFormatName() 1056 switch (EF.getHeader()->e_machine) { in getFileFormatName() 1088 switch (EF.getHeader()->e_machine) { in getArch()
|
| /freebsd-12.1/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-12.1/contrib/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 361 uint16_t e_machine; in FillMachine() member 391 hdr.ElfMach = info.e_machine; in FillMachine()
|
| /freebsd-12.1/contrib/elftoolchain/readelf/ |
| H A D | readelf.c | 2305 switch (re->ehdr.e_machine) { in dump_eflags() 2757 switch (re->ehdr.e_machine) { in dump_arch_dyn_val() 3016 if (re->ehdr.e_machine == EM_MIPS) { in dump_rel() 3029 if (re->ehdr.e_machine == EM_MIPS) { in dump_rel() 3101 if (re->ehdr.e_machine == EM_MIPS) { in dump_rela() 3115 if (re->ehdr.e_machine == EM_MIPS) { in dump_rela() 3204 printf(" %-7s", st_type(re->ehdr.e_machine, in dump_symtab() 3509 else if (re->ehdr.e_machine == EM_ALPHA && in dump_hash() 4312 if (re->ehdr.e_machine == EM_ARM && in dump_attributes() 4319 else if (re->ehdr.e_machine == EM_PPC) in dump_attributes() [all …]
|
| /freebsd-12.1/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-12.1/usr.bin/gcore/ |
| H A D | elfcore.c | 158 machine = le16toh(hdr.e_machine); in elf_ident() 161 machine = be16toh(hdr.e_machine); in elf_ident() 469 ehdr->e_machine = binhdr.e_machine; in elf_puthdr()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 2008 if (Obj->getHeader()->e_machine != EM_ARM) { in printAttributes() 2294 if (Obj->getHeader()->e_machine != EM_MIPS) in printMipsPLTGOT() 2569 if (e->e_machine == EM_MIPS) in printFileHeaders() 2574 else if (e->e_machine == EM_RISCV) in printFileHeaders() 3099 if (Obj->getHeader()->e_machine == ELF::EM_AMDGPU && in printSymbol() 4104 switch (e->e_machine) { in printFileHeaders() 4127 if (e->e_machine == EM_MIPS) in printFileHeaders() 4131 else if (e->e_machine == EM_AMDGPU) in printFileHeaders() 4134 else if (e->e_machine == EM_RISCV) in printFileHeaders() 4297 switch (Obj->getHeader()->e_machine) { in printSectionHeaders() [all …]
|
| /freebsd-12.1/lib/libkvm/ |
| H A D | kvm_private.c | 135 kd->nlehdr.e_machine == machine); in _kvm_probe_elf_kernel() 188 if (ehdr.e_machine != kd->nlehdr.e_machine) { in _kvm_read_core_phdrs()
|
| /freebsd-12.1/sys/sys/ |
| H A D | elf32.h | 60 Elf32_Half e_machine; /* Machine architecture. */ member
|
| /freebsd-12.1/usr.bin/elf2aout/ |
| H A D | elf2aout.c | 121 machine = xe16toh(e->e_machine); in main()
|