towards 2.2.3
kaz Kojima
kkojima@rr.iij4u.or.jp
Tue Mar 27 03:36:00 GMT 2001
Hi,
I'd like to send a tiny patch for SH. These definitions of NFREG
conflict with those of NFS.
kaz
--
* sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
* sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
Index: ucontext.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/sh/sys/ucontext.h,v
retrieving revision 1.1
diff -u -r1.1 ucontext.h
--- ucontext.h 2000/06/12 20:14:04 1.1
+++ ucontext.h 2001/03/27 11:00:42
@@ -72,10 +72,10 @@
typedef int freg_t;
/* Number of FPU registers. */
-#define NFREG 16
+#define NFPREG 16
/* Structure to describe FPU registers. */
-typedef freg_t fpregset_t[NFREG];
+typedef freg_t fpregset_t[NFPREG];
/* Context to describe whole processor state. */
typedef struct
Index: ucontext.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sh/sys/ucontext.h,v
retrieving revision 1.1
diff -u -r1.1 ucontext.h
--- ucontext.h 2000/06/12 20:48:26 1.1
+++ ucontext.h 2001/03/27 11:23:12
@@ -79,10 +79,10 @@
typedef int freg_t;
/* Number of FPU registers. */
-#define NFREG 16
+#define NFPREG 16
/* Structure to describe FPU registers. */
-typedef freg_t fpregset_t[NFREG];
+typedef freg_t fpregset_t[NFPREG];
/* Context to describe whole processor state. */
typedef struct
More information about the Libc-hacker
mailing list