* cygwin.sc: Add recent changes from ld sources.

* winsup.h: Move #ifdef EXPCGF code into "winbase.h".
* winbase.h: #ifdef EXPCGF code moved here from "winsup.h".
This commit is contained in:
Christopher Faylor 2002-06-23 18:55:23 +00:00
parent f6709c07db
commit 6bda8defe9
4 changed files with 18 additions and 9 deletions

View File

@ -1,3 +1,12 @@
2002-06-23 Christopher Faylor <cgf@redhat.com>
* cygwin.sc: Add recent changes from ld sources.
2002-06-23 Conrad Scott <conrad.scott@dsl.pipex.com>
* winsup.h: Move #ifdef EXPCGF code into "winbase.h".
* winbase.h: #ifdef EXPCGF code moved here from "winsup.h".
2002-06-12 Thomas Pfaff <tpfaff@gmx.net> 2002-06-12 Thomas Pfaff <tpfaff@gmx.net>
* thread.h (pthread::cleanup_stack): Renamed cleanup_handlers to * thread.h (pthread::cleanup_stack): Renamed cleanup_handlers to

View File

@ -11,9 +11,9 @@ SECTIONS
*(.glue_7t) *(.glue_7t)
*(.glue_7) *(.glue_7)
___CTOR_LIST__ = .; __CTOR_LIST__ = . ; ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
LONG (-1); *(.ctors); *(.ctor); LONG (0); LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0);
___DTOR_LIST__ = .; __DTOR_LIST__ = . ; ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
LONG (-1); *(.dtors); *(.dtor); LONG (0); LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0);
*(.fini) *(.fini)
/* ??? Why is .gcc_exc here? */ /* ??? Why is .gcc_exc here? */
*(.gcc_exc) *(.gcc_exc)

View File

@ -1,5 +1,12 @@
#include_next "winbase.h" #include_next "winbase.h"
#ifdef EXPCGF
#define DECLARE_TLS_STORAGE char **tls[4096] __attribute__ ((unused))
#else
#define DECLARE_TLS_STORAGE do {} while (0)
#define _WINBASE2_H
#endif
#ifndef _WINBASE2_H #ifndef _WINBASE2_H
#define _WINBASE2_H #define _WINBASE2_H

View File

@ -25,13 +25,6 @@ details. */
#define NO_COPY __attribute__((nocommon)) __attribute__((section(".data_cygwin_nocopy"))) #define NO_COPY __attribute__((nocommon)) __attribute__((section(".data_cygwin_nocopy")))
#ifdef EXPCGF
#define DECLARE_TLS_STORAGE char **tls[4096] __attribute__ ((unused))
#else
#define DECLARE_TLS_STORAGE do {} while (0)
#define _WINBASE2_H
#endif
#ifdef __cplusplus #ifdef __cplusplus
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199900L #if !defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199900L