* signal.cc (_raise): New function.
* exceptions.cc (unused_sig_wrapper): Remove _raise. * sigproc.h (class sigframe): Default frames to skip to zero or suffer from exuberant optimization. * fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile to pipe fails.
This commit is contained in:
@ -1074,18 +1074,6 @@ void unused_sig_wrapper ()
|
||||
and returns to orignal caller. */
|
||||
__asm__ volatile ("
|
||||
.text
|
||||
.globl __raise
|
||||
__raise:
|
||||
pushl %%ebp
|
||||
movl %%esp,%%ebp
|
||||
movl 8(%%ebp),%%eax
|
||||
pushl %%eax
|
||||
movl $_myself,%%eax
|
||||
pushl %6(%%eax)
|
||||
call __kill
|
||||
mov %%ebp,%%esp
|
||||
popl %%ebp
|
||||
ret
|
||||
|
||||
_sigreturn:
|
||||
addl $4,%%esp
|
||||
|
Reference in New Issue
Block a user