[FREELDR]
[reactos.git] / reactos / boot / freeldr / freeldr / freeldr_arm.lds
1 OUTPUT_FORMAT(pei-arm-wince-little)
2 SECTIONS
3 {
4 .text __image_base__ + __section_alignment__ :
5 {
6 __text_start__ = .;
7 *(.init)
8 *(.text)
9 *(SORT(.text$*))
10 *(.glue_7t)
11 *(.glue_7)
12 ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
13 LONG (-1); *(.ctors); *(.ctor); LONG (0);
14 ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
15 LONG (-1); *(.dtors); *(.dtor); LONG (0);
16 *(.fini)
17 /* ??? Why is .gcc_exc here? */
18 *(.gcc_exc)
19 __text_end__ = .;
20 *(.gcc_except_table)
21 }
22 init BLOCK(__section_alignment__) :
23 {
24 __init_start__ = . ;
25 *(init)
26 __init_end__ = . ;
27 }
28 .data BLOCK(__section_alignment__) :
29 {
30 __data_start__ = . ;
31 *(.data)
32 *(.data2)
33 *(SORT(.data$*))
34 __data_end__ = . ;
35 __bss_start__ = . ;
36 *(.bss)
37 *(COMMON)
38 __bss_end__ = . ;
39 }
40 .rdata BLOCK(__section_alignment__) :
41 {
42 *(.rdata)
43 *(SORT(.rdata$*))
44 *(.eh_frame)
45 }
46 /DISCARD/ :
47 {
48 [ .stab ]
49 [ .stabstr ]
50 *(.reloc)
51 }
52
53 }
54