* init.cc (search_for): Put this in shared section or suffer subtle problems

with the tls.
* pinfo.cc (status_exit): Add debug output to report on unexpected exit.
* tls_pbuf.cc (tmp_pathbuf::c_get): Add more details to internal error.
This commit is contained in:
Christopher Faylor
2010-12-12 05:48:29 +00:00
parent d7b90bae79
commit f646aeb049
4 changed files with 10 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ details. */
static DWORD _my_oldfunc;
static char NO_COPY *search_for = (char *) cygthread::stub;
static char *search_for __attribute__((section (".cygwin_dll_common"), shared)) = (char *) cygthread::stub;
unsigned threadfunc_ix[8] __attribute__((section (".cygwin_dll_common"), shared));
static bool dll_finished_loading;