diff options
author | Michael Ellerman <[email protected]> | 2024-02-29 23:25:18 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-03-03 23:05:21 +1100 |
commit | 4e284e38ed586edeb8bdb2b0c544273a7f72021c (patch) | |
tree | a4302dcf494b939cf249df974a7731df8fef8982 /scripts/generate_rust_analyzer.py | |
parent | 8488cdcb00fd5f238754005a43a3a7445860d344 (diff) |
powerpc/64s: Use .machine power4 around dcbt
There are multiple decodings for the "dcbt" mnemonic, so the assembler
has to pick one.
That requires passing -many to the assembler, which is not recommended.
Without -many the clang 14 / binutils 2.38 build fails with:
arch/powerpc/kernel/exceptions-64s.S:2976: Error: junk at end of line: `0b01010'
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Fix it by adding .machine directives around the use of dcbt to specify
which encoding is desired.
Acked-by: Segher Boessenkool <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions