diff options
| author | Charlie Jenkins <[email protected]> | 2025-03-31 18:45:24 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-03-31 18:53:02 +0000 |
| commit | 95c18b7ccdd1b2e6704651b66565339ada318ba2 (patch) | |
| tree | feb04cff2e1e768cc639d428bca0b8c3b0c10e0e /rust/helpers/build_bug.c | |
| parent | Merge patch series "riscv: Relocatable NOMMU kernels" (diff) | |
| download | kernel-95c18b7ccdd1b2e6704651b66565339ada318ba2.tar.gz kernel-95c18b7ccdd1b2e6704651b66565339ada318ba2.zip | |
riscv: Add norvc after .option arch in runtime const
.option arch clobbers .option norvc. Prevent gas from emitting
compressed instructions in the runtime const alternative blocks by
setting .option norvc after .option arch. This issue starts appearing on
gcc 15, which adds zca to the march.
Reported by: Klara Modin <[email protected]>
Signed-off-by: Charlie Jenkins <[email protected]>
Fixes: a44fb5722199 ("riscv: Add runtime constant support")
Closes: https://lore.kernel.org/all/[email protected]/
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
