diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-11-04 11:21:50 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-11-04 11:21:50 +0000 |
commit | a3b79dd783cf92779d7816b2c1113362d21a64e2 (patch) | |
tree | b3f15899143d72ab070975f4c18abee08da01803 /llvm/lib/Object/ELF.cpp | |
parent | b34de72269ee8bd92917465328c17aa7ece9f581 (diff) | |
download | bcm5719-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.cpp | 1 |
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: |