kolibrios/kernel/branches/kolibri_pe/ld.x

35 lines
332 B
Plaintext
Raw Normal View History

ENTRY(__start)
OUTPUT_FORMAT(pei-i386)
SECTIONS
{
. = SIZEOF_HEADERS;
. = ALIGN(32);
.flat . + __image_base__ :
{
*(.flat)
}
__edata = .;
.bss ALIGN(4096) :
{
*(.bss) *(COMMON)
}
/DISCARD/ :
{
*(.debug$S)
*(.debug$T)
*(.debug$F)
*(.drectve)
*(.reloc)
*(.edata)
}
}