diff options
| author | Lorenzo Stoakes (ARM) <ljs@kernel.org> | 2026-09-08 21:55:02 +0100 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2026-09-12 20:01:19 +0200 |
| commit | 59351365ac271b5e0eb180f211c531476a36221f (patch) | |
| tree | d41f4050105dffde43904c3cc37251543ac16008 /scripts/basic | |
| parent | 281b61d408d4c39544583e393c6707af0ef5ee50 (diff) | |
| download | linux-59351365ac271b5e0eb180f211c531476a36221f.tar.gz linux-59351365ac271b5e0eb180f211c531476a36221f.zip | |
scripts/mksysmap: fix escape of '$' in the __pi_ pattern
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.map and /proc/kallsyms:
$ grep __pi_\\$ /proc/kallsyms | sort -u
0000000000000000 d __pi_$d
0000000000000000 t __pi_$x
Fix the escaping properly.
Fixes: b18b047002b7 ("kbuild: change scripts/mksysmap into sed script")
Assisted-by: LLM
Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260908-build-speedup-v1-2-5dc1ac01672d@kernel.org
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
