diff options
author | Xander <xander@biltopia.org> | 2023-07-14 17:16:54 +0200 |
---|---|---|
committer | Xander <xander@biltopia.org> | 2023-07-14 17:16:54 +0200 |
commit | 5ad68a0c087d21fa1d0f82bea1550169f1e4c1aa (patch) | |
tree | f9d68644254e60926e568071cfbd5fcd2dc1ad5b /arch/x86_64/boot/linker.ld | |
parent | 059b5ba286b3fef4d01c3ced9cd829ace5dd6340 (diff) | |
download | ats-os-5ad68a0c087d21fa1d0f82bea1550169f1e4c1aa.tar.xz ats-os-5ad68a0c087d21fa1d0f82bea1550169f1e4c1aa.zip |
Preparing for multiboot information
Diffstat (limited to 'arch/x86_64/boot/linker.ld')
-rw-r--r-- | arch/x86_64/boot/linker.ld | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/x86_64/boot/linker.ld b/arch/x86_64/boot/linker.ld index 5d788f1..0ad745e 100644 --- a/arch/x86_64/boot/linker.ld +++ b/arch/x86_64/boot/linker.ld @@ -6,11 +6,19 @@ SECTIONS { .boot : { /* ensure that the multiboot header is at the beginning */ - *(.multiboot_header) + KEEP(*(.multiboot_header)) } .text : { - *(.text) + *(.text .text.*) + } + + .rodata : { + *(.rodata .rodata.*) + } + + .data.rel.ro : { + *(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*) } } |