summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/vdso
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/kernel/vdso')
-rw-r--r--arch/arm64/kernel/vdso/vdso.lds.S12
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm64/kernel/vdso/vdso.lds.S b/arch/arm64/kernel/vdso/vdso.lds.S
index 1cd85258c079..e69fb4aaaf3e 100644
--- a/arch/arm64/kernel/vdso/vdso.lds.S
+++ b/arch/arm64/kernel/vdso/vdso.lds.S
@@ -52,17 +52,15 @@ SECTIONS
.rela.dyn : ALIGN(8) { *(.rela .rela*) }
- .plt : {
+ .rodata : {
+ *(.rodata*)
+ *(.got)
+ *(.got.plt)
*(.plt)
*(.plt.*)
*(.iplt)
*(.igot .igot.plt)
- }
-
- .got : { *(.got) }
- .got.plt : { *(.got.plt) }
-
- .rodata : { *(.rodata*) } :text
+ } :text
_end = .;
PROVIDE(end = .);