[PATCH, RFC] MIPS: Implement the getcontext API
Brian Foster
brian.foster@innova-card.com
Wed Mar 4 08:20:00 GMT 2009
On Tuesday 03 March 2009 17:56:25 David Daney wrote:
>[ ... ]
> When (and if) we move the sigreturn trampoline to a vdso we should be
> able to maintain the ABI.
it's more a matter of “when” rather than “if”.
there is still an intention here to use XI (we
have SmartMIPS), which requires not using the
signal (or FP) trampoline on the stack.
moving the signal trampoline to a vdso (which
is(? was?) called, maybe misleadingly, ‘vsyscall’,
on other architectures) is the obvious solution to
that part of the puzzle. and yes, it is possible
to maintain the ABI; the signal trampoline is still
also put on the stack, and modulo XI, would work if
used — the trampoline-on-stack is simply not used
if there is a vdso with the signal trampoline.
cheers!
-blf-
--
“How many surrealists does it take to | Brian Foster
change a lightbulb? Three. One calms | somewhere in south of France
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobil)!
with brightly-coloured machine tools.” | http://www.stopesso.com
More information about the Libc-ports
mailing list