diff options
author | 2023-02-01 10:29:45 +0100 | |
---|---|---|
committer | 2023-02-01 20:51:57 -0800 | |
commit | 2f394c0e7d1129a35156e492bc8f445fb20f43ac (patch) | |
tree | bed4be3f0ba40fa01c47a962226d8ef7f0cf5510 /scripts/generate_rust_analyzer.py | |
parent | riscv: kprobe: Fixup kernel panic when probing an illegal position (diff) | |
download | wireguard-linux-2f394c0e7d1129a35156e492bc8f445fb20f43ac.tar.xz wireguard-linux-2f394c0e7d1129a35156e492bc8f445fb20f43ac.zip |
riscv: disable generation of unwind tables
GCC 13 will enable -fasynchronous-unwind-tables by default on riscv. In
the kernel, we don't have any use for unwind tables yet, so disable them.
More importantly, the .eh_frame section brings relocations
(R_RISC_32_PCREL, R_RISCV_SET{6,8,16}, R_RISCV_SUB{6,8,16}) into modules
that we are not prepared to handle.
Signed-off-by: Andreas Schwab <schwab@suse.de>
Link: https://lore.kernel.org/r/mvmzg9xybqu.fsf@suse.de
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions