projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
riscv: Allow to downgrade paging mode from the command line
[platform/kernel/linux-rpi.git]
/
arch
/
riscv
/
kernel
/
vmlinux.lds.S
diff --git
a/arch/riscv/kernel/vmlinux.lds.S
b/arch/riscv/kernel/vmlinux.lds.S
index
615ff58
..
305877d
100644
(file)
--- a/
arch/riscv/kernel/vmlinux.lds.S
+++ b/
arch/riscv/kernel/vmlinux.lds.S
@@
-83,6
+83,14
@@
SECTIONS
/* Start of init data section */
__init_data_begin = .;
INIT_DATA_SECTION(16)
/* Start of init data section */
__init_data_begin = .;
INIT_DATA_SECTION(16)
+
+ /* Those sections result from the compilation of kernel/pi/string.c */
+ .init.pidata : {
+ *(.init.srodata.cst8*)
+ *(.init__bug_table*)
+ *(.init.sdata*)
+ }
+
.init.bss : {
*(.init.bss) /* from the EFI stub */
}
.init.bss : {
*(.init.bss) /* from the EFI stub */
}
@@
-128,9
+136,10
@@
SECTIONS
__rela_dyn_end = .;
}
__rela_dyn_end = .;
}
+ .got : { *(.got*) }
+
#ifdef CONFIG_RELOCATABLE
.data.rel : { *(.data.rel*) }
#ifdef CONFIG_RELOCATABLE
.data.rel : { *(.data.rel*) }
- .got : { *(.got*) }
.plt : { *(.plt) }
.dynamic : { *(.dynamic) }
.dynsym : { *(.dynsym) }
.plt : { *(.plt) }
.dynamic : { *(.dynamic) }
.dynsym : { *(.dynsym) }