Go to file
Jakub Jelinek 4b23f9bda3 * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type 
of the thread variable instead of void *. 
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, 
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. 
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust 
__libc_tsd_define arguments. 
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust 
__libc_tsd_address arguments.  Remove union hack. 
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. 
* sunrpc/rpc_thread.c (RPC_VARS): Likewise. 
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): 
Adjust __libc_tsd_{set,get} arguments. 
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust 
__libc_tsd_define arguments. 
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} 
arguments. 
* locale/lc-ctype.c (_nl_postload_ctype): Likewise. 
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. 
(LOCALE): Adjust __libc_tsd_define arguments. 
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get 
arguments. 
(LOCALE): Adjust __libc_tsd_define arguments. 
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define 
arguments. 
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} 
arguments. nptl/ 
* sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define 
arguments. 
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} 
arguments.
2008-11-07  Jakub Jelinek  <jakub@redhat.com>

	* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
	__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
	of the thread variable instead of void *.
	* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
	__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
	* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
	__libc_tsd_define arguments.
	(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
	__libc_tsd_address arguments.  Remove union hack.
	* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
	* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
	(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
	Adjust __libc_tsd_{set,get} arguments.
	* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
	__libc_tsd_define arguments.
	* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
	arguments.
	* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
	* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
	(LOCALE): Adjust __libc_tsd_define arguments.
	* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
	arguments.
	(LOCALE): Adjust __libc_tsd_define arguments.
	* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
	arguments.
	(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
	arguments.
2008-11-07 15:07:10 +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 * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
catgets * posix/getconf.c: Update copyright year. 2008-01-02 19:26:03 +00:00
conf (NEED_INETADDR, NEED_INETATON): Define to 1, not empty. 1995-09-08 20:24:57 +00:00
conform [BZ #5607] 2008-01-16 10:11:18 +00:00
crypt * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
csu * posix/getconf.c: Update copyright year. 2008-01-02 19:26:03 +00:00
ctype * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
debug [BZ #6980] 2008-10-31 14:27:36 +00:00
dirent [BZ #2226] 2006-02-12 21:41:44 +00:00
dlfcn * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag. 2008-09-17 03:12:41 +00:00
elf * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo 2008-10-31 20:50:16 +00:00
gmon Remove useless "if" before "free". 2008-03-19 06:43:34 +00:00
gnulib Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp * grp/initgroups.c (internal_getgrouplist): Don't prematurely 2008-10-30 16:55:44 +00:00
hesiod * resolv/res_init.c (__res_iclose): New function. Broken out of 2005-11-01 00:08:54 +00:00
hurd 2008-08-26 Aurelien Jarno <aurelien@aurel32.net> 2008-08-26 19:10:41 +00:00
iconv [BZ #6461] 2008-05-14 22:53:12 +00:00
iconvdata 2008-09-09 Aurelien Jarno <aurelien@aurel32.net> 2008-10-31 19:14:18 +00:00
include * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
inet * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP and 2008-05-14 17:33:37 +00:00
intl [BZ #5443] 2008-03-31 00:38:06 +00:00
io * io/ftw.c (add_object): Remove inline to avoid warning. 2008-07-29 00:26:56 +00:00
libidn Remove useless "if" before "free": 2008-03-19 06:43:46 +00:00
libio [BZ #6544] 2008-08-14 06:37:17 +00:00
locale * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
localedata 2008-09-09 Aurelien Jarno <aurelien@aurel32.net> 2008-10-31 19:14:18 +00:00
login [BZ #6634] 2008-08-14 04:23:40 +00:00
mach * mach/lock-intern.h: Include <sys/cdefs.h>. 2007-07-22 06:52:07 +00:00
malloc * malloc/malloc.c (public_rEALLOc): When new arena is used, copy 2008-11-03 08:07:39 +00:00
manual * manual/arith.texi: Avoid @strong{Note:}. 2008-08-02 16:30:28 +00:00
math 2008-10-24 Joseph Myers <joseph@codesourcery.com> 2008-11-01 02:28:57 +00:00
misc [BZ #6966] 2008-11-01 15:39:48 +00:00
nis * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and 2008-07-25 17:06:50 +00:00
nptl * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
nptl_db [BZ #5983] 2008-03-26 08:21:56 +00:00
nscd * elf/Makefile: Add rules to build and run tst-tls17. 2008-10-17 15:24:10 +00:00
nss * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP and 2008-05-14 17:33:37 +00:00
po * po/lt.po: Update from translation team. 2008-10-28 13:04:33 +00:00
posix [BZ #6919] 2008-10-31 18:51:08 +00:00
pwd * grp/putgrent.c (putgrent): Don't write 0 as group 2005-01-12 03:12:43 +00:00
resolv [BZ #6942] 2008-10-31 17:37:28 +00:00
resource * resource/Makefile (tests): Add bug-ulimit1. 2008-10-31 17:33:50 +00:00
rt * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. 2007-09-15 22:35:27 +00:00
scripts * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms. 2008-08-06 02:09:47 +00:00
setjmp [BZ #2648] 2007-02-17 18:58:25 +00:00
shadow * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. 2007-08-11 02:56:12 +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 * socket/Versions: Remove paccept export for GLIBC_2.9. 2008-09-29 17:08:50 +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 * stdio-common/printf_fp.c (___printf_fp): Give wide outout code 2008-07-26 16:32:59 +00:00
stdlib * stdlib/divmod_1.c: Use correct type for dummy variable. 2008-10-17 08:38:08 +00:00
streams Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
string * string/Makefile (strop-tests): Add memmem. 2008-05-25 00:17:34 +00:00
sunrpc * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
sysdeps * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +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 (__mktime_internal): Normalize tp->tm_isdst value. 2008-07-06 21:17:58 +00:00
timezone * timezone/africa: Update from tzdata2008f. 2008-10-01 17:12:06 +00:00
wcsmbs [BZ #5443] 2008-04-11 08:20:04 +00:00
wctype * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. 2007-07-28 19:02:07 +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 #5222] 2007-10-28 08:24:07 +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 * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +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 2008-08-18 Roland McGrath <roland@redhat.com> 2008-08-18 09:42:17 +00:00
configure 2008-08-18 Roland McGrath <roland@redhat.com> 2008-08-18 09:42:17 +00:00
configure.in 2008-08-18 Roland McGrath <roland@redhat.com> 2008-08-18 09:42:17 +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 [BZ #5012] 2008-02-22 09:57:57 +00:00
FAQ.in [BZ #5012] 2008-02-22 09:57:19 +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 2008-08-18 Roland McGrath <roland@redhat.com> 2008-08-18 09:42:17 +00:00
Makefile * Makefile (check-data): Check data directory in add-ons. 2008-08-19 00:19:03 +00:00
Makefile.in .. 2005-11-21 15:45:19 +00:00
Makerules * Makerules ($(common-objpfx)sysd-rules): 2008-02-07 00:39:24 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS [BZ #6843] 2008-11-01 00:20:07 +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 Remade for stable-2.7 2007-10-17 20:27: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 (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines. 2008-05-22 00:04:21 +00:00
test-skeleton.c (timeout_handler): Rewrite ts initialization for C++. 2005-12-23 01:03:28 +00:00
tls.make.c . 2007-07-31 13:33:18 +00:00
version.h (VERSION): Bump to 2.8.90. 2008-04-19 16:38:18 +00:00
Versions.def * Versions.def: Add GLIBC_2.9 to libresolv. 2008-08-01 17:16:31 +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.7 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.7 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.