diff --git a/elf/elffile.cpp b/elf/elffile.cpp --- a/elf/elffile.cpp +++ b/elf/elffile.cpp @@ -381,18 +381,26 @@ QString elfresolveMachine(Elf64_Half e_m case EM_XTENSA: machineName = " Tensilica Xtensa Architecture "; break; +#ifdef EM_AARCH64 case EM_AARCH64: machineName = " ARM AARCH64 "; break; +#endif +#ifdef EM_TILEPRO case EM_TILEPRO: machineName = " Tilera TILEPro "; break; +#endif +#ifdef EM_MICROBLAZE case EM_MICROBLAZE: machineName = " Xilinx MicroBlaze "; break; +#endif +#ifdef EM_TILEGX case EM_TILEGX: machineName = " Tilera TILE-Gx "; break; +#endif case EM_NUM: machineName = ""; break;