Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
4940 Serge 1
OUTPUT_FORMAT(pei-i386)
6545 serge 2
/* SEARCH_DIR("=/lib") */
3
/* SEARCH_DIR("=/mingw32/lib") */
4940 Serge 4
 
5
SECTIONS
6
{
7
 
8
  . = SIZEOF_HEADERS;
9
  . = ALIGN(__section_alignment__);
10
 
11
  .text  __image_base__ + . :
12
  {
13
         *(.text)
14
         *(SORT(.text$*))
15
         *(.text.*)
16
         *(.gnu.linkonce.t.*)
17
         *(.glue_7t)
18
         *(.glue_7)
19
         ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
20
                        LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0);
21
         ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
22
                        LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0);
23
         *(.fini)
24
 
25
         . = ALIGN(16) ;
26
         ___crt_xc_start__ = . ;
27
         *(SORT(.CRT$XC*))  /* C initialization */
28
         ___crt_xc_end__ = . ;
29
         ___crt_xi_start__ = . ;
30
         *(SORT(.CRT$XI*))  /* C++ initialization */
31
         ___crt_xi_end__ = . ;
32
         ___crt_xl_start__ = . ;
33
         *(SORT(.CRT$XL*))  /* TLS callbacks */
34
    /* ___crt_xl_end__ is defined in the TLS Directory support code */
35
         ___crt_xp_start__ = . ;
36
         *(SORT(.CRT$XP*))  /* Pre-termination */
37
         ___crt_xp_end__ = . ;
38
         ___crt_xt_start__ = . ;
39
         *(SORT(.CRT$XT*))  /* Termination */
40
         ___crt_xt_end__ = . ;
41
 
42
         . = ALIGN(16) ;
43
 
44
         *(.rdata)
45
         *(SORT(.rdata$*))
46
         __rt_psrelocs_start = .;
47
         *(.rdata_runtime_pseudo_reloc)
48
         __rt_psrelocs_end = .;
49
  }
50
  __rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start;
51
  ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
52
  __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
53
  ___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
54
  __RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size;
55
 
56
  .data ALIGN(__section_alignment__):
57
  {
58
     PROVIDE ( __data_start__ = .) ;
59
     *(.data)
60
     *(.data2)
61
     *(SORT(.data$*))
62
     *(.jcr)
63
     __CRT_MT = .;
6529 serge 64
     LONG(1);
4940 Serge 65
     PROVIDE ( __data_end__ = .) ;
66
     *(.data_cygwin_nocopy)
67
  }
68
 
69
  .bss ALIGN(__section_alignment__):
70
  {
71
    __bss_start__ = . ;
72
    *(.bss)
73
    *(COMMON)
74
    __bss_end__ = . ;
75
  }
76
 
77
  .edata ALIGN(__section_alignment__):
78
  {
79
    *(.edata)
80
  }
81
 
82
  /DISCARD/ :
83
  {
84
    *(.debug$S)
85
    *(.debug$T)
86
    *(.debug$F)
87
    *(.drectve)
88
    *(.note.GNU-stack)
89
    *(.eh_frame)
90
    *(.comment)
91
    *(.debug_abbrev)
92
    *(.debug_info)
93
    *(.debug_line)
94
    *(.debug_frame)
95
    *(.debug_loc)
96
    *(.debug_pubnames)
97
    *(.debug_aranges)
98
    *(.debug_ranges)
99
  }
100
 
101
  .idata ALIGN(__section_alignment__):
102
  {
103
    SORT(*)(.idata$2)
104
    SORT(*)(.idata$3)
105
    /* These zeroes mark the end of the import list. */
106
    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
107
    SORT(*)(.idata$4)
108
    SORT(*)(.idata$5)
109
    SORT(*)(.idata$6)
110
    SORT(*)(.idata$7)
111
  }
112
 
113
  .reloc ALIGN(__section_alignment__) :
114
  {
115
    *(.reloc)
116
  }
117
 
118
}
119