diff options
Diffstat (limited to 'Kernel/Arch/x86_64')
-rw-r--r-- | Kernel/Arch/x86_64/linker.ld | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Kernel/Arch/x86_64/linker.ld b/Kernel/Arch/x86_64/linker.ld index e11648fe13..e9b7a870f1 100644 --- a/Kernel/Arch/x86_64/linker.ld +++ b/Kernel/Arch/x86_64/linker.ld @@ -69,6 +69,8 @@ SECTIONS start_of_kernel_data = .; *(.data*) end_of_kernel_data = .; + . = ALIGN(4K); + *(.heap) } :data .ro_after_init ALIGN(4K) : AT(ADDR(.ro_after_init)) @@ -85,9 +87,6 @@ SECTIONS *(COMMON) *(.bss*) end_of_kernel_bss = .; - - . = ALIGN(4K); - *(.heap) } :bss .dynamic ALIGN(4K) : AT (ADDR(.dynamic)) |