Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* 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.
  • Loading branch information
Ulrich Drepper committed Mar 28, 2001
1 parent 9dedc96 commit 4668903
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 18 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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:
Expand Down
26 changes: 14 additions & 12 deletions include/endian.h
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions stdlib/isomac.c
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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";


Expand Down
4 changes: 2 additions & 2 deletions sysdeps/i386/fpu/libm-test-ulps
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
1 change: 0 additions & 1 deletion sysdeps/ieee754/dbl-64/Dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ branred.h
dla.h
doasin.h
dosincos.h
endian.h
MathLib.h
mpa.h
mpa2.h
Expand Down

0 comments on commit 4668903

Please sign in to comment.