Kyle McMartin wrote: > On Sat, Jul 19, 2008 at 12:11:01AM +0200, Helge Deller wrote: >> - only integer parameters allowed (but that's usual on most arches) >> - 32bit userspace implementation only >> - do I need to save the FP regs? >> - maybe more? >> >> Any feedback is very much appreciated. >> (Please be kind, my hppa assembler knowledge isn't that good) >> > > You probably need to save fpregs as well, but you could just steal all > that from setjmp (ordering matters with fprs.) Thanks Kyle! Attached is an updated patch, which - saves and restores the FP regs - passes glibc's stdlib/tst-setcontext.c test Helge