projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364f2f3
)
Add ARM relocations to ELFYAML
author
Will Newton
<will.newton@linaro.org>
Tue, 2 Dec 2014 09:49:09 +0000
(09:49 +0000)
committer
Will Newton
<will.newton@linaro.org>
Tue, 2 Dec 2014 09:49:09 +0000
(09:49 +0000)
Tested with check-all with no regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223112
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Object/ELFYAML.cpp
patch
|
blob
|
history
diff --git
a/lib/Object/ELFYAML.cpp
b/lib/Object/ELFYAML.cpp
index 06ac6a5bf50613a49f23a0920f69e1a258bdfdb1..7e35fb5dc6156d4713c7c102792896b816f8540f 100644
(file)
--- a/
lib/Object/ELFYAML.cpp
+++ b/
lib/Object/ELFYAML.cpp
@@
-435,6
+435,9
@@
void ScalarEnumerationTraits<ELFYAML::ELF_REL>::enumeration(
case ELF::EM_AARCH64:
#include "llvm/Support/ELFRelocs/AArch64.def"
break;
+ case ELF::EM_ARM:
+#include "llvm/Support/ELFRelocs/ARM.def"
+ break;
default:
llvm_unreachable("Unsupported architecture");
}