[PATCH 1/1] Use register g1 instead of g6 in sparc/setjmp.S
Thu May 15 13:14:00 GMT 2014
On May 15 10:45, Daniel Cederman wrote:
> The SPARC ABI reserves the use of register g6 to the operating system. RTEMS is of late using g6 to keep track of per CPU data. This conflicts with its use in longjmp. Register g1 (or one of the out registers) is more suited for the temporary storage of data in longjmp.
> Best regards,
> 2014-05-15 Daniel Cederman <...>
> * libc/machine/sparc/setjmp.S (longjmp): Use register g1 instead of g6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Newlib