mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-08-03 17:26:08 -04:00
51 lines
737 B
Plaintext
51 lines
737 B
Plaintext
ENTRY(rm_main)
|
|
|
|
SECTIONS
|
|
{
|
|
/* This is where the bootloader will load the code */
|
|
. = 0x6000;
|
|
|
|
.text_16 BLOCK(512) : ALIGN(512)
|
|
{
|
|
debug/boot_16_64.o(.text)
|
|
}
|
|
|
|
.rodata_16 BLOCK(512) : ALIGN(512)
|
|
{
|
|
debug/boot_16_64.o(.rodata)
|
|
}
|
|
|
|
.bss_16 BLOCK(512) : ALIGN(512)
|
|
{
|
|
debug/boot_16_64.o(.bss)
|
|
}
|
|
|
|
.data_16 BLOCK(512) : ALIGN(512)
|
|
{
|
|
debug/boot_16_64.o(.data)
|
|
}
|
|
|
|
.text_32 BLOCK(512) : ALIGN(512)
|
|
{
|
|
debug/boot_32_64.o(.text)
|
|
}
|
|
|
|
/* 4K of Read-only data */
|
|
.rodata BLOCK(1K) : ALIGN(1K)
|
|
{
|
|
*(.rodata)
|
|
}
|
|
|
|
/* 4K of Read-write initialized data. */
|
|
.data BLOCK(1K) : ALIGN(1K)
|
|
{
|
|
*(.data)
|
|
}
|
|
|
|
/* 4K of Read-write uninitialized data. */
|
|
.bss BLOCK(1K) : ALIGN(1K)
|
|
{
|
|
*(.bss)
|
|
}
|
|
}
|