* libc/machine/rl78/setjmp.S: Add RL78/G10 support.
This commit is contained in:
parent
09a7cdcc4b
commit
0f05e4b24f
|
@ -1,3 +1,7 @@
|
|||
2014-04-09 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* libc/machine/rl78/setjmp.S: Add RL78/G10 support.
|
||||
|
||||
2014-04-04 Ashish Kapania <akapania@ti.com>
|
||||
|
||||
* configure.host (sys_dir, newlib_cflags): Set sys_dir to tirtos and use
|
||||
|
|
|
@ -30,6 +30,26 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
*/
|
||||
|
||||
#ifdef __RL78_G10__
|
||||
; clobberable
|
||||
r8 = 0xffec8
|
||||
r9 = 0xffec9
|
||||
r10 = 0xffeca
|
||||
r11 = 0xffecb
|
||||
r12 = 0xffecc
|
||||
r13 = 0xffecd
|
||||
r14 = 0xffece
|
||||
r15 = 0xffecf
|
||||
; preserved
|
||||
r16 = 0xffed0
|
||||
r17 = 0xffed1
|
||||
r18 = 0xffed2
|
||||
r19 = 0xffed3
|
||||
r20 = 0xffed4
|
||||
r21 = 0xffed5
|
||||
r22 = 0xffed6
|
||||
r23 = 0xffed7
|
||||
#else
|
||||
; clobberable
|
||||
r8 = 0xffef0
|
||||
r9 = 0xffef1
|
||||
|
@ -48,6 +68,7 @@ r20 = 0xffeec
|
|||
r21 = 0xffeed
|
||||
r22 = 0xffeee
|
||||
r23 = 0xffeef
|
||||
#endif
|
||||
|
||||
/* The jump buffer has the following structure:
|
||||
R0 .. R23 3*8 bytes
|
||||
|
|
Loading…
Reference in New Issue