asm-generic: Always define Elf_Rel and Elf_Rela
authorSamuel Holland <samuel.holland@sifive.com>
Sat, 26 Oct 2024 17:13:56 +0000 (10:13 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Mar 2025 22:56:43 +0000 (15:56 -0700)
commitd073a571e68f42414f8f06f01b59f52224538a83
treec9f91ca1afad10cb7e7bf30dfde8d25df2689887
parent51b766c79a3d741fb97419c3da1c58fce5e66f0e
asm-generic: Always define Elf_Rel and Elf_Rela

These definitions are useful for relocating the kernel image as well,
regardless of the type of relocations used for modules.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20241026171441.3047904-5-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
include/asm-generic/module.h