diff options
| author | Alexandre Ghiti <[email protected]> | 2025-04-08 07:28:51 +0000 |
|---|---|---|
| committer | Alexandre Ghiti <[email protected]> | 2025-05-08 12:01:01 +0000 |
| commit | e9d86b8e17e725ee6088970981ab99f29abd1997 (patch) | |
| tree | 910134212fb3a18e8f3635dc8cf34caa4e170ebb /drivers/mmc/core/queue.c | |
| parent | riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL (diff) | |
| download | kernel-e9d86b8e17e725ee6088970981ab99f29abd1997.tar.gz kernel-e9d86b8e17e725ee6088970981ab99f29abd1997.zip | |
scripts: Do not strip .rela.dyn section
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.
Fixes: 559d1e45a16d ("riscv: Use --emit-relocs in order to move .rela.dyn in init")
Tested-by: Björn Töpel <[email protected]>
Reviewed-by: Björn Töpel <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Ghiti <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions
