From fc3aa4b4cdb2a451a2cb526736b822613a9aa120 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Tue, 2 Dec 2014 09:49:09 +0000 Subject: [PATCH] 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 --- lib/Object/ELFYAML.cpp | 3 +++ 1 file changed, 3 insertions(+) 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"); } -- 2.34.1