summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/vdso
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2023-07-27 01:36:19 +0800
committerWill Deacon <will@kernel.org>2023-07-27 12:32:43 +0100
commita96a7a7ddf9559eb20e608c0de30d1867d755a33 (patch)
tree9baf7f625afb3f5995dede543ac0b19a9f6d388c /arch/arm64/kernel/vdso
parent5f69ca4229c7d8e23f238174827ee7aa49b0bcb2 (diff)
downloadlinux-stable-a96a7a7ddf9559eb20e608c0de30d1867d755a33.tar.gz
linux-stable-a96a7a7ddf9559eb20e608c0de30d1867d755a33.tar.bz2
linux-stable-a96a7a7ddf9559eb20e608c0de30d1867d755a33.zip
arm64: vdso: remove two .altinstructions related symbols
The two symbols __alt_instructions and __alt_instructions_end are not used, since the vDSO patching code looks for the '.altinstructions' ELF section directly. Remove the unused linker symbols. Fixes: 4e3bca8f7cdd ("arm64: alternative: patch alternatives in the vDSO") Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Link: https://lore.kernel.org/r/20230726173619.3732-1-jszhang@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/vdso')
-rw-r--r--arch/arm64/kernel/vdso/vdso.lds.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/vdso/vdso.lds.S b/arch/arm64/kernel/vdso/vdso.lds.S
index 6028f1fe2d1c..45354f2ddf70 100644
--- a/arch/arm64/kernel/vdso/vdso.lds.S
+++ b/arch/arm64/kernel/vdso/vdso.lds.S
@@ -50,9 +50,7 @@ SECTIONS
. = ALIGN(4);
.altinstructions : {
- __alt_instructions = .;
*(.altinstructions)
- __alt_instructions_end = .;
}
.dynamic : { *(.dynamic) } :text :dynamic