summaryrefslogtreecommitdiff
path: root/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
commit2c9435ef89715e37972853f18f00ab93d143097b (patch)
treec2fcc65b2afd61aeff77e2004e103b71638d3505 /lib/Object/ELF.cpp
parentc628c1e0b40b7eca79a4f2d3a9d4befbc171eeb8 (diff)
[ELF] elfiamcu triple should imply e_machine == EM_IAMCU
Differential Revision: http://reviews.llvm.org/D14109 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/ELF.cpp')
-rw-r--r--lib/Object/ELF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Object/ELF.cpp b/lib/Object/ELF.cpp
index 398e9e41299..62c27cc427a 100644
--- a/lib/Object/ELF.cpp
+++ b/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: