Update.
authorAndreas Jaeger <aj@suse.de>
Wed, 31 May 2000 12:04:03 +0000 (12:04 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 31 May 2000 12:04:03 +0000 (12:04 +0000)
2000-05-31  Andreas Jaeger  <aj@suse.de>

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

* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

ChangeLog
sysdeps/unix/sysv/linux/mips/Versions
sysdeps/unix/sysv/linux/mips/sys/ucontext.h

index c5f85ff..97f4369 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2000-05-31  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
+       gregset_t.
+
+       * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
+       Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
+       
+       * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
+       syscall.
+       * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
+
 2000-05-30  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
index 11614a4..519295f 100644 (file)
@@ -1,5 +1,8 @@
 libc {
   GLIBC_2.0 {
+    # Needed by gcc:
+    _flush_cache;
+
     # c*
     cachectl; cacheflush;
 
index e9a4fbc..84c6d02 100644 (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
   {