Commit 200dd957 authored by Pierre-Clément Tosi's avatar Pierre-Clément Tosi Committed by Masahiro Yamada

scripts/mksysmap: Ignore __pi_ local arm64 symbols

Similarly to "__kvm_nvhe_", filter out any local symbol that was
prefixed with "__pi_" (generated when CONFIG_RANDOMIZE_BASE=y) when
compiling System.map and in kallsyms.
Signed-off-by: default avatarPierre-Clément Tosi <ptosi@google.com>
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent ec336aa8
...@@ -40,6 +40,10 @@ ${NM} -n ${1} | sed >${2} -e " ...@@ -40,6 +40,10 @@ ${NM} -n ${1} | sed >${2} -e "
# arm64 EFI stub namespace # arm64 EFI stub namespace
/ __efistub_/d / __efistub_/d
# arm64 local symbols in PIE namespace
/ __pi_\\$/d
/ __pi_\.L/d
# arm64 local symbols in non-VHE KVM namespace # arm64 local symbols in non-VHE KVM namespace
/ __kvm_nvhe_\\$/d / __kvm_nvhe_\\$/d
/ __kvm_nvhe_\.L/d / __kvm_nvhe_\.L/d
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment