Mercurial > ecos-v3_0-branch
diff packages/language/c/libc/startup/current/src/cstartup.cxx @ 2427:9b5bc3c72ac4
* src/cstartup.cxx: Change the INIT priority of
cyg_libc_startup_obj so that it is always called after the thread
has been constructed. Reported by taiyun@sunnorth.com.cn
| author | asl |
|---|---|
| date | Tue, 11 Sep 2007 16:50:54 +0000 |
| parents | d2c90368aeef |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- a/packages/language/c/libc/startup/current/src/cstartup.cxx +++ b/packages/language/c/libc/startup/current/src/cstartup.cxx @@ -104,7 +104,7 @@ public: }; static cyg_libc_startup_dummy_constructor_class cyg_libc_startup_obj - CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_LIBC); + CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_LIBC); #elif defined( CYGSEM_LIBC_STARTUP_MAIN_INITCONTEXT )
