[PATCH v2 1/2] ARM: substitute OVERLAY description in linker script
Linus Walleij
linus.walleij at linaro.org
Thu Feb 27 15:22:37 PST 2025
On Mon, Feb 24, 2025 at 1:54 PM Christian Eggers <ceggers at arri.de> wrote:
> If linker garbage collection is active, we must ensure that the vectors
> are not removed during linking (by using the KEEP keyword). But it
> seems that the LLD linker doesn't support using the KEEP() keyword
> within an overlay description.
>
> The GNU linker manual shows an alternative way to accomplish the same
> result without using the overlay statement:
>
> https://sourceware.org/binutils/docs/ld/Overlay-Description.html
>
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502222158.UhwuvDZv-lkp@intel.com/
> Signed-off-by: Christian Eggers <ceggers at arri.de>
Looks right to me:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list