2008-08-09 10:38:20 +02:00
|
|
|
|
|
|
|
ENTRY(__start)
|
|
|
|
|
|
|
|
OUTPUT_FORMAT(pei-i386)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
|
|
|
|
. = SIZEOF_HEADERS;
|
|
|
|
. = ALIGN(32);
|
|
|
|
|
2008-08-10 07:23:24 +02:00
|
|
|
.boot . + __image_base__ :
|
|
|
|
{
|
|
|
|
*(.boot)
|
2008-08-13 21:13:40 +02:00
|
|
|
*(.start)
|
2008-08-10 07:23:24 +02:00
|
|
|
. = ALIGN(4096);
|
|
|
|
}
|
|
|
|
|
2008-08-13 21:13:40 +02:00
|
|
|
.flat . + 0xE0000000:
|
2008-08-09 10:38:20 +02:00
|
|
|
{
|
2008-08-13 21:13:40 +02:00
|
|
|
*(.flat) *(.text) *(.rdata) *(.data)
|
2008-08-09 10:38:20 +02:00
|
|
|
}
|
2008-08-13 21:13:40 +02:00
|
|
|
__edata = . - 0xE0000000;
|
2008-08-09 10:38:20 +02:00
|
|
|
|
|
|
|
.bss ALIGN(4096) :
|
|
|
|
{
|
|
|
|
*(.bss) *(COMMON)
|
|
|
|
}
|
2008-08-20 20:37:48 +02:00
|
|
|
__kernel_end = . - 0xE0000000;
|
2008-08-09 10:38:20 +02:00
|
|
|
|
|
|
|
/DISCARD/ :
|
|
|
|
{
|
|
|
|
*(.debug$S)
|
|
|
|
*(.debug$T)
|
|
|
|
*(.debug$F)
|
|
|
|
*(.drectve)
|
|
|
|
*(.reloc)
|
|
|
|
*(.edata)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|