Rev 6548 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6548 | Rev 6557 | ||
---|---|---|---|
1 | OUTPUT_FORMAT(pei-i386) |
1 | OUTPUT_FORMAT(pei-i386) |
- | 2 | SEARCH_DIR("=/mingw32/lib") |
|
2 | 3 | ||
3 | ENTRY("_libc_crt_startup") |
4 | ENTRY("_libc_crt_startup") |
4 | 5 | ||
5 | SECTIONS |
6 | SECTIONS |
6 | { |
7 | { |
7 | 8 | ||
8 | . = SIZEOF_HEADERS; |
9 | . = SIZEOF_HEADERS; |
9 | . = ALIGN(__section_alignment__); |
10 | . = ALIGN(__section_alignment__); |
10 | 11 | ||
11 | .text __image_base__ + . : |
12 | .text __image_base__ + . : |
12 | { |
13 | { |
13 | *(.text) |
14 | *(.text) |
14 | *(SORT(.text$*)) |
15 | *(SORT(.text$*)) |
15 | *(.text.*) |
16 | *(.text.*) |
16 | *(.gnu.linkonce.t.*) |
17 | *(.gnu.linkonce.t.*) |
17 | *(.glue_7t) |
18 | *(.glue_7t) |
18 | *(.glue_7) |
19 | *(.glue_7) |
19 | ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; |
20 | ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; |
20 | LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*)); LONG (0); |
21 | LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*)); LONG (0); |
21 | ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; |
22 | ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; |
22 | LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*)); LONG (0); |
23 | LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*)); LONG (0); |
23 | *(.fini) |
24 | *(.fini) |
24 | *(.rdata) |
25 | *(.rdata) |
25 | *(SORT(.rdata$*)) |
26 | *(SORT(.rdata$*)) |
26 | __rt_psrelocs_start = .; |
27 | __rt_psrelocs_start = .; |
27 | *(.rdata_runtime_pseudo_reloc) |
28 | *(.rdata_runtime_pseudo_reloc) |
28 | __rt_psrelocs_end = .; |
29 | __rt_psrelocs_end = .; |
29 | __rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start; |
30 | __rt_psrelocs_size = __rt_psrelocs_end - __rt_psrelocs_start; |
30 | ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
31 | ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
31 | __RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
32 | __RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
32 | ___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size; |
33 | ___RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size; |
33 | __RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size; |
34 | __RUNTIME_PSEUDO_RELOC_LIST__ = . - __rt_psrelocs_size; |
34 | } |
35 | } |
35 | 36 | ||
36 | .data ALIGN(__section_alignment__): |
37 | .data ALIGN(__section_alignment__): |
37 | { |
38 | { |
38 | PROVIDE ( __data_start__ = .) ; |
39 | PROVIDE ( __data_start__ = .) ; |
39 | *(.data) |
40 | *(.data) |
40 | *(.data2) |
41 | *(.data2) |
41 | *(SORT(.data$*)) |
42 | *(SORT(.data$*)) |
42 | *(.jcr) |
43 | *(.jcr) |
43 | __CRT_MT = .; |
44 | __CRT_MT = .; |
44 | LONG(0); |
45 | LONG(0); |
45 | PROVIDE ( __data_end__ = .) ; |
46 | PROVIDE ( __data_end__ = .) ; |
46 | *(.data_cygwin_nocopy) |
47 | *(.data_cygwin_nocopy) |
47 | } |
48 | } |
48 | 49 | ||
49 | .bss ALIGN(__section_alignment__): |
50 | .bss ALIGN(__section_alignment__): |
50 | { |
51 | { |
51 | __bss_start__ = . ; |
52 | __bss_start__ = . ; |
52 | *(.bss) |
53 | *(.bss) |
53 | *(COMMON) |
54 | *(COMMON) |
54 | __bss_end__ = . ; |
55 | __bss_end__ = . ; |
55 | } |
56 | } |
56 | 57 | ||
57 | .edata ALIGN(__section_alignment__): |
58 | .edata ALIGN(__section_alignment__): |
58 | { |
59 | { |
59 | *(.edata) |
60 | *(.edata) |
60 | } |
61 | } |
61 | 62 | ||
62 | /DISCARD/ : |
63 | /DISCARD/ : |
63 | { |
64 | { |
64 | *(.debug$S) |
65 | *(.debug$S) |
65 | *(.debug$T) |
66 | *(.debug$T) |
66 | *(.debug$F) |
67 | *(.debug$F) |
67 | *(.drectve) |
68 | *(.drectve) |
68 | *(.note.GNU-stack) |
69 | *(.note.GNU-stack) |
69 | *(.eh_frame) |
70 | *(.eh_frame) |
70 | *(.comment) |
71 | *(.comment) |
71 | *(.debug_abbrev) |
72 | *(.debug_abbrev) |
72 | *(.debug_info) |
73 | *(.debug_info) |
73 | *(.debug_line) |
74 | *(.debug_line) |
74 | *(.debug_frame) |
75 | *(.debug_frame) |
75 | *(.debug_loc) |
76 | *(.debug_loc) |
76 | *(.debug_pubnames) |
77 | *(.debug_pubnames) |
77 | *(.debug_aranges) |
78 | *(.debug_aranges) |
78 | *(.debug_ranges) |
79 | *(.debug_ranges) |
79 | } |
80 | } |
80 | 81 | ||
81 | .reloc ALIGN(__section_alignment__) : |
82 | .reloc ALIGN(__section_alignment__) : |
82 | { |
83 | { |
83 | *(.reloc) |
84 | *(.reloc) |
84 | } |
85 | } |
85 | 86 | ||
86 | } |
87 | } |