[FAST486][NTVDM]
[reactos.git] / global.lds
index 70cf314..d5919bf 100644 (file)
-OUTPUT_FORMAT(pei-i386)
-SECTIONS
-{
-  .text  __image_base__ + __section_alignment__  : 
-  {
-    __text_start__ = .;
-    *(.init)
-    *(.text)
-    *(SORT(.text$*))
-    *(.glue_7t)
-    *(.glue_7)
-    *(.jcr)
-     ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
-                       LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*)); LONG (0); 
-     ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
-                       LONG (-1);*(.dtors); *(.dtor); *(SORT(.dtors.*)); LONG (0); 
-     *(.fini)
-     *(.gcc_exc)
-     __text_end__ = .;
-    *(.gcc_except_table)
-  }
-  init BLOCK(__section_alignment__) :
-  {
-    __init_start__ = . ;
-    *(init)
-    __init_end__ = . ;
-  }
-  .data BLOCK(__section_alignment__) : 
-  {
-    __data_start__ = . ;
-    *(.data)
-    *(.data2)
-    *(SORT(.data$*))
-    __data_end__ = . ;
-    __bss_start__ = . ;
-    *(.bss)
-    *(COMMON)
-    __bss_end__ = . ;
-    *(SORT(.CRT$*))
-  }
-  .rdata BLOCK(__section_alignment__) :
-  {
-    *(.rdata)
-    *(SORT(.rdata$*))
-    *(.eh_frame)
-  }
-  .edata BLOCK(__section_alignment__) :   {     *(.edata)   }
-  .idata BLOCK(__section_alignment__) :
-  {
-    /* This cannot currently be handled with grouped sections.
-       See pe.em:sort_sections.  */
-    SORT(*)(.idata$2)
-    SORT(*)(.idata$3)
-    /* These zeroes mark the end of the import list.  */
-    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
-    SORT(*)(.idata$4)  
-    SORT(*)(.idata$5)
-    SORT(*)(.idata$6)
-    SORT(*)(.idata$7)
-  }
-  .tls BLOCK(__section_alignment__) :
-  {
-    *(.tls)
-    *(.tls$)
-    *(SORT(.tls$*))
-   }
-  /DISCARD/ :
-  {
-    *(.debug$S)
-    *(.debug$T)
-    *(.debug$F)
-    *(.drectve)
-       *(.debug_loc)
-       *(.debug_ranges)
-       *(.debug_aranges)
-       *(.debug_str)
-       *(.debug_frame)
-       *(.debug_pubnames)
-       *(.debug_pubtypes)
-       *(.gnu.linkonce.wt.*)
-  }
-  .rsrc BLOCK(__section_alignment__) :
-  {                                    
-    *(.rsrc)
-    *(SORT(.rsrc$*))
-  }
-  .reloc BLOCK(__section_alignment__) :
-  {                                    
-    *(.reloc)
-  }
-  .debug_info BLOCK(__section_alignment__) (NOLOAD) :
-  {
-    [ .debug_info ]
-  }
-  .debug_abbrev BLOCK(__section_alignment__) (NOLOAD) :
-  {
-    [ .debug_abbrev ]
-  }
-  .debug_line BLOCK(__section_alignment__) (NOLOAD) :
-  {
-    [ .debug_line ]
-  }
+OUTPUT_FORMAT(pei-i386)\r
+SECTIONS\r
+{\r
+  .text  __image_base__ + __section_alignment__  : \r
+  {\r
+    __text_start__ = .;\r
+    *(.init)\r
+    *(.text)\r
+    *(SORT(.text$*))\r
+    *(.glue_7t)\r
+    *(.glue_7)\r
+    *(.jcr)\r
+     ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; \r
+                       LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*)); LONG (0); \r
+     ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; \r
+                       LONG (-1);*(.dtors); *(.dtor); *(SORT(.dtors.*)); LONG (0); \r
+     *(.fini)\r
+     *(.gcc_exc)\r
+     __text_end__ = .;\r
+    *(.gcc_except_table)\r
+  }\r
+  init BLOCK(__section_alignment__) :\r
+  {\r
+    __init_start__ = . ;\r
+    *(init)\r
+    __init_end__ = . ;\r
+  }\r
+  .data BLOCK(__section_alignment__) : \r
+  {\r
+    __data_start__ = . ;\r
+    *(.data)\r
+    *(.data2)\r
+    *(SORT(.data$*))\r
+    __data_end__ = . ;\r
+    __bss_start__ = . ;\r
+    *(.bss)\r
+    *(COMMON)\r
+    __bss_end__ = . ;\r
+    *(SORT(.CRT$*))\r
+  }\r
+  .rdata BLOCK(__section_alignment__) :\r
+  {\r
+    *(.rdata)\r
+    *(SORT(.rdata$*))\r
+    *(.eh_frame)\r
+  }\r
+  .edata BLOCK(__section_alignment__) :   {     *(.edata)   }\r
+  .idata BLOCK(__section_alignment__) :\r
+  {\r
+    /* This cannot currently be handled with grouped sections.\r
+       See pe.em:sort_sections.  */\r
+    SORT(*)(.idata$2)\r
+    SORT(*)(.idata$3)\r
+    /* These zeroes mark the end of the import list.  */\r
+    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);\r
+    SORT(*)(.idata$4)  \r
+    SORT(*)(.idata$5)\r
+    SORT(*)(.idata$6)\r
+    SORT(*)(.idata$7)\r
+  }\r
+  .tls BLOCK(__section_alignment__) :\r
+  {\r
+    *(.tls)\r
+    *(.tls$)\r
+    *(SORT(.tls$*))\r
+   }\r
+  /DISCARD/ :\r
+  {\r
+    *(.debug$S)\r
+    *(.debug$T)\r
+    *(.debug$F)\r
+    *(.drectve)\r
+       *(.debug_loc)\r
+       *(.debug_ranges)\r
+       *(.debug_aranges)\r
+       *(.debug_str)\r
+       *(.debug_frame)\r
+       *(.debug_pubnames)\r
+       *(.debug_pubtypes)\r
+       *(.gnu.linkonce.wt.*)\r
+  }\r
+  .rsrc BLOCK(__section_alignment__) :\r
+  {                                    \r
+    *(.rsrc)\r
+    *(SORT(.rsrc$*))\r
+  }\r
+  .reloc BLOCK(__section_alignment__) :\r
+  {                                    \r
+    *(.reloc)\r
+  }\r
+  .debug_info BLOCK(__section_alignment__) (NOLOAD) :\r
+  {\r
+    [ .debug_info ]\r
+  }\r
+  .debug_abbrev BLOCK(__section_alignment__) (NOLOAD) :\r
+  {\r
+    [ .debug_abbrev ]\r
+  }\r
+  .debug_line BLOCK(__section_alignment__) (NOLOAD) :\r
+  {\r
+    [ .debug_line ]\r
+  }\r
 }
\ No newline at end of file