aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64')
-rw-r--r--arch/riscv64/conf/kernel-link.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv64/conf/kernel-link.S b/arch/riscv64/conf/kernel-link.S
index 1a0d42f..832a886 100644
--- a/arch/riscv64/conf/kernel-link.S
+++ b/arch/riscv64/conf/kernel-link.S
@@ -11,7 +11,7 @@ SECTIONS {
* hack.
* @todo look into this further.
*/
- . = ABSOLUTE(VM_DMAP);
+ . = VM_DMAP;
__kernel_start = .;
.text ALIGN(4K) : AT(0) {
*(.kernel.start);
@@ -24,6 +24,7 @@ SECTIONS {
.data : {
*(.data*)
+ *(.sdata*)
}
.bss : {