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
This commit is contained in:
Will Newton 2014-12-02 09:49:09 +00:00
parent 364f2f3fcf
commit fc3aa4b4cd

View File

@ -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");
}