diff options
author | Andreas Schwab <schwab@suse.de> | 2023-02-01 10:29:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-22 12:47:15 +0100 |
commit | b5852211a856fd4d9c5f5e59a017fb378c2476d4 (patch) | |
tree | ecc3d0a6f71fc6e910dfebfa9e78d06c588fddd2 /include/linux | |
parent | b8faf397cc5a57b05c999d98e85fc5c4eab415b6 (diff) | |
download | linux-stable-b5852211a856fd4d9c5f5e59a017fb378c2476d4.tar.gz linux-stable-b5852211a856fd4d9c5f5e59a017fb378c2476d4.tar.bz2 linux-stable-b5852211a856fd4d9c5f5e59a017fb378c2476d4.zip |
riscv: disable generation of unwind tables
commit 2f394c0e7d1129a35156e492bc8f445fb20f43ac upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions