* 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.
This commit is contained in:
Ulrich Drepper 2001-03-28 07:18:56 +00:00
parent 9dedc9695d
commit 4668903c62
6 changed files with 26 additions and 18 deletions

View File

@ -2,6 +2,12 @@
* version.h (VERSION): Bump to 2.2.3. * 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 @() * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
and +(). and +().
* posix/tst-fnmatch.input: Add test cases for matching empty strings. * posix/tst-fnmatch.input: Add test cases for matching empty strings.

3
README
View File

@ -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. Many bugs have been fixed since the last release.
Some bugs surely remain. Some bugs surely remain.
@ -18,6 +18,7 @@ configurations:
mips*-*-linux-gnu Linux-2.x on MIPS mips*-*-linux-gnu Linux-2.x on MIPS
ia64-*-linux-gnu Linux-2.x on ia64 ia64-*-linux-gnu Linux-2.x on ia64
s390-*-linux-gnu Linux-2.x on IBM S/390 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 Former releases of this library (version 1.09.1 and perhaps earlier
versions) used to run on the following configurations: versions) used to run on the following configurations:

View File

@ -1,15 +1,17 @@
#include <string/endian.h> #include <string/endian.h>
#if __FLOAT_WORD_ORDER == __BIG_ENDIAN #ifdef _LIBC
#define BIG_ENDI 1 # if __FLOAT_WORD_ORDER == __BIG_ENDIAN
#undef LITTLE_ENDI # define BIG_ENDI 1
#define HIGH_HALF 0 # undef LITTLE_ENDI
#define LOW_HALF 1 # define HIGH_HALF 0
#else # define LOW_HALF 1
#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN # else
#undef BIG_ENDI # if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
#define LITTLE_ENDI 1 # undef BIG_ENDI
#define HIGH_HALF 1 # define LITTLE_ENDI 1
#define LOW_HALF 0 # define HIGH_HALF 1
#endif # define LOW_HALF 0
# endif
# endif
#endif #endif

View File

@ -1,5 +1,5 @@
/* Check system header files for ISO 9899:1990 (ISO C) compliance. /* 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. This file is part of the GNU C Library.
Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996. Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996.
@ -176,7 +176,7 @@ static char *macros[] =
/* Format string to build command to invoke compiler. */ /* Format string to build command to invoke compiler. */
static const char fmt[] = "\ static const char fmt[] = "\
echo \"#include <%s>\" |\ 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"; -isystem `%s --print-prog-name=include` - 2> /dev/null > %s";

View File

@ -1120,8 +1120,8 @@ ifloat: 1
ldouble: 2 ldouble: 2
ildouble: 2 ildouble: 2
Test "yn (3, 0.7) == -15.819479052819633505": Test "yn (3, 0.7) == -15.819479052819633505":
double: 2 double: 3
idouble: 2 idouble: 3
ldouble: 2 ldouble: 2
ildouble: 2 ildouble: 2
Test "yn (3, 2.0) == -1.1277837768404277861": Test "yn (3, 2.0) == -1.1277837768404277861":

View File

@ -5,7 +5,6 @@ branred.h
dla.h dla.h
doasin.h doasin.h
dosincos.h dosincos.h
endian.h
MathLib.h MathLib.h
mpa.h mpa.h
mpa2.h mpa2.h