* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for

gregset_t.

	* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
This commit is contained in:
Andreas Jaeger 2000-05-31 12:03:35 +00:00
parent 6d5a02529d
commit ba747ea161
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
libc {
GLIBC_2.0 {
# Needed by gcc:
_flush_cache;
# c*
cachectl; cacheflush;

View File

@ -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
{