aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/vdso/vdso.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/kernel/vdso/vdso.lds.S')
-rw-r--r--arch/arm64/kernel/vdso/vdso.lds.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/kernel/vdso/vdso.lds.S b/arch/arm64/kernel/vdso/vdso.lds.S
index e69fb4aaaf3e..6028f1fe2d1c 100644
--- a/arch/arm64/kernel/vdso/vdso.lds.S
+++ b/arch/arm64/kernel/vdso/vdso.lds.S
@@ -48,6 +48,13 @@ SECTIONS
PROVIDE (_etext = .);
PROVIDE (etext = .);
+ . = ALIGN(4);
+ .altinstructions : {
+ __alt_instructions = .;
+ *(.altinstructions)
+ __alt_instructions_end = .;
+ }
+
.dynamic : { *(.dynamic) } :text :dynamic
.rela.dyn : ALIGN(8) { *(.rela .rela*) }