2002-04-16 Thomas Pfaff <tpfaff@gmx.net>

* dll_init.h (per_process::dtors_run): New member.
        * dll_init.cc (per_module::run_dtors): Run dtors only once.
        (dll::init): Initialize dtors_run flag.
This commit is contained in:
Robert Collins
2002-04-19 12:46:19 +00:00
parent e9f1cbd011
commit 4ce4e69db6
3 changed files with 14 additions and 0 deletions

View File

@ -13,6 +13,7 @@ struct per_module
char ***envptr;
void (**ctors)(void);
void (**dtors)(void);
bool dtors_run;
void *data_start;
void *data_end;
void *bss_start;