summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/generic/memchr.c3
-rw-r--r--sysdeps/generic/rawmemchr.c3
-rw-r--r--sysdeps/generic/strchr.c3
-rw-r--r--sysdeps/generic/strchrnul.c3
-rw-r--r--sysdeps/generic/strlen.c3
-rw-r--r--sysdeps/mips/fpu_control.h6
7 files changed, 18 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index cc7c2e5a04..3d39869572 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2000-07-05 Andreas Jaeger <aj@suse.de>
+ * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
+ (_FPU_GETCW): Remove extra colon.
+ Patch by Ralf Baechle <ralf@uni-koblenz.de>.
+
* posix/fnmatch_loop.c (FCT): Only declare len if
!WIDE_CHAR_VERSION to silence GCC.
@@ -60,7 +64,7 @@
2000-07-03 Greg McGary <greg@mcgary.org>
* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
-
+
* csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
($(objpfx)b$(start-installed-name)): Add non-elf rule.
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c
index 9ea9ce25c8..60bd8c6c9a 100644
--- a/sysdeps/generic/memchr.c
+++ b/sysdeps/generic/memchr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,96,97,99,2000 Free Software Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
with help from Dan Sahlin (dan@sics.se) and
commentary by Jim Blandy (jimb@ai.mit.edu);
@@ -34,6 +34,7 @@
#if defined (_LIBC)
# include <string.h>
# include <memcopy.h>
+# include <stdlib.h>
#else
# define reg_char char
#endif
diff --git a/sysdeps/generic/rawmemchr.c b/sysdeps/generic/rawmemchr.c
index e874dca22b..2e1d807caf 100644
--- a/sysdeps/generic/rawmemchr.c
+++ b/sysdeps/generic/rawmemchr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,96,97,99,2000 Free Software Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
with help from Dan Sahlin (dan@sics.se) and
commentary by Jim Blandy (jimb@ai.mit.edu);
@@ -34,6 +34,7 @@
#if defined (_LIBC)
# include <string.h>
# include <memcopy.h>
+# include <stdlib.h>
#else
# define reg_char char
#endif
diff --git a/sysdeps/generic/strchr.c b/sysdeps/generic/strchr.c
index 11039063d5..f9e6344226 100644
--- a/sysdeps/generic/strchr.c
+++ b/sysdeps/generic/strchr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 94, 95, 96, 97, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,94,95,96,97,99,2000 Free Software Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
with help from Dan Sahlin (dan@sics.se) and
bug fix and commentary by Jim Blandy (jimb@ai.mit.edu);
@@ -22,6 +22,7 @@
#include <string.h>
#include <memcopy.h>
+#include <stdlib.h>
#undef strchr
diff --git a/sysdeps/generic/strchrnul.c b/sysdeps/generic/strchrnul.c
index b88fecba6d..f5e8d847a7 100644
--- a/sysdeps/generic/strchrnul.c
+++ b/sysdeps/generic/strchrnul.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 94, 95, 96, 97, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,94,95,96,97,99,2000 Free Software Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
with help from Dan Sahlin (dan@sics.se) and
bug fix and commentary by Jim Blandy (jimb@ai.mit.edu);
@@ -22,6 +22,7 @@
#include <string.h>
#include <memcopy.h>
+#include <stdlib.h>
#undef __strchrnul
#undef strchrnul
diff --git a/sysdeps/generic/strlen.c b/sysdeps/generic/strlen.c
index b031df8103..8652fd4f4b 100644
--- a/sysdeps/generic/strlen.c
+++ b/sysdeps/generic/strlen.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1997, 2000 Free Software Foundation, Inc.
Written by Torbjorn Granlund (tege@sics.se),
with help from Dan Sahlin (dan@sics.se);
commentary by Jim Blandy (jimb@ai.mit.edu).
@@ -19,6 +19,7 @@
Boston, MA 02111-1307, USA. */
#include <string.h>
+#include <stdlib.h>
#undef strlen
diff --git a/sysdeps/mips/fpu_control.h b/sysdeps/mips/fpu_control.h
index 789a614973..c5c83e0442 100644
--- a/sysdeps/mips/fpu_control.h
+++ b/sysdeps/mips/fpu_control.h
@@ -1,5 +1,5 @@
/* FPU control word bits. Mips version.
- Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Olaf Flebbe and Ralf Baechle.
@@ -86,10 +86,10 @@
#define _FPU_IEEE 0x00000F80
/* Type of the control word. */
-typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__)));
+typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__)));
/* Macros for accessing the hardware control word. */
-#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw) : )
+#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw))
#define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw))
/* Default control word set at startup. */