In the signal trampoline, flush the register stack before calling

sigreturn. This appears to fix the last set of problems with csh.
This commit is contained in:
Doug Rabson 2001-10-22 19:43:05 +00:00
parent d17a8cacce
commit ab47b84778
2 changed files with 4 additions and 2 deletions

View File

@ -179,8 +179,9 @@ ENTRY(sigcode,0)
;;
alloc r14=ar.pfs,0,0,0,0 // discard call frame
;;
(p1) br.cond.sptk.few 2f // note: p1 is preserved
flushrs
;;
(p1) br.cond.sptk.few 2f // note: p1 is preserved
mov ar.rsc=0
add r8=UC_MCONTEXT_MC_AR_RNAT,r4 // address of mc_ar_rnat
;;

View File

@ -179,8 +179,9 @@ ENTRY(sigcode,0)
;;
alloc r14=ar.pfs,0,0,0,0 // discard call frame
;;
(p1) br.cond.sptk.few 2f // note: p1 is preserved
flushrs
;;
(p1) br.cond.sptk.few 2f // note: p1 is preserved
mov ar.rsc=0
add r8=UC_MCONTEXT_MC_AR_RNAT,r4 // address of mc_ar_rnat
;;