aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_64/linker.ld')
-rw-r--r--src/arch/x86_64/linker.ld5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/x86_64/linker.ld b/src/arch/x86_64/linker.ld
index ae77deb..b484366 100644
--- a/src/arch/x86_64/linker.ld
+++ b/src/arch/x86_64/linker.ld
@@ -46,7 +46,7 @@ SECTIONS
*(".note.*")
}
- .bss :
+ .bss :
{
___BSS_START__ = .;
*(".bss")
@@ -71,5 +71,6 @@ SECTIONS
*(".debug_aranges")
}
*/
- PROVIDE (KERNEL_END = .);
+ . = ALIGN(4096);
+ PROVIDE (___KERNEL_END__ = .);
}