Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf32Convert.c151 if (!((mEhdr->e_machine == EM_386) || (mEhdr->e_machine == EM_ARM))) { in InitializeElf32()
355 switch (mEhdr->e_machine) { in ScanSections32()
361 VerboseMsg ("%s unknown e_machine type. Assume IA-32", (UINTN)mEhdr->e_machine); in ScanSections32()
550 switch (mEhdr->e_machine) { in ScanSections32()
560 VerboseMsg ("%s unknown e_machine type %hu. Assume IA-32", mInImageName, mEhdr->e_machine); in ScanSections32()
766 if (mEhdr->e_machine == EM_386) { in WriteSections32()
790 } else if (mEhdr->e_machine == EM_ARM) { in WriteSections32()
898 if (mEhdr->e_machine == EM_386) { in WriteRelocations32()
917 } else if (mEhdr->e_machine == EM_ARM) { in WriteRelocations32()
993 …not support relocations for ELF with e_machine %u (processor type).", (unsigned) mEhdr->e_machine); in WriteRelocations32()
[all …]
DElf64Convert.c154 if (!((mEhdr->e_machine == EM_X86_64) || (mEhdr->e_machine == EM_AARCH64))) { in InitializeElf64()
347 switch (mEhdr->e_machine) { in ScanSections64()
354 VerboseMsg ("%s unknown e_machine type %hu. Assume X64", mInImageName, mEhdr->e_machine); in ScanSections64()
542 switch (mEhdr->e_machine) { in ScanSections64()
556 VerboseMsg ("%s unknown e_machine type. Assume X64", (UINTN)mEhdr->e_machine); in ScanSections64()
779 if (mEhdr->e_machine == EM_X86_64) { in WriteSections64()
837 } else if (mEhdr->e_machine == EM_AARCH64) { in WriteSections64()
967 if (mEhdr->e_machine == EM_X86_64) { in WriteRelocations64()
993 } else if (mEhdr->e_machine == EM_AARCH64) { in WriteRelocations64()
1037 …not support relocations for ELF with e_machine %u (processor type).", (unsigned) mEhdr->e_machine); in WriteRelocations64()
Delf32.h71 Elf32_Half e_machine; /* Machine architecture. */ member
Delf64.h79 Elf64_Half e_machine; /* Machine architecture. */ member
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
DElfLoader.c44 if (Hdr->e_machine != EM_ARM) { in IsArmElf()
67 if (Hdr->e_machine != EM_AARCH64) { in IsAarch64Elf()
Delf32.h71 Elf32_Half e_machine; /* Machine architecture. */ member
Delf64.h79 Elf64_Half e_machine; /* Machine architecture. */ member