Fix code generation about __INIT_GLOBAL_LOCATED.
authorConti Manuele <manuele.conti@alice.it>
Tue, 24 Apr 2012 16:49:43 +0200
changeset 537 199bdfe36166
parent 536 563b013ec670
child 538 06cc7500500d
Fix code generation about __INIT_GLOBAL_LOCATED.
stage4/generate_c/generate_c.cc
--- a/stage4/generate_c/generate_c.cc	Wed Apr 25 16:56:25 2012 +0100
+++ b/stage4/generate_c/generate_c.cc	Tue Apr 24 16:49:43 2012 +0200
@@ -1674,7 +1674,8 @@
   s4o.print(s4o.indent_spaces);
   vardecl = new generate_c_vardecl_c(&s4o,
                                      generate_c_vardecl_c::constructorinit_vf,
-                                     generate_c_vardecl_c::global_vt);
+                                     generate_c_vardecl_c::global_vt,
+                                     symbol->configuration_name);
   vardecl->print(symbol);
   delete vardecl;
   s4o.print("\n");