diff options
| author | Samuel Holland <[email protected]> | 2024-10-26 17:13:57 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-03-26 22:56:45 +0000 |
| commit | ea2bde36a46d5724c1b44d80cc9fafbd73c2ecf9 (patch) | |
| tree | 9c181df489c20b76c583d8b4ce6ef08b589867e8 /rust/helpers/build_bug.c | |
| parent | asm-generic: Always define Elf_Rel and Elf_Rela (diff) | |
| download | kernel-ea2bde36a46d5724c1b44d80cc9fafbd73c2ecf9.tar.gz kernel-ea2bde36a46d5724c1b44d80cc9fafbd73c2ecf9.zip | |
riscv: Support CONFIG_RELOCATABLE on riscv32
When adjusted to use the correctly-sized ELF types, relocate_kernel()
works on riscv32 as well. The caveat about crossing an intermediate page
table boundary does not apply to riscv32, since for Sv32 the early
kernel mapping uses only PGD entries. Since KASLR is not yet supported
on riscv32, this option is mostly useful for NOMMU.
Signed-off-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
