diff options
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/stage2/arch/x86_64/linker.ld | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bootstrap/stage2/arch/x86_64/linker.ld b/bootstrap/stage2/arch/x86_64/linker.ld index f5489e5..14fe730 100644 --- a/bootstrap/stage2/arch/x86_64/linker.ld +++ b/bootstrap/stage2/arch/x86_64/linker.ld @@ -4,15 +4,19 @@ SECTIONS { . = 0x100000; __bstart = .; - .text : { + .text : ALIGN(4K) { *(.text) } - .data : { + .rodata : ALIGN(4K) { + *(.rodata) + } + + .data : ALIGN(4K) { *(.data) } - .bss : { + .bss : ALIGN(4K) { *(.bss) *(COMMON) } |