[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQSpM2hh2=Wgribb92nHF5_peRb+gxdO1Bt1MkeL8N+hw@mail.gmail.com>
Date: Sun, 17 Nov 2024 13:50:09 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Rong Xu <xur@...gle.com>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>, Nick Desaulniers <ndesaulniers@...gle.com>,
Klara Modin <klarasmodin@...il.com>, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] MIPS: move _stext definition to vmlinux.lds.S
On Wed, Nov 13, 2024 at 3:40 PM Rong Xu <xur@...gle.com> wrote:
>
> The _stext symbol is intended to reference the start of the text section.
> However, it currently relies on a fragile link order because the existing
> EXPORT(_stext) resides within the .text section, which is not guaranteed
> to be placed first.
>
> Move the _stext definition to the linker script to enforce an explicit
> ordering.
>
> Signed-off-by: Rong Xu <xur@...gle.com>
> Reported-by: Klara Modin <klarasmodin@...il.com>
> Tested-by: Klara Modin <klarasmodin@...il.com>
> --
Applied to linux-kbuild.
(inserted before "vmlinux.lds.h: Adjust symbol ordering in text output section")
Thanks.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists