diff runtime/internal/dmain2.d @ 577:68be7408a0db

Merge Dynamic_Ranges and Data_Proc_Maps from GDC runtime.
author Christian Kamm <kamm incasoftware de>
date Thu, 04 Sep 2008 18:57:03 +0200
parents 44f08170f4ef
children bb8d73e29324
line wrap: on
line diff
--- a/runtime/internal/dmain2.d	Thu Sep 04 17:59:01 2008 +0200
+++ b/runtime/internal/dmain2.d	Thu Sep 04 18:57:03 2008 +0200
@@ -15,6 +15,7 @@
     import tango.stdc.stddef;
     import tango.stdc.stdlib;
     import tango.stdc.string;
+    import memory;
 }
 
 version( Win32 )
@@ -89,6 +90,7 @@
 {
     _STI_monitor_staticctor();
     _STI_critical_init();
+    initStaticDataPtrs();
 }
 
 alias void delegate( Exception ) ExceptionHandler;
@@ -171,6 +173,7 @@
     debug(PRINTF) printf("main ctors\n");
     _STI_monitor_staticctor();
     _STI_critical_init();
+    initStaticDataPtrs();
 
     debug(PRINTF) printf("main args\n");
     version (Win32)