* 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.
This commit is contained in:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user