Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit fc3aa4b

Browse files
author
Will Newton
committed
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
1 parent 364f2f3 commit fc3aa4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Object/ELFYAML.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,9 @@ void ScalarEnumerationTraits<ELFYAML::ELF_REL>::enumeration(
435435
case ELF::EM_AARCH64:
436436
#include "llvm/Support/ELFRelocs/AArch64.def"
437437
break;
438+
case ELF::EM_ARM:
439+
#include "llvm/Support/ELFRelocs/ARM.def"
440+
break;
438441
default:
439442
llvm_unreachable("Unsupported architecture");
440443
}

0 commit comments

Comments
 (0)