[llvm] r223112 - Add ARM relocations to ELFYAML
Will Newton
will.newton at linaro.org
Tue Dec 2 01:49:11 PST 2014
Author: wnewton
Date: Tue Dec 2 03:49:09 2014
New Revision: 223112
URL: http://llvm.org/viewvc/llvm-project?rev=223112&view=rev
Log:
Add ARM relocations to ELFYAML
Tested with check-all with no regressions.
Modified:
llvm/trunk/lib/Object/ELFYAML.cpp
Modified: llvm/trunk/lib/Object/ELFYAML.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/ELFYAML.cpp?rev=223112&r1=223111&r2=223112&view=diff
==============================================================================
--- llvm/trunk/lib/Object/ELFYAML.cpp (original)
+++ llvm/trunk/lib/Object/ELFYAML.cpp Tue Dec 2 03:49:09 2014
@@ -435,6 +435,9 @@ void ScalarEnumerationTraits<ELFYAML::EL
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");
}
More information about the llvm-commits
mailing list