riscv: remove special treatment for the link order of head.o
authorJisheng Zhang <jszhang@kernel.org>
Tue, 18 Oct 2022 14:12:00 +0000 (22:12 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 27 Oct 2022 22:24:42 +0000 (15:24 -0700)
commit2348e6bf44213c5f447ff698e43c089185241ed7
tree14250be12372d04863b67174fc1fee66b8671075
parente8c68abb21573a110efc5ee4967dc95b47ea4950
riscv: remove special treatment for the link order of head.o

arch/riscv/kernel/head.o does not need any special treatment - the only
requirement is the ".head.text" section must be placed before the
normal ".text" section.

The linker script does the right thing to do. The build system does
not need to manipulate the link order of head.o.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20221018141200.1040-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
scripts/head-object-list.txt