Subversion Repositories Kolibri OS

Rev

Rev 6312 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6312 Rev 6529
1
/*OUTPUT_FORMAT("binary")*/
1
/*OUTPUT_FORMAT("binary")*/
2
 
-
 
-
 
2
SEARCH_DIR("=/mingw32/lib")
-
 
3
SEARCH_DIR("=/lib")
3
ENTRY(__start)
4
ENTRY(__start)
4
SECTIONS
5
SECTIONS
5
{
6
{
6
   .text 0x000000:
7
   .text 0x000000:
7
   {
8
   {
8
        LONG(0x554e454D);
9
        LONG(0x554e454D);
9
        LONG(0x32305445);
10
        LONG(0x32305445);
10
        LONG(1);
11
        LONG(1);
11
        LONG(__start);
12
        LONG(__start);
12
        LONG(___iend);
13
        LONG(___iend);
13
        LONG(___memsize);
14
        LONG(___memsize);
14
        LONG(___stacktop);
15
        LONG(___stacktop);
15
        LONG(___cmdline);
16
        LONG(___cmdline);
16
        LONG(___pgmname);     /*  full path    */
17
        LONG(___pgmname);     /*  full path    */
17
        LONG(__subsystem__);
18
        LONG(__subsystem__);
18
        LONG(__idata_start)
19
        LONG(__idata_start)
19
        LONG(__idata_end)
20
        LONG(__idata_end)
20
        LONG(_main)
21
        LONG(_main)
21
 
22
 
22
        *(.init)
23
        *(.init)
23
        *(.text)
24
        *(.text)
24
        *(SORT(.text$*))
25
        *(SORT(.text$*))
25
        *(.text.*)
26
        *(.text.*)
26
        *(.glue_7t)
27
        *(.glue_7t)
27
        *(.glue_7)
28
        *(.glue_7)
28
        ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
29
        ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
29
                        LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0);
30
                        LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0);
30
        ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
31
        ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
31
                        LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0);
32
                        LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0);
32
        *(.fini)
33
        *(.fini)
33
    /* ??? Why is .gcc_exc here?  */
34
    /* ??? Why is .gcc_exc here?  */
34
        *(.gcc_exc)
35
        *(.gcc_exc)
35
        PROVIDE (etext = .);
36
        PROVIDE (etext = .);
36
        *(.gcc_except_table)
37
        *(.gcc_except_table)
37
   }
38
   }
38
 
39
 
39
   .rdata ALIGN(16) :
40
   .rdata ALIGN(16) :
40
   {
41
   {
41
        *(.rdata)
42
        *(.rdata)
42
        *(SORT(.rdata$*))
43
        *(SORT(.rdata$*))
43
        ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
44
        ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
44
        __RUNTIME_PSEUDO_RELOC_LIST__ = .;
45
        __RUNTIME_PSEUDO_RELOC_LIST__ = .;
45
        *(.rdata_runtime_pseudo_reloc)
46
        *(.rdata_runtime_pseudo_reloc)
46
        ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
47
        ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
47
        __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
48
        __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
48
   }
49
   }
49
   .CRT ALIGN(16) :
50
   .CRT ALIGN(16) :
50
   {
51
   {
51
         ___crt_xc_start__ = . ;
52
         ___crt_xc_start__ = . ;
52
        *(SORT(.CRT$XC*))  /* C initialization */
53
        *(SORT(.CRT$XC*))  /* C initialization */
53
        ___crt_xc_end__ = . ;
54
        ___crt_xc_end__ = . ;
54
        ___crt_xi_start__ = . ;
55
        ___crt_xi_start__ = . ;
55
        *(SORT(.CRT$XI*))  /* C++ initialization */
56
        *(SORT(.CRT$XI*))  /* C++ initialization */
56
        ___crt_xi_end__ = . ;
57
        ___crt_xi_end__ = . ;
57
        ___crt_xl_start__ = . ;
58
        ___crt_xl_start__ = . ;
58
        *(SORT(.CRT$XL*))  /* TLS callbacks */
59
        *(SORT(.CRT$XL*))  /* TLS callbacks */
59
    /* ___crt_xl_end__ is defined in the TLS Directory support code */
60
    /* ___crt_xl_end__ is defined in the TLS Directory support code */
60
        ___crt_xp_start__ = . ;
61
        ___crt_xp_start__ = . ;
61
        *(SORT(.CRT$XP*))  /* Pre-termination */
62
        *(SORT(.CRT$XP*))  /* Pre-termination */
62
        ___crt_xp_end__ = . ;
63
        ___crt_xp_end__ = . ;
63
        ___crt_xt_start__ = . ;
64
        ___crt_xt_start__ = . ;
64
        *(SORT(.CRT$XT*))  /* Termination */
65
        *(SORT(.CRT$XT*))  /* Termination */
65
        ___crt_xt_end__ = . ;
66
        ___crt_xt_end__ = . ;
66
   }
67
   }
67
 
68
 
68
   .data ALIGN(16) :
69
   .data ALIGN(16) :
69
   {
70
   {
70
     	PROVIDE ( __data_start__ = .) ;
71
        PROVIDE ( __data_start__ = .) ;
71
        *(.data)
72
        *(.data)
72
        *(.data2)
73
        *(.data2)
73
        *(SORT(.data$*))
74
        *(SORT(.data$*))
74
        *(.jcr)
75
        *(.jcr)
75
        __CRT_MT = .;
76
        __CRT_MT = .;
76
        LONG(0);
77
        LONG(1);
77
        PROVIDE ( __data_end__ = .) ;
78
        PROVIDE ( __data_end__ = .) ;
78
        *(.data_cygwin_nocopy)
79
        *(.data_cygwin_nocopy)
79
        ___iend = . ;
80
        ___iend = . ;
80
   }
81
   }
81
 
82
 
82
   .eh_frame BLOCK(16) :
83
   .eh_frame BLOCK(16) :
83
   {
84
   {
84
        PROVIDE (___EH_FRAME_BEGIN__ = .) ;
85
        PROVIDE (___EH_FRAME_BEGIN__ = .) ;
85
        *(.eh_frame*)
86
        *(.eh_frame*)
-
 
87
	___FRAME_END__ = . ;
-
 
88
	LONG(0);
86
   }
89
   }
87
 
90
 
88
   .idata ALIGN(16):
91
   .idata ALIGN(16):
89
   {
92
   {
90
      __idata_start = .;
93
      __idata_start = .;
91
      SORT(*)(.idata$2)
94
      SORT(*)(.idata$2)
92
      SORT(*)(.idata$3)
95
      SORT(*)(.idata$3)
93
    /* These zeroes mark the end of the import list. */
96
    /* These zeroes mark the end of the import list. */
94
      LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
97
      LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
95
      SORT(*)(.idata$4)
98
      SORT(*)(.idata$4)
96
      SORT(*)(.idata$5)
99
      SORT(*)(.idata$5)
97
      SORT(*)(.idata$6)
100
      SORT(*)(.idata$6)
98
      SORT(*)(.idata$7)
101
      SORT(*)(.idata$7)
99
      __idata_end = .  ;
102
      __idata_end = .  ;
100
   }
103
   }
101
 
104
 
102
   bss ALIGN(16):
105
   bss ALIGN(16):
103
   {
106
   {
104
        *(.bss)
107
        *(.bss)
105
        *(COMMON)
108
        *(COMMON)
106
        . = ALIGN(16);
109
        . = ALIGN(16);
107
        ___cmdline = .;
110
        ___cmdline = .;
108
        . = . + 256;
111
        . = . + 256;
109
        ___pgmname = .;
112
        ___pgmname = .;
110
        . = . + 1024 + 16;
113
        . = . + 1024 + 16;
111
        ___stacktop = .;
114
        ___stacktop = .;
112
        ___memsize = . ;
115
        ___memsize = . ;
113
   }
116
   }
114
 
117
 
115
  /DISCARD/ :
118
  /DISCARD/ :
116
  {
119
  {
117
    *(.debug$S)
120
    *(.debug$S)
118
    *(.debug$T)
121
    *(.debug$T)
119
    *(.debug$F)
122
    *(.debug$F)
120
    *(.drectve)
123
    *(.drectve)
121
    *(.note.GNU-stack)
124
    *(.note.GNU-stack)
122
    *(.comment)
125
    *(.comment)
-
 
126
/*    *(.eh_frame) */
123
    *(.debug_abbrev)
127
    *(.debug_abbrev)
124
    *(.debug_info)
128
    *(.debug_info)
125
    *(.debug_line)
129
    *(.debug_line)
126
    *(.debug_frame)
130
    *(.debug_frame)
127
    *(.debug_loc)
131
    *(.debug_loc)
128
    *(.debug_pubnames)
132
    *(.debug_pubnames)
129
    *(.debug_aranges)
133
    *(.debug_aranges)
130
    *(.debug_ranges)
134
    *(.debug_ranges)
131
  }
135
  }
132
 
136
 
133
}
137
}
-
 
138