Synchronize up to trunk's revision r57784.
[reactos.git] / boot / freeldr / freeldr / freeldr_i386.lds
1 SECTIONS
2 {
3 .text __image_base__ + __section_alignment__ :
4 {
5 *(.text)
6 *(SORT(.text*))
7 *(.data)
8 *(SORT(.data*))
9 *(.rdata)
10 *(SORT(.rdata*))
11 }
12
13 .edata BLOCK(__file_alignment__) :
14 {
15 *(.edata)
16 }
17
18 .bss :
19 {
20 __bss_start__ = . ;
21 *(.bss)
22 *(COMMON)
23 __bss_end__ = . ;
24 }
25
26 .stab BLOCK(__section_alignment__) (NOLOAD) :
27 {
28 *(.stab)
29 }
30 .stabstr BLOCK(__section_alignment__) (NOLOAD) :
31 {
32 *(.stabstr)
33 }
34
35 /* DWARF debug sections.
36 Symbols in the DWARF debugging sections are relative to the beginning
37 of the section. Unlike other targets that fake this by putting the
38 section VMA at 0, the PE format will not allow it. */
39 /* DWARF 1.1 and DWARF 2. */
40 .debug_aranges BLOCK(__section_alignment__) (NOLOAD) :
41 {
42 *(.debug_aranges)
43 }
44 .debug_pubnames BLOCK(__section_alignment__) (NOLOAD) :
45 {
46 *(.debug_pubnames)
47 }
48 .debug_pubtypes BLOCK(__section_alignment__) (NOLOAD) :
49 {
50 *(.debug_pubtypes)
51 }
52 /* DWARF 2. */
53 .debug_info BLOCK(__section_alignment__) (NOLOAD) :
54 {
55 *(.debug_info .gnu.linkonce.wi.*)
56 }
57 .debug_abbrev BLOCK(__section_alignment__) (NOLOAD) :
58 {
59 *(.debug_abbrev)
60 }
61 .debug_line BLOCK(__section_alignment__) (NOLOAD) :
62 {
63 *(.debug_line)
64 }
65 .debug_frame BLOCK(__section_alignment__) (NOLOAD) :
66 {
67 *(.debug_frame*)
68 }
69 .debug_str BLOCK(__section_alignment__) (NOLOAD) :
70 {
71 *(.debug_str)
72 }
73 .debug_loc BLOCK(__section_alignment__) (NOLOAD) :
74 {
75 *(.debug_loc)
76 }
77 .debug_macinfo BLOCK(__section_alignment__) (NOLOAD) :
78 {
79 *(.debug_macinfo)
80 }
81 /* SGI/MIPS DWARF 2 extensions. */
82 .debug_weaknames BLOCK(__section_alignment__) (NOLOAD) :
83 {
84 *(.debug_weaknames)
85 }
86 .debug_funcnames BLOCK(__section_alignment__) (NOLOAD) :
87 {
88 *(.debug_funcnames)
89 }
90 .debug_typenames BLOCK(__section_alignment__) (NOLOAD) :
91 {
92 *(.debug_typenames)
93 }
94 .debug_varnames BLOCK(__section_alignment__) (NOLOAD) :
95 {
96 *(.debug_varnames)
97 }
98 .debug_macro BLOCK(__section_alignment__) (NOLOAD) :
99 {
100 *(.debug_macro)
101 }
102 /* DWARF 3. */
103 .debug_ranges BLOCK(__section_alignment__) (NOLOAD) :
104 {
105 *(.debug_ranges)
106 }
107 /* DWARF 4. */
108 .debug_types BLOCK(__section_alignment__) (NOLOAD) :
109 {
110 *(.debug_types .gnu.linkonce.wt.*)
111 }
112
113 /DISCARD/ :
114 {
115 *(*)
116 }
117 }