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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85330
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
;;