summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-11-04 11:21:50 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-11-04 11:21:50 +0000
commita3b79dd783cf92779d7816b2c1113362d21a64e2 (patch)
treeb3f15899143d72ab070975f4c18abee08da01803 /llvm/lib/Object/ELF.cpp
parentb34de72269ee8bd92917465328c17aa7ece9f581 (diff)
downloadbcm5719-llvm-a3b79dd783cf92779d7816b2c1113362d21a64e2.tar.gz
bcm5719-llvm-a3b79dd783cf92779d7816b2c1113362d21a64e2.zip
[ELF] elfiamcu triple should imply e_machine == EM_IAMCU
Differential Revision: http://reviews.llvm.org/D14109 llvm-svn: 252043
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
-rw-r--r--llvm/lib/Object/ELF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Object/ELF.cpp b/llvm/lib/Object/ELF.cpp
index 398e9e41299..62c27cc427a 100644
--- a/llvm/lib/Object/ELF.cpp
+++ b/llvm/lib/Object/ELF.cpp
@@ -26,6 +26,7 @@ StringRef getELFRelocationTypeName(uint32_t Machine, uint32_t Type) {
}
break;
case ELF::EM_386:
+ case ELF::EM_IAMCU:
switch (Type) {
#include "llvm/Support/ELFRelocs/i386.def"
default:
OpenPOWER on IntegriCloud