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:
@@ -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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user