]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests/bpf: Enforce no-ALU32 for test_progs-no_alu32
authorAndrii Nakryiko <andriin@fb.com>
Wed, 20 Nov 2019 00:25:10 +0000 (16:25 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 20 Nov 2019 00:53:22 +0000 (16:53 -0800)
commit24f65050276a4f82d5832e974dabfb5be5c07c39
tree57f8eee96a6fa5541d11fea90a9ace782d8ae848
parenta0d7da26ce86a25e97ae191cb90574ada6daea98
selftests/bpf: Enforce no-ALU32 for test_progs-no_alu32

With the most recent Clang, alu32 is enabled by default if -mcpu=probe or
-mcpu=v3 is specified. Use a separate build rule with -mcpu=v2 to enforce no
ALU32 mode.

Suggested-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20191120002510.4130605-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile