[PATCH 1/1] Use register g1 instead of g6 in sparc/setjmp.S

Corinna Vinschen vinschen@redhat.com
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,
> Daniel
> 2014-05-15  Daniel Cederman  <...>
>     * libc/machine/sparc/setjmp.S (longjmp): Use register g1 instead of g6.

Patch applied.


Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20140515/e04fbb20/attachment.sig>

More information about the Newlib mailing list