]> sourceware.org Git - newlib-cygwin.git/commit
* dll_init.cc (dll_list::find_by_modname): New function to search the dll list
authorChristopher Faylor <me@cgf.cx>
Sat, 28 May 2011 20:17:09 +0000 (20:17 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 28 May 2011 20:17:09 +0000 (20:17 +0000)
commita92339ab635febf6ce9873fecca6f3d113dbb3b5
treed0fba808521f5ad5806afdaa0f1660a2407e6768
parent855108782321cee83378b069fe89343f191ba28c
* dll_init.cc (dll_list::find_by_modname): New function to search the dll list
for a module name only (no path).
(dll_list::alloc): Initialize newly-added members of struct dll.
(dll_list::append): New function to factor out the append operation
(used by dll_list::topsort).
(dll_list::populate_deps): New function to identify dll dependencies.
(dll_list::topsort): New function to sort the dll list topologically by
dependencies.
(dll_list::topsort_visit): New helper function for the above.
* dll_init.h (dll::ndeps): New class member.
(dll::deps): Ditto.
(dll::modname): Ditto.
(dll_list::find_by_modname): New function related to topsort.
(dll_list::populate_all_deps): Ditto.
(dll_list::populate_deps): Ditto.
(dll_list::topsort): Ditto.
(dll_list::topsort_visit): Ditto.
(dll_list::append): Ditto.
(pefile): New struct allowing simple introspection of dll images.
* fork.cc (fork): Topologically sort the dll list before forking.
winsup/cygwin/ChangeLog
winsup/cygwin/dll_init.cc
winsup/cygwin/dll_init.h
winsup/cygwin/fork.cc
This page took 0.030855 seconds and 5 git commands to generate.