Re: [PATCH 02/23] scripts/mksysmap: fix escape of '$' in the __pi_ pattern

From: Nicolas Schier

Date: Thu Sep 10 2026 - 15:05:13 EST


On Tue, 08 Sep 2026 21:55:02 +0100, Lorenzo Stoakes (ARM) wrote:
> Commit b18b047002b7 ("kbuild: change scripts/mksysmap into sed script")
> converted scripts/mksysmap from a shell script to a sed script.
>
> However an error was made - escaping of '$' required \\ escaping in shell
> but only \ in a sed script.
>
> This was mostly corrected in commit 7a6c355b55c0 ("scripts/mksysmap: Fix
> escape chars '$'"), but this fix missed arm64 PIE namespace local symbols
> like __pi_$x and __pi_$d which appear in System.mapand /proc/kallsyms:
>
> [...]

Applied to kbuild/linux.git (kbuild-fixes-unstable), thanks!

[02/23] scripts/mksysmap: fix escape of '$' in the __pi_ pattern
https://git.kernel.org/kbuild/c/b99d1f50

Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers).

The patch is applied to the kbuild-fixes-unstable branch and accepted
pending wider testing in linux-next and any post-commit review; it will
generally be moved to the kbuild-fixes branch within about a week if no
issues are found.

Best regards,
--
Nicolas