Re: [PATCH] arm64: fix .data.rel.ro size assertion when CONFIG_LTO_CLANG
From: Catalin Marinas
Date: Thu Nov 07 2024 - 13:40:50 EST
On Thu, 07 Nov 2024 01:18:42 +0900, Masahiro Yamada wrote:
> Commit be2881824ae9 ("arm64/build: Assert for unwanted sections")
> introduced an assertion to ensure that the .data.rel.ro section does
> not exist.
>
> However, this check does not work when CONFIG_LTO_CLANG is enabled,
> because .data.rel.ro matches the .data.[0-9a-zA-Z_]* pattern in the
> DATA_MAIN macro.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: fix .data.rel.ro size assertion when CONFIG_LTO_CLANG
https://git.kernel.org/arm64/c/340fd66c8566
--
Catalin