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