Also call the initialization function of an executable's image. I don't know for what reason it wasn't done before, but not doing it at all breaks C++ exceptions.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10950 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-01-22 17:29:40 +00:00
parent 3e35b88903
commit 14a8f01955
+1 -1
View File
@@ -1189,7 +1189,7 @@ load_program(char const *path, void **_entry)
FATAL(!relocate_success, "troubles relocating\n");
}
init_dependencies(gLoadedImages.head, false);
init_dependencies(gLoadedImages.head, true);
remap_images();
// ToDo: once setup_system_time() is fixed, move this one line higher!