Missing file
[reactos.git] / reactos / ntoskrnl / ntoskrnl.dbg.lnk
1 OUTPUT_FORMAT(pei-i386)
2 ENTRY(_mainCRTStartup)
3 SECTIONS
4 {
5 /DISCARD/ :
6 {
7 *(.init)
8 *(.text)
9 *(SORT(.text$*))
10 *(.glue_7t)
11 *(.glue_7)
12 *(.fini)
13 /* ??? Why is .gcc_exc here? */
14 *(.gcc_exc)
15 *(.gcc_except_table)
16 }
17 /* The Cygwin32 library uses a section to avoid copying certain data
18 on fork. This used to be named ".data". The linker used
19 to include this between __data_start__ and __data_end__, but that
20 breaks building the cygwin32 dll. Instead, we name the section
21 ".data_cygwin_nocopy" and explictly include it after __data_end__. */
22 /DISCARD/ :
23 {
24 *(.data)
25 *(.data2)
26 *(SORT(.data$*))
27 *(.data_cygwin_nocopy)
28 }
29 /DISCARD/ :
30 {
31 *(.rdata)
32 *(SORT(.rdata$*))
33 *(.eh_frame)
34 }
35 /DISCARD/ :
36 {
37 *(.edata)
38 }
39 /DISCARD/ :
40 {
41 *(.debug$S)
42 *(.debug$T)
43 *(.debug$F)
44 *(.drectve)
45 }
46 /DISCARD/ :
47 {
48 /* This cannot currently be handled with grouped sections.
49 See pe.em:sort_sections. */
50 SORT(*)(.idata$2)
51 SORT(*)(.idata$3)
52 /* These zeroes mark the end of the import list. */
53 /* LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);*/
54 SORT(*)(.idata$4)
55 SORT(*)(.idata$5)
56 SORT(*)(.idata$6)
57 SORT(*)(.idata$7)
58 }
59 /DISCARD/ :
60 {
61 *(SORT(.CRT$*))
62 }
63 /DISCARD/ :
64 {
65 *(.rsrc)
66 *(SORT(.rsrc$*))
67 }
68 /DISCARD/ :
69 {
70 *(.bss)
71 *(COMMON)
72 }
73 /DISCARD/ :
74 {
75 *(.reloc)
76 }
77 .stab BLOCK(__section_alignment__) (NOLOAD) :
78 {
79 [ .stab ]
80 }
81 .stabstr BLOCK(__section_alignment__) (NOLOAD) :
82 {
83 [ .stabstr ]
84 }
85 }
86