OSDN Git Service

arm64: vdso: remove two .altinstructions related symbols
authorJisheng Zhang <jszhang@kernel.org>
Wed, 26 Jul 2023 17:36:19 +0000 (01:36 +0800)
committerWill Deacon <will@kernel.org>
Thu, 27 Jul 2023 11:32:43 +0000 (12:32 +0100)
commita96a7a7ddf9559eb20e608c0de30d1867d755a33
tree9baf7f625afb3f5995dede543ac0b19a9f6d388c
parent5f69ca4229c7d8e23f238174827ee7aa49b0bcb2
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>
arch/arm64/kernel/vdso/vdso.lds.S