commit | c01803866ece374b8375e7d7c862b84595dc4fcd | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <alexei.starovoitov@gmail.com> | Fri Apr 28 16:51:01 2017 +0000 |
committer | Alexei Starovoitov <alexei.starovoitov@gmail.com> | Fri Apr 28 16:51:01 2017 +0000 |
tree | ce164c8a3832c8d5557c80747dd9e2e6e49bafd7 | |
parent | 0bda850299cfefcb76f78d4056a5e49fd721a5f1 [diff] |
[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: David S. Miller <davem@davemloft.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301653 91177308-0d34-0410-b5e6-96231b3b80d8