diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-03-20 10:27:55 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-03-20 10:27:55 +0000 |
commit | 53fcb885017b3c01e960c0ad68616dbad61f9192 (patch) | |
tree | 40aad834f2f55e947a3ed9d23d56faab3b9278d0 /sysdeps/mips/bits | |
parent | 7793bf7fd7409efaf9cdc8475404409d87c2c537 (diff) | |
download | glibc-53fcb885017b3c01e960c0ad68616dbad61f9192.tar glibc-53fcb885017b3c01e960c0ad68616dbad61f9192.tar.gz glibc-53fcb885017b3c01e960c0ad68616dbad61f9192.tar.bz2 glibc-53fcb885017b3c01e960c0ad68616dbad61f9192.zip |
* sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, including pc, gp, sp and fp, as long long. * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux. * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments. Add gp argument, and set gp in the jmpbuf to it. * sysdeps/mips/setjmp_aux.c: Revert to o32-only.
2003-03-20 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
including pc, gp, sp and fp, as long long.
* sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
* sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
Add gp argument, and set gp in the jmpbuf to it.
* sysdeps/mips/setjmp_aux.c: Revert to o32-only.
Diffstat (limited to 'sysdeps/mips/bits')
-rw-r--r-- | sysdeps/mips/bits/setjmp.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/sysdeps/mips/bits/setjmp.h b/sysdeps/mips/bits/setjmp.h index fa48676445..562c13243c 100644 --- a/sysdeps/mips/bits/setjmp.h +++ b/sysdeps/mips/bits/setjmp.h @@ -24,6 +24,7 @@ typedef struct { +#if _MIPS_SIM == _MIPS_SIM_ABI32 /* Program counter. */ __ptr_t __pc; @@ -31,17 +32,29 @@ typedef struct __ptr_t __sp; /* Callee-saved registers s0 through s7. */ -#if _MIPS_SIM == _MIPS_SIM_ABI32 int __regs[8]; -#else - __extension__ long long __regs[8]; -#endif /* The frame pointer. */ __ptr_t __fp; /* The global pointer. */ __ptr_t __gp; +#else + /* Program counter. */ + __extension__ long long __pc; + + /* Stack pointer. */ + __extension__ long long __sp; + + /* Callee-saved registers s0 through s7. */ + __extension__ long long __regs[8]; + + /* The frame pointer. */ + __extension__ long long __fp; + + /* The global pointer. */ + __extension__ long long __gp; +#endif /* Floating point status register. */ int __fpc_csr; |