aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2023-04-28 14:09:32 +0200
committerPalmer Dabbelt <[email protected]>2023-05-01 17:00:32 -0700
commit4db9e253e7016e6588620ad02d4ed326107506db (patch)
tree395ab81f5861d60e07dc1845f9a8439d75db9083 /lib/mpi/mpi-mod.c
parent41ebfc91f785c202e8e8f9bd2f67154efad6287e (diff)
riscv: Move .rela.dyn to the init sections
The recent introduction of relocatable kernels prepared the move of .rela.dyn to the init section, but actually forgot to do so, so do it here. Before this patch: "Freeing unused kernel image (initmem) memory: 2592K" After this patch: "Freeing unused kernel image (initmem) memory: 6288K" The difference corresponds to the size of the .rela.dyn section: "[42] .rela.dyn RELA ffffffff8197e798 0127f798 000000000039c660 0000000000000018 A 47 0 8" Fixes: 559d1e45a16d ("riscv: Use --emit-relocs in order to move .rela.dyn in init") Signed-off-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions