[PATCH] arm64: fix .data.rel.ro size assertion when CONFIG_LTO_CLANG

Catalin Marinas catalin.marinas at arm.com
Thu Nov 7 10:40:39 PST 2024


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




More information about the linux-arm-kernel mailing list