about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--README3
-rw-r--r--include/endian.h26
-rw-r--r--stdlib/isomac.c4
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps4
-rw-r--r--sysdeps/ieee754/dbl-64/Dist1
6 files changed, 26 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d21b186c3..773eee0af7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
 
 	* version.h (VERSION): Bump to 2.2.3.
 
+	* stdlib/isomac.c (fmt): Don't define _LIBC.
+	* include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
+	LOW_HALF only if _LIBC is defined.
+
+	* sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
+
 	* posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
 	and +().
 	* posix/tst-fnmatch.input: Add test cases for matching empty strings.
diff --git a/README b/README
index fe55fc2ed8..43d17f2924 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-This directory contains the version 2.2.2 release of the GNU C Library.
+This directory contains the version 2.2.3 release of the GNU C Library.
 Many bugs have been fixed since the last release.
 Some bugs surely remain.
 
@@ -18,6 +18,7 @@ configurations:
 		mips*-*-linux-gnu	Linux-2.x on MIPS
 		ia64-*-linux-gnu	Linux-2.x on ia64
 		s390-*-linux-gnu	Linux-2.x on IBM S/390
+		s390x-*-linux-gnu	Linux-2.x on IBM S/390 64-bit
 
 Former releases of this library (version 1.09.1 and perhaps earlier
 versions) used to run on the following configurations:
diff --git a/include/endian.h b/include/endian.h
index a0f662aafb..f522cfe386 100644
--- a/include/endian.h
+++ b/include/endian.h
@@ -1,15 +1,17 @@
 #include <string/endian.h>
 
-#if __FLOAT_WORD_ORDER == __BIG_ENDIAN
-#define BIG_ENDI 1
-#undef LITTLE_ENDI
-#define HIGH_HALF 0
-#define  LOW_HALF 1
-#else
-#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
-#undef BIG_ENDI
-#define LITTLE_ENDI 1
-#define HIGH_HALF 1
-#define  LOW_HALF 0
-#endif
+#ifdef _LIBC
+# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
+#  define BIG_ENDI 1
+#  undef LITTLE_ENDI
+#  define HIGH_HALF 0
+#  define  LOW_HALF 1
+# else
+#  if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
+#   undef BIG_ENDI
+#   define LITTLE_ENDI 1
+#   define HIGH_HALF 1
+#   define  LOW_HALF 0
+#  endif
+# endif
 #endif
diff --git a/stdlib/isomac.c b/stdlib/isomac.c
index 7148881d0f..cfb5672af6 100644
--- a/stdlib/isomac.c
+++ b/stdlib/isomac.c
@@ -1,5 +1,5 @@
 /* Check system header files for ISO 9899:1990 (ISO C) compliance.
-   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996.
 
@@ -176,7 +176,7 @@ static char *macros[] =
 /* Format string to build command to invoke compiler.  */
 static const char fmt[] = "\
 echo \"#include <%s>\" |\
-%s -E -dM -ansi -pedantic %s -D_LIBC -I. \
+%s -E -dM -ansi -pedantic %s -I. \
 -isystem `%s --print-prog-name=include` - 2> /dev/null > %s";
 
 
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 1f14566a71..b1196bbf47 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1120,8 +1120,8 @@ ifloat: 1
 ldouble: 2
 ildouble: 2
 Test "yn (3, 0.7) == -15.819479052819633505":
-double: 2
-idouble: 2
+double: 3
+idouble: 3
 ldouble: 2
 ildouble: 2
 Test "yn (3, 2.0) == -1.1277837768404277861":
diff --git a/sysdeps/ieee754/dbl-64/Dist b/sysdeps/ieee754/dbl-64/Dist
index 4e1cb25f59..4920caedcc 100644
--- a/sysdeps/ieee754/dbl-64/Dist
+++ b/sysdeps/ieee754/dbl-64/Dist
@@ -5,7 +5,6 @@ branred.h
 dla.h
 doasin.h
 dosincos.h
-endian.h
 MathLib.h
 mpa.h
 mpa2.h