]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: Add remaining module relocations
authorCharlie Jenkins <charlie@rivosinc.com>
Wed, 1 Nov 2023 18:33:00 +0000 (11:33 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 7 Nov 2023 22:59:31 +0000 (14:59 -0800)
commit8fd6c5142395a106b63c8668e9f4a7106b6a0772
tree541354d24dad56ba6b82968248ea084c3f1c5530
parent8cbe0accc4a6ba7ed34812a1c7e1ba67e7f7b2a4
riscv: Add remaining module relocations

Add all final module relocations and add error logs explaining the ones
that are not supported. Implement overflow checks for
ADD/SUB/SET/ULEB128 relocations.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20231101-module_relocations-v9-2-8dfa3483c400@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/uapi/asm/elf.h
arch/riscv/kernel/module.c