Subversion Repositories Kolibri OS

Rev

Rev 1692 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1692 serge 1
OUTPUT_FORMAT(pei-i386)
2
 
3
ENTRY("_drvEntry")
4
 
5
SECTIONS
6
{
7
  . = SIZEOF_HEADERS;
8
  . = ALIGN(__section_alignment__);
9
 
10
  .text  __image_base__ + ( __section_alignment__ < 0x1000 ? . : __section_alignment__ ) :
11
 
12
  {
13
    *(.text) *(.rdata)
14
  }
15
 
16
  .data ALIGN(__section_alignment__) :
17
  {
18
    *(.data)
19
  }
20
 
21
  .bss ALIGN(__section_alignment__):
22
  {
23
    *(.bss)
24
    *(COMMON)
25
  }
26
 
27
  /DISCARD/ :
28
  {
29
    *(.debug$S)
30
    *(.debug$T)
31
    *(.debug$F)
32
    *(.drectve)
33
    *(.edata)
34
  }
35
 
36
  .idata ALIGN(__section_alignment__):
37
  {
38
    SORT(*)(.idata$2)
39
    SORT(*)(.idata$3)
40
    /* These zeroes mark the end of the import list. */
41
    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
42
    SORT(*)(.idata$4)
43
    SORT(*)(.idata$5)
44
    SORT(*)(.idata$6)
45
    SORT(*)(.idata$7)
46
  }
47
 
48
  .reloc ALIGN(__section_alignment__) :
49
  {
50
    *(.reloc)
51
  }
52
 
53
}
54