]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: Stop considering R_RISCV_NONE as bad relocations
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Thu, 10 Jul 2025 08:34:31 +0000 (08:34 +0000)
committerPalmer Dabbelt <palmer@dabbelt.com>
Wed, 16 Jul 2025 15:13:55 +0000 (08:13 -0700)
commit82d369b48a6bd70947f9016cb358e278a737e919
tree4f06008831252059609e3963f499aebd168ab32f
parent347e9f5043c89695b01e66b3ed111755afcf1911
riscv: Stop considering R_RISCV_NONE as bad relocations

Even though those relocations should not be present in the final
vmlinux, there are a lot of them. And since those relocations are
considered "bad", they flood the compilation output which may hide some
legitimate bad relocations.

Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Tested-by: Ron Economos <re@w6rz.net>
Link: https://lore.kernel.org/r/20250710-dev-alex-riscv_none_bad_relocs_v1-v1-1-758f2fcc6e75@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
arch/riscv/tools/relocs_check.sh