This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
rockOS/kernel/arch/i386/linker.ld

31 lines
374 B
Plaintext
Raw Permalink Normal View History

2022-07-18 09:59:04 +03:00
ENTRY(_start)
SECTIONS
{
. = 1M;
_rockos_start = .;
2022-07-18 09:59:04 +03:00
.text BLOCK(4K) : ALIGN(4K)
{
*(.multiboot)
*(.text)
}
.rodata BLOCK(4K) : ALIGN(4K)
{
*(.rodata)
}
.data BLOCK(4K) : ALIGN(4K)
{
*(.data)
}
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
}
_rockos_end = .;
2022-07-18 09:59:04 +03:00
}