forked from KolibriOS/kolibrios
06eb2f3614
git-svn-id: svn://kolibrios.org@855 a494cfbc-eb01-0410-851d-a64ba20cac60
43 lines
490 B
Plaintext
43 lines
490 B
Plaintext
|
|
ENTRY(__start)
|
|
|
|
OUTPUT_FORMAT(pei-i386)
|
|
|
|
SECTIONS
|
|
{
|
|
|
|
. = SIZEOF_HEADERS;
|
|
. = ALIGN(32);
|
|
|
|
.boot . + __image_base__ :
|
|
{
|
|
*(.boot)
|
|
*(.start)
|
|
. = ALIGN(4096);
|
|
}
|
|
|
|
.flat . + 0xE0000000:
|
|
{
|
|
*(.flat) *(.text) *(.rdata) *(.data)
|
|
}
|
|
__edata = . - 0xE0000000;
|
|
|
|
.bss ALIGN(4096) :
|
|
{
|
|
*(.bss) *(COMMON)
|
|
}
|
|
__kernel_end = . - 0xE0000000;
|
|
|
|
/DISCARD/ :
|
|
{
|
|
*(.debug$S)
|
|
*(.debug$T)
|
|
*(.debug$F)
|
|
*(.drectve)
|
|
*(.reloc)
|
|
*(.edata)
|
|
}
|
|
}
|
|
|
|
|