diff options
-rw-r--r-- | ChangeLog | 16 | ||||
-rw-r--r-- | bits/stropts.h | 6 | ||||
-rw-r--r-- | bits/ustat.h | 6 | ||||
-rw-r--r-- | rt/Makefile | 7 | ||||
-rw-r--r-- | sysdeps/generic/bits/stropts.h | 6 | ||||
-rw-r--r-- | sysdeps/generic/bits/ustat.h | 6 | ||||
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 39 | ||||
-rw-r--r-- | sysdeps/unix/bsd/sun/sunos4/bits/utsname.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/bsd/ultrix4/bits/utsname.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/statvfs.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/statvfs.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/bits/statvfs.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/bits/statvfs.h | 2 |
13 files changed, 76 insertions, 28 deletions
@@ -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> * sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start. diff --git a/bits/stropts.h b/bits/stropts.h index 21538c31de..c8e2c2c034 100644 --- a/bits/stropts.h +++ b/bits/stropts.h @@ -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. 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 02111-1307 USA. */ +#ifndef _STROPTS_H +# error "Never include <bits/stropts.h> directly; use <stropts.h> instead." +#endif + #ifndef _BITS_STROPTS_H #define _BITS_STROPTS_H 1 diff --git a/bits/ustat.h b/bits/ustat.h index aeafc22a5c..fc08758608 100644 --- a/bits/ustat.h +++ b/bits/ustat.h @@ -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. 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 02111-1307 USA. */ +#ifndef _SYS_USTAT_H +# error "Never include <bits/ustat.h> directly; use <sys/ustat.h> instead." +#endif + #include <sys/types.h> struct ustat diff --git a/rt/Makefile b/rt/Makefile index 5ac4dd4f63..f14aa3b585 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -38,9 +38,10 @@ librt-routines = $(aio-routines) \ $(clock-routines) $(timer-routines) \ $(shm-routines) -tests := tst-shm tst-clock tst-timer \ - tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ - tst-aio7 +tests := tst-shm tst-clock tst-timer +ifeq ($(have-thread-library),yes) +tests += tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 +endif extra-libs := librt extra-libs-others := $(extra-libs) diff --git a/sysdeps/generic/bits/stropts.h b/sysdeps/generic/bits/stropts.h index 21538c31de..c8e2c2c034 100644 --- a/sysdeps/generic/bits/stropts.h +++ b/sysdeps/generic/bits/stropts.h @@ -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. 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 02111-1307 USA. */ +#ifndef _STROPTS_H +# error "Never include <bits/stropts.h> directly; use <stropts.h> instead." +#endif + #ifndef _BITS_STROPTS_H #define _BITS_STROPTS_H 1 diff --git a/sysdeps/generic/bits/ustat.h b/sysdeps/generic/bits/ustat.h index aeafc22a5c..fc08758608 100644 --- a/sysdeps/generic/bits/ustat.h +++ b/sysdeps/generic/bits/ustat.h @@ -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. 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 02111-1307 USA. */ +#ifndef _SYS_USTAT_H +# error "Never include <bits/ustat.h> directly; use <sys/ustat.h> instead." +#endif + #include <sys/types.h> struct ustat diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index bff4c6b154..6b989a6a24 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -404,6 +404,9 @@ double: 1 idouble: 1 # erfc +Test "erfc (0.75) == 0.288844366346484868401062165408589223": +float: 1 +ifloat: 1 Test "erfc (1.25) == 0.0770998717435417698634765188027188596": ildouble: 1 ldouble: 1 @@ -493,6 +496,9 @@ float: 1 ifloat: 1 ildouble: 1 ldouble: 1 +Test "j1 (0.75) == 0.349243602174862192523281016426251335": +double: 1 +idouble: 1 Test "j1 (2.0) == 0.576724807756873387202448242269137087": double: 1 idouble: 1 @@ -705,8 +711,8 @@ ildouble: 1 ldouble: 1 ifloat: 1 float: 1 -double: 1 -idouble: 1 +double: 2 +idouble: 2 Test "y0 (10.0) == 0.0556711672835993914244598774101900481": float: 1 ifloat: 1 @@ -762,8 +768,8 @@ ildouble: 1 ldouble: 1 ifloat: 1 float: 1 -double: 1 -idouble: 1 +double: 2 +idouble: 2 Test "yn (0, 1.5) == 0.382448923797758843955068554978089862": ifloat: 1 float: 1 @@ -818,13 +824,15 @@ ifloat: 1 ildouble: 4 ldouble: 4 Test "yn (10, 1.0) == -121618014.278689189288130426667971145": -float: 1 -ifloat: 1 +double: 1 +float: 2 +idouble: 1 +ifloat: 2 Test "yn (10, 10.0) == -0.359814152183402722051986577343560609": double: 1 -float: 1 +float: 3 idouble: 1 -ifloat: 1 +ifloat: 3 Test "yn (10, 2.0) == -129184.542208039282635913145923304214": float: 1 ifloat: 1 @@ -833,9 +841,14 @@ ildouble: 1 ldouble: 1 Test "yn (3, 0.75) == -12.9877176234475433186319774484809207": double: 1 +float: 1 idouble: 1 +ifloat: 1 ildouble: 2 ldouble: 2 +Test "yn (3, 2.0) == -1.12778377684042778608158395773179238": +float: 1 +ifloat: 1 Test "yn (3, 10.0) == -0.251362657183837329779204747654240998": double: 1 float: 1 @@ -1063,7 +1076,9 @@ idouble: 1 Function: "erfc": double: 1 +float: 1 idouble: 1 +ifloat: 1 ildouble: 1 ldouble: 1 @@ -1149,9 +1164,9 @@ ildouble: 1 ldouble: 1 Function: "y0": -double: 1 +double: 2 float: 1 -idouble: 1 +idouble: 2 ifloat: 1 ildouble: 1 ldouble: 1 @@ -1166,9 +1181,9 @@ ldouble: 1 Function: "yn": double: 2 -float: 2 +float: 3 idouble: 2 -ifloat: 2 +ifloat: 3 ildouble: 4 ldouble: 4 diff --git a/sysdeps/unix/bsd/sun/sunos4/bits/utsname.h b/sysdeps/unix/bsd/sun/sunos4/bits/utsname.h index 08848f35ce..a0246c2a36 100644 --- a/sysdeps/unix/bsd/sun/sunos4/bits/utsname.h +++ b/sysdeps/unix/bsd/sun/sunos4/bits/utsname.h @@ -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. 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 02111-1307 USA. */ -#ifndef _UTSNAME_H +#ifndef _SYS_UTSNAME_H # error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead." #endif diff --git a/sysdeps/unix/bsd/ultrix4/bits/utsname.h b/sysdeps/unix/bsd/ultrix4/bits/utsname.h index 47d46ff859..57820471a2 100644 --- a/sysdeps/unix/bsd/ultrix4/bits/utsname.h +++ b/sysdeps/unix/bsd/ultrix4/bits/utsname.h @@ -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. 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 02111-1307 USA. */ -#ifndef _UTSNAME_H +#ifndef _SYS_UTSNAME_H # error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h b/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h index 6120cf7a1d..16bb895228 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/statvfs.h @@ -66,7 +66,7 @@ struct statvfs64 #endif /* 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 { ST_RDONLY = 1, /* Mount read-only. */ diff --git a/sysdeps/unix/sysv/linux/bits/statvfs.h b/sysdeps/unix/sysv/linux/bits/statvfs.h index 02b11da010..0bd4935681 100644 --- a/sysdeps/unix/sysv/linux/bits/statvfs.h +++ b/sysdeps/unix/sysv/linux/bits/statvfs.h @@ -69,7 +69,7 @@ struct statvfs64 #endif /* 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 { ST_RDONLY = 1, /* Mount read-only. */ @@ -94,7 +94,7 @@ enum # define ST_IMMUTABLE ST_IMMUTABLE ST_NOATIME = 1024, /* Do not update access times. */ # 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 #endif /* Use GNU. */ }; diff --git a/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h b/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h index 6120cf7a1d..16bb895228 100644 --- a/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h +++ b/sysdeps/unix/sysv/linux/ia64/bits/statvfs.h @@ -66,7 +66,7 @@ struct statvfs64 #endif /* 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 { ST_RDONLY = 1, /* Mount read-only. */ diff --git a/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h b/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h index aa14c03449..463dc9e1ca 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/statvfs.h @@ -76,7 +76,7 @@ struct statvfs64 #endif /* 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 { ST_RDONLY = 1, /* Mount read-only. */ |