[PATCH -fixes] riscv: Fix relocatable kernels with early alternatives using -fno-pie
Palmer Dabbelt
palmer at rivosinc.com
Wed May 31 08:03:31 PDT 2023
On Fri, 26 May 2023 17:46:30 +0200, Alexandre Ghiti wrote:
> Early alternatives are called with the mmu disabled, and then should not
> access any global symbols through the GOT since it requires relocations,
> relocations that we do before but *virtually*. So only use medany code
> model for this early code.
>
>
Applied, thanks!
[1/1] riscv: Fix relocatable kernels with early alternatives using -fno-pie
https://git.kernel.org/palmer/c/8dc2a7e8027f
Best regards,
--
Palmer Dabbelt <palmer at rivosinc.com>
More information about the linux-riscv
mailing list