Skip to content

Commit a96a7a7

Browse files
xhackerustcwilldeacon
authored andcommitted
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: 4e3bca8 ("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>
1 parent 5f69ca4 commit a96a7a7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm64/kernel/vdso/vdso.lds.S

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ SECTIONS
5050

5151
. = ALIGN(4);
5252
.altinstructions : {
53-
__alt_instructions = .;
5453
*(.altinstructions)
55-
__alt_instructions_end = .;
5654
}
5755

5856
.dynamic : { *(.dynamic) } :text :dynamic

0 commit comments

Comments
 (0)