summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-12-09 20:02:05 +0000
committerRoland McGrath <roland@gnu.org>1994-12-09 20:02:05 +0000
commit6b09d66692018c6d4bd4169296976583a8605e62 (patch)
treebf4fd9bf30ac37ec08c30f99c289a1eb36fde6b9
parent654a1cf06f7d42ee1cdb852190f0399662adcbf8 (diff)
Use ENV[0].__jmpbuf[0].
-rw-r--r--sysdeps/alpha/setjmp_aux.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/sysdeps/alpha/setjmp_aux.c b/sysdeps/alpha/setjmp_aux.c
index 031c5a56db..f92517be92 100644
--- a/sysdeps/alpha/setjmp_aux.c
+++ b/sysdeps/alpha/setjmp_aux.c
@@ -39,32 +39,32 @@ int
__sigsetjmp_aux (sigjmp_buf env, int savemask, long int *sp, long int *fp)
{
/* Save the integer registers. */
- env[0].__9 = r9;
- env[0].__10 = r10;
- env[0].__11 = r11;
- env[0].__12 = r12;
- env[0].__13 = r13;
- env[0].__14 = r14;
+ env[0].__jmpbuf[0].__9 = r9;
+ env[0].__jmpbuf[0].__10 = r10;
+ env[0].__jmpbuf[0].__11 = r11;
+ env[0].__jmpbuf[0].__12 = r12;
+ env[0].__jmpbuf[0].__13 = r13;
+ env[0].__jmpbuf[0].__14 = r14;
#if 1 /* XXX */
/* Save the floating point registers. */
- env[0].__f2 = f2;
- env[0].__f3 = f3;
- env[0].__f4 = f4;
- env[0].__f5 = f5;
- env[0].__f6 = f6;
- env[0].__f7 = f7;
- env[0].__f8 = f8;
- env[0].__f9 = f9;
+ env[0].__jmpbuf[0].__f2 = f2;
+ env[0].__jmpbuf[0].__f3 = f3;
+ env[0].__jmpbuf[0].__f4 = f4;
+ env[0].__jmpbuf[0].__f5 = f5;
+ env[0].__jmpbuf[0].__f6 = f6;
+ env[0].__jmpbuf[0].__f7 = f7;
+ env[0].__jmpbuf[0].__f8 = f8;
+ env[0].__jmpbuf[0].__f9 = f9;
#endif
/* Save the return address of our caller, where longjmp will jump to. */
- env[0].__pc = retpc;
+ env[0].__jmpbuf[0].__pc = retpc;
/* Save the FP and SP of our caller. The __sigsetjmp entry point
simply puts these in the argument registers for us to fetch. */
- env[0].__fp = fp;
- env[0].__sp = sp;
+ env[0].__jmpbuf[0].__fp = fp;
+ env[0].__jmpbuf[0].__sp = sp;
/* Save the signal mask if requested. */
__sigjmp_save (env, savemask);