]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Feb 2023 10:25:41 +0000 (11:25 +0100)
commit5c5e4e8b984e770addd36ec6b9cbe6643c5385d5
tree809905fbdb3255813157bdc731312be925d391cd
parent5ecf47248aa9ecc37e2b7aee9e32d281819f829c
riscv: remove special treatment for the link order of head.o

commit 72506fddc7f868d6ee523bf35398b76f010f685a upstream.

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>
Signed-off-by: Tom Saeger <tom.saeger@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/head-object-list.txt