* cygwin.sc: Place .cygwin_dll_common.

* init.cc (threadfunc_ix): Use a more common name for the section name.
This commit is contained in:
Christopher Faylor 2005-06-09 19:29:27 +00:00
parent 8891625cbf
commit 0acb042081
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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 = .;

View File

@ -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;