kolibrios/kernel/branches/kolibri_pe/ld.x
Sergey Semyonov (Serge) c6d4df748c PE kernel
git-svn-id: svn://kolibrios.org@849 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-09 08:38:20 +00:00

35 lines
332 B
Plaintext

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)
}
}