[ELF] elfiamcu triple should imply e_machine == EM_IAMCU

Differential Revision: http://reviews.llvm.org/D14109

llvm-svn: 252043
This commit is contained in:
Michael Kuperstein
2015-11-04 11:21:50 +00:00
parent b34de72269
commit a3b79dd783
7 changed files with 32 additions and 5 deletions

View File

@@ -477,6 +477,7 @@ static std::error_code getRelocationValueString(const ELFObjectFile<ELFT> *Obj,
break;
}
case ELF::EM_386:
case ELF::EM_IAMCU:
case ELF::EM_ARM:
case ELF::EM_HEXAGON:
case ELF::EM_MIPS: