diff options
| author | Charlie Jenkins <[email protected]> | 2025-03-31 18:45:24 +0000 |
|---|---|---|
| committer | Alexandre Ghiti <[email protected]> | 2025-04-01 07:09:21 +0000 |
| commit | 6ee928185aeb0ff085c73ae2ee163d436eba8352 (patch) | |
| tree | 5de5aad4f8df3191dbed6e0ee1b11b5fbb56d97c /drivers/net/xen-netback/interface.c | |
| parent | riscv: Make sure toolchain supports zba before using zba instructions (diff) | |
| download | kernel-6ee928185aeb0ff085c73ae2ee163d436eba8352.tar.gz kernel-6ee928185aeb0ff085c73ae2ee163d436eba8352.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]/
Tested-by: Klara Modin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Ghiti <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
