[PATCH] powerpc/setjmp: Improve RTEMS support

Corinna Vinschen vinschen@redhat.com
Mon Jan 10 09:21:09 GMT 2022


On Jan 10 09:02, Sebastian Huber wrote:
> For some RTEMS multilibs, the FPU and Altivec units are disabled during
> interrupt handling.  Do not save and restore the corresponding registers in
> this case.
> ---
>  newlib/libc/machine/powerpc/setjmp.S | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)

I can't judge the correctness of the approach, but I'm sure you tested
it, so feel free to push.


Thanks,
Corinna



More information about the Newlib mailing list