summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-12-02 09:49:09 +0000
committerWill Newton <will.newton@linaro.org>2014-12-02 09:49:09 +0000
commit9efe625962156bf389aa18c447e38b5b0efcafb9 (patch)
tree4447a8d9b87be16567035ba813e21d1fbe273651 /llvm/lib/Object
parent8c6e9ef676c92e554c47ddbf7db09bcf9af81692 (diff)
downloadbcm5719-llvm-9efe625962156bf389aa18c447e38b5b0efcafb9.tar.gz
bcm5719-llvm-9efe625962156bf389aa18c447e38b5b0efcafb9.zip
Add ARM relocations to ELFYAML
Tested with check-all with no regressions. llvm-svn: 223112
Diffstat (limited to 'llvm/lib/Object')
-rw-r--r--llvm/lib/Object/ELFYAML.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Object/ELFYAML.cpp b/llvm/lib/Object/ELFYAML.cpp
index 06ac6a5bf50..7e35fb5dc61 100644
--- a/llvm/lib/Object/ELFYAML.cpp
+++ b/llvm/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");
}
OpenPOWER on IntegriCloud