2002-07-06  Bruno Haible  <bruno@clisp.org>

	* sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7.

	* rt/Makefile (tests): Don't add tst-aio* in a single-threaded build.

	* sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H,
	not _UTSNAME_H.
	* sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.

	* sysdeps/generic/bits/stropts.h: Protect against direct inclusion.
	* sysdeps/generic/bits/ustat.h: Likewise.

	* sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to
	2048.
This commit is contained in:
Andreas Jaeger 2002-07-08 17:15:20 +00:00
parent 4d8917523f
commit 09c81ddfd8
13 changed files with 76 additions and 28 deletions

View File

@ -1,3 +1,19 @@
2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7.
* rt/Makefile (tests): Don't add tst-aio* in a single-threaded build.
* sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H,
not _UTSNAME_H.
* sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
* sysdeps/generic/bits/stropts.h: Protect against direct inclusion.
* sysdeps/generic/bits/ustat.h: Likewise.
* sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to
2048.
2002-07-08 Andreas Jaeger <aj@suse.de> 2002-07-08 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start. * sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. /* Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -16,6 +16,10 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#ifndef _STROPTS_H
# error "Never include <bits/stropts.h> directly; use <stropts.h> instead."
#endif
#ifndef _BITS_STROPTS_H #ifndef _BITS_STROPTS_H
#define _BITS_STROPTS_H 1 #define _BITS_STROPTS_H 1

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997 Free Software Foundation, Inc. /* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -16,6 +16,10 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#ifndef _SYS_USTAT_H
# error "Never include <bits/ustat.h> directly; use <sys/ustat.h> instead."
#endif
#include <sys/types.h> #include <sys/types.h>
struct ustat struct ustat

View File

@ -38,9 +38,10 @@ librt-routines = $(aio-routines) \
$(clock-routines) $(timer-routines) \ $(clock-routines) $(timer-routines) \
$(shm-routines) $(shm-routines)
tests := tst-shm tst-clock tst-timer \ tests := tst-shm tst-clock tst-timer
tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ ifeq ($(have-thread-library),yes)
tst-aio7 tests += tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6
endif
extra-libs := librt extra-libs := librt
extra-libs-others := $(extra-libs) extra-libs-others := $(extra-libs)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. /* Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -16,6 +16,10 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#ifndef _STROPTS_H
# error "Never include <bits/stropts.h> directly; use <stropts.h> instead."
#endif
#ifndef _BITS_STROPTS_H #ifndef _BITS_STROPTS_H
#define _BITS_STROPTS_H 1 #define _BITS_STROPTS_H 1

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997 Free Software Foundation, Inc. /* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -16,6 +16,10 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#ifndef _SYS_USTAT_H
# error "Never include <bits/ustat.h> directly; use <sys/ustat.h> instead."
#endif
#include <sys/types.h> #include <sys/types.h>
struct ustat struct ustat

View File

@ -404,6 +404,9 @@ double: 1
idouble: 1 idouble: 1
# erfc # erfc
Test "erfc (0.75) == 0.288844366346484868401062165408589223":
float: 1
ifloat: 1
Test "erfc (1.25) == 0.0770998717435417698634765188027188596": Test "erfc (1.25) == 0.0770998717435417698634765188027188596":
ildouble: 1 ildouble: 1
ldouble: 1 ldouble: 1
@ -493,6 +496,9 @@ float: 1
ifloat: 1 ifloat: 1
ildouble: 1 ildouble: 1
ldouble: 1 ldouble: 1
Test "j1 (0.75) == 0.349243602174862192523281016426251335":
double: 1
idouble: 1
Test "j1 (2.0) == 0.576724807756873387202448242269137087": Test "j1 (2.0) == 0.576724807756873387202448242269137087":
double: 1 double: 1
idouble: 1 idouble: 1
@ -705,8 +711,8 @@ ildouble: 1
ldouble: 1 ldouble: 1
ifloat: 1 ifloat: 1
float: 1 float: 1
double: 1 double: 2
idouble: 1 idouble: 2
Test "y0 (10.0) == 0.0556711672835993914244598774101900481": Test "y0 (10.0) == 0.0556711672835993914244598774101900481":
float: 1 float: 1
ifloat: 1 ifloat: 1
@ -762,8 +768,8 @@ ildouble: 1
ldouble: 1 ldouble: 1
ifloat: 1 ifloat: 1
float: 1 float: 1
double: 1 double: 2
idouble: 1 idouble: 2
Test "yn (0, 1.5) == 0.382448923797758843955068554978089862": Test "yn (0, 1.5) == 0.382448923797758843955068554978089862":
ifloat: 1 ifloat: 1
float: 1 float: 1
@ -818,13 +824,15 @@ ifloat: 1
ildouble: 4 ildouble: 4
ldouble: 4 ldouble: 4
Test "yn (10, 1.0) == -121618014.278689189288130426667971145": Test "yn (10, 1.0) == -121618014.278689189288130426667971145":
float: 1 double: 1
ifloat: 1 float: 2
idouble: 1
ifloat: 2
Test "yn (10, 10.0) == -0.359814152183402722051986577343560609": Test "yn (10, 10.0) == -0.359814152183402722051986577343560609":
double: 1 double: 1
float: 1 float: 3
idouble: 1 idouble: 1
ifloat: 1 ifloat: 3
Test "yn (10, 2.0) == -129184.542208039282635913145923304214": Test "yn (10, 2.0) == -129184.542208039282635913145923304214":
float: 1 float: 1
ifloat: 1 ifloat: 1
@ -833,9 +841,14 @@ ildouble: 1
ldouble: 1 ldouble: 1
Test "yn (3, 0.75) == -12.9877176234475433186319774484809207": Test "yn (3, 0.75) == -12.9877176234475433186319774484809207":
double: 1 double: 1
float: 1
idouble: 1 idouble: 1
ifloat: 1
ildouble: 2 ildouble: 2
ldouble: 2 ldouble: 2
Test "yn (3, 2.0) == -1.12778377684042778608158395773179238":
float: 1
ifloat: 1
Test "yn (3, 10.0) == -0.251362657183837329779204747654240998": Test "yn (3, 10.0) == -0.251362657183837329779204747654240998":
double: 1 double: 1
float: 1 float: 1
@ -1063,7 +1076,9 @@ idouble: 1
Function: "erfc": Function: "erfc":
double: 1 double: 1
float: 1
idouble: 1 idouble: 1
ifloat: 1
ildouble: 1 ildouble: 1
ldouble: 1 ldouble: 1
@ -1149,9 +1164,9 @@ ildouble: 1
ldouble: 1 ldouble: 1
Function: "y0": Function: "y0":
double: 1 double: 2
float: 1 float: 1
idouble: 1 idouble: 2
ifloat: 1 ifloat: 1
ildouble: 1 ildouble: 1
ldouble: 1 ldouble: 1
@ -1166,9 +1181,9 @@ ldouble: 1
Function: "yn": Function: "yn":
double: 2 double: 2
float: 2 float: 3
idouble: 2 idouble: 2
ifloat: 2 ifloat: 3
ildouble: 4 ildouble: 4
ldouble: 4 ldouble: 4

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997 Free Software Foundation, Inc. /* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#ifndef _UTSNAME_H #ifndef _SYS_UTSNAME_H
# error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead." # error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead."
#endif #endif

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997 Free Software Foundation, Inc. /* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#ifndef _UTSNAME_H #ifndef _SYS_UTSNAME_H
# error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead." # error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead."
#endif #endif

View File

@ -66,7 +66,7 @@ struct statvfs64
#endif #endif
/* Definitions for the flag in `f_flag'. These definitions should be /* Definitions for the flag in `f_flag'. These definitions should be
kept in sync which the definitions in <sys/mount.h>. */ kept in sync with the definitions in <sys/mount.h>. */
enum enum
{ {
ST_RDONLY = 1, /* Mount read-only. */ ST_RDONLY = 1, /* Mount read-only. */

View File

@ -69,7 +69,7 @@ struct statvfs64
#endif #endif
/* Definitions for the flag in `f_flag'. These definitions should be /* Definitions for the flag in `f_flag'. These definitions should be
kept in sync which the definitions in <sys/mount.h>. */ kept in sync with the definitions in <sys/mount.h>. */
enum enum
{ {
ST_RDONLY = 1, /* Mount read-only. */ ST_RDONLY = 1, /* Mount read-only. */
@ -94,7 +94,7 @@ enum
# define ST_IMMUTABLE ST_IMMUTABLE # define ST_IMMUTABLE ST_IMMUTABLE
ST_NOATIME = 1024, /* Do not update access times. */ ST_NOATIME = 1024, /* Do not update access times. */
# define ST_NOATIME ST_NOATIME # define ST_NOATIME ST_NOATIME
ST_NODIRATIME /* Do not update directory access times. */ ST_NODIRATIME = 2048 /* Do not update directory access times. */
# define ST_NODIRATIME ST_NODIRATIME # define ST_NODIRATIME ST_NODIRATIME
#endif /* Use GNU. */ #endif /* Use GNU. */
}; };

View File

@ -66,7 +66,7 @@ struct statvfs64
#endif #endif
/* Definitions for the flag in `f_flag'. These definitions should be /* Definitions for the flag in `f_flag'. These definitions should be
kept in sync which the definitions in <sys/mount.h>. */ kept in sync with the definitions in <sys/mount.h>. */
enum enum
{ {
ST_RDONLY = 1, /* Mount read-only. */ ST_RDONLY = 1, /* Mount read-only. */

View File

@ -76,7 +76,7 @@ struct statvfs64
#endif #endif
/* Definitions for the flag in `f_flag'. These definitions should be /* Definitions for the flag in `f_flag'. These definitions should be
kept in sync which the definitions in <sys/mount.h>. */ kept in sync with the definitions in <sys/mount.h>. */
enum enum
{ {
ST_RDONLY = 1, /* Mount read-only. */ ST_RDONLY = 1, /* Mount read-only. */