Go to file
Ulrich Drepper 1100f84983 Jakub Jelinek <jakub@redhat.com>
Implement reference counting of scope records.
	* elf/dl-close.c (_dl_close): Remove all scopes from removed objects
	from the list in objects which remain.  Always allocate new scope
	record.
	* elf/dl-open.c (dl_open_worker): When growing array for scopes,
	don't resize, allocate a new one.
	* elf/dl-runtime.c: Update reference counters before using a scope
	array.
	* elf/dl-sym.c: Likewise.
	* elf/dl-libc.c: Adjust for l_scope name change.
	* elf/dl-load.c: Likewise.
	* elf/dl-object.c: Likewise.
	* elf/rtld.c: Likewise.
	* include/link.h: Inlcude <rtld-lowlevel.h>.  Define struct
	r_scoperec.  Replace r_scope with pointer to r_scoperec structure.
	Add l_scoperec_lock.
	* sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>.
	* sysdeps/generic/rtld-lowlevel.h: New file.

	* include/atomic.h: Rename atomic_and to atomic_and_val and
	atomic_or to atomic_or_val.  Define new macros atomic_and and
	atomic_or which do not return values.
	* sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or.
	Various cleanups.
	* sysdeps/i386/i486/bits/atomic.h: Likewise.
2006-10-10 00:51:29 +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 * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. 2006-05-10 06:39:15 +00:00
assert Move cast to void inside ?: to quiet gcc. 2006-08-03 08:30:09 +00:00
bits [BZ #2472] 2006-04-01 19:20:18 +00:00
catgets Update copyright year. 2006-01-01 19:15:56 +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 * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros. 2005-10-05 20:23:05 +00:00
csu * version.h (VERSION): 2.3.91 2006-03-01 10:35:59 +00:00
ctype [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
debug * malloc/memusage.sh (memusageso): Add quotes. 2006-05-19 16:48:27 +00:00
dirent [BZ #2226] 2006-02-12 21:41:44 +00:00
dlfcn * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add 2006-08-31 17:16:11 +00:00
elf Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
gmon * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +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 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> 2006-08-03 01:18:36 +00:00
iconv [BZ #3137] 2006-09-21 04:04:20 +00:00
iconvdata * iconvdata/run-iconv-test.sh: Run cmp in C locale. 2006-08-01 06:46:18 +00:00
include Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
inet Also emit linker warnings for the RFC 2292 interfaces. 2006-09-20 20:14:47 +00:00
intl * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't 2006-06-22 23:59:32 +00:00
io * io/fts.c (fts_close): Remove redundant checks. 2006-10-02 16:08:05 +00:00
libidn * scripts/config.guess: Update from master, timestamp='2006-02-27'. 2006-02-28 07:54:15 +00:00
libio * libio/Banner: Likewise. 2006-10-06 20:39:03 +00:00
locale * locale/iso-3166.def: Add Aaland Islands and Montenegro. 2006-09-29 18:10:52 +00:00
localedata * version.h (VERSION): Bump to 2.5.90 for new development tree. 2006-10-06 16:30:22 +00:00
login [BZ #2764] 2006-08-14 03:59:19 +00:00
mach [BZ #2507] 2006-04-04 00:22:05 +00:00
malloc [BZ #2775] 2006-09-07 16:06:54 +00:00
manual * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. 2006-10-06 15:39:29 +00:00
math (lrint_test_upward): Fix typo. 2006-09-20 19:36:26 +00:00
misc [BZ #3189] 2006-09-09 16:22:01 +00:00
nis * libio/Banner: Likewise. 2006-10-06 20:39:03 +00:00
nptl Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
nptl_db * structs.def: Add a descriptor for pointer.val field of dtv_t. 2006-02-04 00:48:40 +00:00
nscd * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. 2006-10-06 15:39:29 +00:00
nss * posix/wordexp.c (w_addword): Free word if realloc fails and it 2006-05-10 00:03:41 +00:00
po Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
posix * posix/glob.c (glob_in_dir): Add some comments and asserts to 2006-09-30 15:09:35 +00:00
pwd * grp/putgrent.c (putgrent): Don't write 0 as group 2005-01-12 03:12:43 +00:00
resolv * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free 2006-09-06 16:51:47 +00:00
resource Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
rt [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
scripts * scripts/config.guess: Update from master, timestamp='2006-02-27'. 2006-02-28 07:54:15 +00:00
setjmp 2006-01-12 Roland McGrath <roland@redhat.com> 2006-01-12 09:27:47 +00:00
shadow * sysdeps/mach/hurd/tls.h: Include <stdbool.h> 2005-02-02 19:44:07 +00:00
signal [BZ #1951] 2006-04-23 19:05:33 +00:00
socket Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
soft-fp * soft-fp/adddf3.c: Add libgcc exception. Update FSF address. 2006-04-04 08:25:52 +00:00
stdio-common * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, 2006-08-08 15:51:48 +00:00
stdlib [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
streams Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
string [BZ #2751] 2006-08-22 06:47:33 +00:00
sunrpc * nis/nis_call.c (__prepare_niscall): New function. Split out 2006-05-20 19:22:30 +00:00
sysdeps Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
sysvipc [BZ #2182] 2006-08-03 20:36:43 +00:00
termios Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
time [BZ #2821] 2006-09-09 16:56:29 +00:00
timezone [BZ #3137] 2006-09-21 04:04:20 +00:00
wcsmbs * libio/stdio.h: Move open_wmemstream prototype to ... 2006-09-27 15:57:56 +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 Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +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 006-03-02 Jakub Jelinek <jakub@redhat.com> 2006-03-02 15:58:36 +00:00
config.make.in * elf/dl-lookup.c (dl_new_hash): New functions. 2006-07-10 21:59:43 +00:00
configure * elf/dl-lookup.c (dl_new_hash): New functions. 2006-07-10 21:59:43 +00:00
configure.in * elf/dl-lookup.c (dl_new_hash): New functions. 2006-07-10 21:59:43 +00:00
CONFORMANCE Update. 2004-04-17 18:02:33 +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 * elf/dl-lookup.c (dl_new_hash): New functions. 2006-07-10 21:59:43 +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 (shlib.lds): If have-hash-style, put .hash section 2006-09-05 02:02:55 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS * version.h (RELEASE): Bump to 2.5. 2006-09-29 18:45:39 +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 * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is 2006-10-02 18:25: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 * sysdeps/unix/make-syscalls.sh: When an undefined syscall has 2003-03-26 22:49:50 +00:00
version.h * version.h (VERSION): Bump to 2.5.90 for new development tree. 2006-10-06 16:30:22 +00:00
Versions.def * Versions.def: Add GLIBC_2.6 to libpthread. 2006-10-07 20:30:57 +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.5 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.5 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.