From: Will Newton Date: Tue, 2 Dec 2014 09:49:09 +0000 (+0000) Subject: Add ARM relocations to ELFYAML X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fc3aa4b4cdb2a451a2cb526736b822613a9aa120;p=oota-llvm.git Add ARM relocations to ELFYAML Tested with check-all with no regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223112 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Object/ELFYAML.cpp b/lib/Object/ELFYAML.cpp index 06ac6a5bf50..7e35fb5dc61 100644 --- a/lib/Object/ELFYAML.cpp +++ b/lib/Object/ELFYAML.cpp @@ -435,6 +435,9 @@ void ScalarEnumerationTraits::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"); }