Update.
[platform/upstream/linaro-glibc.git] / ChangeLog
index 077cfd5..3c57de7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,803 @@
+2002-07-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * configure.in: Add test for __thread support in compiler.
+       * config.h.in: Add HAVE___THREAD.
+       * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h.
+       * include/sys/errno.h: Moved to...
+       * stdlib/sys/errno.h: ...here.  New file.
+       * stdlib/errno.h: New file.  Moved from...
+       * include/errno.h: ...here.  Changed into an internal header defining
+       libc-local things like __set_errno.
+       * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and
+       bits/errno.h.
+       * elf/dl-minimal.c: Include <tls.h>.  Define errno as thread-local
+       variable if USE_TLS && HAVE___THREAD.  Don't define __errno_location
+       either.
+       * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so
+       from...
+       (_dl_start_final): ...here.  Add code to initialize tls elements from
+       bootstrap_map.
+       * sysdeps/generic/errno-loc.c: Define errno as thread-local variable
+       if USE_TLS && HAVE___THREAD.
+       * sysdeps/generic/bits/errno.h: Remove __set_errno definition.
+       * sysdeps/mach/hurd/bits/errno.h: Likewise.
+       * sysdeps/standalone/arm/bits/errno.h: Likewise.
+       * sysdeps/standalone/bits/errno.h: Likewise.
+       * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
+       * sysdeps/unix/sysv/aix/bits/errno.h: Likewise.
+       * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise.
+       * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
+       * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
+       * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise.
+       * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't
+       use GL(dl_rtld_map), use map parameter.
+       * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
+       * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if
+       USE_TLS && HAVE___THREAD.
+       * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG
+       definitions.  If USE_TLS && HAVE___THREAD store errooor value using
+       TLS code sequence.
+       * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
+
+       * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno.
+       * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
+       * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
+       * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
+       * sysdeps/unix/sysv/linux/readv.c: Likewise.
+       * sysdeps/unix/sysv/linux/writev.c: Likewise.
+
+2002-07-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and
+       MS_INVALIDATE values.
+
+2002-07-17  Andreas Schwab  <schwab@suse.de>
+           Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/pread.c: Sign extend offset.
+       * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
+
+2002-07-01  H.J. Lu  <hjl@gnu.org>
+
+       * elf/circleload1.c (load_dso): Call "circlemod1" and check
+       return value.
+
+       * elf/circlemod1.c (circlemod1): Return int.
+       * elf/circlemod2.c (circlemod2): Likewise.
+       * elf/circlemod2a.c (circlemod2): Likewise.
+       * elf/circlemod3.c (circlemod3): Likewise.
+       (circlemod3a): A new function.
+
+2002-07-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * catgets/tst-catgets.c (main): Don't expect results for
+       untranslated messages.
+
+       * glibcbug.in: Fix little typo.  Remove STDIO.
+
+       * config.h.in: Fail if __FAST_MATH__ is defined.
+       * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH.
+       (CPPFLAGS-test-idouble.c): Likewise.
+       (CPPFLAGS-test-ildouble.c): Likewise.
+
+2002-07-15  Ulrich Drepper  <drepper@redhat.com>
+
+       * intl/tst-gettext.sh: Pass -f option to msgfmt.
+       * intl/tst-gettext.c: Correctly handle untranslated messages in
+       positive tests.
+
+       * po/de.po: Update from translation team.
+
+2002-07-02  H.J. Lu  <hjl@gnu.org>
+
+       * sysdeps/mips/atomicity.h: Don't include <sgidefs.h>.  Always
+       use ll/sc.
+       * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
+
+       * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel
+       to 2.4.0 for mips.
+
+2002-07-15  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses
+       TLS fail if USE_TLS is not defined.
+
+       * libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers
+       and adjust state for seek position.  [PR libc/4070]
+       * libio/Makefile (tests): Add bug-rewind.
+       * libio/bug-rewind.c: New file.
+
+2002-07-12  Philip Blundell  <philb@gnu.org>
+
+       * sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro.
+       (__backtrace): Use it.
+       * sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define.  [PR libc/2632]
+
+2002-07-12  Philip Blundell  <philb@gnu.org>
+
+       * sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle
+       R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
+       for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
+       (elf_machine_rela): Remove unused variable.
+
+       * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
+       (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
+       define.
+
+2002-07-12  Ulrich Drepper  <drepper@redhat.com>
+
+       * iconvdata/gconv-modules: Add aliases for ISO-8859-11.
+
+2002-07-14  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/x86_64/bits/link.h: Add biarch support.
+
+2002-07-13  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
+       Use correct indices.
+       Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
+
+2002-07-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h.
+       * sysdeps/s390/s390-32/bits/byteswap.h: Remove.
+       * sysdeps/s390/s390-64/bits/byteswap.h: Remove.
+       * sysdeps/s390/bits/link.h: Unified 31/64 bit link.h.
+       * sysdeps/s390/s390-32/bits/link.h: Remove.
+       * sysdeps/s390/s390-64/bits/link.h: Remove.
+       * sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h.
+       * sysdeps/s390/s390-32/bits/setjmp.h: Remove.
+       * sysdeps/s390/s390-64/bits/setjmp.h: Remove.
+       * sysdeps/s390/bits/wordsize.h: New file.
+       * sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit
+       elfclass.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h.
+       * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h.
+       * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h.
+       * ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit
+       resource.h.
+       * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit
+       sigaction.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit
+       siginfo.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit
+       socket.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h.
+       * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/net/route.h: New file.
+       * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit
+       procfs.h.
+       * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit
+       ucontext.h.
+       * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove.
+
+2002-07-11  Ulrich Drepper  <drepper@redhat.com>
+
+       * Versions.def (libc): Add GLIBC_2.3.
+       * stdlib/Versions [libc] (GLIBC_2.3): Add realpath.
+       * stdlib/canonicalize.c: Add compatibility version for realpath
+       and make new code available in GLIBC_2.3.
+
+2002-07-06  Bruno Haible  <bruno@clisp.org>
+
+       * malloc/hooks.c (public_gET_STATe): Access max_total_mem in mp_.
+
+2002-07-11  Ulrich Drepper  <drepper@redhat.com>
+
+       * resolv/res_hconf.c (_res_hconf_init): Move code into new
+       function do_init.  Use __libc_once.
+       (do_init): New function.
+
+       * iconvdata/iso8859-11.h: Removed.
+       * iconvdata/Makefile (gen-8bit-gap-modules): Add iso8859-11.
+       (distribute): Remove iso8859-11.h.
+       * iconvdata/tst-tables.sh: Add ISO-8859-11.
+
+       * stdio-common/vfscanf.c (inchar): Restore errno from previous
+       underflow operation if c == (W)EOF.
+
+2002-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * stdio-common/printf_fp.c (__printf_fp.c): If _FPIO_CONST_SHIFT is
+       non-zero, adjust exponent.
+       * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl, erfl, __erfcl, erfcl):
+       Remove NO_LONG_DOUBLE aliases.
+       * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l, expm1l): Likewise.
+       * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl, log1pl): Likewise.
+       (__log1pl): Raise divide by zero and invalid exceptions when needed.
+       * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Special case
+       1**y and -1**+-Inf.
+       * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double):
+       Fix BITS_PER_MP_LIMB 32 extraction.
+       * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Don't raise
+       exceptions for qNaNs.
+       * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
+       * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgamma_r):
+       Raise exceptions when needed.  Don't recurse unnecessarily.
+       Special case 1.0L and 2.0L arguments to avoid -0.0L as result.
+       * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Don't raise
+       exceptions for qNaNs.
+       * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Make qs 64-bit
+       to fix *quo return value sign.
+       * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gamma_r): Special
+       case -Inf argument.
+       * soft-fp/op-4.h (_FP_FRAC_CLZ_4): Fix a pasto.
+
+2002-07-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * libio/tst-eof.c (do_test): Remove unused ch and tm variables.
+       * iconvdata/iso-2022-jp-3.c (EMIT_SHIFT_TO_INIT): Kill warnings if
+       -DNDEBUG.
+
+2002-07-10  Ulrich Drepper  <drepper@redhat.com>
+
+       * malloc/hooks.c (realloc_check): If mremap succeeds actually use
+       the result.
+
+       * sysdeps/i386/i486/bits/string.h: Add early clobber for "a"
+       output parameter.  Reported by Denis Zaitsev <zzz@cd-club.ru>.
+
+       * Versions.def (libthread_db): Add GLIBC_2.3.
+
+2002-07-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * libio/freopen.c (freopen): Reset jump tables, use mmap stdio for the
+       new stream if possible.
+       * libio/freopen64.c (freopen64): Likewise.
+       * libio/Makefile (tests): Add tst-freopen.
+       * libio/tst-freopen.c: New file.
+
+2002-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * libio/stdio.h (obstack_printf): Add format attribute.
+       (obstack_vprintf): Likewise.
+
+2002-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * posix/regex_internal.h (re_token_t): Shrink the structure to 8
+       resp. 16 bytes on 32-bit resp. 64-bit platforms.
+       (re_charset_t, re_string_t): Reorder structure members for 64-bit
+       architectures.
+
+2002-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * posix/regcomp.c (re_compile_internal): Move clearing of dfa...
+       (init_dfa): ...here.
+
+2002-07-05  Isamu Hasegawa  <isamu@yamato.ibm.com>
+
+       * posix/regcomp.c (parse_sub_exp): Add nodes OP_OPEN_SUBEXP and
+       OP_CLOSE_SUBEXP at both ends of sub expressions instead of SUBEXP
+       nodes in parse trees.
+       (calc_first): Fix the Definition of `firsts' of OP_OPEN_SUBEXP
+       and OP_CLOSE_SUBEXP, and remove the definition of SUBEXP.
+       (calc_epsdest): Treat OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP as the
+       nodes which can epsilon transit.
+       * posix/regex_internal.h: Add OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP
+       to IS_EPSILON_NODE macro.
+       * posix/regexec.c (update_regs): New function to update registers
+       by refering OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP nodes.
+       (proceed_next_node): Use the entities of the nodes to determine
+       whether the node can transit to.
+       (set_regs): Use update_regs function to update registers.
+
+2002-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * posix/bug-regex4.c (main): Remove duplicate setlocale.
+       * posix/bug-regex6.c: New file.
+       * posix/Makefile (tests): Add bug-regex6.
+       (bug-regex6-ENV): Set LOCPATH.
+
+2002-07-10  Ulrich Drepper  <drepper@redhat.com>
+
+       * Versions.def [libpthread]: Add GLIBC_2.2.6.
+       * posix/Versions [libc] (GLIBC_2.2.6): Add __nanosleep.
+
+2002-07-06  Bruno Haible  <bruno@clisp.org>
+
+       * sysdeps/unix/sysv/sysv4/bits/sigset.h (__NSSBITS): Correct value.
+
+2002-07-06  Bruno Haible  <bruno@clisp.org>
+
+       * include/sys/socket.h (__libc_sendto, __libc_recvfrom): New
+       declarations.
+
+       * 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.
+
+2002-07-08  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/x86_64/fpu/s_fdiml.S: Fix wrong register name.
+
+2002-07-06  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/x86_64/fpu/bits/mathinline.h: New.
+       * sysdeps/x86_64/fpu/s_copysign.S: New.
+       * sysdeps/x86_64/fpu/s_copysignf.S: New.
+       * sysdeps/x86_64/fpu/s_copysignl.S: New.
+       * sysdeps/x86_64/fpu/s_finitel.S: New.
+       * sysdeps/x86_64/fpu/s_fmax.S: New.
+       * sysdeps/x86_64/fpu/s_fmaxf.S: New.
+       * sysdeps/x86_64/fpu/s_fmaxl.S: New.
+       * sysdeps/x86_64/fpu/s_fmin.S: New.
+       * sysdeps/x86_64/fpu/s_fminf.S: New.
+       * sysdeps/x86_64/fpu/s_fminl.S: New.
+
+2002-06-05  Brian Youmans <3diff@gnu.org>
+
+       * sysdeps/ia64/fpu/e_acos.S: Added text of Intel license.
+       * sysdeps/ia64/fpu/e_acosf.S: Likewise.
+       * sysdeps/ia64/fpu/e_acosl.S: Likewise.
+       * sysdeps/ia64/fpu/e_asin.S: Likewise.
+       * sysdeps/ia64/fpu/e_asinf.S: Likewise.
+       * sysdeps/ia64/fpu/e_asinl.S: Likewise.
+       * sysdeps/ia64/fpu/e_atan2.S: Likewise.
+       * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
+       * sysdeps/ia64/fpu/e_cosh.S: Likewise.
+       * sysdeps/ia64/fpu/e_coshf.S: Likewise.
+       * sysdeps/ia64/fpu/e_coshl.S: Likewise.
+       * sysdeps/ia64/fpu/e_exp.S: Likewise.
+       * sysdeps/ia64/fpu/e_expf.S: Likewise.
+       * sysdeps/ia64/fpu/e_fmod.S: Likewise.
+       * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
+       * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
+       * sysdeps/ia64/fpu/e_hypot.S: Likewise.
+       * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
+       * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
+       * sysdeps/ia64/fpu/e_log.S: Likewise.
+       * sysdeps/ia64/fpu/e_logf.S: Likewise.
+       * sysdeps/ia64/fpu/e_pow.S: Likewise.
+       * sysdeps/ia64/fpu/e_powf.S: Likewise.
+       * sysdeps/ia64/fpu/e_powl.S: Likewise.
+       * sysdeps/ia64/fpu/e_remainder.S: Likewise.
+       * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
+       * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
+       * sysdeps/ia64/fpu/e_scalb.S: Likewise.
+       * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
+       * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
+       * sysdeps/ia64/fpu/e_sinh.S: Likewise.
+       * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
+       * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
+       * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
+       * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
+       * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
+       * sysdeps/ia64/fpu/libm_atan2_req.S: Likewise.
+       * sysdeps/ia64/fpu/libm_error.c: Likewise.
+       * sysdeps/ia64/fpu/libm_frexp4.S: Likewise.
+       * sysdeps/ia64/fpu/libm_frexp4f.S: Likewise.
+       * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
+       * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
+       * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
+       * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
+       * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
+       * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
+       * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
+       * sysdeps/ia64/fpu/s_log1p.S: Likewise.
+       * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
+       * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
+       * sysdeps/ia64/fpu/s_logb.S: Likewise.
+       * sysdeps/ia64/fpu/s_logbf.S: Likewise.
+       * sysdeps/ia64/fpu/s_logbl.S: Likewise.
+       * sysdeps/ia64/fpu/s_modf.S: Likewise.
+       * sysdeps/ia64/fpu/s_modff.S: Likewise.
+       * sysdeps/ia64/fpu/s_modfl.S: Likewise.
+       * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
+       * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
+       * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
+       * sysdeps/ia64/fpu/s_rint.S: Likewise.
+       * sysdeps/ia64/fpu/s_rintf.S: Likewise.
+       * sysdeps/ia64/fpu/s_rintl.S: Likewise.
+       * sysdeps/ia64/fpu/s_round.S: Likewise.
+       * sysdeps/ia64/fpu/s_roundf.S: Likewise.
+       * sysdeps/ia64/fpu/s_roundl.S: Likewise.
+       * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
+       * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
+       * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
+       * sysdeps/ia64/fpu/s_significand.S: Likewise.
+       * sysdeps/ia64/fpu/s_significandf.S: Likewise.
+       * sysdeps/ia64/fpu/s_significandl.S: Likewise.
+       * sysdeps/ia64/fpu/s_tan.S: Likewise.
+       * sysdeps/ia64/fpu/s_tanf.S: Likewise.
+       * sysdeps/ia64/fpu/s_tanl.S: Likewise.
+       * sysdeps/ia64/fpu/s_trunc.S: Likewise.
+       * sysdeps/ia64/fpu/s_truncf.S: Likewise.
+       * sysdeps/ia64/fpu/s_truncl.S: Likewise.
+       * sysdeps/ieee754/dbl-64/doasin.c: Changed copyright notice to
+       reflect IBM donation of math library to FSF
+       * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
+       * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
+       * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
+       * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
+       * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
+       * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
+       * sysdeps/gnu/netinet/udp.h: Added BSD copying permission notice
+       * sysdeps/vax/__longjmp.c: Likewise.
+       * sysdeps/vax/setjmp.c: Likewise.
+       * libio/filedoalloc.c: Fixed BSD copying permission notice to
+       remove advertising clause
+       * sysdeps/vax/htonl.s: Likewise.
+       * sysdeps/vax/htons.s: Likewise.
+       * libio/wfiledoalloc.c: Likewise.
+       * stdlib/random.c: Likewise.
+       * stdlib/random_r.c: Likewise.
+       * sysdeps/mach/sys/reboot.h: Likewise.
+       * inet/getnameinfo.c: Deleted advertising clause from Inner Net License
+       * sysdeps/posix/getaddrinfo.c: Likewise.
+       * sunrpc/des_impl.c: Updated license permission notice to Lesser
+       GPL and corrected pointer to point to the correct license.
+
+2002-07-04  Andreas Jaeger  <aj@suse.de>
+
+       * scripts/config.guess: New upstream version.
+       * scripts/config.sub: Likewise.
+
+2002-07-02  Andreas Schwab  <schwab@suse.de>
+
+       * resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen
+       in parallel to bumping up the buffer pointer.
+
+2002-07-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * math/libm-test.inc (acos_test): Add missing L suffix for
+       expected result.
+       (cpow_test): Likewise.
+       * sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove
+       error for acos (0.0625).
+
+2002-06-30  Ulrich Drepper  <drepper@redhat.com>
+
+       * locale/iso-639.def: Add entry for Ganda.
+       * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE3): New
+       definition.
+       (address_finish): Handle entries with two letter ISO 639 code.
+
+       * iconvdata/Makefile: Recreate gconv-modules.cache file in target
+       directory if it existed before.
+       * iconv/iconvconfig.c: Implement --prefix option.
+
+       * math/libm-test.inc (cexp_test): Add missing L suffix for
+       expected result.  Reported by Stephen L Moshier <steve@moshier.net>.
+       * sysdeps/i386/fpu/libm-test-ulps: Adjust error for cexp (0.75 +
+       1.25 i).
+
+2002-05-29  H.J. Lu  <hjl@gnu.org>
+
+       * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug
+       is turned on.
+
+2002-05-28  H.J. Lu  <hjl@gnu.org>
+
+       * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which
+       are not dlopened on the dependency list of a dlopened object.
+
+2002-06-30  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/dl-lookup.c (add_dependency): It is not necessary to add
+       dependencies if they are created between objects which are created
+       while processing RTLD_NOW for objects loaded as part of the same
+       dlopen call.
+
+2002-06-14  H.J. Lu  <hjl@gnu.org>
+
+       * elf/Makefile (tests): Add circleload1.
+       (modules-names): Add circlemod1, circlemod2, circlemod3,
+       circlemod1a, circlemod2a and circlemod3a.
+       ($(objpfx)circleload1): New target.
+       ($(objpfx)circleload1.out): Likewise.
+       ($(objpfx)circlemod1.so): Likewise.
+       ($(objpfx)circlemod2.so): Likewise.
+       ($(objpfx)circlemod1a.so): Likewise.
+       ($(objpfx)circlemod2a.so): Likewise.
+       * elf/circleload1.c: New file.
+       * elf/circlemod1.c: New file.
+       * elf/circlemod1a.c: New file.
+       * elf/circlemod2.c: New file.
+       * elf/circlemod2a.c: New file.
+       * elf/circlemod3.c: New file.
+       * elf/circlemod3a.c: New file.
+
+2002-06-18  Amos Waterland  <apw@us.ibm.com>
+
+       * sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid
+       file descriptor.
+       * sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd;
+       add check for fd not open for writing.
+
+       * sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for
+       completed element(s) and do not suspend thread if so.  Patch
+       heavily modified by drepper.
+
+       * rt/tst-aio7.c: New file.  Regression test for problems which the
+       above three changes fix.
+       * rt/Makefile (tests): Add tst-aio7.
+
+2002-06-29  Ulrich Drepper  <drepper@redhat.com>
+
+       * rt/tst-aio6.c: Fix comment.
+
+       * catgets/gencat.c (read_input_file): Handle more than one slash
+       at end of line correctly [PR libc/3926].
+       Based on a patch by Steven Kim <steven.kim@peregrine.com>.
+
+       * catgets/sample.SJIS: Add test case for above bug.
+       * catgets/test-gencat.c: Adjust test code.
+       * catgets/test-gencat.sh: Adjust expected results.
+
+       * elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation
+       to skip relative relocations.
+       Patch by Geoff Keating <geoffk@redhat.com>.
+
+2002-05-26  Bruno Haible  <bruno@clisp.org>
+
+       * iconv/loop.c (STANDARD_FROM_LOOP_ERR_HANDLER): New macro.
+       (STANDARD_TO_LOOP_ERR_HANDLER): Renamed from STANDARD_ERR_HANDLER.
+       All callers changed.
+       * iconv/gconv_simple.c (ascii_internal_loop): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       (utf8_internal_loop): Likewise.
+       (ucs2_internal_loop): Likewise.
+       (internal_ucs2_loop): Perform error handling like in
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       * iconvdata/unicode.c (BODY for TO_LOOP): Perform error handling like
+       in STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
+       handling.
+       * iconvdata/utf-16.c (BODY for TO_LOOP): Perform error handling like
+       in STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
+       handling.
+       * iconvdata/utf-32.c (BODY for TO_LOOP): Perform error handling like
+       in STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
+       handling.
+       * iconvdata/big5.c (BODY for FROM_LOOP): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/8bit-gap.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/8bit-generic.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/ansi_x3.110.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/armscii-8.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/cp1255.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/cp1258.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/euc-cn.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/euc-jp.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/euc-kr.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/euc-tw.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/big5hkscs.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/gb18030.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/gbk.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso-2022-jp-3.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso646.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso_6937-2.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/iso_6937.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/johab.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/sjis.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/t.61.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/uhc.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/utf-7.c (BODY for FROM_LOOP): Likewise.
+       * iconvdata/gbbig5.c (BODY for FROM_LOOP): Likewise.  When ignoring
+       an error, still set result = __GCONV_ILLEGAL_INPUT.
+       (BODY for TO_LOOP): Likewise.
+       * iconvdata/ibm930.c (BODY for FROM_LOOP): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/ibm932.c: Include <dlfcn.h> and <stdint.h>.
+       (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
+       handling.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/ibm933.c (BODY for FROM_LOOP): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/ibm935.c (BODY for FROM_LOOP): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/ibm937.c (BODY for FROM_LOOP): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/ibm939.c (BODY for FROM_LOOP): For error handling use
+       STANDARD_FROM_LOOP_ERR_HANDLER.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/ibm943.c: Include <dlfcn.h> and <stdint.h>.
+       (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
+       handling.
+       (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
+       * iconvdata/gbgbk.c (BODY for FROM_LOOP): Update.
+       * iconvdata/iso8859-1.c (BODY for TO_LOOP): Update.
+       * iconvdata/tcvn5712-1.c (BODY for TO_LOOP): Update.
+
+2002-06-28  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local
+       labels in assembler instructions.
+
+2002-06-25  Ulrich Drepper  <drepper@redhat.com>
+
+       * libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag if
+       not enough content is available.
+       * libio/tst-eof.c: New file.
+       * libio/Makefile (tests): Add tst-eof.
+
+       * libio/fileops.c (_IO_file_underflow_mmap): Read a single byte to
+       update atime.
+       * libio/tst-atime.c: New file.
+       * libio/Makefile (tests): Add tst-atime.
+
+       * argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in
+       handling of overly long words.
+
+2002-06-25  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite
+       to not use 32-bit pc relative relocations.
+       (elf_machine_dynamic): Likewise.
+
+2002-06-21  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/getdents.c [__ASSUME_GETDENTS64_SYSCALL]
+       (__GETDENTS): Check for failed getdents64 syscall.
+       * dirent/Makefile (tests): Add bug-readdir1.
+       * dirent/bug-readdir1.c: New file.
+
+2002-06-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf/dl-lookup.c (_dl_debug_bindings): Use type_class 4 for TLS
+       lookups.
+       * elf/rtld.c (dl_main): Move TLS setup code before LD_TRACE_PRELINKING
+       code.  Print TLS modid and offset for modules containing PT_TLS
+       segments.
+
+2002-06-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
+       * sysdeps/unix/sysv/linux/dl-brk.c: ...here.
+       * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
+       * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.
+
+2002-06-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * nss/getXXbyYY_r.c (NEW, NEW1): Define.
+       (NEW (REENTRANT_NAME)): Strong alias to INTERNAL (REENTRANT_NAME).
+       (REENTRANT_NAME@@GLIBC_2.1.2): Use NEW (REENTRANT_NAME).
+       * nss/getXXent_r.c (NEW, NEW1): Define.
+       (NEW (REENTRANT_GETNAME)): Strong alias to
+       INTERNAL (REENTRANT_GETNAME).
+       (REENTRANT_GETNAME@@GLIBC_2.1.2): Use NEW (REENTRANT_GETNAME).
+
+2002-06-21  Ulrich Drepper  <drepper@redhat.com>
+
+       * libio/fileops.c (_IO_file_setbuf_mmap): New function.
+       (_IO_file_jumps_mmap): Use it.
+       * libio/iosetvbuf.c: Don't call _IO_WSETBUF.
+       * libio/libioP.h: Remove _IO_wdefault_setbuf and
+       _IO_wdefault_setbuf_internal prorotypes.  Add _IO_file_setbuf_mmap
+       prototype.
+       * libio/wfileops.c (_IO_wfile_setbuf): Removed.
+       (_IO_wfile_jumps_mmap): Don't use it anymore.
+       * libio/wgenops.c (_IO_wdefault_setbuf): Removed.
+       * libio/memstream.c (_IO_wmem_jumps): Use _IO_default_setbuf not
+       _IO_wdefault_setbuf.
+       * libio/vswprintf.c (_IO_wstrn_jumps): Likewise.
+       * libio/wstrops.c (_IO_wstr_jumps): Likewise.
+       * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
+
+2002-06-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * libio/Makefile (tests): Add tst-mmap-setvbuf.
+       * libio/tst-mmap-setvbuf.c: New test.
+
+2002-06-21  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3.
+
+2002-06-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/unistd.h (__fork_internal): Remove.
+       (__fork): Don't define to __fork_internal.
+       * sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF.
+       * sysdeps/unix/sysv/aix/fork.c (__fork): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias.
+       * sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise.
+       * sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise.
+
+2002-06-20  Ulrich Drepper  <drepper@redhat.com>
+
+       * po/hr.po: New file.
+
+2002-06-11  Wolfram Gloger  <wg@malloc.de>
+
+       * malloc/malloc.c: Fix error path when new_heap() returns NULL.
+       Reported by Michael Meissner <meissner@redhat.com>.
+
+2002-06-20  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo.
+       Patch by Hans Boehm <hans_boehm@hp.com>.
+
+2002-06-20  Andreas Jaeger  <aj@suse.de>
+
+       * math/libm-test.inc: Use exact values as input parameters,
+       compute output parameters with 36 digits for 128-bit long doubles.
+       * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
+       * sysdeps/x86-64/fpu/libm-test-ulps: Regenerated.
+       * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
+
+2002-06-13  Stephen L Moshier  <steve@moshier.net>
+
+       * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which
+       argument or result is subnormal.
+
+2002-06-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the
+       quotient.
+       * sysdeps/i386/fpu/s_remquof.S: Likewise.
+       * sysdeps/i386/fpu/s_remquol.S: Likewise.
+
+       * sysdeps/hppa/dl-machine.h: Don't use multi-line string literals.
+
 2002-06-17  David Mosberger  <davidm@hpl.hp.com>
 
        * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix
 
 2002-06-07  Jakub Jelinek  <jakub@redhat.com>
 
-       * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
-       * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
-       * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
-       * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
+       * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file.
+       * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file.
+       * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file.
        * sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
        (sendfile64): Likewise.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.