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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user