Squash commits for public release
This commit is contained in:
42
build/boot/x86/boot_link.ld
Normal file
42
build/boot/x86/boot_link.ld
Normal file
@@ -0,0 +1,42 @@
|
||||
_pa_base = 0x1000;
|
||||
|
||||
ENTRY(_pa_base)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = _pa_base;
|
||||
bootloader_start = .;
|
||||
|
||||
.text ALIGN(4K) :
|
||||
{
|
||||
*(.xos_boot_text)
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
}
|
||||
|
||||
.rodata :
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
*(.data.*)
|
||||
}
|
||||
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
}
|
||||
|
||||
.stack ALIGN(4K) :
|
||||
{
|
||||
STACK_PHYZ_BASE = .;
|
||||
. += 0x1000;
|
||||
STACK_PHYZ_TOP = .;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user