From 4668903c627bf95b7767b3fa8c9a726035837aa3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Mar 2001 07:18:56 +0000 Subject: [PATCH] Update. * 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. --- ChangeLog | 6 ++++++ README | 3 ++- include/endian.h | 26 ++++++++++++++------------ stdlib/isomac.c | 4 ++-- sysdeps/i386/fpu/libm-test-ulps | 4 ++-- sysdeps/ieee754/dbl-64/Dist | 1 - 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 -#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 , 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