[PATCH v3] scripts: Do not strip .rela.dyn section
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Thu May 8 09:52:09 PDT 2025
Hello:
This patch was applied to riscv/linux.git (fixes)
by Alexandre Ghiti <alexghiti at rivosinc.com>:
On Tue, 8 Apr 2025 09:28:51 +0200 you wrote:
> The .rela.dyn section contains runtime relocations and is only emitted
> for a relocatable kernel.
>
> riscv uses this section to relocate the kernel at runtime but that section
> is stripped from vmlinux. That prevents kexec to successfully load vmlinux
> since it does not contain the relocations info needed.
>
> [...]
Here is the summary with links:
- [v3] scripts: Do not strip .rela.dyn section
https://git.kernel.org/riscv/c/e9d86b8e17e7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list