setjmp/longjmp saves only non-call clobbered regs
commit82cf6e18bc5e98fa203f98534bde1549a9263e4c
authorChristian Svensson <blue@cmd.nu>
Thu, 17 Jul 2014 22:27:58 +0000 (18 00:27 +0200)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Sat, 25 Nov 2017 16:46:25 +0000 (25 17:46 +0100)
treef1b5f33b9a7f6b1ccd90e945f092dcb5410cdd78
parent42329aab078bbfd7884c9abadf4617db64be21a2
setjmp/longjmp saves only non-call clobbered regs

Previously we saved everything, but we only need to save the registers
that are promised to be untouched by the setjmp call.
libc/sysdeps/linux/or1k/__longjmp.S
libc/sysdeps/linux/or1k/bits/setjmp.h
libc/sysdeps/linux/or1k/jmpbuf-offsets.h
libc/sysdeps/linux/or1k/setjmp.S