Install msysDVLPR-1.0.0-alpha-1
[msysgit.git] / i686-pc-msys / lib / ldscripts / i386pe.xr
blob8f968298417e82c637b173d8dfc03897eaab1b2a
1 OUTPUT_FORMAT(pe-i386)
2 SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/lib/w32api); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/i686-pc-msys/lib);
3 ENTRY(_mainCRTStartup)
4 SECTIONS
6   .text  : 
7   {
8     *(.text)
9     *(.glue_7t)
10     *(.glue_7)
11     /* ??? Why is .gcc_exc here?  */
12     *(.gcc_except_table)
13   }
14   /* The Cygwin32 library uses a section to avoid copying certain data
15      on fork.  This used to be named ".data".  The linker used
16      to include this between __data_start__ and __data_end__, but that
17      breaks building the cygwin32 dll.  Instead, we name the section
18      ".data_cygwin_nocopy" and explictly include it after __data_end__. */
19   .data  : 
20   {
21     *(.data)
22     *(.data2)
23   }
24   .rdata  :
25   {
26     *(.rdata)
27     *(.eh_frame)
28   }
29   .pdata  :
30   {
31     *(.pdata)
32   }
33   .bss  :
34   {
35     *(.bss)
36     *(COMMON)
37   }
38   .edata  :
39   {
40     *(.edata)
41   }
42   /DISCARD/ :
43   {
44     *(.debug$S)
45     *(.debug$T)
46     *(.debug$F)
47     *(.drectve)
48   }
49   .idata  :
50   {
51     /* This cannot currently be handled with grouped sections.
52         See pe.em:sort_sections.  */
53   }
54   .CRT  :
55   {                                     
56   }
57   .endjunk  :
58   {
59     /* end is deprecated, don't use it */
60   }
61   .rsrc  :
62   {                                     
63     *(.rsrc)
64   }
65   .reloc  :
66   {                                     
67     *(.reloc)
68   }
69   .stab   :
70   {
71     [ .stab ]
72   }
73   .stabstr   :
74   {
75     [ .stabstr ]
76   }