Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-09 23:29:27 +0400
committerChristopher Faylor <me@cgf.cx>2005-06-09 23:29:27 +0400
commit0acb04208144d3486901d0f25b0dfe3892fc5b88 (patch)
tree868fdef2e7c58fa426e306be5599dbb0957b1cb7
parent8891625cbfcf944d542a0a511279693e022713e8 (diff)
* cygwin.sc: Place .cygwin_dll_common.
* init.cc (threadfunc_ix): Use a more common name for the section name.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/cygwin.sc4
-rw-r--r--winsup/cygwin/init.cc2
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;