Go in gcc 4.7
Ian Lance Taylor
iant@google.com
Thu Jan 12 18:38:00 GMT 2012
Joel Sherrill <joel.sherrill@oarcorp.com> writes:
> FWIW Go used to work well on RTEMS but recent changes have added
> to the required set of OS APIs required and we are missing ucontext.h
> currently. If someone wants to volunteer to help us out on implementing
> that, it would be appreciated.
I'd be happy to describe what is needed but I can't help much with the
actual implementation.
The functions required are makecontext, getcontext, and setcontext.
These are standard System V functions. makecontext sets up a new
execution context: basically, a stack and a PC, which will start running
when something calls setcontext. getcontext is basically setjmp.
setcontext is basically longjmp.
Ian
More information about the Gcc
mailing list