BPF: Use official ELF e_machine value

The same value for EM_BPF is being propagated to glibc,
elfutils, and binutils.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
llvm-svn: 275633
This commit is contained in:
Alexei Starovoitov
2016-07-15 22:27:55 +00:00
parent 70a65c28a7
commit cfb51f54ba
8 changed files with 33 additions and 1 deletions

View File

@@ -589,6 +589,7 @@ static std::error_code getRelocationValueString(const ELFObjectFile<ELFT> *Obj,
case ELF::EM_ARM:
case ELF::EM_HEXAGON:
case ELF::EM_MIPS:
case ELF::EM_BPF:
res = Target;
break;
case ELF::EM_WEBASSEMBLY: