diff options
author | Christopher Faylor <me@cgf.cx> | 2006-03-08 23:55:14 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-03-08 23:55:14 +0000 |
commit | 9aca6a48a57bca1a59a236cf6dd20c4da5f78fb2 (patch) | |
tree | 01d21a27df25f46260042121d190a6c38ab07e85 /winsup/cygwin/cygtls.h | |
parent | 6ca53189400aa2d4b12ccea4378f5b2ff759cf50 (diff) | |
download | cygnal-9aca6a48a57bca1a59a236cf6dd20c4da5f78fb2.tar.gz cygnal-9aca6a48a57bca1a59a236cf6dd20c4da5f78fb2.tar.bz2 cygnal-9aca6a48a57bca1a59a236cf6dd20c4da5f78fb2.zip |
* cygtls.h (_cygtls::retaddr): New method.
* dll_init.cc (cygwin_detach_dll): Use new tls function to find return address
since this function is now signal guarded.
(update_envptrs): Remove unneeded braces.
* syscalls.cc (statvfs): Coerce full_path to avoid a gcc warning.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 609eb9697..5e3155a76 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -183,6 +183,7 @@ struct _cygtls void remove (DWORD); void push (__stack_t) __attribute__ ((regparm (2))); __stack_t pop () __attribute__ ((regparm (1))); + __stack_t retaddr () {return stackptr[-1];} bool isinitialized () const {return initialized == CYGTLS_INITIALIZED;} bool interrupt_now (CONTEXT *, int, void *, struct sigaction&) __attribute__((regparm(3))); |