| /toolchain/binutils/binutils-2.27/bfd/ |
| elfcore.h | 136 /* Check that the ELF e_machine field matches what this particular 139 if (ebd->elf_machine_code != i_ehdrp->e_machine 141 || i_ehdrp->e_machine != ebd->elf_machine_alt1) 143 || i_ehdrp->e_machine != ebd->elf_machine_alt2)) 162 if (back->elf_machine_code == i_ehdrp->e_machine 164 && i_ehdrp->e_machine == back->elf_machine_alt1) 166 && i_ehdrp->e_machine == back->elf_machine_alt2))
|
| elf32-sparc.c | 116 We need to set the e_machine field appropriately. */ 129 elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS; 134 elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS; 144 elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS;
|
| elf32-gen.c | 69 abfd, ehdrp->e_machine);
|
| elf64-gen.c | 69 abfd, ehdrp->e_machine);
|
| /external/elfutils/tests/ |
| update1.c | 74 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, 112 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
|
| saridx.c | 216 (ehdr.e_machine >= (sizeof (machines) 218 || machines[ehdr.e_machine] == NULL) 220 : machines[ehdr.e_machine]);
|
| update2.c | 75 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, 135 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
|
| update3.c | 84 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, 190 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
|
| /device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
| Elf32Convert.c | 151 if (!((mEhdr->e_machine == EM_386) || (mEhdr->e_machine == EM_ARM))) {
152 Error (NULL, 0, 3000, "Unsupported", "ELF e_machine not EM_386 or EM_ARM");
355 switch (mEhdr->e_machine) {
361 VerboseMsg ("%s unknown e_machine type. Assume IA-32", (UINTN)mEhdr->e_machine);
550 switch (mEhdr->e_machine) {
560 VerboseMsg ("%s unknown e_machine type %hu. Assume IA-32", mInImageName, mEhdr->e_machine);
766 if (mEhdr->e_machine == EM_386) { [all...] |
| Elf64Convert.c | 154 if (!((mEhdr->e_machine == EM_X86_64) || (mEhdr->e_machine == EM_AARCH64))) {
155 Error (NULL, 0, 3000, "Unsupported", "ELF e_machine not EM_X86_64 or EM_AARCH64");
347 switch (mEhdr->e_machine) {
354 VerboseMsg ("%s unknown e_machine type %hu. Assume X64", mInImageName, mEhdr->e_machine);
542 switch (mEhdr->e_machine) {
556 VerboseMsg ("%s unknown e_machine type. Assume X64", (UINTN)mEhdr->e_machine);
779 if (mEhdr->e_machine == EM_X86_64) { [all...] |
| /external/syslinux/gpxe/src/include/ |
| coff.h | 15 /* Values for e_machine (architecute). */
|
| elf.h | 15 /* Values for e_machine (architecute). */ 174 Elf32_Half e_machine; /* Machine architecture. */ member in struct:__anon38204 191 Elf64_Half e_machine; /* Machine architecture. */ member in struct:__anon38205
|
| /toolchain/binutils/binutils-2.27/binutils/ |
| elfedit.c | 115 /* Return if e_machine is the same as output_elf_machine. */ 116 if (output_elf_machine == elf_header.e_machine) 120 machine = elf_header.e_machine; 144 /* Skip if e_machine doesn't match. */ 148 (_("%s: Unmatched e_machine: %d is not %d\n"), 175 /* Update e_machine, e_type and EI_OSABI. */ 184 BYTE_PUT (ehdr32.e_machine, output_elf_machine); 193 BYTE_PUT (ehdr64.e_machine, output_elf_machine); 246 elf_header.e_machine = BYTE_GET (ehdr32.e_machine); [all...] |
| /external/elfutils/libelf/ |
| gelf_getehdr.c | 75 COPY (e_machine);
|
| gelf_update_ehdr.c | 82 COPY (e_machine);
|
| elf-knowledge.h | 100 ((Ehdr)->e_machine == EM_ALPHA \ 101 || ((Ehdr)->e_machine == EM_S390 \
|
| /prebuilts/go/darwin-x86/src/runtime/ |
| vdso_linux_386.go | 31 e_machine uint16 /* Architecture */
|
| vdso_linux_amd64.go | 31 e_machine uint16 /* Architecture */
|
| /prebuilts/go/linux-x86/src/runtime/ |
| vdso_linux_386.go | 31 e_machine uint16 /* Architecture */
|
| vdso_linux_amd64.go | 31 e_machine uint16 /* Architecture */
|
| /art/runtime/arch/ |
| instruction_set.cc | 86 InstructionSet GetInstructionSetFromELF(uint16_t e_machine, uint32_t e_flags) { 87 switch (e_machine) {
|
| /art/runtime/ |
| elf_utils.h | 78 static inline bool IsDynamicSectionPointer(Elf32_Word d_tag, Elf32_Word e_machine) { 130 if (e_machine == EM_MIPS) {
|
| /external/swiftshader/third_party/subzero/src/ |
| IceTypes.def | 27 /* enum value, printable string, is_elf64, e_machine, e_flags */ \ 33 //#define X(tag, str, is_elf64, e_machine, e_flags)
|
| /external/elfutils/libebl/ |
| eblopenbackend.c | 277 /* XXX Currently all we do is to look at 'e_machine' value in the 295 assert (offsetof (Elf32_Ehdr, e_machine) 296 == offsetof (Elf64_Ehdr, e_machine)); 297 assert (sizeof (((Elf32_Ehdr *) 0)->e_machine) 298 == sizeof (((Elf64_Ehdr *) 0)->e_machine)); 311 result->machine = elf->state.elf32.ehdr->e_machine; 411 return openbackend (elf, NULL, ehdr->e_machine);
|
| /system/update_engine/common/ |
| utils.cc | 772 // 0x12: e_machine, 2 byte endianness based on ei_data. The position (0x12) 774 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) 776 uint16_t e_machine; 779 e_machine = le16toh(hdr->e_machine); 781 e_machine = be16toh(hdr->e_machine); 783 switch (e_machine) { [all...] |