>>>>> OKUJI Yoshinori writes:

 OY>   As long as I know, if you don't use any variable on a stack in
 OY> the function where the stack pointer is changed, that's safe. For
 OY> example, this below works correctly:

Thanks!

I found out that the main problem was I applied RAW_ADDR twice to
PROTSTACKINIT.  Using a nested function helped prevent GCC from
clobbering %sp while I was changing it, too.  So, the stack switch now
works... I just need to do some debugging in order for it to be
useful.

-- 
 Gordon Matzigkeit <[EMAIL PROTECTED]>  //\ I'm a FIG (http://www.fig.org/)
Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)

Reply via email to