diff options
| author | Michael Ellerman <[email protected]> | 2021-01-19 04:18:00 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-20 00:49:55 +0000 |
| commit | dd3a44c06f7b4f14e90065bf05d62c255b20005f (patch) | |
| tree | d49ce19b7fa0e6a4ad879b10616cea4914c69004 /scripts/clang-tools/gen_compile_commands.py | |
| parent | selftests/powerpc: Fix exit status of pkey tests (diff) | |
| download | kernel-dd3a44c06f7b4f14e90065bf05d62c255b20005f.tar.gz kernel-dd3a44c06f7b4f14e90065bf05d62c255b20005f.zip | |
selftests/powerpc: Only test lwm/stmw on big endian
Newer binutils (>= 2.36) refuse to assemble lmw/stmw when building in
little endian mode. That breaks compilation of our alignment handler
test:
/tmp/cco4l14N.s: Assembler messages:
/tmp/cco4l14N.s:1440: Error: `lmw' invalid when little-endian
/tmp/cco4l14N.s:1814: Error: `stmw' invalid when little-endian
make[2]: *** [../../lib.mk:139: /output/kselftest/powerpc/alignment/alignment_handler] Error 1
These tests do pass on little endian machines, as the kernel will
still emulate those instructions even when running little
endian (which is arguably a kernel bug).
But we don't really need to test that case, so ifdef those
instructions out to get the alignment test building again.
Reported-by: Libor Pechacek <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Tested-by: Libor Pechacek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
