Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-05-29 00:27:56 +0400
committerChristopher Faylor <me@cgf.cx>2011-05-29 00:27:56 +0400
commit17a5c8c36ec36849772073b2cfa027aa347b48f2 (patch)
tree4411bd584e13e429ec240dbc1625a8798d9b88a4 /winsup/cygwin/dll_init.h
parenta92339ab635febf6ce9873fecca6f3d113dbb3b5 (diff)
* dll_init.cc (reserve_upto): Remove.
(release_upto): Ditto. (dll_list::reserve_space): New function to reserve space needed by DLL_LOAD dlls early in the fork process. (dll_list::load_after_fork): Rewrite to use recursion for tracking reservations made while trying to make dlls land where they belong. (dll_list::load_after_fork_impl): Ditto. (dll_list::alloc): Initialize image base field. * dll_init.h (struct dll_list): declare new functions. (dll::image_size): New member.
Diffstat (limited to 'winsup/cygwin/dll_init.h')
-rw-r--r--winsup/cygwin/dll_init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/dll_init.h b/winsup/cygwin/dll_init.h
index 3a9a5c4f0..3fbe8760f 100644
--- a/winsup/cygwin/dll_init.h
+++ b/winsup/cygwin/dll_init.h
@@ -52,6 +52,7 @@ struct dll
int count;
bool has_dtors;
dll_type type;
+ DWORD image_size;
long ndeps;
dll** deps;
PWCHAR modname;