dd06381996
(set_signal_arrived::~set_signal_arrived): Use reset_signal_arrived to reset state. * exceptions.cc (sig_handle_tty_stop): Use WAIT_SIGNALED rather than assume we know the return from cancelable_wait. (_cygtls::interrupt_setup): Modify to allow calling when executing in non-cygwin code via sigdelayed. Always reset signal_arrived. * gendef: Throughout use start_offset rather than the completely wrong sizeof__cygtls. (_sigdelayed): Rewrite to avoid duplication when calling the signal handler. (sigreturn): Delete. * gentls_offsets: Define start_offset rather than sizeof__cygtls. * tlsoffsets.h: Regenerate.
118 lines
3.3 KiB
C
118 lines
3.3 KiB
C
//;# autogenerated: Do not edit.
|
|
|
|
//; $tls::start_offset = -12700;
|
|
//; $tls::locals = -12700;
|
|
//; $tls::plocals = 0;
|
|
//; $tls::local_clib = -11236;
|
|
//; $tls::plocal_clib = 1464;
|
|
//; $tls::__dontuse = -11236;
|
|
//; $tls::p__dontuse = 1464;
|
|
//; $tls::func = -10148;
|
|
//; $tls::pfunc = 2552;
|
|
//; $tls::saved_errno = -10144;
|
|
//; $tls::psaved_errno = 2556;
|
|
//; $tls::sa_flags = -10140;
|
|
//; $tls::psa_flags = 2560;
|
|
//; $tls::oldmask = -10136;
|
|
//; $tls::poldmask = 2564;
|
|
//; $tls::deltamask = -10132;
|
|
//; $tls::pdeltamask = 2568;
|
|
//; $tls::errno_addr = -10128;
|
|
//; $tls::perrno_addr = 2572;
|
|
//; $tls::sigmask = -10124;
|
|
//; $tls::psigmask = 2576;
|
|
//; $tls::sigwait_mask = -10120;
|
|
//; $tls::psigwait_mask = 2580;
|
|
//; $tls::sigwait_info = -10116;
|
|
//; $tls::psigwait_info = 2584;
|
|
//; $tls::signal_arrived = -10112;
|
|
//; $tls::psignal_arrived = 2588;
|
|
//; $tls::signal_waiting = -10108;
|
|
//; $tls::psignal_waiting = 2592;
|
|
//; $tls::thread_context = -10104;
|
|
//; $tls::pthread_context = 2596;
|
|
//; $tls::thread_id = -9892;
|
|
//; $tls::pthread_id = 2808;
|
|
//; $tls::infodata = -9888;
|
|
//; $tls::pinfodata = 2812;
|
|
//; $tls::tid = -9740;
|
|
//; $tls::ptid = 2960;
|
|
//; $tls::_ctinfo = -9736;
|
|
//; $tls::p_ctinfo = 2964;
|
|
//; $tls::andreas = -9732;
|
|
//; $tls::pandreas = 2968;
|
|
//; $tls::wq = -9728;
|
|
//; $tls::pwq = 2972;
|
|
//; $tls::sig = -9700;
|
|
//; $tls::psig = 3000;
|
|
//; $tls::incyg = -9696;
|
|
//; $tls::pincyg = 3004;
|
|
//; $tls::spinning = -9692;
|
|
//; $tls::pspinning = 3008;
|
|
//; $tls::stacklock = -9688;
|
|
//; $tls::pstacklock = 3012;
|
|
//; $tls::stackptr = -9684;
|
|
//; $tls::pstackptr = 3016;
|
|
//; $tls::stack = -9680;
|
|
//; $tls::pstack = 3020;
|
|
//; $tls::initialized = -8656;
|
|
//; $tls::pinitialized = 4044;
|
|
//; __DATA__
|
|
|
|
#define tls_locals (-12700)
|
|
#define tls_plocals (0)
|
|
#define tls_local_clib (-11236)
|
|
#define tls_plocal_clib (1464)
|
|
#define tls___dontuse (-11236)
|
|
#define tls_p__dontuse (1464)
|
|
#define tls_func (-10148)
|
|
#define tls_pfunc (2552)
|
|
#define tls_saved_errno (-10144)
|
|
#define tls_psaved_errno (2556)
|
|
#define tls_sa_flags (-10140)
|
|
#define tls_psa_flags (2560)
|
|
#define tls_oldmask (-10136)
|
|
#define tls_poldmask (2564)
|
|
#define tls_deltamask (-10132)
|
|
#define tls_pdeltamask (2568)
|
|
#define tls_errno_addr (-10128)
|
|
#define tls_perrno_addr (2572)
|
|
#define tls_sigmask (-10124)
|
|
#define tls_psigmask (2576)
|
|
#define tls_sigwait_mask (-10120)
|
|
#define tls_psigwait_mask (2580)
|
|
#define tls_sigwait_info (-10116)
|
|
#define tls_psigwait_info (2584)
|
|
#define tls_signal_arrived (-10112)
|
|
#define tls_psignal_arrived (2588)
|
|
#define tls_signal_waiting (-10108)
|
|
#define tls_psignal_waiting (2592)
|
|
#define tls_thread_context (-10104)
|
|
#define tls_pthread_context (2596)
|
|
#define tls_thread_id (-9892)
|
|
#define tls_pthread_id (2808)
|
|
#define tls_infodata (-9888)
|
|
#define tls_pinfodata (2812)
|
|
#define tls_tid (-9740)
|
|
#define tls_ptid (2960)
|
|
#define tls__ctinfo (-9736)
|
|
#define tls_p_ctinfo (2964)
|
|
#define tls_andreas (-9732)
|
|
#define tls_pandreas (2968)
|
|
#define tls_wq (-9728)
|
|
#define tls_pwq (2972)
|
|
#define tls_sig (-9700)
|
|
#define tls_psig (3000)
|
|
#define tls_incyg (-9696)
|
|
#define tls_pincyg (3004)
|
|
#define tls_spinning (-9692)
|
|
#define tls_pspinning (3008)
|
|
#define tls_stacklock (-9688)
|
|
#define tls_pstacklock (3012)
|
|
#define tls_stackptr (-9684)
|
|
#define tls_pstackptr (3016)
|
|
#define tls_stack (-9680)
|
|
#define tls_pstack (3020)
|
|
#define tls_initialized (-8656)
|
|
#define tls_pinitialized (4044)
|