summaryrefslogtreecommitdiff
path: root/src/kernel/elf-link.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/elf-link.ld')
-rw-r--r--src/kernel/elf-link.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/elf-link.ld b/src/kernel/elf-link.ld
index 84d3f92..d0c6723 100644
--- a/src/kernel/elf-link.ld
+++ b/src/kernel/elf-link.ld
@@ -11,7 +11,9 @@ SECTIONS {
*(.rodata)
}
.data : {
+ _kernel_data_start = .;
*(.data)
+ _kernel_data_end = .;
}
. = 0x04000000;
.bss : {