diff options
author | Christopher Faylor <me@cgf.cx> | 2006-05-25 02:33:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-05-25 02:33:13 +0000 |
commit | 38229bcdcf45221857163f39d865d1d5d113a9b7 (patch) | |
tree | 4a525ef2515e8ce1715ea075e12d34a55c198390 /winsup/cygwin/include/sys/cygwin.h | |
parent | 99fc5e10f338e668b85288366e03727157f23af5 (diff) | |
download | cygnal-38229bcdcf45221857163f39d865d1d5d113a9b7.tar.gz cygnal-38229bcdcf45221857163f39d865d1d5d113a9b7.tar.bz2 cygnal-38229bcdcf45221857163f39d865d1d5d113a9b7.zip |
* cygtls.cc (_cygtls::call): Call call2 using _my_tls.
(_cygtls::init_exception_handler): Always replace existing exception handler
with cygwin exception handler.
* cygtls.h (_cygtls::call2): Remove static designation.
* dcrto.cc (dll_crt0_1): Define in a way that allows calling via _cygtls::call.
(_initialize_main_tls): Delete.
(_dll_crt0): Call dll_crt0_1 via cygtls::call. Set _main_tls here.
* external.cc (cygwin_internal): Implement CW_CYGTLS_PADSIZE.
* include/sys/cygwin.h (CW_CYGTLS_PADSIZE): Define.
* tlsoffsets.h: Regenerate.
Diffstat (limited to 'winsup/cygwin/include/sys/cygwin.h')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 1380194fb..26bfee086 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -86,7 +86,8 @@ typedef enum CW_ARGV, CW_ENVP, CW_DEBUG_SELF, - CW_SYNC_WINENV + CW_SYNC_WINENV, + CW_CYGTLS_PADSIZE } cygwin_getinfo_types; #define CW_NEXTPID 0x80000000 /* or with pid to get next one */ |