diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/Versions | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/sys/ucontext.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/Versions b/sysdeps/unix/sysv/linux/mips/Versions index 11614a4cd5..519295ffa2 100644 --- a/sysdeps/unix/sysv/linux/mips/Versions +++ b/sysdeps/unix/sysv/linux/mips/Versions @@ -1,5 +1,8 @@ libc { GLIBC_2.0 { + # Needed by gcc: + _flush_cache; + # c* cachectl; cacheflush; diff --git a/sysdeps/unix/sysv/linux/mips/sys/ucontext.h b/sysdeps/unix/sysv/linux/mips/sys/ucontext.h index e9a4fbc366..84c6d02297 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/mips/sys/ucontext.h @@ -37,13 +37,15 @@ typedef unsigned long int greg_t; #define NFPREG 33 /* Container for all general registers. */ +typedef greg_t gregset_t[NGREG]; +/* gregset_t must be an array. The array correspondends to: typedef struct gregset { greg_t g_regs[32]; greg_t g_hi; greg_t g_lo; greg_t g_pad[3]; } gregset_t; - +*/ /* Container for all FPU registers. */ typedef struct fpregset { union { @@ -57,6 +59,7 @@ typedef struct fpregset { unsigned int fp_pad; } fpregset_t; + /* Context to describe whole processor state. */ typedef struct { |