]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: module: Allocate PLT entries for R_RISCV_PLT32
authorSamuel Holland <samuel.holland@sifive.com>
Wed, 9 Apr 2025 17:14:50 +0000 (10:14 -0700)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Mon, 14 Apr 2025 13:07:07 +0000 (13:07 +0000)
commit1ee1313f4722e6d67c6e9447ee81d24d6e3ff4ad
tree1afae0537488296135863e097f144dbf475a9510
parent0b4cce68efb93e31a8e51795d696df6e379cb41c
riscv: module: Allocate PLT entries for R_RISCV_PLT32

apply_r_riscv_plt32_rela() may need to emit a PLT entry for the
referenced symbol, so there must be space allocated in the PLT.

Fixes: 8fd6c5142395 ("riscv: Add remaining module relocations")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20250409171526.862481-2-samuel.holland@sifive.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/module-sections.c