selftests/bpf: Fix test_core_reloc_mods on big-endian machines
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 26 Oct 2021 01:08:31 +0000 (03:08 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 26 Oct 2021 03:39:42 +0000 (20:39 -0700)
commit2e2c6d3fb38344df92b63162a28ec09491cc0700
tree864c7b595a67b3566709ed1c48922d21abeb3fbb
parent3e7ed9cebb551ce9bfbf2985da9cdadd8186e1eb
selftests/bpf: Fix test_core_reloc_mods on big-endian machines

This is the same as commit d164dd9a5c08 ("selftests/bpf: Fix
test_core_autosize on big-endian machines"), but for
test_core_reloc_mods.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211026010831.748682-7-iii@linux.ibm.com
tools/testing/selftests/bpf/progs/test_core_reloc_mods.c