Skip to content

Commit 994b7ac

Browse files
masahir0ywilldeacon
authored andcommitted
arm64: remove special treatment for the link order of head.o
In the previous discussion (see the Link tag), Ard pointed out that arm/arm64/kernel/head.o does not need any special treatment - the only piece that must appear right at the start of the binary image is the image header which is emitted into .head.text. The linker script does the right thing to do. The build system does not need to manipulate the link order of head.o. Link: https://lore.kernel.org/lkml/CAMj1kXH77Ja8bSsq2Qj8Ck9iSZKw=1F8Uy-uAWGVDm4-CG=EuA@mail.gmail.com/ Suggested-by: Ard Biesheuvel <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent f0c4d9f commit 994b7ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/head-object-list.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ arch/alpha/kernel/head.o
1515
arch/arc/kernel/head.o
1616
arch/arm/kernel/head-nommu.o
1717
arch/arm/kernel/head.o
18-
arch/arm64/kernel/head.o
1918
arch/csky/kernel/head.o
2019
arch/hexagon/kernel/head.o
2120
arch/ia64/kernel/head.o

0 commit comments

Comments
 (0)