Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use system malloc for the raw heap if GNU ld is used
[simgrid.git] / src / xbt / mmalloc / mm_module.c
index de1942a..07cbe7e 100644 (file)
@@ -330,6 +330,10 @@ void *mmalloc_preinit(void)
   }
   xbt_assert(__mmalloc_default_mdp != NULL);
 
+#if defined(HAVE_GNU_LD) && defined(MMALLOC_WANT_OVERRIDE_LEGACY)
+  mm_gnuld_legacy_init();
+#endif
+
   return __mmalloc_default_mdp;
 }