Masahiro Yamada ce697ccee1 kbuild: remove head-y syntax
Kbuild puts the objects listed in head-y at the head of vmlinux.
Conventionally, we do this for head*.S, which contains the kernel entry
point.

A counter approach is to control the section order by the linker script.
Actually, the code marked as __HEAD goes into the ".head.text" section,
which is placed before the normal ".text" section.

I do not know if both of them are needed. From the build system
perspective, head-y is not mandatory. If you can achieve the proper code
placement by the linker script only, it would be cleaner.

I collected the current head-y objects into head-object-list.txt. It is
a whitelist. My hope is it will be reduced in the long run.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2022-10-02 18:06:03 +09:00
..
2022-07-30 10:58:05 +02:00
2022-01-17 08:07:57 +02:00
2022-04-01 10:19:03 +02:00
2022-05-04 22:22:59 +02:00
2022-07-17 14:52:47 +02:00
2022-05-04 22:22:59 +02:00
2022-07-14 11:52:29 +02:00
2022-08-06 16:47:19 -07:00
2021-01-22 11:40:00 +01:00
2022-05-04 22:22:59 +02:00
2022-05-30 11:01:50 -07:00
2021-10-18 18:09:54 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-02-07 18:31:57 +01:00
2022-07-14 11:52:29 +02:00
2022-09-09 17:37:27 +02:00
2022-10-02 18:06:03 +09:00