Skip to content
Commit f7bd5ebd authored by Alexei Starovoitov's avatar Alexei Starovoitov
Browse files

[bpf] add bigendian support to disassembler



. swap 4-bit register encoding, 16-bit offset and 32-bit imm to support big endian archs
. add a test

Reported-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
llvm-svn: 301653
parent ea8702d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment