+2003-02-27 Roland McGrath <roland@redhat.com>
+
+ * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
+ special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
+ repeat it and avoids the test for the common case.
+ Clean up and fix calculations for TLS relocs.
+
+ * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
+ * sysdeps/powerpc/dl-tls.h: ... here.
+ (TLS_TP_OFFSET): New macro.
+
+ * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
+
+2003-02-27 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
+ code generation changes in recent gcc.
+
+2003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
+ Rename argument to avoid symbol conflict.
+
+ * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
+ [__USE_GNU] (O_DIRECT): New macro.
+
+2003-02-24 David Mosberger <davidm@hpl.hp.com>
+
+ * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
+ unwind info.
+
+2003-02-27 Ulrich Drepper <drepper@redhat.com>
+
+ * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
+ initializer anymore now that res_thread_freeres is more careful.
+
+ * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
+ except the PKTINFO. Reset interface in PKTINFO.
+ Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
+
+2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * elf/elf.h: Add new R_PPC64_* relocs for TLS.
+ * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
+ Define.
+ * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
+ * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
+ * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
+ * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
+
+ * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
+ Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
+
+2003-02-25 Andreas Jaeger <aj@suse.de>
+
+ * manual/memory.texi (Malloc Tunable Parameters): Clarify
+ behaviour of M_MMAP_THRESHOLD.
+
+2003-02-25 Roland McGrath <roland@redhat.com>
+
+ * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
+ zero, inidicating _res was not initialized yet.
+
+2003-02-24 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
+ test.
+
+2003-02-24 Roland McGrath <roland@redhat.com>
+
+ * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
+
+2003-02-23 Roland McGrath <roland@redhat.com>
+
+ * sysdeps/posix/pause.c: New file.
+ * sysdeps/unix/common/pause.c: File removed.
+
+2003-02-23 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/generic/bits/confname.h: Remove #ifs.
+
+ * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
+ * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
+
+ * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
+ element to -1.
+
+2003-02-22 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/generic/dl-sysdep.c: Avoid warning.
+
+2003-02-22 Roland McGrath <roland@redhat.com>
+
+ * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
+ * resolv/Makefile (tests): Add tst-leaks.
+ ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
+ (tst-leaks-ENV): New variable.
+ ($(objpfx)mtrace-tst-leaks): New target.
+ (tests): Depend on it.
+
+ * include/libc-internal.h: Declare __libc_thread_freeres.
+
+ * Makerules: Fix last change to use $($(subdir)-version) when set.
+
+ * Makerules (install-lib-nosubdir): Depend on installed
+ libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
+ regardless of the libfoo.so target's dependencies.
+
+ * MakeTAGS (sub-make-vars): New variable, includes generating=t.
+ Use that in $(MAKE) calls.
+
+2003-02-22 Ulrich Drepper <drepper@redhat.com>
+
+ * catgets/gencat.c (read_input_file): Collision between
+ auto-assigned numbers and user-defined nubmers is not fatal.
+ Handle it.
+ Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
+ * catgets/Makefile: Add rules to run test2.msg test.
+ * catgets/test2.msg: New file.
+
+ * catgets/gencat.c (main): Return 1 if messages have been printed.
+
+ * iconv/iconv_prog.c (main): Unify messages.
+
+ * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
+ when shifting retval.
+ * stdlib/tst-strtod.c (main): Add strtold test case.
+ Reported by Fred J. Tydeman <tydeman@tybor.com>.
+
+2003-02-21 Roland McGrath <roland@redhat.com>
+
+ * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
+ * sunrpc/rpc_thread.c: Likewise for text_set_element use.
+ (__rpc_thread_destroy): Add it to __libc_subfreeres too.
+
+ * include/resolv.h: Add libc_hidden_proto for __res_nclose.
+ * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
+ (res_thread_freeres): New function, on __libc_thread_subfreeres and
+ __libc_subfreeres.
+
+ * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
+ * malloc/thread-freeres.c: New file.
+ * malloc/Makefile (aux): Add it.
+ * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
+ * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
+ "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
+
+ * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
+ * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
+
+2003-02-21 Roland McGrath <roland@frob.com>
+
+ * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
+
+ * iconvdata/Makefile (tests): Add bug-iconv3 only if
+ [$(have-thread-library) = yes].
+
+2003-02-21 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
+
+ * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
+ not chechk for errors (unless testing for 32bit variant).
+ * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
+
+2003-02-21 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
+ Check for signed overflow, not unsigned.
+
+ * sysdeps/sparc/sparc64/elf/configure.in: New file.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
+ Use -fcall-used-g6, not -fcall-used-g7.
+
+2003-02-21 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
+ mode.
+
+ * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
+ clear whole mxcsr but only exceptions.
+
+2003-02-21 Roland McGrath <roland@redhat.com>
+
+ * Makerules: Filter $(install-lib-ldscripts) out of list of targets
+ for libfoo.so that need $(make-link) rules.
+
+2003-02-21 Roland McGrath <roland@frob.com>
+
+ * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
+ to match existing struct stat layout in mig protocols.
+
+2003-02-20 Ulrich Drepper <drepper@redhat.com>
+
+ * version.h (VERSION): Bump to 2.3.2.
+
+ * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
+ tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
+ and dl-sysdep.h.
+ * sysdeps/generic/Dist: Add sysdep-cancel.h.
+ * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
+ * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
+ * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
+ * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
+ ucontext_i.h.
+ * Makefile (distribute): Add include/stubs-prologue.h,
+ include/gnu/stubs.h, scripts/merge-abilist.awk, and
+ scripts/extract-abilist.awk.
+
+2003-02-20 Roland McGrath <roland@redhat.com>
+
+ * math/Makefile (distribute): Don't add generated files.
+
+2003-02-20 Ulrich Drepper <drepper@redhat.com>
+
+ * math/Makefile: Rearrange variable definitions slightly to get
+ definition in the right order.
+
+2003-02-20 Roland McGrath <roland@redhat.com>
+
+ * Makerules: Clean up conditional around include of tls.make.
+ * Make-dist: Export generating=t to prevent using that.
+ (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
+
+2003-02-20 Ulrich Drepper <drepper@redhat.com>
+
+ * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
+ around in search if port IPPORT_RESERVED/2 has been test.
+
+2002-02-20 Paolo Bonzini <bonzini@gnu.org>
+
+ * posix/regcomp.c: Remove inclusions.
+ * posix/regexec.c: Likewise.
+ * posix/regex_internal.c: Likewise.
+ * posix/regex_internal.h: Add inclusions here.
+ * posix/regex.c: Only include sys/types.h before regex.h. Include
+ regex_internal.h here. Include regex_internal.c before regcomp.c
+ and regexec.c (might expose more opportunities to the C compiler).
+
+ * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
+
+ * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
+ [!_LIBC] (__wcrtomb): New definition.
+ [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
+ HAVE_LOCALE_H as well.
+
+2003-02-20 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
+ patch to check for system call errors.
+
+2002-07-24 Philip Blundell <philb@gnu.org>
+
+ * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
+ on unknown systems.
+
+2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
+ * sysdeps/unix/sysv/linux/kernel-features.h
+ (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
+ if possible.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
+ interprocedure branches.
+ * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
+ * sysdeps/powerpc/nofpu/Dist: ...here.
+ * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
+ * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
+ * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
+ * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
+
+2003-02-18 Alan Modra <amodra@bigpond.net.au>
+
+ * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
+
+2003-02-20 Philip Blundell <philb@gnu.org>
+
+ * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
+ missing arguments to INTERNAL_SYSCALL_ERROR_P and
+ INTERNAL_SYSCALL_ERRNO.
+
+2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
+ for __ASSUME_32BITUIDS.
+
+2003-02-20 Andreas Schwab <schwab@suse.de>
+
+ * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
+ POSIX_MADV_* constants.
+
+2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * sysdeps/unix/sysv/linux/sh/pread.c: New file.
+ * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
+ * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
+ * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
+
+2003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
+
+ * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
+
+2003-02-16 Roland McGrath <roland@redhat.com>
+
+ * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
+
+2003-02-19 Ulrich Drepper <drepper@redhat.com>
+
+ * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
+ decimal input digits.
+ * stdlib/tst-strtod.c (main): Add test for strtof bug.
+
+2003-02-18 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
+ invalid file descriptors and missing access permissions.
+
+2003-02-17 Ulrich Drepper <drepper@redhat.com>
+
+ * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
+ been found.
+
+ * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
+ TTY_NAME_MAX and not the _POSIX_* minimal value macros.
+ * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
+ and LOGIN_NAME_MAX.
+
+2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
+ Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
+ * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
+ * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
+ * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
+ * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
+
+2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
+ * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
+ * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
+ * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
+ * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
+ * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
+
+ * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
+ * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
+
+ * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
+ * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
+ * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
+
+2003-02-14 Thorsten Kukuk <kukuk@suse.de>
+
+ * nss/getent.c (print_hosts): Print all IP addresses of one host.
+
+2003-02-15 Roland McGrath <roland@frob.com>
+
+ * sysdeps/mach/hurd/tls.h: New file.
+ * sysdeps/mach/hurd/i386/tls.h: New file.
+
+ * mach/errsystems.awk: Include <errno.h> in generated output.
+
+ * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
+ use target mach-before-compile instead of generated.
+ (mach-before-compile): New target.
+ * Makerules: Disable use of tls.make if $(generating) is set.
+ * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
+ * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
+ mach-shortcuts.h so mach/ generation happens before hurd/.
+
+2003-02-14 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
+ of demorm correctly if low word is zero.
+ Reported by Fred J. Tydeman <tydeman@tybor.com>.
+ * math/libm-test.inc (nextafter_test): New test, but disabled due
+ to gcc bug.
+
+ * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
+ counter and only call __exit_thread if this is not the last thread.
+
+2003-02-13 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
+ subtracting map->l_tls_offset.
+
+2003-02-12 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
+ _CS_GNU_LIBPTHREAD_VERSION.
+ * posix/conststr.c: Handle these new values.
+ * posix/getconf.c: Likewise.
+
+ * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
+ masking of version index.
+ Patch by Lance Larsh <Lance.Larsh@oracle.com>.
+
+2003-02-11 Ulrich Drepper <drepper@redhat.com>
+
+ * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
+ correctly. Reported by Thorsten Kukuk.
+
+2003-02-10 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
+ _BSD_SOURCE to compiler.
+ * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
+ Patches by Alan Modra.
+
+2003-02-08 Ulrich Drepper <drepper@redhat.com>
+
+ * io/ftwtest.c: Get current working directory before and after the
+ nftw call and make sure they match.
+
+2003-02-08 Jim Meyering <jim@meyering.net>
+
+ * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
+ the current directory, not just when DIR contains a slash.
+ Reported by Manoj Srivastava.
+
+2003-02-07 Jim Meyering <jim@meyering.net>
+
+ * io/ftw.c: Add autoconf-recommended block of alloca-related code.
+ Include autoconf-recommended block of dirent/NAMELEN-related
+ definitions and includes. Use NAMELEN throughout, rather than
+ _D_EXACT_NAMLEN.
+ [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
+ [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
+ (stpcpy): Declare, if necessary.
+ (mempcpy): Define, if necessary.
+ [!_LIBC] (__stpcpy, __mempcpy): Define.
+ [!_LIBC] (LXSTAT, XSTAT): Define.
+ (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
+ (find_object): Don't use c99-style struct initializer.
+ Tweak wording in a couple comments.
+
+2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
+ for SH.
+ * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
+ after the trapa instruction.
+ * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
+ parameters.
+ * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
+ (NEED_SYSCALL_INST_PAD): Define.
+ * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
+ avoid to use definition for the kernel.
+ * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
+ Save and restore the frame pointer.
+ (SYSCALL_INST_PAD): Define.
+ (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
+ (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
+ after trapa instruction.
+ (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
+ INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
+
+2003-02-07 Jakub Jelinek <jakub@redhat.com>
+
+ * resolv/res_libc.c (_res): Ensure _res is not common symbol,
+ so that it can have aliases.
+ * inet/herrno.c (h_errno): Put it into .bss not .data section.
+
2003-02-07 Ulrich Drepper <drepper@redhat.com>
* elf/dl-runtime.c (fixup): Correct typo in version index computation.
(profile_fixup): Likewise.
+ Patch by Lance Larsh <Lance.Larsh@oracle.com>.
2002-11-24 Robert Love <rml@tech9.net>