Update.
[platform/upstream/glibc.git] / ChangeLog
index 5c3212c..80e81fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,338 @@
+2001-03-03  Ulrich Drepper  <drepper@redhat.com>
+
+       * Versions.def: Add libanl definition.
+       * shlig-versions: Add entry for libanl.
+       * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
+       (routines): Add gai_sigqueue.
+       (extra-libs): Add libanl.
+       (libanl-routines): New variable.
+       Add rules to build libanl and ga_test.
+       * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
+       [libanl]: New library.
+       * resolv/netdb.h: Add definitions for libanl.
+       * resolv/getaddrinfo_a.c: New file.
+       * resolv/gai_cancel.c: New file.
+       * resolv/gai_error.c: New file.
+       * resolv/gai_misc.c: New file.
+       * resolv/gai_misc.h: New file.
+       * resolv/gai_notify.c: New file.
+       * resolv/gai_suspend.c: New file.
+       * resolv/ga_test.c: New file.
+       * sysdeps/generic/gai_sigqueue.c: New file.
+       * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
+       * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
+       and provide only that definition.
+       * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
+       * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
+
+       * rt/aio_misc.c: Fix typos in comments.
+       * rt/lio_listio.c: Pretty printing.  Little optimization in request
+       list handling.
+
+       * elf/rtld.c: Remove commented out code.
+
+       * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
+       Update for real 2.4 kernels.
+
+2001-03-01  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/dl-load.c: Pretty printing.
+
+       * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
+       twice.
+
+2001-02-28  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
+       relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
+
+       * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
+
+       * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
+       machines.
+
+       * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
+
+2001-02-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
+       _dl_debug_mask.
+
+       * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
+       _dl_debug_printf.
+       * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
+       _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
+       _dl_debug_printf_c, and _dl_printf.
+       * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
+       _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
+       _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
+       _dl_printf, _dl_error_printf, and _dl_fatal_printf.
+       * elf/dl-close.c: Replace use of old output functions with the new
+       ones.
+       * elf/dl-deps.c: Likewise.
+       * elf/dl-error.c: Likewise.
+       * elf/dl-fini.c: Likewise.
+       * elf/dl-init.c: Likewise.
+       * elf/dl-load.c: Likewise.
+       * elf/dl-lookup.c: Likewise.
+       * elf/dl-minimal.c: Likewise.
+       * elf/dl-open.c: Likewise.
+       * elf/dl-profile.c: Likewise.
+       * elf/dl-reloc.c: Likewise.
+       * elf/dl-version.c: Likewise.
+       * elf/do-lookup.h: Likewise.
+       * elf/rtld.c: Likewise.
+       * sysdeps/generic/dl-cache.c: Likewise.
+       * sysdeps/generic/dl-sysdep.c: Likewise.
+       * sysdeps/generic/libc-start.c: Likewise.
+       * sysdeps/i386/dl-machine.h: Likewise.
+       * sysdeps/arm/dl-machine.h: Likewise.
+       * sysdeps/hppa/dl-machine.h: Likewise.
+       * sysdeps/m68k/dl-machine.h: Likewise.
+       * sysdeps/powerpc/dl-machine.h: Likewise.
+       * sysdeps/s390/dl-machine.h: Likewise.
+       * sysdeps/sh/dl-machine.h: Likewise.
+       * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
+
+       * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
+
+       * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
+       supported by assembler.
+
+       * sysdeps/generic/ldsodefs.h: Remove commented-out variable
+       declaractions.
+
+       * elf/rtld.c: Little optimizations in handling _dl_lazy.
+
+       * elf/cache.c (save_cache): Portability changes.
+       * elf/dl-profile.c (_dl_start_profile): Likewise.
+
+       * elf/sln.c: Cleanups.  Remove arbitrary limits.
+
+       * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
+       * elf/dl-deps.c: Likewise.
+       * elf/dl-fini.c: Likewise.
+       * elf/dl-init.c: Likewise.
+       * elf/dl-load.c: Likewise.
+       * elf/dl-lookup.c: Likewise.
+       * elf/dl-open.c: Likewise.
+       * elf/dl-reloc.c: Likewise.
+       * elf/dl-support.c: Likewise.
+       * elf/dl-version.c: Likewise.
+       * elf/do-lookup.h: Likewise.
+       * elf/rtld.c: Likewise.
+       * sysdeps/generic/dl-cache.c: Likewise.
+       * sysdeps/generic/ldsodefs.h: Likewise.
+       * sysdeps/generic/libc-start.c: Likewise.
+       * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
+       Export _dl_debug_mask.
+       * Versions.def: Define GLIBC_2.2.3 for ld.
+
+2001-02-26  Greg McGary  <greg@mcgary.org>
+
+       * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
+
+2001-02-26  Paul Eggert  <eggert@twinsun.com>
+
+       Modify mkstemp.c and tempname.c so that they can be used by
+       GNU applications on non-glibc platforms.
+
+       * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
+
+       * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
+       Include <stddef.h>, <stdint.h>, <string.h> only if
+       STDC_HEADERS || _LIBC.
+       Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
+       Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
+       Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
+       (__set_errno): Define this macro if <errno.h> doesn't.
+       (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
+       Define these macros if <stdio.h> doesn't.
+       (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
+       Define these macros if <sys/stat.h> doesn't.
+       Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
+       (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
+       lxstat64, __xstat64): Define if not _LIBC.
+       (struct_stat64): New macro.
+       (direxists, __gen_tempname): Use it, to avoid a
+       portability problem with Solaris 8.
+       (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
+       (__gen_tempname): Invoke gettimeofday only if
+       HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
+       Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
+       octal values like 0600.
+
+2001-02-26  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
+       Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
+
+       * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
+       * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
+
+       * posix/wordexp-test.c (testit): Remove warnings.
+
+       * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
+       (tests): Add tstatexit and tstcxaatexit.
+       (module-names): Add modatexit and modcxaatexit.
+       Add rules to build and run tstatexit and tstcxaatexit.
+       * dlfcn/modatexit.c: New file.
+       * dlfcn/modcxaatexit.c: New file.
+       * dlfcn/tstatexit.c: New file.
+       * dlfcn/tstcxaatexit.c: New file.
+
+       * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
+       .hidden is available.
+       * io/stat.c: If .hidden is available use it to avoid exporting
+       functions.
+       * io/fstat.c: Likewise.
+       * io/lstat.c: Likewise.
+       * io/stat64.c: Likewise.
+       * io/fstat64.c: Likewise.
+       * io/lstat64.c: Likewise.
+       * sysdeps/generic/mknod.c: Likewise.
+
+       * malloc/mtrace.c: Use __cxa_atexit and not atexit.
+       * sysdeps/generic/bb_init_func.c: Likewise.
+       * sysdeps/generic/libc-start.c: Likewise.
+
+       * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
+       (atexit): Implement using __cxa_atexit.
+       Use .hidden if availble to avoid exporting atexit.
+       * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
+       * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
+       * stdlib/Makefile (routines): Add old_atexit.
+       (static-only-routines): Add atexit.
+       Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
+       * stdlib/old_atexit.c: New file.
+
+       * intl/Makefile: Remove bogus endif.
+
+2001-02-26  Andreas Jaeger  <aj@suse.de>
+
+       * iconvdata/Makefile (tests): Fix typo in last patch.
+
+       * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
+       available.
+       Reported by Achim Gottinger <achim@gentoo.org>.
+
+2001-02-25  Andreas Jaeger  <aj@suse.de>
+
+       * intl/Makefile (plural.c): Reorder rules so that they work if
+       BISON doesn't exist.
+
+2001-02-25  Ulrich Drepper  <drepper@redhat.com>
+
+       * intl/locale.alias: Don't use nb_NO but define aliases for it.
+
+2001-02-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/i386/strtok.S: Continue to return NULL after the first
+       time this happened.
+
+2001-02-23  Andreas Jaeger  <aj@suse.de>
+
+       * string/tester.c (test_strtok_r): Add testcase.
+       (test_strtok_r): Always initialize cp for proper checking.
+
+       * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
+       returning NULL correctly.
+       Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
+       * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
+
+2001-02-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
+       including <stddef.h>.
+       * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
+       * include/libc-symbols.h (weak_alias): Don't use .weak if
+       HAVE_ASM_GLOBAL_DOT_NAME is defined.
+       Patches by Michael Keezer <mkeezer@redhat.com>.
+
+       * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
+       Patch by Michael Keezer <mkeezer@redhat.com>.
+
+       * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
+       * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
+       (sysdep_routines): Remove restf.S and savef.S.
+       * sysdeps/unix/sysv/aix/restf.S. Removed.
+       * sysdeps/unix/sysv/aix/savef.S. Removed.
+       * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
+       alternative names used on some platforms.
+       * sysdeps/powerpc/fprsave.S: Likewise.
+       * sysdeps/powerpc/gprrest0.S: Likewise.
+       * sysdeps/powerpc/gprrest1.S: Likewise.
+       * sysdeps/powerpc/gprsave0.S: Likewise.
+       * sysdeps/powerpc/gprsave1.S: Likewise.
+       Patch by Michael Keezer <mkeezer@redhat.com>.
+
+2001-02-22  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
+
+2001-02-22  Andreas Jaeger  <aj@suse.de>
+
+       * string/tst-strtok.c (main): Fix error messages.
+
+2001-02-22  Andreas Jaeger  <aj@suse.de>
+
+       * math/Makefile: Remove omit-long-double-fcts.
+
+2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
+       avoid problems on MIPS I.
+       * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
+
+       * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
+       noreorder".
+
+2001-02-21  Ulrich Drepper  <drepper@redhat.com>
+
+       * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
+
+       * sysdeps/generic/ftime.c: Include <time.h>.
+
+       * configure.in: Don't check for libgd if user passed --without-gd.
+       Patch by Achim Gottinger <achim@gentoo.org>.
+
+       * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
+       first time this happened.
+       * string/Makefile (tests): Add tst-strtok.
+
+2001-02-21  Andreas Jaeger  <aj@suse.de>
+
+       * string/tst-strtok.c: New testcase, reported by
+       Andrew Church <achurch@achurch.org>.
+
+2001-02-20  Ulrich Drepper  <drepper@redhat.com>
+
+       * libio/iofwide.c: Remove fwide alias.
+
+2001-02-20  Andreas Jaeger  <aj@suse.de>
+
+       * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
+       is available.
+       Reported by Achim Gottinger <achim@gentoo.org>.
+
 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
 
+       * iconv/tst-iconv1.c (main): Remove debugging code.
+
+       * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
+       * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
+
+       * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
+       parameters.
+       * sysdeps/generic/e_scalbf.c: Likewise.
+       * sysdeps/generic/e_scalbl.c: Likewise.
+
        * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
        libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
        in libc.