diff options
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/cygwin.sc | 4 | ||||
-rw-r--r-- | winsup/cygwin/init.cc | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 43f483b10..eb1c6b2b5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2005-06-09 Christopher Faylor <cgf@timesys.com> + * cygwin.sc: Place .cygwin_dll_common. + * init.cc (threadfunc_ix): Use a more common name for the section name. + +2005-06-09 Christopher Faylor <cgf@timesys.com> + * include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default. diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc index 83b280f49..598690f22 100644 --- a/winsup/cygwin/cygwin.sc +++ b/winsup/cygwin/cygwin.sc @@ -81,6 +81,10 @@ SECTIONS . = ALIGN(16); __cygheap_start = ABSOLUTE(.); } + .cygwin_dll_common ALIGN(__section_alignment__): + { + *(.cygwin_dll_common) + } .cygheap ALIGN(__section_alignment__): { __cygheap_mid = .; diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc index a0d34f51a..ed849b11b 100644 --- a/winsup/cygwin/init.cc +++ b/winsup/cygwin/init.cc @@ -18,7 +18,7 @@ details. */ int NO_COPY dynamically_loaded; static char *search_for = (char *) cygthread::stub; -unsigned threadfunc_ix[8] __attribute__((section ("cygwin_dll_common"), shared)); +unsigned threadfunc_ix[8] __attribute__((section (".cygwin_dll_common"), shared)); DWORD tls_func; HANDLE sync_startup; |