diff options
author | Christopher Faylor <me@cgf.cx> | 2005-06-09 19:29:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-06-09 19:29:27 +0000 |
commit | 0acb04208144d3486901d0f25b0dfe3892fc5b88 (patch) | |
tree | 868fdef2e7c58fa426e306be5599dbb0957b1cb7 | |
parent | 8891625cbfcf944d542a0a511279693e022713e8 (diff) | |
download | newlib-0acb04208144d3486901d0f25b0dfe3892fc5b88.zip newlib-0acb04208144d3486901d0f25b0dfe3892fc5b88.tar.gz newlib-0acb04208144d3486901d0f25b0dfe3892fc5b88.tar.bz2 |
* cygwin.sc: Place .cygwin_dll_common.
* init.cc (threadfunc_ix): Use a more common name for the section name.
-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 43f483b..eb1c6b2 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 83b280f..598690f 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 a0d34f5..ed849b1 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; |