Go to file
Ulrich Drepper eb7721f232 * pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add LLL_SHARED
parameter to lll_futex_wait call.
	* pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Likewise.

	* sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
	Replace lll_futex_wait with lll_private_futex_wait.
	* sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
	Add LLL_SHARED parameter to lll_futex_wake().

	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Define LLL_PRIVATE
	LLL_SHARED, lll_private_futex_wait, lll_private_futex_timed_wait and
	lll_private_futex_wake.
	(lll_futex_wait): Add private parameter. Adjust FUTEX_PRIVATE_FLAG
	bit from private parm before syscall.
	(lll_futex_timed_wait): Likewise.
	(lll_futex_wake): Likewise.
	(lll_futex_wake_unlock): Likewise.
	(lll_mutex_unlock): Add LLL_SHARED parm to lll_futex_wake call.
	(lll_robust_mutex_unlock): Likewise.
	(lll_mutex_unlock_force): Likewise.
	(lll_wait_tid): Add LLL_SHARED parm to lll_futex_wait call.
2007-07-23 16:07:53 +00:00
abilist 2004-08-30 Roland McGrath <roland@frob.com> 2004-08-31 06:17:08 +00:00
aout Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argp * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. 2007-03-17 17:04:28 +00:00
assert [BZ #3991] 2007-02-16 07:58:29 +00:00
bits * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add 2007-07-19 17:22:27 +00:00
catgets * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
conf (NEED_INETADDR, NEED_INETATON): Define to 1, not empty. 1995-09-08 20:24:57 +00:00
conform 2004-05-26 Roland McGrath <roland@frob.com> 2004-05-26 19:21:39 +00:00
crypt Fix comment. 2007-05-29 19:22:56 +00:00
csu * sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy the 2007-01-17 08:37:26 +00:00
ctype * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. 2007-03-17 17:04:28 +00:00
debug * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
dirent [BZ #2226] 2006-02-12 21:41:44 +00:00
dlfcn [BZ #4775, BZ #4776] 2007-07-12 18:17:11 +00:00
elf * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
gmon [BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483, BZ #3493, BZ #3514, BZ #3515, BZ #3664, BZ #3673, BZ #3674] 2007-01-11 21:51:07 +00:00
gnulib Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp [BZ #2883] 2006-08-03 15:41:32 +00:00
hesiod * resolv/res_init.c (__res_iclose): New function. Broken out of 2005-11-01 00:08:54 +00:00
hurd [BZ #3665, BZ #4126, BZ #4178, BZ #4610] 2007-07-23 00:38:55 +00:00
iconv * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
iconvdata [BZ #4405] 2007-04-23 09:22:10 +00:00
include * include/features.h (__USE_ISOC95): New define. 2007-07-19 17:28:06 +00:00
inet * elf/dl-open.c (dl_open_worker): Declare l in 2 different 2007-03-17 17:09:13 +00:00
intl [BZ #4775, BZ #4776] 2007-07-12 18:17:11 +00:00
io * io/bits/fcntl2.h (__open_2): Add nonnull attribute. 2007-05-25 14:41:55 +00:00
libidn * scripts/config.guess: Update from master, timestamp='2006-02-27'. 2006-02-28 07:54:15 +00:00
libio (_IO_new_file_fopen): Recognize 'e' flag and set O_CLOEXEC is needed. 2007-07-22 18:37:10 +00:00
locale * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
localedata * include/features.h (__USE_ISOC95): New define. 2007-07-19 17:28:06 +00:00
login * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. 2007-07-22 19:02:23 +00:00
mach * mach/lock-intern.h: Include <sys/cdefs.h>. 2007-07-22 06:52:07 +00:00
malloc [BZ #4792] 2007-07-19 17:05:14 +00:00
manual * manual/errno.texi: Change ECANCELED value to 119. 2007-07-22 06:53:53 +00:00
math [BZ #4775, BZ #4776] 2007-07-12 18:17:11 +00:00
misc * misc/madvise.c: Add libc_hidden_def. 2007-04-19 17:42:47 +00:00
nis * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set 2007-07-22 18:38:37 +00:00
nptl * pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add LLL_SHARED 2007-07-23 16:07:53 +00:00
nptl_db * init.c (__nptl_initial_report_events): New variable. 2007-06-26 06:47:56 +00:00
nscd * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for 2007-07-21 17:24:43 +00:00
nss (HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer. 2007-04-23 15:15:53 +00:00
po 2007-05-29 Roland McGrath <roland@redhat.com> 2007-05-29 18:08:41 +00:00
posix * bits/types.h: Don't include stddef.h, don't define __need_size_t. 2007-07-19 17:21:02 +00:00
pwd * grp/putgrent.c (putgrent): Don't write 0 as group 2005-01-12 03:12:43 +00:00
resolv [BZ #4647] 2007-06-18 22:22:57 +00:00
resource Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
rt * rt/tst-shm.c: Use fstat64 instead of fstat. 2007-05-19 03:30:44 +00:00
scripts * scripts/check-c++-types.sh: Don't use -fnu89-inline option. 2007-05-11 02:20:05 +00:00
setjmp [BZ #2648] 2007-02-17 18:58:25 +00:00
shadow * sysdeps/mach/hurd/tls.h: Include <stdbool.h> 2005-02-02 19:44:07 +00:00
signal * bits/types.h: Don't include stddef.h, don't define __need_size_t. 2007-07-19 17:21:02 +00:00
socket * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. 2007-03-17 17:04:28 +00:00
soft-fp * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. 2007-06-14 19:21:34 +00:00
stdio-common * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end 2007-07-19 17:03:08 +00:00
stdlib [BZ #4792] 2007-07-19 17:05:14 +00:00
streams Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
string (strfry): Make result more random. 2007-05-08 03:27:35 +00:00
sunrpc [BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483, BZ #3493, BZ #3514, BZ #3515, BZ #3664, BZ #3673, BZ #3674] 2007-01-11 21:51:07 +00:00
sysdeps [BZ #3665, BZ #4126, BZ #4178, BZ #4610] 2007-07-23 00:38:55 +00:00
sysvipc * bits/types.h: Don't include stddef.h, don't define __need_size_t. 2007-07-19 17:21:02 +00:00
termios Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
time [BZ #4773] 2007-07-10 22:14:12 +00:00
timezone [BZ #4276] 2007-03-26 12:57:50 +00:00
wcsmbs * include/features.h (__USE_ISOC95): New define. 2007-07-19 17:28:06 +00:00
wctype Don't use expensive wide char lookups in isw* functions if character is in ASCII range. 2005-10-17 15:48:30 +00:00
.cvsignore Update. 2004-09-11 16:28:48 +00:00
abi-tags * abi-tags (*-.*-syllable.*): New match, with ABI value 5. 2006-01-04 17:14:58 +00:00
aclocal.m4 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT. 2004-07-02 06:45:17 +00:00
BUGS [BZ #1347] 2005-09-24 15:03:19 +00:00
CANCEL-FCT-WAIVE Update. 2004-03-08 07:58:18 +00:00
CANCEL-FILE-WAIVE Update. 2004-03-08 07:58:18 +00:00
ChangeLog [BZ #3665, BZ #4126, BZ #4178, BZ #4610] 2007-07-23 00:38:55 +00:00
ChangeLog.1 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.2 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.3 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.4 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.5 * sysdeps/posix/getaddrinfo.c: Implement configuration file 2006-05-04 06:38:07 +00:00
ChangeLog.6 Update. 1997-07-22 00:10:33 +00:00
ChangeLog.7 Update. 1997-11-18 02:50:07 +00:00
ChangeLog.8 Update. Old logs are in ChangeLog.7. 1998-08-11 18:44:11 +00:00
ChangeLog.9 Update. 2000-04-28 06:14:43 +00:00
ChangeLog.10 Update. 2000-02-29 01:13:44 +00:00
ChangeLog.11 2.5-18.1 2007-07-12 18:26:36 +00:00
ChangeLog.12 2.5-18.1 2007-07-12 18:26:36 +00:00
ChangeLog.13 Update. 2002-10-03 16:37:04 +00:00
ChangeLog.14 Update. 2004-04-20 04:28:00 +00:00
ChangeLog.15 Split out ChangeLog.15 at 2.3 branch point 2005-02-16 07:34:17 +00:00
ChangeLog.16 See ChangeLog.16 for earlier changes. 2006-05-04 16:05:24 +00:00
config-name.in .. 2005-11-21 15:45:19 +00:00
config.h.in * scripts/check-local-headers.sh: Filter out sys/capability.h. 2007-03-26 20:41:09 +00:00
config.make.in * config.make.in: Likewise. 2007-06-08 05:28:54 +00:00
configure * configure.in: Avoid variable named BASH. 2007-06-08 03:17:15 +00:00
configure.in * configure.in: Avoid variable named BASH. 2007-06-08 03:17:15 +00:00
CONFORMANCE Update. 2007-07-19 17:28:56 +00:00
COPYING Update. 2001-07-06 06:58:28 +00:00
COPYING.LIB 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
cppflags-iterator.mk 2004-03-11 Jeroen Dekkers <jeroen@dekkers.cx> 2004-03-14 19:13:17 +00:00
extra-lib.mk * extra-lib.mk (object-suffixes-$(lib)): Add .oS when 2004-12-02 22:55:30 +00:00
extra-modules.mk Update. 2004-03-08 21:31:23 +00:00
FAQ 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca> 2005-04-08 21:00:44 +00:00
FAQ.in 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca> 2005-04-08 21:00:44 +00:00
INSTALL * version.h (VERSION): 2.4 2006-03-06 10:59:43 +00:00
LICENSES 2002-08-20 Brian Youmans <3diff@gnu.org> 2002-08-20 21:51:55 +00:00
Makeconfig * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when 2007-07-05 22:03:57 +00:00
Makefile * version.h (VERSION): 2.3.91 2006-03-01 10:35:59 +00:00
Makefile.in .. 2005-11-21 15:45:19 +00:00
Makerules * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): 2007-04-26 04:59:42 +00:00
NOTES * Makefile (format-me): Use --plaintext --no-number-sections. 2006-03-01 10:05:04 +00:00
o-iterator.mk Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-17 18:42:51 +00:00
PROJECTS Update. 2004-10-12 06:19:23 +00:00
README * version.h (VERSION): Define to 6. 2007-05-15 06:49:29 +00:00
README.libm [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
README.template * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is 2006-10-02 18:25:29 +00:00
Rules * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
shlib-versions * shlib-versions: Use sparc64.*- for CPU patterns. 2006-03-06 01:34:09 +00:00
test-skeleton.c (timeout_handler): Rewrite ts initialization for C++. 2005-12-23 01:03:28 +00:00
tls.make.c [BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483, BZ #3493, BZ #3514, BZ #3515, BZ #3664, BZ #3673, BZ #3674] 2007-01-11 21:51:07 +00:00
version.h (VERSION): Set to 2.6.90. 2007-05-17 16:59:50 +00:00
Versions.def * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
WUR-REPORT * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value. 2006-01-07 22:04:22 +00:00

This directory contains the version 2.6 release of the GNU C Library.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[34567]86-*-gnu.

When working with Linux kernels, the GNU C Library version 2.4 is
intended primarily for use with Linux kernel version 2.6.0 and later.
We only support using the NPTL implementation of pthreads, which is now
the default configuration.  Most of the C library will continue to work
on older Linux kernels and many programs will not require a 2.6 kernel
to run correctly.  However, pthreads and related functionality will not
work at all on old kernels and we do not recommend using glibc 2.4 with
any Linux kernel prior to 2.6.

All Linux kernel versions prior to 2.6.16 are known to have some bugs that
may cause some of the tests related to pthreads in "make check" to fail.
If you see such problems, please try the test suite on the most recent
Linux kernel version that you can use, before pursuing those bugs further.

The old LinuxThreads add-on implementation of pthreads for older Linux
kernels is no longer supported, and we are not distributing it with this
release.  Someone has volunteered to revive its maintenance unofficially
for at least a short time for the benefit of those using Linux kernels
older than 2.6, but a working version is not presently available.  When
it is in working condition, we will make it available alongside future
glibc releases.  LinuxThreads will not be supported.

The GNU C Library supports these configurations for using Linux kernels:

	i[34567]86-*-linux-gnu
	x86_64-*-linux-gnu
	powerpc-*-linux-gnu
	powerpc64-*-linux-gnu
	s390-*-linux-gnu
	s390x-*-linux-gnu
	ia64-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

	alpha*-*-linux-gnu	Requires Linux 2.6.9 for NPTL
	sh[34]-*-linux-gnu	Requires Linux 2.6.11

The code for other CPU configurations supported by volunteers outside of
the core glibc maintenance effort is contained in the separate `ports'
add-on.  You can find glibc-ports-2.6 distributed separately in the
same place where you got the main glibc distribution files.
Currently these configurations are known to work using the `ports' add-on:

	arm-*-linux-gnu		Requires Linux 2.6.15 for NPTL, no SMP support
	arm-*-linux-gnueabi	Requires Linux 2.6.16-rc1 for NPTL, no SMP
	mips-*-linux-gnu	Requires Linux 2.6.12 for NPTL
	mips64-*-linux-gnu	Requires Linux 2.6.12 for NPTL

The ports distribution also contains code for other configurations that
do not work or have not been maintained recently, but will be of use to
anyone trying to make a new configuration work.  If you are interested
in doing a port, please contact the glibc maintainers; see
http://www.gnu.org/software/libc/ for more information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

The file NOTES contains a description of the feature-test macros used
in the GNU C library, explaining how you can tell the library what
facilities you want it to make available.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.