RISC-V: Move dynamic relocation section under __init
authorAtish Patra <atish.patra@wdc.com>
Thu, 5 Nov 2020 00:04:39 +0000 (16:04 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 26 Nov 2020 00:05:29 +0000 (16:05 -0800)
commitb5b11a8ac4b5a997a1b3ae388aea3879e26c857f
treee2550c7cfce7c6f43e994eeabc5504a22222a735
parent19a00869028f4a28a36f90649166631dff6e3ccd
RISC-V: Move dynamic relocation section under __init

Dynamic relocation section are only required during boot. Those sections
can be freed after init. Thus, it can be moved to __init section.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Tested-by: Greentime Hu <greentime.hu@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/vmlinux.lds.S