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