Re: [PATCH v2] [MIPS] Place __kernel_entry at the beginning of text section

From: Masahiro Yamada
Date: Tue Nov 26 2024 - 19:42:19 EST


On Wed, Nov 27, 2024 at 2:34 AM Rong Xu <xur@xxxxxxxxxx> wrote:
>
> Mark __kernel_entry as ".head.text" and place HEAD_TEXT before
> TEXT_TEXT in the linker script. This ensures that __kernel_entry
> will be placed at the beginning of text section.
>
> Drop mips from scripts/head-object-list.txt.
>
> Signed-off-by: Rong Xu <xur@xxxxxxxxxx>
> Reported-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/lkml/c6719149-8531-4174-824e-a3caf4bc6d0e@xxxxxxxxxxxxxxxxxxx/T/
> Tested-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>


Applied to linux-kbuild.
(Inserted before the offending commit)

Thanks!



--
Best Regards
Masahiro Yamada