mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 11:43:09 +03:00
9a7d86dfc0
git-svn-id: svn://kolibrios.org@6595 a494cfbc-eb01-0410-851d-a64ba20cac60
70 lines
1.1 KiB
Plaintext
70 lines
1.1 KiB
Plaintext
|
|
|
|
OUTPUT_FORMAT(pei-i386)
|
|
|
|
ENTRY("_drvEntry")
|
|
|
|
SECTIONS
|
|
{
|
|
. = SIZEOF_HEADERS;
|
|
. = ALIGN(__section_alignment__);
|
|
|
|
.text __image_base__ + ( __section_alignment__ < 0x1000 ? . : __section_alignment__ ) :
|
|
{
|
|
*(.text)
|
|
*(SORT(.text$*))
|
|
*(.text.*)
|
|
. = ALIGN(16);
|
|
*(.rdata)
|
|
*(SORT(.rdata$*))
|
|
. = ALIGN(16);
|
|
*(.data)
|
|
*(.data2)
|
|
*(SORT(.data$*))
|
|
. = ALIGN(16);
|
|
*(.bss)
|
|
*(COMMON)
|
|
}
|
|
|
|
|
|
.idata ALIGN(__section_alignment__):
|
|
{
|
|
SORT(*)(.idata$2)
|
|
SORT(*)(.idata$3)
|
|
/* These zeroes mark the end of the import list. */
|
|
LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
|
|
SORT(*)(.idata$4)
|
|
SORT(*)(.idata$5)
|
|
SORT(*)(.idata$6)
|
|
SORT(*)(.idata$7)
|
|
}
|
|
|
|
.reloc ALIGN(__section_alignment__) :
|
|
{
|
|
*(.reloc)
|
|
}
|
|
|
|
/DISCARD/ :
|
|
{
|
|
*(.debug$S)
|
|
*(.debug$T)
|
|
*(.debug$F)
|
|
*(.drectve)
|
|
*(.edata)
|
|
*(.note.GNU-stack)
|
|
*(.comment)
|
|
*(.eh_frame)
|
|
*(.debug_abbrev)
|
|
*(.debug_info)
|
|
*(.debug_line)
|
|
*(.debug_frame)
|
|
*(.debug_loc)
|
|
*(.debug_pubnames)
|
|
*(.debug_aranges)
|
|
*(.debug_ranges)
|
|
}
|
|
|
|
|
|
}
|
|
|