aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog106
-rw-r--r--bits/fcntl.h4
-rw-r--r--elf/dl-load.c12
-rw-r--r--io/Versions6
-rw-r--r--io/sys/stat.h18
-rw-r--r--linuxthreads/Versions2
-rw-r--r--linuxthreads_db/thread_dbP.h2
-rw-r--r--localedata/ChangeLog9
-rw-r--r--localedata/locales/nn_NO5
-rw-r--r--localedata/locales/sid_ET4
-rw-r--r--localedata/locales/wal_ET237
-rw-r--r--math/test-misc.c4
-rw-r--r--misc/Versions6
-rw-r--r--misc/qefgcvt.c2
-rw-r--r--misc/qefgcvt_r.c2
-rw-r--r--nptl/Versions2
-rw-r--r--nptl_db/thread_dbP.h2
-rw-r--r--posix/Versions6
-rw-r--r--resolv/Versions2
-rw-r--r--socket/Versions6
-rw-r--r--stdio-common/Versions2
-rw-r--r--stdlib/Versions3
-rw-r--r--stdlib/fpioconst.c4
-rw-r--r--stdlib/fpioconst.h2
-rw-r--r--sysdeps/generic/bits/fcntl.h4
-rw-r--r--sysdeps/mach/hurd/bits/fcntl.h4
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_ceil.S60
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_ceilf.S56
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_floor.S58
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_floorf.S54
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_llrint.S (renamed from sysdeps/powerpc/powerpc64/fpu/s_llrint.c)32
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_llrintf.S (renamed from sysdeps/powerpc/powerpc64/fpu/s_llrintf.c)28
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_llround.S67
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_llroundf.S59
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_lround.S2
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_lroundf.S2
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_rint.S54
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_rintf.S47
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_round.S75
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_roundf.S71
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_trunc.S67
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_truncf.S63
-rw-r--r--sysdeps/unix/bsd/bits/fcntl.h4
-rw-r--r--sysdeps/unix/bsd/bsd4.4/bits/fcntl.h4
-rw-r--r--sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h4
-rw-r--r--sysdeps/unix/bsd/ultrix4/bits/fcntl.h4
-rw-r--r--sysdeps/unix/common/bits/fcntl.h5
-rw-r--r--sysdeps/unix/sysv/aix/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/irix4/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/Versions3
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/arm/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/cris/bits/fcntl.h5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/i386/bits/fcntl.h5
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/m68k/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h5
-rw-r--r--sysdeps/unix/sysv/linux/s390/bits/fcntl.h4
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/fcntl.h5
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/fcntl.h5
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/Versions3
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h4
-rw-r--r--termios/Versions5
65 files changed, 1205 insertions, 143 deletions
diff --git a/ChangeLog b/ChangeLog
index ddf470644c..d0a485d502 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,109 @@
+2004-05-03 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
+ __USE_BSD or __USE_UNIX98.
+ * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ *sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
+ Likewise.
+ * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
+ * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
+
+2004-05-01 Jakub Jelinek <jakub@redhat.com>
+
+ * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
+ __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
+ __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
+ * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
+ * sysdeps/unix/sysv/linux/Versions (libc): Remove
+ __libc_sigaction@@GLIBC_PRIVATE.
+ * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
+ __modify_ldt@@GLIBC_PRIVATE.
+ * socket/Versions (libc): Remove __libc_accept, __libc_send,
+ __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
+ __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
+ * stdio-common/Versions (libc): Remove
+ _itoa_upper_digits@@GLIBC_PRIVATE.
+ * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
+ * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
+ __libc_readv and __libc_writev @@GLIBC_PRIVATE.
+ * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
+ * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
+ __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
+ __libc_lseek64 @@GLIBC_PRIVATE.
+
+2004-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
+ check.
+
+2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
+ * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
+ * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
+ * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
+
+ * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
+ mantissa for AIX long double format.
+ * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
+ long double format.
+ * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
+ * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
+ (_fpioconst_pow10): AIX long double format has same exponent range as
+ double.
+ * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
+ (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
+ as double.
+
+2004-04-23 Art Haas <ahaas@airmail.net>
+
+ * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
+
2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
diff --git a/bits/fcntl.h b/bits/fcntl.h
index f23667eb95..b397f812f1 100644
--- a/bits/fcntl.h
+++ b/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for stub configuration.
- Copyright (C) 1991, 1992, 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1992, 1997, 2000, 2004 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
@@ -54,7 +54,7 @@
#define F_SETFD 2 /* Set file descriptor flags. */
#define F_GETFL 3 /* Get file status flags. */
#define F_SETFL 4 /* Set file status flags. */
-#if defined __USE_BSD || defined __USE_XOPEN2K
+#if defined __USE_BSD || defined __USE_UNIX98
# define F_GETOWN 5 /* Get owner (receiver of SIGIO). */
# define F_SETOWN 6 /* Set owner (receiver of SIGIO). */
#endif
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 162fb30af3..5ff472a46b 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1520,18 +1520,18 @@ open_verify (const char *name, struct filebuf *fbp)
}
if (! __builtin_expect (elf_machine_matches_host (ehdr), 1))
goto close_and_out;
- else if (__builtin_expect (ehdr->e_phentsize, sizeof (ElfW(Phdr)))
- != sizeof (ElfW(Phdr)))
- {
- errstring = N_("ELF file's phentsize not the expected size");
- goto call_lose;
- }
else if (__builtin_expect (ehdr->e_type, ET_DYN) != ET_DYN
&& __builtin_expect (ehdr->e_type, ET_EXEC) != ET_EXEC)
{
errstring = N_("only ET_DYN and ET_EXEC can be loaded");
goto call_lose;
}
+ else if (__builtin_expect (ehdr->e_phentsize, sizeof (ElfW(Phdr)))
+ != sizeof (ElfW(Phdr)))
+ {
+ errstring = N_("ELF file's phentsize not the expected size");
+ goto call_lose;
+ }
maplength = ehdr->e_phnum * sizeof (ElfW(Phdr));
if (ehdr->e_phoff + maplength <= (size_t) fbp->len)
diff --git a/io/Versions b/io/Versions
index 9e650d482a..5b311ee03b 100644
--- a/io/Versions
+++ b/io/Versions
@@ -97,10 +97,4 @@ libc {
# n*
nftw; nftw64;
}
- GLIBC_PRIVATE {
- # functions which have an additional interface since they are
- # cancelable.
- __libc_open; __libc_close; __libc_read; __libc_write;
- __libc_lseek; __libc_fcntl; __libc_open64; __libc_lseek64;
- }
}
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 24e7fe309f..29e9e625ff 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1992,1995-2002,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1995-2002,2003,2004 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
@@ -116,7 +116,7 @@ __BEGIN_DECLS
# ifdef __S_IFLNK
# define S_IFLNK __S_IFLNK
# endif
-# if (defined __USE_BSD || defined __USE_MISC || defined __USE_XOPEN2K) \
+# if (defined __USE_BSD || defined __USE_MISC || defined __USE_UNIX98) \
&& defined __S_IFSOCK
# define S_IFSOCK __S_IFSOCK
# endif
@@ -137,13 +137,13 @@ __BEGIN_DECLS
# define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK)
#endif
-#ifdef __USE_BSD
-# ifndef __S_IFLNK
-# define S_ISLNK(mode) 0
-# endif
-# ifdef __S_IFSOCK
-# define S_ISSOCK(mode) __S_ISTYPE((mode), __S_IFSOCK)
-# endif
+#if defined __USE_BSD && !defined __S_IFLNK
+# define S_ISLNK(mode) 0
+#endif
+
+#if (defined __USE_BSD || defined __USE_UNIX98) \