projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ELF] elfiamcu triple should imply e_machine == EM_IAMCU
[oota-llvm.git]
/
lib
/
Object
/
ELF.cpp
diff --git
a/lib/Object/ELF.cpp
b/lib/Object/ELF.cpp
index 398e9e412994046039b6a02e8d915eec1eb61d01..62c27cc427a6ab5a16e043b590a591577c11f887 100644
(file)
--- 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: