diff options
author | Christopher Faylor <me@cgf.cx> | 2010-12-12 08:48:29 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-12-12 08:48:29 +0300 |
commit | f646aeb049c3ea0f157337484907f984746f4648 (patch) | |
tree | 5f5201acadd421ac8ad827ea660e161d0c7349cf /winsup/cygwin/init.cc | |
parent | d7b90bae797bd70222b29ee644d7145f7ebb8631 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r-- | winsup/cygwin/init.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc index 0f6b67e88..fab71ba27 100644 --- a/winsup/cygwin/init.cc +++ b/winsup/cygwin/init.cc @@ -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; |