3 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2008,
6 This file is part of Cygwin.
8 This software is a copyrighted work licensed under the terms of the
9 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
21 int (*main)(int, char **, char **);
22 per_module &operator = (per_process *p)
27 data_start = p->data_start;
28 data_end = p->data_end;
29 bss_start = p->bss_start;
49 struct dll *next, *prev;
68 #define MAX_DLL_BEFORE_INIT 100
80 dll *operator [] (const PWCHAR name);
81 dll *alloc (HINSTANCE, per_process *, dll_type);
85 void load_after_fork (HANDLE);
88 while ((hold = hold->next))
89 if (hold_type == DLL_ANY || hold->type == hold_type)
93 dll *istart (dll_type t)
99 friend void dll_global_dtors ();
102 extern dll_list dlls;
103 void dll_global_dtors ();
105 /* These probably belong in a newlib header but we can keep them here
107 extern "C" int __cxa_atexit(void (*)(void*), void*, void*);
108 extern "C" int __cxa_finalize(void*);