summaryrefslogtreecommitdiff
path: root/src/init/linker.ld
diff options
context:
space:
mode:
authordzwdz2021-09-12 15:07:26 +0200
committerdzwdz2021-09-12 15:07:26 +0200
commite4e4007fbbeede6f9a59dab6327f0ef3a4675801 (patch)
tree13da6d7ed29aadc442124ca32a290aee1403ee68 /src/init/linker.ld
parent1bf901c803bff3393d0cc9dfe76fc9f025cecb1c (diff)
init: allocate bss at runtime
Diffstat (limited to 'src/init/linker.ld')
-rw-r--r--src/init/linker.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init/linker.ld b/src/init/linker.ld
index a59308d..efb44fd 100644
--- a/src/init/linker.ld
+++ b/src/init/linker.ld
@@ -17,9 +17,11 @@ SECTIONS
{
*(.data)
}
+ _bss_start = .;
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
}
+ _bss_end = .;
}